Recent

Author Topic: Online Package Manager  (Read 511969 times)

heejit

  • Full Member
  • ***
  • Posts: 245
Re: Online Package Manager
« Reply #1830 on: June 26, 2020, 10:39:26 pm »
I am not able to install mormot.

Lazarus : 2.0.8
FPC : 3.2.0
OS : Xubuntu 20.04 64 bit

wp

  • Hero Member
  • *****
  • Posts: 7552
Re: Online Package Manager
« Reply #1831 on: June 26, 2020, 11:08:40 pm »
I created a simple application using VirtualTreeView and it has the same problem with the scroll bar.
Why don't you upload the application (.pas, .lfm, .lpi and .lpr files only, packed to a zip; no compiler-generated files, please)? This would save GetMem the time to create such a program himself. And others could verify the issue as well. Or maybe you did something wrong and it's no issue of VTV at all (such things happen...)
« Last Edit: June 26, 2020, 11:10:26 pm by wp »
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1832 on: June 27, 2020, 09:50:24 am »
I am not able to install mormot.

Lazarus : 2.0.8
FPC : 3.2.0
OS : Xubuntu 20.04 64 bit
Thanks for the feedback. I'm on vacation now. I will take a look next week.

Thaddy

  • Hero Member
  • *****
  • Posts: 10488
Re: Online Package Manager
« Reply #1833 on: June 27, 2020, 11:07:27 am »
I'm on vacation now. I will take a look next week.
Me too: Hintergarten
When you ask a question that is actually answered in the documentation, you are either lazy or a moron.

dbannon

  • Hero Member
  • *****
  • Posts: 1153
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Online Package Manager
« Reply #1834 on: July 01, 2020, 02:57:24 am »
Getmem, when I use the OPM to install KControls with FPC320, I get a warming its not tested.

I have been using it with FPC320 rc1 and Lazarus Trunk for a couple of months, now its FPC320 release. All the parts I use work fine, mostly only KMemo though. Is that all you need to know to mark it as 'Tested' ?

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1835 on: July 01, 2020, 07:48:19 am »
Getmem, when I use the OPM to install KControls with FPC320, I get a warming its not tested.

I have been using it with FPC320 rc1 and Lazarus Trunk for a couple of months, now its FPC320 release. All the parts I use work fine, mostly only KMemo though. Is that all you need to know to mark it as 'Tested' ?

Davo
Thank you Davo. I will fix it soon.

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1836 on: July 04, 2020, 09:03:12 am »
Sorry everyone for the delay.

@heejit
I fixed mormot, please test now.

@Davo
Warning removed for KControls(fpc320).

@RDL
I'm unable to reproduce this issue. Can you please attach a sample application. Also which version of Lazarus/FPC/QT do you use?

