From ba8e892ee46c0b6de05e2db9e968c8e2db36d7ad Mon Sep 17 00:00:00 2001 From: Denis Pronin Date: Mon, 10 Jun 2024 08:57:17 +0300 Subject: [PATCH 1/6] dev-lang/lazarus: update lazarus-3.0 and libqt6pas-1.0 dependency 1. remove qt5 from possible USE flags, we're targeting on qt6 2. use 3.0 for 3rd major version of lazarus and dependencies Signed-off-by: Denis Pronin Signed-off-by: Sam James --- dev-lang/lazarus/lazarus-3.0.ebuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/dev-lang/lazarus/lazarus-3.0.ebuild b/dev-lang/lazarus/lazarus-3.0.ebuild index f6e4ab89c84ae..cd47f1f30556e 100644 --- a/dev-lang/lazarus/lazarus-3.0.ebuild +++ b/dev-lang/lazarus/lazarus-3.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit desktop -# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and +# See https://wiki.freepascal.org/Lazarus_3.0_fixes_branch for notes and # changes in FPCVER. It *does* change between minor versions of lazarus. FPCVER="3.2.2" @@ -16,10 +16,10 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.0-mak S="${WORKDIR}/${PN}" LICENSE="GPL-2 LGPL-2.1-with-linking-exception" -SLOT="0/2.2" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. +SLOT="0/3.0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. KEYWORDS="~amd64 ~x86" -IUSE="+gui gtk2 gtk qt5 qt6 extras" -REQUIRED_USE="gui? ( ^^ ( gtk2 gtk qt5 qt6 ) ) extras? ( gui )" +IUSE="+gui gtk2 gtk qt6 extras" +REQUIRED_USE="extras? ( gui )" # Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it. QA_FLAGS_IGNORED=" @@ -40,8 +40,7 @@ DEPEND=" gui? ( gtk2? ( x11-libs/gtk+:2 ) gtk? ( x11-libs/gtk+:3 ) - qt5? ( dev-libs/libqt5pas:0/2.2 ) - qt6? ( dev-libs/libqt6pas:0/2.2 ) + qt6? ( dev-libs/libqt6pas:0/3.0 ) ) " BDEPEND="net-misc/rsync" @@ -71,8 +70,6 @@ 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 From dbbf51f21700b4dad71d4e3163469d2944374cdc Mon Sep 17 00:00:00 2001 From: Denis Pronin Date: Fri, 14 Jun 2024 08:32:02 +0100 Subject: [PATCH 2/6] dev-libs/libqt6pas: fix subslot Signed-off-by: Denis Pronin Signed-off-by: Sam James --- .../{libqt6pas-1.0.0.ebuild => libqt6pas-1.0.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename dev-libs/libqt6pas/{libqt6pas-1.0.0.ebuild => libqt6pas-1.0.0-r1.ebuild} (98%) diff --git a/dev-libs/libqt6pas/libqt6pas-1.0.0.ebuild b/dev-libs/libqt6pas/libqt6pas-1.0.0-r1.ebuild similarity index 98% rename from dev-libs/libqt6pas/libqt6pas-1.0.0.ebuild rename to dev-libs/libqt6pas/libqt6pas-1.0.0-r1.ebuild index 08257458f2619..7f46fe8537eed 100644 --- a/dev-libs/libqt6pas/libqt6pas-1.0.0.ebuild +++ b/dev-libs/libqt6pas/libqt6pas-1.0.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://downloads.sourceforge.net/lazarus/${MY_P}.tar.gz -> ${P}.tar.gz S="${WORKDIR}/lazarus/lcl/interfaces/qt6/cbindings" LICENSE="LGPL-3" -SLOT="0/2.2" +SLOT="0/3.0" KEYWORDS="~amd64 ~x86" DEPEND=" From 20e05ef8ae5973042bd0f6eb184a3f7f884e5675 Mon Sep 17 00:00:00 2001 From: Denis Pronin Date: Mon, 10 Jun 2024 08:57:37 +0300 Subject: [PATCH 3/6] dev-lang/lazarus: add 3.4 Closes: https://bugs.gentoo.org/933988 Signed-off-by: Denis Pronin Closes: https://github.com/gentoo/gentoo/pull/37136 Signed-off-by: Sam James --- dev-lang/lazarus/Manifest | 1 + dev-lang/lazarus/lazarus-3.4.ebuild | 114 ++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 dev-lang/lazarus/lazarus-3.4.ebuild diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest index a9b734789153c..ff5cf5671243e 100644 --- a/dev-lang/lazarus/Manifest +++ b/dev-lang/lazarus/Manifest @@ -4,3 +4,4 @@ DIST lazarus-2.2.4-0.tar.gz 77272959 BLAKE2B 2d7b2872a7399eb1a3a7d9fb20fed209900 DIST lazarus-2.2.4-makefile.patch.bz2 3650 BLAKE2B 4a86e0dee7759183e3311cfa9f250995dbf2bb39d1de4c0fbc0191767b5f16029285ab92c76466d261708a88ed600929e777798560161e9942a64e44f956ff89 SHA512 560ffd3d43b75a804dfdb756323cecc7f2039215ab176ca0149cfee11dfe31d7943ad4aa212e9194c2bd2acbd0835e635501ef157888daf3715be7f760b3d51b DIST lazarus-3.0-0.tar.gz 87513233 BLAKE2B 26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e SHA512 85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881 DIST lazarus-3.0-makefile.patch.xz 3968 BLAKE2B f61d535cab6b1b04be5805fe2a321bd644b3f47092d9d76ca624e33fbfce6bd89dba7bf00adebbbe5635b898567a8b62bfd0e44142f1dc3d8640b5276014888a SHA512 c91bee56a41f31ff8b5cfb4a7149cf0856e8c7b47fe502ba9828854ba4589ab19ddfecba182e5fc89cf8b7d71bda01d67a534ecab3f09437a0d7064c2b0f1fe8 +DIST lazarus-3.4-0.tar.gz 87535234 BLAKE2B f7da0b4edacf1e93b53bcdc4093e8c6ef3487985a5054db4368a56237ac8e39dbb088dea5e0146923554cf498ef969f86f6480235cc725f7c8d0f4e3fc9345de SHA512 ab4096345d72028e89da4a284479bbe5d4ed89a6bd0463f62b7d04a23c0491dc3f7934c75b4a4a916f81db8c0b252bf382e5ab41a16ef42efc1c08efcce68aef diff --git a/dev-lang/lazarus/lazarus-3.4.ebuild b/dev-lang/lazarus/lazarus-3.4.ebuild new file mode 100644 index 0000000000000..cd47f1f30556e --- /dev/null +++ b/dev-lang/lazarus/lazarus-3.4.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +# See https://wiki.freepascal.org/Lazarus_3.0_fixes_branch for notes and +# changes in FPCVER. It *does* change between minor versions of lazarus. +FPCVER="3.2.2" + +DESCRIPTION="feature rich visual programming environment emulating Delphi" +HOMEPAGE="https://www.lazarus-ide.org/" +SRC_URI="https://downloads.sourceforge.net/lazarus/${P}-0.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.0-makefile.patch.xz" +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 )" + +# 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:= + gui? ( + gtk2? ( x11-libs/gtk+:2 ) + gtk? ( x11-libs/gtk+:3 ) + qt6? ( dev-libs/libqt6pas:0/3.0 ) + ) +" +BDEPEND="net-misc/rsync" +RDEPEND="${DEPEND}" + +RESTRICT="strip" #269221 + +PATCHES=( + "${WORKDIR}"/${PN}-3.0-makefile.patch +) + +src_prepare() { + default + # Use default configuration (minus stripping) unless specifically requested otherwise + if ! test ${PPC_CONFIG_PATH+set} ; then + local FPCVER=$(fpc -iV) + export PPC_CONFIG_PATH="${WORKDIR}" + sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | + sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die + fi +} + +src_compile() { + # bug #732758 + if ( use gui ) ; then + if ( use gtk2 ) ; then + export LCL_PLATFORM=gtk2 + elif ( use gtk ) ; then + export LCL_PLATFORM=gtk3 + else + export LCL_PLATFORM=qt6 + fi + else + export LCL_PLATFORM=nogui + fi + if ( use gui ) ; then + emake all $(usex extras "bigide lhelp" "") -j1 || die "make failed!" + else + emake lazbuild -j1 || die "make failed!" + fi +} + +src_install() { + diropts -m0755 + dodir /usr/share + # Using rsync to avoid unnecessary copies and cleaning... + # Note: *.o and *.ppu are needed + rsync -a \ + --exclude="CVS" --exclude=".cvsignore" \ + --exclude="*.ppw" --exclude="*.ppl" \ + --exclude="*.ow" --exclude="*.a"\ + --exclude="*.rst" --exclude=".#*" \ + --exclude="*.~*" --exclude="*.bak" \ + --exclude="*.orig" --exclude="*.rej" \ + --exclude=".xvpics" --exclude="*.compiled" \ + --exclude="killme*" --exclude=".gdb_hist*" \ + --exclude="debian" --exclude="COPYING*" \ + --exclude="*.app" \ + "${S}" "${ED}"/usr/share \ + || die "Unable to copy files!" + + if ( use gui ) ; then + dosym ../share/lazarus/startlazarus /usr/bin/startlazarus + dosym ../share/lazarus/startlazarus /usr/bin/lazarus + fi + dosym ../share/lazarus/lazbuild /usr/bin/lazbuild + use extras && dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp + dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png + + use gui && make_desktop_entry startlazarus "Lazarus IDE" "lazarus" +} From 2dda86ff86db65dfea77d4d1fcea41662908a95d Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 14 Jun 2024 08:34:18 +0100 Subject: [PATCH 4/6] dev-lang/lazarus: revbump for dep fixes See ba8e892ee46c0b6de05e2db9e968c8e2db36d7ad. Signed-off-by: Sam James --- dev-lang/lazarus/{lazarus-3.0.ebuild => lazarus-3.0-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename dev-lang/lazarus/{lazarus-3.0.ebuild => lazarus-3.0-r1.ebuild} (100%) diff --git a/dev-lang/lazarus/lazarus-3.0.ebuild b/dev-lang/lazarus/lazarus-3.0-r1.ebuild similarity index 100% rename from dev-lang/lazarus/lazarus-3.0.ebuild rename to dev-lang/lazarus/lazarus-3.0-r1.ebuild From b64bde496bd1a12650ae84db7561a33875be2e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 14 Jun 2024 09:42:15 +0200 Subject: [PATCH 5/6] app-text/paper-clip: bump libadwaita requirement to 1.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/934177 Signed-off-by: Maciej Barć --- .../{paper-clip-5.5.ebuild => paper-clip-5.5-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename app-text/paper-clip/{paper-clip-5.5.ebuild => paper-clip-5.5-r1.ebuild} (96%) diff --git a/app-text/paper-clip/paper-clip-5.5.ebuild b/app-text/paper-clip/paper-clip-5.5-r1.ebuild similarity index 96% rename from app-text/paper-clip/paper-clip-5.5.ebuild rename to app-text/paper-clip/paper-clip-5.5-r1.ebuild index 8a822daeac38e..c7345f67fd28f 100644 --- a/app-text/paper-clip/paper-clip-5.5.ebuild +++ b/app-text/paper-clip/paper-clip-5.5-r1.ebuild @@ -28,7 +28,7 @@ RESTRICT="test" # Only validations, the appdata one fails. RDEPEND=" >=gui-libs/gtk-4.12.5:4 - >=gui-libs/libadwaita-1.4.2:1[introspection,vala] + >=gui-libs/libadwaita-1.5.0:1[introspection,vala] app-text/poppler:=[cairo,introspection] dev-libs/glib:2 dev-libs/gobject-introspection From 9723dfa700b702e068f1d49d94e511a946192d00 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 14 Jun 2024 10:43:21 +0300 Subject: [PATCH 6/6] sci-chemistry/xyza2pipe: last-rite Bug: https://bugs.gentoo.org/934232 Signed-off-by: Arthur Zamarin --- profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index ccd8ccc348cb9..c150265f6cc0f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -33,6 +33,12 @@ #--- END OF EXAMPLES --- +# Arthur Zamarin (2024-06-14) +# EAPI=6, dead upstream website, Gentoo is last distribution to +# package it. +# Removal on 2024-07-14. Bug #934232. +sci-chemistry/xyza2pipe + # Arthur Zamarin (2024-06-14) # EAPI=6, not maintained for ~7 years in gentoo, waiting for version # bump. Fetch restricted, and fails to build after manual fetch.