Recent

Author Topic: Online Package Manager  (Read 834864 times)

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2115 on: January 17, 2022, 01:34:19 pm »
Lazarus trunk and FPC trunk can not install PascalSCADA because of ZEOS compilation and installation failure. Although OPM states that it has 7.2.14, I have tried real 7.2.14 from https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/7.2-patches/ as explained at https://forum.lazarus.freepascal.org/index.php/topic,51162.msg429916.html#msg429916, and ZEOS finally compiles and PascalSCADA installs without problems.

It would be nice if OPM ZEOS could be updated to this version.
Done. Thank you!
Tested. It works. Thanks!
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2116 on: January 18, 2022, 12:58:49 pm »
Hello GetMem,

It seams that OPM is now deleting all previous pl_* components directories inside of ct4laz directory when new pl_* component is getting installed. The result is that only last pl_* component stays, which is pretty bad since it confuses IDE and pl_0_libs is always deleted. If I remember well, this problem existed long time ago but was fixed. I can download several pl_* components via OPM and install them manually without problems (if my manual installation order is correct).

Tested with a week old trunk laz and trunk fpc in 32bit laz on Win10x64.
« Last Edit: January 18, 2022, 01:15:42 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #2117 on: January 18, 2022, 01:30:35 pm »
Hello GetMem,

It seams that OPM is now deleting all previous pl_* components when new pl_* component is getting installed. The result is that only last pl_* component stays, which is pretty bad since it confuses IDE and pl_0_libs is always deleted. If I remember well, this problem existed long time ago but was fixed. I can download several pl_* components via OPM and install them manually without problems (if my manual installation order is correct).

Tested with a week old trunk laz and trunk fpc in 32bit laz on Win10x64.
It was recently introduced, see more details here: https://forum.lazarus.freepascal.org/index.php/topic,34297.msg419813.html#msg419813 In general it's a good idea, however I can see why is not so good idea in case of pl_*components.  Luckily only trunk is effected, I will figure something out for pl packages.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2118 on: January 18, 2022, 02:28:32 pm »
Now that OPM has VampyreImaging component, we should probably drop pl_vampyreimaging from OPM.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #2119 on: January 18, 2022, 03:19:09 pm »
@avra

Quote
I will figure something out for pl packages.
Please test with the latest version(d0a2f521d428045f6c6ca1e411c654a2d99398b1).

Quote
Now that OPM has VampyreImaging component, we should probably drop pl_vampyreimaging from OPM.
Done.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2120 on: January 19, 2022, 02:36:05 am »
Quote
I will figure something out for pl packages.
Please test with the latest version(d0a2f521d428045f6c6ca1e411c654a2d99398b1).
Somehow I do not see any January 18th changes at https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/main/components/onlinepackagemanager.
I have also tried to find mentioned revision at https://gitlab.com/freepascal.org/lazarus/lazarus/-/network/main?extended_sha1=d0a2f521d428045f6c6ca1e411c654a2d99398b1 but failed.
What am I missing?
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2121 on: January 19, 2022, 10:00:21 am »
I have provided patches to MultiLog and now package and all demos compile and run without problems on trunk fpc+laz, and on fixes fpc+laz (tested in 32bit IDE on Win10x64). Please update OPM from https://github.com/blikblum/multilog/archive/refs/heads/master.zip.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #2122 on: January 19, 2022, 10:31:29 am »
@avra
Quote
Somehow I do not see any January 18th changes at https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/main/components/onlinepackagemanager.
I have also tried to find mentioned revision at https://gitlab.com/freepascal.org/lazarus/lazarus/-/network/main?extended_sha1=d0a2f521d428045f6c6ca1e411c654a2d99398b1 but failed.
What am I missing?
Please try again("Skip clean directory for PL packages.").

Quote
I have provided patches to MultiLog and now package and all demos compile and run without problems on trunk fpc+laz, and on fixes fpc+laz (tested in 32bit IDE on Win10x64). Please update OPM from https://github.com/blikblum/multilog/archive/refs/heads/master.zip.
I updated the package. Thanks for the new version!

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2123 on: January 19, 2022, 12:45:18 pm »
Please try again("Skip clean directory for PL packages.").
Overwriting my local opkman_common.pas with latest one and recompiling Lazarus has fixed the issue. Thanks!

