* * *

Author Topic: Online Package Manager + ct4laz repository  (Read 16083 times)

GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #90 on: March 25, 2018, 09:08:03 pm »
1. I can add freetype.dll automatically, but what about freetype.so/freetype.dylib for linux/osx? Or freetype is only needed on windows?
3. When a user download a pl_ package and the pl_0_libraries folder is not present,  OPM can give a warning about the missing library folder
2, 4. Unfortunately I do not have enough knowledge about those packages to make a useful comment

Quote
If you need anything else from my side, including access to ct4laz repo, please say so.
Ok, thanks. Unfortunately I'm very busy at the moment, we should wait 1-2 more weeks before we add pl_ packages to OPM.

wp

  • Hero Member
  • *****
  • Posts: 4837
Re: Online Package Manager + ct4laz repository
« Reply #91 on: March 25, 2018, 09:47:06 pm »
4) Regarding MapViewer component which has 2 incarnations in pl_geogis and in pl_mapviewer packages, do we have a better source of this component to include in OPM, or we have to use CT ones?
As I wrote some time ago I want to take care of MapViewer. I have access to the author's original repository which turned into pl_geogis. It is working, but has some issues with tiled painting. I will provide it for OPM for sure (unfortunately I am busy with other thing right now). The other package is derived from this one, but I did not investigate in detail so far. It has a dependence on the RGBGraphics package- not sure if this is really needed, and I don't know if tiled painting is better there.

But anyway, I would keep these two packages out of your collection and keep them in OPM as it is now. Later, when "my" packages are ready we can replace them by the new ones.

Regarding AggPas: What is the difference to the version which ships with Lazarus in folder components? Also, we have good freetype support in fcl and in LazUtils which does not require a dll. Why does aggpas reinvent the wheel here? I fear we'll end up in quite some mess here.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #92 on: March 25, 2018, 10:47:36 pm »
I fear we'll end up in quite some mess here.
No. Don't worry. We agreed in the beginning that only packages which do not interfere with Lazarus goes into OPM. If we cannot make AggPas "Lazarus friendly" we better skip it. Users still can download it from avra's repository.

taazz

  • Hero Member
  • *****
  • Posts: 5257
Re: Online Package Manager + ct4laz repository
« Reply #93 on: March 25, 2018, 11:51:53 pm »
I fear we'll end up in quite some mess here.
No. Don't worry. We agreed in the beginning that only packages which do not interfere with Lazarus goes into OPM. If we cannot make AggPas "Lazarus friendly" we better skip it. Users still can download it from avra's repository.
doesn't fpc come with aggpas already? doesn't it include a package for lazarus too already? why not use the windows font library by default in windows instead of freetype and or other libraries?
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #94 on: March 26, 2018, 06:20:14 am »
OK. I removed AggPas from the central repository. If you guys know any more discrepancy, please let me know.

wp

  • Hero Member
  • *****
  • Posts: 4837
