From: "Amy Liffey" <amynka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lazarus/
Date: Wed, 11 Jan 2023 09:41:15 +0000 (UTC) [thread overview]
Message-ID: <1673430050.dc4ae6502bc01de42621d6744ebca15b882de5fd.amynka@gentoo> (raw)
commit: dc4ae6502bc01de42621d6744ebca15b882de5fd
Author: Michael Corvinus <voron1 <AT> gmail <DOT> com>
AuthorDate: Sat Dec 24 21:31:42 2022 +0000
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 09:40:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4ae650
dev-lang/lazarus: fix calling `gcc` directly
The build system does things like GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
Replace with ${CC}.
Add QA_FLAGS_IGNORED and QA_PRESTRIPPED as FPC doesn't care about CFLAGS and does its own stripping.
Closes: https://bugs.gentoo.org/818154
Closes: https://bugs.gentoo.org/737060
Signed-off-by: Michael Corvinus <voron1 <AT> gmail.com>
Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>
dev-lang/lazarus/Manifest | 1 +
...lazarus-2.2.4.ebuild => lazarus-2.2.4-r1.ebuild} | 21 ++++++++++++++++++---
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest
index 472e3d95c033..6814ab378a15 100644
--- a/dev-lang/lazarus/Manifest
+++ b/dev-lang/lazarus/Manifest
@@ -1,3 +1,4 @@
DIST lazarus-2.0.12.tar.gz 69560778 BLAKE2B ff6c9414483b0d50dbbb30c8fbf626c81d9c71ef0329aa1d58b37aa4288a500e1ab55d06bad27f637e3f09b9d062af1896720b9cb7367b092fc872cf613f8a3d SHA512 dfd22b2b96fca9d0f672f03b9120c4294a7e640737a09b26c274d304025c61566a8504a5484638c108e42a322b21992229451d95e38d7e491a1c2f07a663483e
DIST lazarus-2.2.0-0.tar.gz 76777421 BLAKE2B 29a7ed3285e3fbb6f72fe932d72d71edfd6903a8a5eb24f9534a12a4d1ccf5e40c61ce3cc1cbd8eef6dd7700f6e29fb640e35510b23a1ca1b02f7df0a4a738cc SHA512 4ebd8b4b7c6dfea491a30b1253e604646109d208c237e59be2fd9f6be3fb1e29443dd4e482076d77100678d0e4085b998398fca0532aa6122b59db7157af0ce4
DIST lazarus-2.2.4-0.tar.gz 77272959 BLAKE2B 2d7b2872a7399eb1a3a7d9fb20fed209900603ae433db75ac2c4244edf5e5981314ed3d8e39143ff30764e7ccbf1286edace9c38505df1cd28b44250bdd07224 SHA512 1a2fbc8451f1954df1d0071c586662ebc3cd0e9a7db5d910e0af86a3095252a5796d4c7abcf3861ad723af26974ac416c5bf919cd77ad5f406295ad7cdf47eb1
+DIST lazarus-2.2.4-makefile.patch.bz2 3650 BLAKE2B 4a86e0dee7759183e3311cfa9f250995dbf2bb39d1de4c0fbc0191767b5f16029285ab92c76466d261708a88ed600929e777798560161e9942a64e44f956ff89 SHA512 560ffd3d43b75a804dfdb756323cecc7f2039215ab176ca0149cfee11dfe31d7943ad4aa212e9194c2bd2acbd0835e635501ef157888daf3715be7f760b3d51b
diff --git a/dev-lang/lazarus/lazarus-2.2.4.ebuild b/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild
similarity index 78%
rename from dev-lang/lazarus/lazarus-2.2.4.ebuild
rename to dev-lang/lazarus/lazarus-2.2.4-r1.ebuild
index 2f36b89e352c..422a6d9f2bd0 100644
--- a/dev-lang/lazarus/lazarus-2.2.4.ebuild
+++ b/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ FPCVER="3.2.2"
DESCRIPTION="feature rich visual programming environment emulating Delphi"
HOMEPAGE="https://www.lazarus-ide.org/"
-SRC_URI="mirror://sourceforge/lazarus/${P}-0.tar.gz"
+SRC_URI="mirror://sourceforge/lazarus/${P}-0.tar.gz https://dev.gentoo.org/~amynka/snap/lazarus-2.2.4-makefile.patch.bz2"
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
SLOT="0/2.2" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
@@ -19,6 +19,19 @@ KEYWORDS="~amd64 ~x86"
IUSE="gtk2 +gui extras"
REQUIRED_USE="gtk2? ( gui ) extras? ( gui )"
+# Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it.
+QA_FLAGS_IGNORED="
+/usr/share/lazarus/startlazarus \
+/usr/share/lazarus/lazarus \
+/usr/share/lazarus/tools/lazres \
+/usr/share/lazarus/tools/lrstolfm \
+/usr/share/lazarus/tools/updatepofiles \
+/usr/share/lazarus/tools/svn2revisioninc \
+/usr/share/lazarus/lazbuild \
+/usr/share/lazarus/components/chmhelp/lhelp/lhelp"
+
+QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
+
DEPEND="
>=dev-lang/fpc-${FPCVER}[source]
>=sys-devel/binutils-2.19.1-r1:=
@@ -33,7 +46,9 @@ RESTRICT="strip" #269221
S="${WORKDIR}/${PN}"
-PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
+PATCHES=(
+ "${WORKDIR}/${P}"-makefile.patch
+ "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
src_prepare() {
default
next reply other threads:[~2023-01-11 9:41 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-11 9:41 Amy Liffey [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 9:33 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
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=1673430050.dc4ae6502bc01de42621d6744ebca15b882de5fd.amynka@gentoo \
--to=amynka@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