Recent

Author Topic: Online Package Manager  (Read 534905 times)

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1920 on: August 24, 2020, 08:24:13 am »
Hi GetMem, I've modified a bit the website to look fine on mobile, and as well I've put a material design theme for the site
https://forum.lazarus.freepascal.org/index.php/topic,51174.msg375262.html#msg375262
Thank you.

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1921 on: August 24, 2020, 08:25:31 am »
Hi All,

User @paweld created a nice api for the rating system and the automatic package update: https://github.com/paweld/OPM2a-api . Thanks again Pawel! After the database server is set up, we can work on the details. As always suggestions are welcomed.

avra

  • Hero Member
  • *****
  • Posts: 2081
    • Additional info
Re: Online Package Manager
« Reply #1922 on: August 24, 2020, 09:19:05 am »
User @paweld created a nice api for the rating system and the automatic package update
Thanks paweld!

Please make sure that OPM2a does not delete *.dll, *.so and *.dylib binaries in pl_0_lib package.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

marsupilami79

  • New member
  • *
  • Posts: 9
Re: Online Package Manager
« Reply #1923 on: November 08, 2020, 04:49:08 pm »
Hello GetMem,

Zeos has released version 7.2.8 - which is a bugfix release for the 7.2 series of Zeos. Could you please update OPM?

Best regards,

Jan

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1924 on: November 08, 2020, 07:54:23 pm »
Hi Jan,

Quote
Zeos has released version 7.2.8 - which is a bugfix release for the 7.2 series of Zeos. Could you please update OPM?
Thank you! I will update Zeos soon.

regards,
GetMem

Fred vS

  • Hero Member
  • *****
  • Posts: 2033
    • StrumPract is the musicians best friend
Re: Online Package Manager
« Reply #1925 on: November 10, 2020, 03:53:27 am »
Hello GetMem.

I recently installed uos package from OPM.

OPM works great, the package was installed out of the box.

But the version of uos is very old and obsolete for fpc > 3.0.0.

Could it be possible to give the last code from the site?
https://github.com/fredvs/uos

I have also a other question: In uos package there are demos.
Where people have to look to load those demos, is there a "Demos of Packages" directory?

Thanks.

Fre;D
« Last Edit: November 10, 2020, 03:55:34 am by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1926 on: November 10, 2020, 01:46:31 pm »
@Fred vS

Quote
I recently installed uos package from OPM.

OPM works great, the package was installed out of the box.

But the version of uos is very old and obsolete for fpc > 3.0.0.

Could it be possible to give the last code from the site?
https://github.com/fredvs/uos
I updated uos, thanks for the new version.

Quote
I have also a other question: In uos package there are demos.
Where people have to look to load those demos, is there a "Demos of Packages" directory?
I'm not sure what you mean, the demo folder is in the same directory as the uos package. The directory structrue from your github repository is preserved. OPM downloads the packages to the Lazarus config folder, usually:
    Windows: "C:\Users\<User name>\AppData\Local\lazarus\onlinepackagemanager\packages\"
         Linux:  ~/.lazarus/onlinepackagemanager/packages/
This is all configurable in the option.

Fred vS

  • Hero Member
  • *****
  • Posts: 2033
    • StrumPract is the musicians best friend
Re: Online Package Manager
« Reply #1927 on: November 10, 2020, 02:22:51 pm »
Quote
I updated uos, thanks for the new version.

Many thanks!

Quote
OPM downloads the packages to the Lazarus config folder, usually:
    Windows: "C:\Users\<User name>\AppData\Local\lazarus\onlinepackagemanager\packages\"
         Linux:  ~/.lazarus/onlinepackagemanager/packages/

Ha, ok, thanks!

Fre;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

wp

  • Hero Member
  • *****
  • Posts: 7950
Re: Online Package Manager
« Reply #1928 on: December 02, 2020, 01:38:54 pm »
GetMem I have to bother you again with a new version because LazMapViewer does not compile with Laz3.2 any more. Could you update OPM to the new version https://sourceforge.net/projects/lazarus-ccr/files/LazMapViewer/lazmapviewer-v0.2.4.zip/download?
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1929 on: December 02, 2020, 01:58:18 pm »
@wp
Quote
GetMem I have to bother you again with a new version because LazMapViewer does not compile
No problem!

Quote
Could you update OPM to the new version https://sourceforge.net/projects/lazarus-ccr/files/LazMapViewer/lazmapviewer-v0.2.4.zip/download?
I updated the package. Thanks for the new version.

El Salvador

  • New Member
  • *
  • Posts: 27
Re: Online Package Manager
« Reply #1930 on: December 11, 2020, 05:08:46 pm »
Hi GetMem,

I just tried to install JPLib in Lazarus 2.0.10 on Linux (Ubuntu). I have issues about code only for Windows. I checked in original repository and I saw this commit https://github.com/jackdp/JPLib/commit/e226175b5b4227ad9b6dbb059f69ebe02b35d0fa#diff-e428fceacce8e331526c5ba5d2b112f5e1dafa8db87eccdbba7c11eef88053e7 . Can you update the package?

Thank you very much!

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1931 on: December 11, 2020, 05:37:23 pm »
Hi El Salvador,

Quote
I just tried to install JPLib in Lazarus 2.0.10 on Linux (Ubuntu). I have issues about code only for Windows. I checked in original repository and I saw this commit https://github.com/jackdp/JPLib/commit/e226175b5b4227ad9b6dbb059f69ebe02b35d0fa#diff-e428fceacce8e331526c5ba5d2b112f5e1dafa8db87eccdbba7c11eef88053e7 . Can you update the package?

Thank you very much!

I updated the package. Thank you!

wp

  • Hero Member
  • *****
  • Posts: 7950
Re: Online Package Manager
« Reply #1932 on: December 21, 2020, 12:11:17 pm »
GetMem, due to the naming conflict between the OPM package laz_rgbgraphics and the CCR-SVN package lazrgbgraphics (https://forum.lazarus.freepascal.org/index.php/topic,12674.msg387759.html#msg387759) I combined both packages into https://sourceforge.net/projects/lazarus-ccr/files/LazRGBGraphics/LazRGBGraphics%201.0/rgbgraphics-v1.0.zip/download. It contains the files of the CCR repository (including example) but has the units stored in a separate folder "source". And it contains both .lpk files. Normally this would be harmful due to name clashes, but since they are runtime packages, the IDE accepts this situation, and breaking of user code can be avoided this way. There is also a readme.txt explaining the situation.

I would appreciate if you could replace the current rgbgraphics package in OPM by the new version. I also created an update.json (https://sourceforge.net/projects/lazarus-ccr/files/LazRGBGraphics/OPM/update_rgbgraphics.json/download), but I am not 100% sure whether it is correct syntactically - please check it before using.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

GetMem

  • Hero Member
  • *****
  • Posts: 3806
Re: Online Package Manager
« Reply #1933 on: December 21, 2020, 01:27:14 pm »
wp,

Thank you! I replaced the package.

Ally

  • New Member
  • *
  • Posts: 14
Re: Online Package Manager
« Reply #1934 on: December 23, 2020, 12:29:34 pm »
Hello GetMem,

my package facilitates the controlled entry of numbers.
Can you provide it in the Online Package Manager?

Greetings Roland


Here is a brief description:

--------------------------------------------------------------------------------------------------------------------------
DecimalNumberEdit is a component for entering numbers.
--------------------------------------------------------------------------------------------------------------------------
The input field only accepts valid numbers that can be limited using the Matrix property.

The component provides four new properties.

1. Matrix (string)
   This property defines the number format.

   Examples:
   99.99 Allows you to enter values ​​in the range from 0 to 99.99 with two decimal places.
   -50.9 Allows you to enter values ​​in the range from -50.9 to 50.9 with one decimal place.
   250,000 Allows you to enter values ​​in the range from 0 to 250 with three decimal places.
   -500 Allows the entry of values ​​in the range from -500 to 500 without decimal places.


2. Value (Extended)
   Returns the extended value of the entered value.
   This value can be evaluated during input and represents the value currently entered in the input field.


3. EnterKey (Boolean)
   Allows the use of the Enter key in the same way as the Tab key.


4. WarningTone (Boolean)
   Emits a warning tone if impermissible entries are made.


The localization settings such as the DecimalSeparator is automatically adopted.
Should the project also use the localization settings under Linux / Unix,
you should add the entry clocale to the project uses.

Example:

uses
  {$ IFDEF UNIX} {$ IFNDEF DARWIN}
   clocale, // sets the localization settings (number, date and time formats)
  {$ ENDIF} {$ ENDIF}
  SysUtils, Forms, ......

--------------------------------------------------------------------------------------------------------------------------
NumberEdit is a component for entering whole numbers.
--------------------------------------------------------------------------------------------------------------------------
The input field only accepts the digits 0-9, leading zeros are also permitted.

The component provides two new properties.

1. EnterKey (Boolean)
   Allows the use of the Enter key in the same way as the Tab key.


2. WarningTone (Boolean)
   Emits a warning tone if impermissible entries are made.
« Last Edit: December 23, 2020, 12:32:28 pm by Ally »

 

TinyPortal © 2005-2018