Re: Online Package Manager + ct4laz repository
« Reply #95 on: March 31, 2018, 02:34:26 pm »
I began adapting the original MapViewer component by Maciej Kaczkowski (original sources in https://github.com/maciejkaczkowski/mapviewer), added fphttpclient support by Dimitrios Chr. Ioannidis (https://forum.lazarus.freepascal.org/index.php/topic,12674.msg160255.html#msg160255) and have begun to merge ti_dic's extensions (https://forum.lazarus.freepascal.org/index.php/topic,12674.msg164556.html#msg164556, https://sourceforge.net/p/roadbook/code/ci/master/tree/mapviewer/) - the latter changes are massive, and I don't know where this will end...

Anyway, the reason why I am writing this is a question regarding licensing - and I am really no expert here. All authors state in their unit headers that the units are "under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.". In short: "GPL-2 or later". Correct?

OPM, on the other hand, distributes PilotLogic's adaption of ti_dic's Mapviewer version as "GNU Lesser GPL". I think this is not correct.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

lainz

  • Hero Member
  • *****
  • Posts: 2822
    • Home
Re: Online Package Manager + ct4laz repository
« Reply #96 on: March 31, 2018, 02:58:24 pm »
You're right. These are not the same license.

GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #97 on: March 31, 2018, 03:13:03 pm »
@wp
Should I change it now or when you're ready with the adaptation?

@avra
Can you please remove MapViewer and AggPas from the repository? Next week I can add pl_packages to OPM if you're ready. I will keep the directory structure as we agreed in this thread:
Quote
ct4laz
   components
      pl_package1
      pl_package2
      ...
      pl_packageN
   examples
      0_libraries
      pl_example1
      pl_example2
      ...
      pl_exampleN
Let's hope everything will work out of the box.
« Last Edit: March 31, 2018, 03:15:41 pm by GetMem »

wp

  • Hero Member
  • *****
  • Posts: 4837
Re: Online Package Manager + ct4laz repository
« Reply #98 on: March 31, 2018, 03:53:28 pm »
@wp
Should I change it now or when you're ready with the adaptation?
Don't hurry, wait until the new package is ready.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

wp

  • Hero Member
  • *****
  • Posts: 4837
Re: Online Package Manager + ct4laz repository
« Reply #99 on: May 24, 2018, 09:26:00 am »
@GetMem: Looking through the package list available in OPM I noticed that the BarCodes package of PilotLogic is still available - this is a mixup of LazBarCodes and part of TurboPower SysTools (having different licenses - see earlier discussion in this thread, reply #22). Both are available in OPM as separate packages maintained by myself. Therefore it would make sense to remove the PilotLogic package from OPM, also to avoid duplicate component issues if the user installs BarCodes together with LazBarCodes or SysTools.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #100 on: May 24, 2018, 10:11:41 am »
@wp
Done. We should check the other packages too. I did a quick filter, there are 26 pilot logic related packages in the main repository. I assume a large part of those packages is CT only, since we filter the duplicate ones out. By CT only I mean it was developed by them or they continued an old, abandoned delphi package/project, which is perfectly fine. 

wp

  • Hero Member
  • *****
  • Posts: 4837
Re: Online Package Manager + ct4laz repository
« Reply #101 on: May 24, 2018, 12:06:33 pm »
Did not find any more duplicates of current OPM packages.

But I think in addition to removing duplicates we also should find out the original packages which were adapted by Pilot Logic because if there is still development by the original author I'd prefer this.

I still have MapViewer on my list, it will be based on the original author's (not PilotLogic's) sources and have some improvements by myself. The current state of the port is on CCR (folder lazmapviewer). You'll be notified when it is ready.

I also looked at VampyreImaging. The original author has a Lazarus pakage on his site (https://sourceforge.net/p/imaginglib/code/ci/default/tree/Extras/IdePackages/Lazarus/) which is working (I tested it recently), but so far I refrained from submitting it to OPM because the author mentions in his commit messages that he plans a new release. I'd much prefer to have the original author's new release in OPM than PilotLogic's adaption.

The Graphics32 team has a Lazarus runtime and designtime package on their github too (https://github.com/graphics32/graphics32/tree/master/Source/Packages), but the commit is 6 years old, so I am not sure if it is still working - I did not test it myself.

HTML5Canvas is from CWBudde's GitHub (https://github.com/CWBudde/Pascal-HTML5-Canvas) (Christian is a Graphics32 team member), but the repository does not contain a Lazarus package. Last source changes: 6 years ago.

OpenGL seems to contain three different OpenGL implementations, one of them, OpenGLPanel, being very similar to the OpenGLContext which comes with Lazarus. It also contains the dglOpenGL.pas (e.g. https://github.com/SaschaWillems/dglOpenGL/blob/master/dglOpenGL.pas) used by many people. 

Lockbox seems to be another TurboPower package. The original repo is at https://github.com/TurboPack/LockBox. Last change: 2 years ago. No Lazarus package.

ExDatabase is probably identical with https://github.com/nurettin/zeddbtreeview/tree/master/Source; the original repository contains a Lazarus package, but has not been updated for 6 years.

ExCompress, ExControls, and ExDesign look like parts of JVCL packages at first sight, but they look too different internally. I did not investigate to find the original sources.

Did not look at the others.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #102 on: May 24, 2018, 01:04:47 pm »
Thanks wp. I will do my own "investigation" soon, but it seems that not too many CT packages will remain in the end. The question is: after how many years we should consider a Delphi/Lazarus package abandoned? Five years seems a reasonably long time, this is especially true in IT.  I will rename the CT packages to pl_xxxx to prevent confusion.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6424
Re: Online Package Manager + ct4laz repository
« Reply #103 on: May 24, 2018, 01:23:31 pm »
Anyway, the reason why I am writing this is a question regarding licensing - and I am really no expert here. All authors state in their unit headers that the units are "under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.". In short: "GPL-2 or later". Correct?

No GNU Library General Public License, which is LGPL.  "Library" changed to "Lesser" in later versions for political reasons. So at worst it is a versioning issue.


GetMem

  • Hero Member
  • *****
  • Posts: 3111
Re: Online Package Manager + ct4laz repository
« Reply #104 on: May 24, 2018, 02:39:15 pm »
I added the pl_X prefix to each CT package, so we can easily differentiate between them. I also removed MapViewer which will be added soon as a non CT package.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus