Recent

Author Topic: JPLIB  (Read 2449 times)

folkeu08

  • Full Member
  • ***
  • Posts: 115
JPLIB
« on: July 23, 2025, 04:33:49 pm »
Hi,
It's not possible ti install JPLib by OPM inLlazarus 4.0.0 et 4.2.0.
Thanks

wp

  • Hero Member
  • *****
  • Posts: 13268
Re: JPLIB
« Reply #1 on: July 23, 2025, 10:38:14 pm »
In addition to the new report concerning Laz 4.2 there is also a bug report on the author' github site dated March 2024 that the package JPLib cannot be be installed already with Laz 3.2 (the issue is a dependence on the sparta_generics package which is not supported any more). There is no response by the author. -- I think it's time to remove this package (as well as the dependant JPPack) from OPM in due time.

n7800

  • Hero Member
  • *****
  • Posts: 586
  • Lazarus IDE contributor
    • GitLab profile
Re: JPLIB
« Reply #2 on: July 24, 2025, 01:23:14 pm »
the issue is a dependence on the sparta_generics package which is not supported any more

I remember it was removed from the Lazarus distribution, but maybe it can be added to OPM?

Thaddy

  • Hero Member
  • *****
  • Posts: 18524
  • Here stood a man who saw the Elbe and jumped it.
Re: JPLIB
« Reply #3 on: July 24, 2025, 02:10:29 pm »
(the issue is a dependence on the sparta_generics package which is not supported any more).
That should be an easy fix, since that is now called rtl-generics.
I am not otherwise interested in that package, so someone else may fix it.
Change dependency sparta_generics to rtl-generics. (and maybe some unit names, but I don't think so.)

rtl-generics is the same as sparta_generics, with bug-fixes and a few (few) additions.
« Last Edit: July 24, 2025, 02:18:45 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12571
  • FPC developer.
Re: JPLIB
« Reply #4 on: July 24, 2025, 02:24:40 pm »
Rtl-generics is in the standard FPC tree, so the dependency can be deleted.  sparta_generics is an early version of rtl-generics spun out for 3.0.x compilers and the transition period when there were two.

wp

  • Hero Member
  • *****
  • Posts: 13268
Re: JPLIB
« Reply #5 on: July 24, 2025, 03:37:01 pm »
Indeed, removing the dependence on sparta_generics makes the package compile, and also the dependant JPPack is fine now.

But... We do not have access to the author's github. I could still fork it onto my own github or maybe even onto the Lazarus gitlab site, or I could just upload the fixed version to OPM as a standalone zip package outside any version control. But I don't really want to become the maintainer of myriads of abondoned packages... Don't know...

Thaddy

  • Hero Member
  • *****
  • Posts: 18524
  • Here stood a man who saw the Elbe and jumped it.
Re: JPLIB
« Reply #6 on: July 24, 2025, 06:06:21 pm »
@wp
It is not your task.
The fix is such that one that needs such an exotic can do that him/herself.
If they are not capable, there is no miss. Bad choice anyway. Hence I will not fix.
« Last Edit: July 24, 2025, 06:08:13 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

wp

  • Hero Member
  • *****
  • Posts: 13268
Re: JPLIB
« Reply #7 on: August 01, 2025, 11:01:25 am »
Removed JPLib and JPPack from OPM (orphaned).

Thaddy

  • Hero Member
  • *****
  • Posts: 18524
  • Here stood a man who saw the Elbe and jumped it.
Re: JPLIB
« Reply #8 on: August 01, 2025, 11:23:06 am »
Good.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

 

TinyPortal © 2005-2018