Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lazarus/
Date: Sun, 25 Apr 2021 18:06:07
Message-Id: 1619373872.bed812ee0a80bb15585fea0035af0940fd983ff4.asturm@gentoo
1 commit: bed812ee0a80bb15585fea0035af0940fd983ff4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 08:46:43 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 25 18:04:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed812ee
7
8 dev-lang/lazarus: Drop 1.0.12, EAPI5--, overshadowed by 1.8.4-r2
9
10 Closes: https://bugs.gentoo.org/705280
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-lang/lazarus/Manifest | 1 -
15 dev-lang/lazarus/lazarus-1.0.12.ebuild | 75 ----------------------------------
16 2 files changed, 76 deletions(-)
17
18 diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest
19 index f6b7e298e2c..ba749c4d1a8 100644
20 --- a/dev-lang/lazarus/Manifest
21 +++ b/dev-lang/lazarus/Manifest
22 @@ -1,4 +1,3 @@
23 -DIST lazarus-1.0.12-0.tar.gz 47687878 BLAKE2B 7a230f8ad433fefd514d8fca128e1ad127ea2a232c2061080d4146b5276ef82bd442be6a522a5eb4a9221338e8d13cf9d3cc954f712dfbc521d8fd74b07389f7 SHA512 2a106c4bff2135ace815f789057f25fea1902edc972503e883547d7cc6d50b585ae54676cba734cce616064864ce535b3a4fcd7892763d15aafdf262dbe24293
24 DIST lazarus-1.8.4-python.tar.gz 1060859 BLAKE2B 4d6f7dc275aacd0f70d9f7c85aba99a7722b02165a5bf287bfeed46f28e3b36c5abeac19bd7c6555250102dce169f7c9c213b634ce1b634c24dadc84171aed10 SHA512 f244b4e86410fdb2ffe8ccba7fcb51c270286172b6102f757118827cac3b652210a625d65dd6c017c1992983527792ed64334291ab0e0b824f187316452c56b5
25 DIST lazarus-1.8.4.tar.gz 63130653 BLAKE2B f9b2ba9971f1a9a9c3b8d2004bd3516c12db5384bb6243ef275c2fc0d458634fba0c1c23e7ecd5c160c1204d6cc2b4ebc340ce8bb5cfdd9c531f8c36ae59d1e2 SHA512 82cdc3c32dddf8e67c0bed9292a9a924227bab50f22ca479f5e98ecccbf60dd66c7f886ecb8e2979d9d8fccc3d25462ee8c55fcab085aa4194b4704660e0b95d
26 DIST lazarus-2.0.6.tar.gz 65558951 BLAKE2B f5289562adcfeab86af074de9fc44d7faf5939655587ea9951559bbefc15ce1730e7b7dafb6ec1d0a11eb0f8f069309b8fa0a305051c5cc9ea0fcf9665e883bc SHA512 cdb4c5861e130c12bf0a4938a73c439f2766a73008678028d7e9c9bcabe7b277e70025a7c720a5c14c157cf0227e0ff629a44cf983537b3afbf341343e816d07
27
28 diff --git a/dev-lang/lazarus/lazarus-1.0.12.ebuild b/dev-lang/lazarus/lazarus-1.0.12.ebuild
29 deleted file mode 100644
30 index 91bc2bbace9..00000000000
31 --- a/dev-lang/lazarus/lazarus-1.0.12.ebuild
32 +++ /dev/null
33 @@ -1,75 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -inherit desktop epatch
40 -
41 -RESTRICT="strip" #269221
42 -
43 -FPCVER="2.6.0"
44 -
45 -SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
46 -LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
47 -KEYWORDS="amd64 x86"
48 -DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi"
49 -HOMEPAGE="https://www.lazarus-ide.org/"
50 -IUSE="minimal"
51 -SRC_URI="https://downloads.sourceforge.net/project/${PN}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${PN}-${PV}-0.tar.gz"
52 -
53 -DEPEND=">=dev-lang/fpc-${FPCVER}[source]
54 - net-misc/rsync
55 - x11-libs/gtk+:2"
56 -RDEPEND="${DEPEND}
57 - !=gnome-base/librsvg-2.16.1"
58 -DEPEND="${DEPEND}
59 - >=sys-devel/binutils-2.19.1-r1"
60 -
61 -S=${WORKDIR}/${PN}
62 -
63 -src_prepare() {
64 - epatch "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch
65 -
66 - # Use default configuration (minus stripping) unless specifically requested otherwise
67 - if ! test ${PPC_CONFIG_PATH+set} ; then
68 - local FPCVER=$(fpc -iV)
69 - export PPC_CONFIG_PATH="${WORKDIR}"
70 - sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
71 - sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
72 - #sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
73 - fi
74 -}
75 -
76 -src_compile() {
77 - LCL_PLATFORM=gtk2 emake \
78 - $(usex minimal "" "bigide") \
79 - -j1
80 -}
81 -
82 -src_install() {
83 - diropts -m0755
84 - dodir /usr/share
85 - # Using rsync to avoid unnecessary copies and cleaning...
86 - # Note: *.o and *.ppu are needed
87 - rsync -a \
88 - --exclude="CVS" --exclude=".cvsignore" \
89 - --exclude="*.ppw" --exclude="*.ppl" \
90 - --exclude="*.ow" --exclude="*.a"\
91 - --exclude="*.rst" --exclude=".#*" \
92 - --exclude="*.~*" --exclude="*.bak" \
93 - --exclude="*.orig" --exclude="*.rej" \
94 - --exclude=".xvpics" --exclude="*.compiled" \
95 - --exclude="killme*" --exclude=".gdb_hist*" \
96 - --exclude="debian" --exclude="COPYING*" \
97 - --exclude="*.app" \
98 - "${S}" "${ED%/}"/usr/share \
99 - || die "Unable to copy files!"
100 -
101 - dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
102 - dosym ../share/lazarus/startlazarus /usr/bin/lazarus
103 - dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
104 - use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
105 - dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
106 -
107 - make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
108 -}