From df26c7469c1f2af2e643d43e2e32a6c9142e4885 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Jan 2023 11:44:03 +0000 Subject: gentoo auto-resync : 11:01:2023 - 11:44:03 --- dev-lang/lazarus/Manifest | 3 +- dev-lang/lazarus/lazarus-2.2.4-r1.ebuild | 106 +++++++++++++++++++++++++++++++ dev-lang/lazarus/lazarus-2.2.4.ebuild | 91 -------------------------- 3 files changed, 108 insertions(+), 92 deletions(-) create mode 100644 dev-lang/lazarus/lazarus-2.2.4-r1.ebuild delete mode 100644 dev-lang/lazarus/lazarus-2.2.4.ebuild (limited to 'dev-lang/lazarus') diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest index 5481f6c32e38..99da41867416 100644 --- a/dev-lang/lazarus/Manifest +++ b/dev-lang/lazarus/Manifest @@ -2,7 +2,8 @@ AUX lazarus-0.9.26-fpcsrc.patch 407 BLAKE2B c3b006fd7bb58fb7037aae3d8d35ac146ab9 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 EBUILD lazarus-2.0.12.ebuild 2667 BLAKE2B d6e1a545dd5a90f61b2f447205bdfb325f7a10e26f79891dd8fb229f76933f437277aba252253b123313ebc3189440d8b82bd1e794873e127c0f543ad514e1b8 SHA512 479430f9b6f5b15cb1fac203fe9d133706d2a01bc9020b23f35d1a5935dbf1bf116e2e9095b7e4175cad964f91def11cbfbb5f3daa21c0b3c47c834d4195643f EBUILD lazarus-2.2.0.ebuild 2413 BLAKE2B f09dee3695b75dd6c59ff54b3358c7674a445d0476cce66ca0efb30331a66eaaa5596184913a798d9ceb6b95df1f428f206c6d886dd3fd0900df3de43a2494ba SHA512 5e2090fad65e9ad74679010c704643ec290a63f022711b5b454f6c564ae38758d501aaa3045e4a794e9fdb6a5afa1b694bcbc932ca3d0174fcaa22b628924a2f -EBUILD lazarus-2.2.4.ebuild 2702 BLAKE2B e95ff12b0f7a46a0f50f02fe935169d0e259bd1f5f1e52e86d28076dd0926900745b254329807622f673914e2759213941e3cfd3daaca2d4a31c8f794a7a2c2a SHA512 c23e0dd788aafaac24871a919e546c8ca974d16cafdb8ff68833b5ce2b69e23600459ba9d461d35633780dd39929b33e978d431788469f577d5efad70c219cc9 +EBUILD lazarus-2.2.4-r1.ebuild 3238 BLAKE2B c205814764c73086b8a35515fa81c7fe6704ad36fe6e7c44416d7cef31a2ac6a8776fe79c2562166bb1eb9086db00871bf4f9b4896df86ec96ff305fbc0d3556 SHA512 179e786e6e9f87e8b2a6266b1915a0248c1048f4e1164dae49f7610b8bc5d2d17a603c3834fd8ee68c17684f7002ea419c3f7aa13aa79a9f3cb1338fb21bedca MISC metadata.xml 705 BLAKE2B 7f8f2abfba78c25b044ebdf621c76bf3027e24dc3dcf8d7b9085f96b8728b77a41dab1596bd24533fa263ac357c23027005baa818436524dcc7f6f57973ec433 SHA512 24b7e63cda2b01714b3790a3f55fcc70e54186ecf9f98bd45d659361b5280280aee643d1737efffbcd0e14ee9e30c1379bb4bfd7382b5b6613b18ce7fea70146 diff --git a/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild b/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild new file mode 100644 index 000000000000..eedf59b797ee --- /dev/null +++ b/dev-lang/lazarus/lazarus-2.2.4-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 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="mirror://sourceforge/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-2.2.4.ebuild b/dev-lang/lazarus/lazarus-2.2.4.ebuild deleted file mode 100644 index 2f36b89e352c..000000000000 --- a/dev-lang/lazarus/lazarus-2.2.4.ebuild +++ /dev/null @@ -1,91 +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="feature rich visual programming environment emulating Delphi" -HOMEPAGE="https://www.lazarus-ide.org/" -SRC_URI="mirror://sourceforge/lazarus/${P}-0.tar.gz" - -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 )" - -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=( "${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" -} -- cgit v1.2.3