Recent

Author Topic: Lazarus Release Candidate 2 of 4.0  (Read 35372 times)

dbannon

  • Hero Member
  • *****
  • Posts: 3297
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 4.0
« Reply #105 on: February 14, 2025, 10:37:49 pm »
You can always start Lazarus with a config dir of your choice. Putting aside convention, it can be anywhere you have write access to.

Use --pcp=/some/path/to/lazarusRC2


or put the above (with no leading space) in a file call 'lazarus.cfg' in the top dir of the particular lazarus install you want it applied to. Then, when you start lazarus, it reads the config and uses that dir.

In this manner, you can have as many independent Lazarus installs as your hard disk will contain.

FPCUpDeluxe makes a script to do this for you but you are far better off understanding the process and controlling it yourself.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Fabs_Muller

  • Newbie
  • Posts: 2
Re: Lazarus Release Candidate 2 of 4.0
« Reply #106 on: February 17, 2025, 05:18:37 pm »
@mattias or @marc_fr could you pls PM me? Tks.

CM630

  • Hero Member
  • *****
  • Posts: 1299
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 2 of 4.0
« Reply #107 on: February 21, 2025, 05:17:43 pm »
....
If you can find the file with the anchor layout (again, sorry not sure which) => report a bug and attach it...
Ok, I will try to reproduce it again.
It happened again, twice on another PC with a different Windows version.
Both times it happened after recompiling the IDE. The second times it was even worse than before, I could not fix it by moving the headers, the mess was total.
I uninstalled *dock*.lpk and a message was shown "Invalid property, shall it be removed...". The message was reasonable, since I moved a Published property of an LPK to the Public section. But this message should have appeared even before uninstalling *dock*.lpk.
« Last Edit: February 21, 2025, 05:19:15 pm by CM630 »
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

matthius

  • Full Member
  • ***
  • Posts: 171
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: Lazarus Release Candidate 2 of 4.0
« Reply #108 on: February 24, 2025, 03:27:46 pm »
Thanks !

Now i compile with Linux 64 on ARM.
I am waiting to compile on ARM64, MIPS, POWER PC 64 and LOONGARCH64.
On MIPS there are a lot of libraries not found on Lazarus 3, on others there is just libpangocairo.
I cannot compile on IOS ARM my packages.
« Last Edit: February 24, 2025, 06:14:41 pm by matthius »
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

dbannon

  • Hero Member
  • *****
  • Posts: 3297
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 4.0
« Reply #109 on: February 25, 2025, 12:36:49 am »
I am waiting to compile on ARM64, MIPS, POWER PC 64 and LOONGARCH64.
I routinely compile on Arm64 linux (gtk2 and Qt5) and debian compile on Power64el (Qt5), as I understand it, without any problems except the known PIE hardening one.

I cross compile to MacOS Arm64, have not personally tested the result but have been advised it works.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

matthius

  • Full Member
  • ***
  • Posts: 171
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: Lazarus Release Candidate 2 of 4.0
« Reply #110 on: February 26, 2025, 03:26:45 pm »
I think first GNU Linux cross compile from Linux 64 to other Linux works good.
But when i close Lazarus and open it again it does not work. This is why i could create Loongarch64 and maybe ARMHF a time.

Now i am saying me that a virus empeaches me to import medias on GEDCOM. Payed genealogy softwares do not provide this option so they have could tell a hacker to not enter a function that is passed on debug.
« Last Edit: February 26, 2025, 03:57:51 pm by matthius »
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

CM630

  • Hero Member
  • *****
  • Posts: 1299
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 2 of 4.0
« Reply #111 on: February 26, 2025, 03:58:23 pm »
When I change the colour for the form in design mode it is not changed in the editor. But when I build the app and execute it, the displayed colour is as set.
Is this the expected behaviour?

Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

dsiders

  • Hero Member
  • *****
  • Posts: 1377
Re: Lazarus Release Candidate 2 of 4.0
« Reply #112 on: February 26, 2025, 04:30:14 pm »
When I change the colour for the form in design mode it is not changed in the editor. But when I build the app and execute it, the displayed colour is as set.
Is this the expected behaviour?

I don't see that behavior using Linux + KDE with a stock theme in use.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10920
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #113 on: February 26, 2025, 04:52:16 pm »
Maybe its a limit in the docked form designer? Needs to be tested.

CM630

  • Hero Member
  • *****
  • Posts: 1299
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 2 of 4.0
« Reply #114 on: February 26, 2025, 10:00:48 pm »
Indeed, when *dock* packages are uninstalled, the colour of the form is visibly changed in the IDE.
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10920
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #115 on: February 26, 2025, 10:33:08 pm »
My guess: ParentColor.

Forms to have that, even if not published, they inherit it from TControl. And if it is true, then the docked form editor puts the form into a parent.

CM630

  • Hero Member
  • *****
  • Posts: 1299
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 2 of 4.0
« Reply #116 on: February 27, 2025, 08:42:15 am »
My guess: ParentColor.

Forms to have that, even if not published, they inherit it from TControl. And if it is true, then the docked form editor puts the form into a parent.
Ah, here it is, https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41013, created with s.o. with your avatar and quite the same name.
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

matthius

  • Full Member
  • ***
  • Posts: 171
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: Lazarus Release Candidate 2 of 4.0
« Reply #117 on: February 28, 2025, 04:17:31 pm »
I have found the problem with libpangocairo.so on Linux X86 64.

Lazarus searches libpangocairo.so, not libpangocairo.so.0.

There is a lack for FPC UP DELUXE. It downloads only gtk and qt5 libraries, not qt6 libraries.

for POWER PC 64, there can have this error :
Error: /home/matthieu/fpcup3.0/cross/bin/powerpc64-linux/powerpc64-linux-ld:/home/matthieu/fpcup3.0/cross/lib/powerpc64-linux//librt.so: file format not recognized; treating as linker script
« Last Edit: February 28, 2025, 04:28:43 pm by matthius »
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

TRon

  • Hero Member
  • *****
  • Posts: 4154
Re: Lazarus Release Candidate 2 of 4.0
« Reply #118 on: February 28, 2025, 04:54:40 pm »
I have found the problem with libpangocairo.so on Linux X86 64.

Lazarus searches libpangocairo.so, not libpangocairo.so.0.
That is why dev packages exist, at least on Debian based distro's. If the distro you use does not link your libraries for you then you should do it manually.

Quote
There is a lack for FPC UP DELUXE. It downloads only gtk and qt5 libraries, not qt6 libraries.
Bindings for qt (but afaik also qt6 itself) is a work in progress. Feel free to supply patches/merge requests.

Quote
for POWER PC 64, there can have this error :
Error: /home/matthieu/fpcup3.0/cross/bin/powerpc64-linux/powerpc64-linux-ld:/home/matthieu/fpcup3.0/cross/lib/powerpc64-linux//librt.so: file format not recognized; treating as linker script
Typo in this message or Typo in (output from) FPCUp ?

BTW: FPCUpDeluxe has its own thread. Issues regarding FPCUpDeluxe do not actually belong in this one (unless it is clear that there is a direct relation with this release).
« Last Edit: February 28, 2025, 04:57:22 pm by TRon »
Today is tomorrow's yesterday.

calm_sea

  • Jr. Member
  • **
  • Posts: 52
Re: Lazarus Release Candidate 2 of 4.0
« Reply #119 on: March 07, 2025, 06:28:38 pm »
It fails to install dcl_rxtools.dpk from online package manager (cannot compile packadge)

 

TinyPortal © 2005-2018