Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 818142

Summary: dev-lang/lazarus: switch to Qt5
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED FIXED    
Severity: normal CC: bill, proxy-maint, voron1
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=732758
https://github.com/gentoo/gentoo/pull/28622
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 645228    
Bug Blocks: 768993    
Attachments: dev-lib/libqt5pas-1.2.9.ebuild
Patch for dev-lang/lazarus-2.0.2/6/12 - fix qt5 font issues in IDE

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 10:55:37 UTC
Will need packaing qtpas.
Comment 1 Bill Binder 2021-10-26 16:44:08 UTC
There's a copy of libqt5pas in the lazarus source archive, but there's also one in github following a conversation about versioning in the lazarus forums in March 2020: https://forum.lazarus.freepascal.org/index.php?topic=48889.0

The v1.2.8 in github works with lazarus-2.0.6 and v1.2.9 in github works with lazarus-2.0.12. The attached ebuild uses the github sources and version numbers follow the ones in qmake.pro.

When running Lazarus IDE in qt5, an additional patch is required to fix a font issue in the IDE editor windows, Lazarus bug #36483. This affects Lazarus 2.0.6 & 2.0.12. The attached patch fixes both these versions.
Comment 2 Bill Binder 2021-10-26 16:47:16 UTC
Created attachment 746832 [details]
dev-lib/libqt5pas-1.2.9.ebuild
Comment 3 Bill Binder 2021-10-26 16:50:48 UTC
Created attachment 746835 [details, diff]
Patch for dev-lang/lazarus-2.0.2/6/12 - fix qt5 font issues in IDE
Comment 4 Larry the Git Cow gentoo-dev 2022-12-12 18:40:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c183aa7b01e8a994bc18ebb3a0d4b74402b45b

commit e9c183aa7b01e8a994bc18ebb3a0d4b74402b45b
Author:     Michael Corvinus <voron1@gmail.com>
AuthorDate: 2022-12-12 14:49:41 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2022-12-12 18:39:59 +0000

    dev-lang/lazarus: add 2.2.4
    
    Make GUI optional, switch to Qt5.
    
    Closes: https://github.com/gentoo/gentoo/pull/28622
    Closes: https://bugs.gentoo.org/818142
    Closes: https://bugs.gentoo.org/885283
    
    Signed-off-by: Amy Liffey <amynka@gentoo.org>
    Signed-off-by: Michael Corvinus <voron1@gmail.com>

 dev-lang/lazarus/Manifest             |  1 +
 dev-lang/lazarus/lazarus-2.2.4.ebuild | 91 +++++++++++++++++++++++++++++++++++
 dev-lang/lazarus/metadata.xml         | 11 +++++
 3 files changed, 103 insertions(+)