Quote
I have provided patches to MultiLog and now package and all demos compile and run without problems on trunk fpc+laz, and on fixes fpc+laz (tested in 32bit IDE on Win10x64). Please update OPM from https://github.com/blikblum/multilog/archive/refs/heads/master.zip.
I updated the package. Thanks for the new version!
Thank you!
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2124 on: January 19, 2022, 12:58:50 pm »
This is an announcement that BitHelpers package becomes deprecated since it is now part of trunk FPC RTL.

More info here: https://forum.lazarus.freepascal.org/index.php/topic,41672.msg431472.html#msg431472

BitHelpers package will probably be removed from OPM when official Lazarus starts using FPC 3.4. After that it will be available only at https://bitbucket.org/avra/bithelpers. All new development goes to FPC trunk.

If you have FPC newer then July 21st 2021, you have probably noticed that BitHelpers can no longer install. That is intentional, and if you use new FPC then you should adapt your code to use new FPC RTL instead.

Have fun!  ::)
« Last Edit: January 19, 2022, 01:02:24 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #2125 on: January 19, 2022, 02:50:54 pm »
This is an announcement that BitHelpers package becomes deprecated since it is now part of trunk FPC RTL.

More info here: https://forum.lazarus.freepascal.org/index.php/topic,41672.msg431472.html#msg431472

BitHelpers package will probably be removed from OPM when official Lazarus starts using FPC 3.4. After that it will be available only at https://bitbucket.org/avra/bithelpers. All new development goes to FPC trunk.

If you have FPC newer then July 21st 2021, you have probably noticed that BitHelpers can no longer install. That is intentional, and if you use new FPC then you should adapt your code to use new FPC RTL instead.

Have fun!  ::)
Congratulations @avra! When it's time to remove BitHelpers from OPM please let me know. I suppose FPC 3.4 release, is not so far in the future.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #2126 on: January 19, 2022, 03:06:49 pm »
Congratulations @avra!
Thanks GetMem, I appreciate it!  ;)

When it's time to remove BitHelpers from OPM please let me know. I suppose FPC 3.4 release, is not so far in the future.
Well, I guess that good removal time would be when FPC 3.4 comes into official Lazarus release...
« Last Edit: January 19, 2022, 03:08:38 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

wp

  • Hero Member
  • *****
  • Posts: 11833
Re: Online Package Manager
« Reply #2127 on: January 31, 2022, 01:05:24 pm »
I prepared a new release version of fpspreadsheet - I has long been overdue...

GetMem, could you please update OPM?
release-zip: https://sourceforge.net/projects/lazarus-ccr/files/FPSpreadsheet/fpspreadsheet-1.14.zip/download
update-json: https://sourceforge.net/projects/lazarus-ccr/files/FPSpreadsheet/OPM/update_FPSpreadsheet.json/download

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #2128 on: January 31, 2022, 07:05:07 pm »
I prepared a new release version of fpspreadsheet - I has long been overdue...

GetMem, could you please update OPM?
release-zip: https://sourceforge.net/projects/lazarus-ccr/files/FPSpreadsheet/fpspreadsheet-1.14.zip/download
update-json: https://sourceforge.net/projects/lazarus-ccr/files/FPSpreadsheet/OPM/update_FPSpreadsheet.json/download
Thank you! I updated the package.

senglit

  • Full Member
  • ***
  • Posts: 131
Re: Online Package Manager
« Reply #2129 on: February 05, 2022, 07:35:06 pm »
I got a problem with OPM on CentOS7 and I posted at https://forum.lazarus.freepascal.org/index.php/topic,58204.0.html
maybe I should also mention it here?
Thanks!
I use Win10 + Lazarus 2.2.0 + FPC 3.2.2. All 64bit.

 

TinyPortal © 2005-2018