commit: 0668de4cda72b60b99cd9958a72ba9bec33969a5 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Dec 29 21:54:39 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jan 2 20:14:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0668de4c
dev-lang/lazarus: drop 2.0.12, 2.2.0, 2.2.4-r1, 3.0-r2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-lang/lazarus/Manifest | 5 - dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch | 13 --- dev-lang/lazarus/lazarus-2.0.12.ebuild | 83 --------------- dev-lang/lazarus/lazarus-2.2.0.ebuild | 78 -------------- dev-lang/lazarus/lazarus-2.2.4-r1.ebuild | 106 ------------------- dev-lang/lazarus/lazarus-3.0-r2.ebuild | 117 --------------------- dev-lang/lazarus/metadata.xml | 1 - 7 files changed, 403 deletions(-) diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest index ff5cf5671243..5f0c64b6e2c4 100644 --- a/dev-lang/lazarus/Manifest +++ b/dev-lang/lazarus/Manifest @@ -1,7 +1,2 @@ -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 -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/files/lazarus-0.9.26-fpcsrc.patch b/dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch deleted file mode 100644 index 8f9aee3fa42a..000000000000 --- a/dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lazarus/ide/include/unix/lazbaseconf.inc -+++ lazarus/ide/include/unix/lazbaseconf.inc -@@ -24,8 +24,9 @@ - } - - const -- DefaultFPCSrcDirs: array[1..15] of string = ( -+ DefaultFPCSrcDirs: array[1..16] of string = ( - // search first for sources with right version -+ '/usr/lib/fpc/$(FPCVer)/source', - '/usr/share/fpcsrc/$(FPCVer)', - // then search for global paths - '/usr/share/fpcsrc', diff --git a/dev-lang/lazarus/lazarus-2.0.12.ebuild b/dev-lang/lazarus/lazarus-2.0.12.ebuild deleted file mode 100644 index 63ba361cacc4..000000000000 --- a/dev-lang/lazarus/lazarus-2.0.12.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop - -# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and -# changes in FPCVER. It *does* change between minor versions of lazarus. -FPCVER="3.2.0" - -DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" -HOMEPAGE="https://www.lazarus-ide.org/" -SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1-with-linking-exception" -SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. -KEYWORDS="amd64 x86" -IUSE="minimal" - -DEPEND=">=dev-lang/fpc-${FPCVER}[source] - net-misc/rsync - x11-libs/gtk+:2 - >=sys-devel/binutils-2.19.1-r1:=" -RDEPEND="${DEPEND}" - -RESTRICT="strip" #269221 - -S="${WORKDIR}/${PN}" - -PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.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 - sed -i \ - -e "s;SecondaryConfigPath:='/etc/lazarus';SecondaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');g" \ - -e "s;PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');PrimaryConfigPath:='/etc/lazarus';g" \ - ide/include/unix/lazbaseconf.inc \ - || die -} - -src_compile() { - # TODO: Change to LCL_PLATFORM=qt5? - # bug #732758 - LCL_PLATFORM=gtk2 emake \ - $(usex minimal "" "bigide") \ - -j1 -} - -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!" - - dosym ../share/lazarus/startlazarus /usr/bin/startlazarus - dosym ../share/lazarus/startlazarus /usr/bin/lazarus - dosym ../share/lazarus/lazbuild /usr/bin/lazbuild - use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp - dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png - - make_desktop_entry startlazarus "Lazarus IDE" "lazarus" -} diff --git a/dev-lang/lazarus/lazarus-2.2.0.ebuild b/dev-lang/lazarus/lazarus-2.2.0.ebuild deleted file mode 100644 index 878b17d9434b..000000000000 --- a/dev-lang/lazarus/lazarus-2.2.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and -# changes in FPCVER. It *does* change between minor versions of lazarus. -FPCVER="3.2.2" - -DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" -HOMEPAGE="https://www.lazarus-ide.org/" -SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}-0.tar.gz" - -LICENSE="GPL-2 LGPL-2.1-with-linking-exception" -SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. -KEYWORDS="~amd64 ~x86" -IUSE="minimal" - -DEPEND=">=dev-lang/fpc-${FPCVER}[source] - net-misc/rsync - x11-libs/gtk+:2 - >=sys-devel/binutils-2.19.1-r1:=" -RDEPEND="${DEPEND}" - -RESTRICT="strip" #269221 - -S="${WORKDIR}/${PN}" - -PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.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() { - # TODO: Change to LCL_PLATFORM=qt5? - # bug #732758 - LCL_PLATFORM=gtk2 emake \ - $(usex minimal "" "bigide") \ - -j1 -} - -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!" - - dosym ../share/lazarus/startlazarus /usr/bin/startlazarus - dosym ../share/lazarus/startlazarus /usr/bin/lazarus - dosym ../share/lazarus/lazbuild /usr/bin/lazbuild - use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp - dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png - - make_desktop_entry startlazarus "Lazarus IDE" "lazarus" -} diff --git a/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild b/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild deleted file mode 100644 index 8682fdee8fee..000000000000 --- a/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# 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_2.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 https://dev.gentoo.org/~amynka/snap/${P}-makefile.patch.bz2" - -LICENSE="GPL-2 LGPL-2.1-with-linking-exception" -SLOT="0/2.2" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. -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:= - gui? ( - !gtk2? ( dev-libs/libqt5pas:0/2.2 ) - gtk2? ( x11-libs/gtk+:2 ) -)" -BDEPEND="net-misc/rsync" -RDEPEND="${DEPEND}" - -RESTRICT="strip" #269221 - -S="${WORKDIR}/${PN}" - -PATCHES=( - "${WORKDIR}/${P}"-makefile.patch - "${FILESDIR}"/${PN}-0.9.26-fpcsrc.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() { - # TODO: Change to LCL_PLATFORM=qt5? - # bug #732758 - if ( use gui ) && ( use !gtk2 ) ; then - export LCL_PLATFORM=qt5 - fi - use gtk2 && export LCL_PLATFORM=gtk2 - 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" -} diff --git a/dev-lang/lazarus/lazarus-3.0-r2.ebuild b/dev-lang/lazarus/lazarus-3.0-r2.ebuild deleted file mode 100644 index 464571a70783..000000000000 --- a/dev-lang/lazarus/lazarus-3.0-r2.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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 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=" -/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 ) - qt5? ( dev-libs/libqt5pas:0/3.0 ) - 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 - elif ( use qt5 ) ; then - export LCL_PLATFORM=qt5 - 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" -} diff --git a/dev-lang/lazarus/metadata.xml b/dev-lang/lazarus/metadata.xml index b6eaed4c24eb..9cd9670f331f 100644 --- a/dev-lang/lazarus/metadata.xml +++ b/dev-lang/lazarus/metadata.xml @@ -9,7 +9,6 @@ <name>Michael Corvinus</name> </maintainer> <use> - <flag name="minimal">Don't build extra packages from the bigide component</flag> <flag name="gui">Build GUI IDE.</flag> <flag name="gtk2">Use gtk:2 for widgets.</flag> <flag name="extras">Build a lot of extra packages, including lhelp chm viewer program.</flag>
