Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818142 - dev-lang/lazarus: switch to Qt5
Summary: dev-lang/lazarus: switch to Qt5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on: 645228
Blocks: gtk2-removal
  Show dependency tree
 
Reported: 2021-10-14 10:55 UTC by Sam James
Modified: 2022-12-12 19:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-lib/libqt5pas-1.2.9.ebuild (libqt5pas-1.2.9.ebuild,807 bytes, text/plain)
2021-10-26 16:47 UTC, Bill Binder
Details
Patch for dev-lang/lazarus-2.0.2/6/12 - fix qt5 font issues in IDE (lazarus-2.0.X-qt5fonts.patch,424 bytes, patch)
2021-10-26 16:50 UTC, Bill Binder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)