@all
I don't want to hijack the following thread: https://forum.lazarus.freepascal.org/index.php/topic,13786.75.html, so I will respond here.
Inspired by the discussion, I did try to update Internet Tools without success. Internet tools depends on flre(https://github.com/BeRo1985/flre), however flre does not contain any package, the source files must be added as a relative path. After a few trial and error I managed to compile Internet Tools, however the demos does not work, maybe I'm doing something wrong, any suggestions is appreciated.
In my opinion a package should be self-contained, it can depend on other packages, but any other manual adjustment is an overkill.
« Last Edit: July 04, 2020, 09:54:41 am by GetMem »

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 825
Re: Online Package Manager
« Reply #1837 on: July 04, 2020, 10:24:18 am »
hello getmem,
Inspired by the discussion, I did try to update Internet Tools without success. Internet tools depends on flre(https://github.com/BeRo1985/flre), however flre does not contain any package, the source files must be added as a relative path. After a few trial and error I managed to compile Internet Tools, however the demos does not work, maybe I'm doing something wrong, any suggestions is appreciated.
In my opinion a package should be self-contained, it can depend on other packages, but any other manual adjustment is an overkill.
have a look here to have success with install of internet tools .

Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1838 on: July 04, 2020, 10:34:55 am »
@Jurassic Pork
Quote
have a look here to have success with install of internet tools .
Thank you, I bookmarked that page for future reference. I'm glad the package from OPM is still usable.
However, as I mentioned in my previous post, a package should be self-contained, adding paths to the project is an overkill in my opinion.

heejit

  • Full Member
  • ***
  • Posts: 245
Re: Online Package Manager
« Reply #1839 on: July 04, 2020, 05:04:59 pm »
Installed Succesfully.

But compling a test project shows following error may be missing dependency I used fpcupdeluxe
to install Lazarus/FPC.

Code: Pascal  [Select][+][-]
  1. Warning: Object static/x86_64-linux/sha512-x64sse4.o not found, Linking may fail !
  2. Warning: Object static/x86_64-linux/crc32c64.o not found, Linking may fail !
  3. Error: Error while linking
  4.  


Sorry everyone for the delay.

@heejit
I fixed mormot, please test now.


TRon

  • Hero Member
  • *****
  • Posts: 536
Re: Online Package Manager
« Reply #1840 on: July 05, 2020, 08:09:31 am »
Hi GetMem,

Sorry everyone for the delay.
I hope you were able to enjoy your vacation, especially in these days of social distancing.

Quote
@all
I don't want to hijack the following thread: https://forum.lazarus.freepascal.org/index.php/topic,13786.75.html, so I will respond here.
Inspired by the discussion, I did try to update Internet Tools without success. Internet tools depends on flre(https://github.com/BeRo1985/flre), however flre does not contain any package, the source files must be added as a relative path. After a few trial and error I managed to compile Internet Tools, however the demos does not work, maybe I'm doing something wrong, any suggestions is appreciated.
In my opinion a package should be self-contained, it can depend on other packages, but any other manual adjustment is an overkill.
Thank you for taking notice of my post.

I have to correct myself first with regards to that post. There is nothing wrong with OPM itself. It is about the packages it uses/provides.

Issue 1: https://forum.lazarus.freepascal.org/index.php/topic,34297.msg363013.html#msg363013
Issue 2: https://forum.lazarus.freepascal.org/index.php/topic,50287.0.html and https://forum.lazarus.freepascal.org/index.php/topic,50293.0.html
Issue 3: https://forum.lazarus.freepascal.org/index.php/topic,13786.msg367368.html#msg367368

And i got myself into issues with synapse as well somewhere along the line.

Instead of beating the dead horse, would it be possible for the packages to explicitly mention that the source of the package does not have anything to do with the sources that the package currently links to, and that original author/project has nothing to do with those ?

Preferably packages that are based on other projects that are either abandoned or included/provided (and sometimes adjusted) without any knowledge of original author should be hosted somewhere else so that issues could be addressed in a more proper way.

Regards,

Renat.Su

  • Full Member
  • ***
  • Posts: 181
    • Renat.Su
Re: Online Package Manager
« Reply #1841 on: July 05, 2020, 02:20:59 pm »
Can You add https://github.com/risoflora/brookfreepascal ?
This is brook framework with many plugins. New brookframework works via sagui lib but brookfreepascal works as a solid app.

El Salvador

  • New Member
  • *
  • Posts: 13
Re: Online Package Manager
« Reply #1842 on: July 05, 2020, 03:41:36 pm »
Hi everybody, I make a fix for TVirtualTree and I want send the patch (or make a pull request). The git repo https://github.com/blikblum/VirtualTreeView-Lazarus/tree/lazarus-master is the main source repo of this library? I downloaded and modified VST V5 from OPM, and I wanted to make a pull request, but after a source compare, I found too many diffs.

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1843 on: July 05, 2020, 08:25:11 pm »
@heejit
Quote
But compling a test project shows following error may be missing dependency I used fpcupdeluxe to install Lazarus/FPC.
Warning: Object static/x86_64-linux/sha512-x64sse4.o not found, Linking may fail !
Warning: Object static/x86_64-linux/crc32c64.o not found, Linking may fail !
Error: Error while linking
Plese check the following posts:
  https://forum.lazarus.freepascal.org/index.php/topic,44585.msg313650.html#msg313650
  https://forum.lazarus.freepascal.org/index.php/topic,48629.msg350326.html#msg350326
  https://forum.lazarus.freepascal.org/index.php/topic,39249.msg268756.html#msg268756R
To disable filtering: Right click on the Message Window->Filter non urgent messages->Filter none, then rebuild the IDE. 


@Renat.Su
Quote
Can You add https://github.com/risoflora/brookfreepascal ?
This is brook framework with many plugins. New brookframework works via sagui lib but brookfreepascal works as a solid app.
There is already a Brookframework in OPM. What is the difference between the two?


@El Salvador
Quote
Hi everybody, I make a fix for TVirtualTree and I want send the patch (or make a pull request). The git repo https://github.com/blikblum/VirtualTreeView-Lazarus/tree/lazarus-master is the main source repo of this library? I downloaded and modified VST V5 from OPM, and I wanted to make a pull request, but after a source compare, I found too many diffs.
I believe there is a separate branch for the V5 series: https://github.com/blikblum/VirtualTreeView-Lazarus/tree/lazarus-v5
If your patch is applied, please let me know, so I can update VTV in OPM.

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1844 on: July 05, 2020, 08:46:15 pm »
@TRon

Thanks for the feedback.

Approximately 50% of the packages are abandoned. Unfortunately with each new FPC/Lazarus version there is a high chance that a particular package won't compile anymore, fixing them it's not trivial either.
Another 20% of the packages are maintained, but the author shows no interest in publishing the package via OPM, which is perfectly fine. In this particular case, I update the packages from time to time. Since there are many package, the update becomes an increasingly frustrating activity.
Finally 30% of the packages are maintained and the authors actively publish the package via OPM. In this particular case we could do some improvement by creating a platform where the maintainers can login and update the packages without my intervention. Unfortunately I have no time to create the platform.

Quote
Instead of beating the dead horse, would it be possible for the packages to explicitly mention that the source of the package does not have anything to do with the sources that the package currently links to, and that original author/project has nothing to do with those ?

Preferably packages that are based on other projects that are either abandoned or included/provided (and sometimes adjusted) without any knowledge of original author should be hosted somewhere else so that issues could be addressed in a more proper way.
I'm not against it, but somebody has to go through 180 packages, find out which one is no longer maintained then hoste somewhere else. After a patch is created I have to  import it back to OPM.
« Last Edit: July 05, 2020, 09:09:02 pm by GetMem »

 

TinyPortal © 2005-2018