Bug 33334

Summary: consider upgrading lazarus
Product: Mageia Reporter: Aurelian R <arusanu>
Component: RPM PackagesAssignee: Chris Denice <eatdirt>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: lazarus-2.2.6.0-1.mga10.src CVE:
Status comment:
Attachments: lazarus spec file
patch for winff spec file that adds qt6
updated and fixed patch

Description Aurelian R 2024-06-26 22:53:37 CEST
Created attachment 14578 [details]
lazarus spec file

Latest lazarus release is 3.4, It looks stable and has proper support for qt6 which makes it suitable for an upgrade on Cauldron.
Attached is a spec file(a patch for spec file is not helping, too different) adapted from Open Suse for Mageia that breaks the lazarus package into its various components and also incorporates "qt5(6)pas" packages to synchronize/simplify builds.

There are some issues with versioning of "qt5pas" package as the real version is 1.2.* not 2.*. I believe the easy way out is to use lazarus version 3.* for qt5(6)pas rpms. 

Anyhow, I hope this helps.
Regards.
Comment 1 Lewis Smith 2024-06-27 20:50:53 CEST
Thank you for the suggestion, and spec file.
Our Cauldron version 2.2.6 is only 9m old, so this seems to be evolving fast.

Assigning this to ChrisD who did the last two version updates; hoping you will look at it.
If you do not want it, please re-assign to pkg-bugs.

Assignee: bugsquad => eatdirt

Comment 2 Chris Denice 2024-06-30 19:14:17 CEST
I will, we need it to build a few other packages, like skychart etc...

thanks!
Comment 3 David GEIGER 2024-06-30 20:50:19 CEST
i think it would better to keep separate packages for Qt(5,6)Pas as they have not same version as the main lazarus pkg.

CC: (none) => geiger.david68210

Comment 4 Chris Denice 2024-07-03 15:44:04 CEST
Hi there,
I have updated it on cauldron. For the package splitting, I won't do that now,
because it just works fine and I don't have the extra-time to debug the split right now. But, I will at some point.

Cheers.
Comment 5 David GEIGER 2024-07-03 16:21:51 CEST
I can do/work for the two split Qt(5,6)PAS
Comment 6 Chris Denice 2024-07-03 16:34:45 CEST
Cool, go on then!
I'll test all that with some update of skychart, virtualmoon et al.!

Thanks!
Comment 7 Aurelian R 2024-07-03 18:41:13 CEST
Created attachment 14582 [details]
patch for winff spec file that adds qt6

What I can say is that I've successfully tested the proposed split of lazarus to build packages like peazip, goverlay and winff. As an example, attached is a spec patch to the current winff that adds the qt6 interface besides gtk2. The only thing that I would avoid or at least test before use is the experimental gtk+-3.0 interface, it may generate interesting artifacts.

Regards.
Comment 8 David GEIGER 2024-07-09 05:49:04 CEST
Done for Qt5pas and Qt6pas!
Comment 9 Aurelian R 2024-07-09 10:50:26 CEST
Created attachment 14587 [details]
updated and fixed patch

The updated lazarus and qt(5/6)pas packages work quite well for me.

Great, thanks!

PS: I update also my patch for winff spec file to fix some errors and include the latest lazarus stack changes.

Attachment 14582 is obsolete: 0 => 1

Comment 10 Aurelian R 2024-07-09 10:52:00 CEST
Closing as main issues have been fixed ...

Status: NEW => RESOLVED
Resolution: (none) => FIXED