From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lazarus/
Date: Fri, 14 Jun 2024 09:33:49 +0000 (UTC) [thread overview]
Message-ID: <1718357558.c9515336084e543b4661feb7d0e0568da7a79991.sam@gentoo> (raw)
commit: c9515336084e543b4661feb7d0e0568da7a79991
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 09:11:19 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 09:32:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9515336
dev-lang/lazarus: put back REQUIRED_USE
The change itself is right conceptually (see the USE=gui policy in QA guide),
but Lazarus continues to be a mess and I've spent too much time on it for now.
The right fix is to drop REQUIRED_USE (as we did) but also make *DEPEND reflect that.
But given I don't really want to think about Lazarus again, I'm not going to do
that right now. Its actual maintainer can do that.
Bug: https://bugs.gentoo.org/934158
Closes: https://bugs.gentoo.org/934235
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/lazarus/{lazarus-3.0-r1.ebuild => lazarus-3.0-r2.ebuild} | 7 +++++--
dev-lang/lazarus/{lazarus-3.4.ebuild => lazarus-3.4-r1.ebuild} | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/dev-lang/lazarus/lazarus-3.0-r1.ebuild b/dev-lang/lazarus/lazarus-3.0-r2.ebuild
similarity index 94%
rename from dev-lang/lazarus/lazarus-3.0-r1.ebuild
rename to dev-lang/lazarus/lazarus-3.0-r2.ebuild
index cd47f1f30556..464571a70783 100644
--- a/dev-lang/lazarus/lazarus-3.0-r1.ebuild
+++ b/dev-lang/lazarus/lazarus-3.0-r2.ebuild
@@ -18,8 +18,8 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
SLOT="0/3.0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
KEYWORDS="~amd64 ~x86"
-IUSE="+gui gtk2 gtk qt6 extras"
-REQUIRED_USE="extras? ( gui )"
+IUSE="+gui gtk2 gtk qt5 qt6 extras"
+REQUIRED_USE="gui? ( ^^ ( gtk2 gtk qt5 qt6 ) ) extras? ( gui )"
# Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it.
QA_FLAGS_IGNORED="
@@ -40,6 +40,7 @@ DEPEND="
gui? (
gtk2? ( x11-libs/gtk+:2 )
gtk? ( x11-libs/gtk+:3 )
+ qt5? ( dev-libs/libqt5pas:0/3.0 )
qt6? ( dev-libs/libqt6pas:0/3.0 )
)
"
@@ -70,6 +71,8 @@ src_compile() {
export LCL_PLATFORM=gtk2
elif ( use gtk ) ; then
export LCL_PLATFORM=gtk3
+ elif ( use qt5 ) ; then
+ export LCL_PLATFORM=qt5
else
export LCL_PLATFORM=qt6
fi
diff --git a/dev-lang/lazarus/lazarus-3.4.ebuild b/dev-lang/lazarus/lazarus-3.4-r1.ebuild
similarity index 94%
rename from dev-lang/lazarus/lazarus-3.4.ebuild
rename to dev-lang/lazarus/lazarus-3.4-r1.ebuild
index cd47f1f30556..464571a70783 100644
--- a/dev-lang/lazarus/lazarus-3.4.ebuild
+++ b/dev-lang/lazarus/lazarus-3.4-r1.ebuild
@@ -18,8 +18,8 @@ S="${WORKDIR}/${PN}"
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
SLOT="0/3.0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
KEYWORDS="~amd64 ~x86"
-IUSE="+gui gtk2 gtk qt6 extras"
-REQUIRED_USE="extras? ( gui )"
+IUSE="+gui gtk2 gtk qt5 qt6 extras"
+REQUIRED_USE="gui? ( ^^ ( gtk2 gtk qt5 qt6 ) ) extras? ( gui )"
# Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it.
QA_FLAGS_IGNORED="
@@ -40,6 +40,7 @@ DEPEND="
gui? (
gtk2? ( x11-libs/gtk+:2 )
gtk? ( x11-libs/gtk+:3 )
+ qt5? ( dev-libs/libqt5pas:0/3.0 )
qt6? ( dev-libs/libqt6pas:0/3.0 )
)
"
@@ -70,6 +71,8 @@ src_compile() {
export LCL_PLATFORM=gtk2
elif ( use gtk ) ; then
export LCL_PLATFORM=gtk3
+ elif ( use qt5 ) ; then
+ export LCL_PLATFORM=qt5
else
export LCL_PLATFORM=qt6
fi
next reply other threads:[~2024-06-14 9:33 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 9:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-02 20:15 [gentoo-commits] repo/gentoo:master commit in: dev-lang/lazarus/ Andreas Sturmlechner
2024-10-25 23:44 Sam James
2024-06-14 9:37 Sam James
2024-06-14 7:34 Sam James
2024-06-14 7:33 Sam James
2024-06-14 7:33 Sam James
2024-06-09 16:13 Sam James
2023-01-11 9:41 Amy Liffey
2023-01-11 9:41 Amy Liffey
2022-12-13 9:10 Amy Liffey
2022-12-12 18:40 Amy Liffey
2022-02-02 14:46 Amy Liffey
2022-01-15 14:15 Andreas Sturmlechner
2021-10-16 7:11 Agostino Sarubbo
2021-10-16 7:10 Agostino Sarubbo
2021-10-14 10:54 Sam James
2021-04-25 18:06 Andreas Sturmlechner
2020-04-25 18:54 Amy Liffey
2020-04-25 13:16 Amy Liffey
2020-04-25 13:16 Amy Liffey
2020-01-17 10:30 Agostino Sarubbo
2020-01-14 16:14 Agostino Sarubbo
2019-07-14 18:51 Amy Liffey
2019-07-14 18:51 Amy Liffey
2018-09-23 15:24 Amy Liffey
2018-09-20 13:25 Amy Liffey
2018-09-20 13:25 Amy Liffey
2018-05-27 9:38 Amy Liffey
2018-05-19 8:28 Amy Liffey
2018-03-17 6:45 Matt Turner
2018-01-21 14:22 Amy Liffey
2017-10-03 19:01 Amy Liffey
2017-08-11 20:14 Amy Liffey
2017-03-26 16:05 Amy Liffey
2016-12-11 9:52 Amy Winston
2016-03-14 12:57 Amy Winston
2016-02-21 21:25 Amy Winston
2016-02-21 21:25 Amy Winston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1718357558.c9515336084e543b4661feb7d0e0568da7a79991.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox