Recent

Author Topic: ct4laz  (Read 30126 times)

avra

  • Hero Member
  • *****
  • Posts: 1731
    • Additional info
Re: ct4laz
« Reply #120 on: April 18, 2019, 11:42:21 pm »
This is the final list of ct4laz V2 packages taken from CodeTyphon 6.70:
Quote
pl_0_libs (new)
pl_ape
pl_asiovst
pl_cindy
pl_dwscript (new)
pl_excompress
pl_excontrols
pl_exdatabase
pl_exdesign
pl_graphics32
pl_graphics32ext
pl_graphics32magic (new)
pl_graphics32mg
pl_graphics32vpr
pl_html5canvas
pl_lockbox
pl_opengl
pl_opengles
pl_openwire
pl_pappe (new)
pl_sdl2 (new)
pl_synapsevs
pl_vampyreimaging
pl_vulkan
pl_win_directx
pl_win_directx11
pl_win_directx12
pl_win_directxut
pl_win_dspack
pl_win_gdi
pl_win_midi
px_aggpas
px_aggpasvs
px_cmdrunner (new)
px_gaiagis (new)
px_geogis (new)
px_mapviewer
px_opengladv (new)
px_shapes (new)
px_titanscript (new)
px_titansound (new)
px_tsmbios (new)

All pl_* packages should end up in both OPM and ct4laz repo, while px_* packages should end up only in ct4laz repo and are ment for the brave ones or desperate ones (you can find explanations for this in Excel file).

It was very interesting to find out that pl_titansound is actually a port of Delphi MPEG lib (Excel file with package info updated), and it was very close to inclusion into OPM, but at the end I left it for the next time to mature a little more.

I am not able to test pl_vulkan (no proper grahic card) and pl_opengles (my Raspberry Pi is dead), so I would appreciate if someone can confirm they work. Without confirmation I do not think they should end up in OPM. It was strange to be able to run pl_sdl2 examples under windows but not under linux. If you manage to do it, please share it here.

Some packages are OS specific, and some do not work under specific Laz/FPC combo, bitness, or endianess. PilotLogic cares only about trunk FPC and Laz, while I also try to make all packages work under current official versions of FPC and Laz (with fixes).

I have updated all packages info as promised. Please check and report if there is some mistake (especially for licenses info).

I must admit that most of the CT packages now have license file in the sources dir. That's a nice improvement.

Enjoy!  8-) :) 8-)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

GetMem

  • Hero Member
  • *****
  • Posts: 3515
Re: ct4laz
« Reply #121 on: April 28, 2019, 06:30:11 pm »
Thank you @Avra, this is great news. I will add the packages to OPM soon.

avra

  • Hero Member
  • *****
  • Posts: 1731
    • Additional info
Re: ct4laz
« Reply #122 on: April 28, 2019, 11:19:47 pm »
@everyone:

I need your help. I am not able to test pl_vulkan (no proper grahic card) and pl_opengles (my Raspberry Pi is dead), so I would appreciate if someone can confirm they work.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

GetMem

  • Hero Member
  • *****
  • Posts: 3515
Re: ct4laz
« Reply #123 on: May 02, 2019, 08:56:17 am »
Hi all,

I added eight pl_ package for testing purposes. The packages are extracted to a sub folder of the local repository, namely ct4laz.  Please test. After a few days, if everything works fine, I will add all the other packages too. Until now I found no issues at all, tested mostly on: win32/64, gtk2. I will run a few test soon with carbon and qt.

GetMem

  • Hero Member
  • *****
  • Posts: 3515
Re: ct4laz
« Reply #124 on: May 08, 2019, 08:59:27 am »
All packages converted by @Avra was added to OPM, except pl_cindy and pl_vampyreimaging. The plan is to add the original versions, unfortunately vampyreimaging still not works properly, there is a multiple units conflict(https://sourceforge.net/p/imaginglib). The original Cindy is already in OPM. Any suggestion is welcomed.

avra

  • Hero Member
  • *****
  • Posts: 1731
    • Additional info
Re: ct4laz
« Reply #125 on: May 08, 2019, 11:04:52 am »
All packages converted by @Avra was added to OPM, except pl_cindy and pl_vampyreimaging. The plan is to add the original versions, unfortunately vampyreimaging still not works properly, there is a multiple units conflict(https://sourceforge.net/p/imaginglib). The original Cindy is already in OPM. Any suggestion is welcomed.
I will rename pl_vampyreimaging to px_vampyreimaging and leave it in ct4laz repo in case someone still needs it, but exclude it from OPM.

Original Cindy is Delphi only, and origin of Cindy Lazarus port is PilotLogic, and PilotLogic version is in OPM. Do you remember that we agreed to rename cindy.lpk to pl_cindy.lpk? Let me remind you:

Quote
If you agree, then you could use pl_* components without any change and that could take of some of the burden from you. I also think that cindy in OPM should hold pl_cindy name - to respect it's origin and give credit to Pilot Logic. I hope that's OK with you.
Sure, I already used pl_ prefix in the past for CT packages. Cindy was developed by Pilot Logic only? If yes, then giving credit is a must. The issue is, I found many packages, which I thought it was PL only, later it turn out it was developed by somebody else.

Quote
I said that Pilot Logic takes the credit for porting cindy to Lazarus (which was at the time when CT components could be used in laz without any change), so we should respect that and leave pl_cindy name, as is the case with the rest of ct4laz components. I just feel that should be right, nothing else. It is just a proposal, not some kind of a request.
In my opinion we can leave pl_cindy, but we should also mention the original author in the description.
Then name will be pl_cindy, and we mention original author/website with a credit to Pilot Logic for Lazarus port.

I still think that OPM cindy should be replaced with pl_cindy, especially since it is updated to latest Delphi version.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

GetMem

  • Hero Member
  • *****
  • Posts: 3515
Re: ct4laz
« Reply #126 on: May 08, 2019, 11:26:46 am »
Quote
I still think that OPM cindy should be replaced with pl_cindy, especially since it is updated to latest Delphi version.
OK. Fair enough. If there is no objections, I will remove cindy and add pl_cindy from ct4laz repo.

avra

  • Hero Member
  • *****
  • Posts: 1731
    • Additional info
Re: ct4laz
« Reply #127 on: July 14, 2019, 01:33:34 pm »
I have published instructions for creating ct4laz on your own:
https://bitbucket.org/avra/ct4laz

Useful if you want to convert some missing component, or if you want to convert some updated CodeTyphon component and don't want to wait for ct4laz repo update. Besides ct2laz utility there are 2 PowerShell scripts which do all the work.

Enjoy!
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib