1 |
commit: caa2cc6f267f1632dfc7b42adb5cb2e1d4f3bb34 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 15 12:47:37 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 15 14:15:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa2cc6f |
7 |
|
8 |
dev-lang/lazarus: Drop 1.8.4-r2 and 2.0.6, EAPI6-- |
9 |
|
10 |
Overshadowed by 2.0.12. |
11 |
|
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
dev-lang/lazarus/Manifest | 3 - |
16 |
dev-lang/lazarus/lazarus-1.8.4-r2.ebuild | 106 ------------------------------- |
17 |
dev-lang/lazarus/lazarus-2.0.6.ebuild | 79 ----------------------- |
18 |
3 files changed, 188 deletions(-) |
19 |
|
20 |
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest |
21 |
index b71b7407e82c..6f1f3a7c2983 100644 |
22 |
--- a/dev-lang/lazarus/Manifest |
23 |
+++ b/dev-lang/lazarus/Manifest |
24 |
@@ -1,4 +1 @@ |
25 |
-DIST lazarus-1.8.4-python.tar.gz 1060859 BLAKE2B 4d6f7dc275aacd0f70d9f7c85aba99a7722b02165a5bf287bfeed46f28e3b36c5abeac19bd7c6555250102dce169f7c9c213b634ce1b634c24dadc84171aed10 SHA512 f244b4e86410fdb2ffe8ccba7fcb51c270286172b6102f757118827cac3b652210a625d65dd6c017c1992983527792ed64334291ab0e0b824f187316452c56b5 |
26 |
-DIST lazarus-1.8.4.tar.gz 63130653 BLAKE2B f9b2ba9971f1a9a9c3b8d2004bd3516c12db5384bb6243ef275c2fc0d458634fba0c1c23e7ecd5c160c1204d6cc2b4ebc340ce8bb5cfdd9c531f8c36ae59d1e2 SHA512 82cdc3c32dddf8e67c0bed9292a9a924227bab50f22ca479f5e98ecccbf60dd66c7f886ecb8e2979d9d8fccc3d25462ee8c55fcab085aa4194b4704660e0b95d |
27 |
DIST lazarus-2.0.12.tar.gz 69560778 BLAKE2B ff6c9414483b0d50dbbb30c8fbf626c81d9c71ef0329aa1d58b37aa4288a500e1ab55d06bad27f637e3f09b9d062af1896720b9cb7367b092fc872cf613f8a3d SHA512 dfd22b2b96fca9d0f672f03b9120c4294a7e640737a09b26c274d304025c61566a8504a5484638c108e42a322b21992229451d95e38d7e491a1c2f07a663483e |
28 |
-DIST lazarus-2.0.6.tar.gz 65558951 BLAKE2B f5289562adcfeab86af074de9fc44d7faf5939655587ea9951559bbefc15ce1730e7b7dafb6ec1d0a11eb0f8f069309b8fa0a305051c5cc9ea0fcf9665e883bc SHA512 cdb4c5861e130c12bf0a4938a73c439f2766a73008678028d7e9c9bcabe7b277e70025a7c720a5c14c157cf0227e0ff629a44cf983537b3afbf341343e816d07 |
29 |
|
30 |
diff --git a/dev-lang/lazarus/lazarus-1.8.4-r2.ebuild b/dev-lang/lazarus/lazarus-1.8.4-r2.ebuild |
31 |
deleted file mode 100644 |
32 |
index c8b45900004c..000000000000 |
33 |
--- a/dev-lang/lazarus/lazarus-1.8.4-r2.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,106 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-inherit desktop |
42 |
- |
43 |
-FPCVER="3.0.4" |
44 |
-PYTHON_HASH="586eec1a5ea609ef9df2bf586be06825d9fbd50f" |
45 |
- |
46 |
-DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" |
47 |
-HOMEPAGE="https://www.lazarus-ide.org/" |
48 |
-SRC_URI=" |
49 |
- python? ( https://github.com/Alexey-T/Python-for-Lazarus/archive/${PYTHON_HASH}.tar.gz ->\ |
50 |
- ${P}-python.tar.gz ) |
51 |
- https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz" |
52 |
- |
53 |
-LICENSE="GPL-2 LGPL-2.1-with-linking-exception" |
54 |
-SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
55 |
-KEYWORDS="amd64 x86" |
56 |
-IUSE="minimal python" |
57 |
- |
58 |
-DEPEND=">=dev-lang/fpc-${FPCVER}[source] |
59 |
- net-misc/rsync |
60 |
- x11-libs/gtk+:2 |
61 |
- >=sys-devel/binutils-2.19.1-r1:=" |
62 |
-RDEPEND="${DEPEND}" |
63 |
- |
64 |
-RESTRICT="strip" #269221 |
65 |
- |
66 |
-S="${WORKDIR}/${PN}" |
67 |
- |
68 |
-PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch ) |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- # Use default configuration (minus stripping) unless specifically requested otherwise |
73 |
- if ! test ${PPC_CONFIG_PATH+set} ; then |
74 |
- local FPCVER=$(fpc -iV) |
75 |
- export PPC_CONFIG_PATH="${WORKDIR}" |
76 |
- sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | |
77 |
- sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die |
78 |
- fi |
79 |
- sed -i \ |
80 |
- -e "s;SecondaryConfigPath:='/etc/lazarus';SecondaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');g" \ |
81 |
- -e "s;PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');PrimaryConfigPath:='/etc/lazarus';g" \ |
82 |
- ide/include/unix/lazbaseconf.inc \ |
83 |
- || die |
84 |
-} |
85 |
- |
86 |
-src_compile() { |
87 |
- LCL_PLATFORM=gtk2 emake \ |
88 |
- $(usex minimal "" "bigide") \ |
89 |
- -j1 |
90 |
- if use python; then |
91 |
- addpredict ide/exttools.pas |
92 |
- ./lazbuild -B --lazarusdir="." --pcp="../lazarus-package-config" --build-ide= \ |
93 |
- --add-package ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus/python4lazarus_package.lpk \ |
94 |
- || die |
95 |
- sed -i -e "s:${WORKDIR}/Python-for-Lazarus-${PYTHON_HASH}:/etc/lazarus:g" \ |
96 |
- ../lazarus-package-config/packagefiles.xml \ |
97 |
- ../lazarus-package-config/idemake.cfg \ |
98 |
- ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus/lib/x86_64-linux/python4lazarus_package.compiled \ |
99 |
- || die |
100 |
- sed -i -e "s:${WORKDIR}/lazarus-package-config:/etc/lazarus:g" \ |
101 |
- ../lazarus-package-config/idemake.cfg \ |
102 |
- || die |
103 |
- fi |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- diropts -m0755 |
108 |
- dodir /usr/share |
109 |
- # Using rsync to avoid unnecessary copies and cleaning... |
110 |
- # Note: *.o and *.ppu are needed |
111 |
- rsync -a \ |
112 |
- --exclude="CVS" --exclude=".cvsignore" \ |
113 |
- --exclude="*.ppw" --exclude="*.ppl" \ |
114 |
- --exclude="*.ow" --exclude="*.a"\ |
115 |
- --exclude="*.rst" --exclude=".#*" \ |
116 |
- --exclude="*.~*" --exclude="*.bak" \ |
117 |
- --exclude="*.orig" --exclude="*.rej" \ |
118 |
- --exclude=".xvpics" --exclude="*.compiled" \ |
119 |
- --exclude="killme*" --exclude=".gdb_hist*" \ |
120 |
- --exclude="debian" --exclude="COPYING*" \ |
121 |
- --exclude="*.app" \ |
122 |
- "${S}" "${ED%/}"/usr/share \ |
123 |
- || die "Unable to copy files!" |
124 |
- |
125 |
- dosym ../share/lazarus/startlazarus /usr/bin/startlazarus |
126 |
- dosym ../share/lazarus/startlazarus /usr/bin/lazarus |
127 |
- dosym ../share/lazarus/lazbuild /usr/bin/lazbuild |
128 |
- use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp |
129 |
- dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png |
130 |
- |
131 |
- if use python; then |
132 |
- diropts -m0755 |
133 |
- dodir /etc/lazarus |
134 |
- cp -rf ../lazarus-package-config/* \ |
135 |
- "${ED%/}"/etc/lazarus || die |
136 |
- cp -rf ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus \ |
137 |
- "${ED%/}"/etc/lazarus || die |
138 |
- fi |
139 |
- |
140 |
- make_desktop_entry startlazarus "Lazarus IDE" "lazarus" |
141 |
-} |
142 |
|
143 |
diff --git a/dev-lang/lazarus/lazarus-2.0.6.ebuild b/dev-lang/lazarus/lazarus-2.0.6.ebuild |
144 |
deleted file mode 100644 |
145 |
index 8cfaf07f618b..000000000000 |
146 |
--- a/dev-lang/lazarus/lazarus-2.0.6.ebuild |
147 |
+++ /dev/null |
148 |
@@ -1,79 +0,0 @@ |
149 |
-# Copyright 1999-2020 Gentoo Authors |
150 |
-# Distributed under the terms of the GNU General Public License v2 |
151 |
- |
152 |
-EAPI=7 |
153 |
- |
154 |
-inherit desktop |
155 |
- |
156 |
-FPCVER="3.0.4" |
157 |
- |
158 |
-DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" |
159 |
-HOMEPAGE="https://www.lazarus-ide.org/" |
160 |
-SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz" |
161 |
- |
162 |
-LICENSE="GPL-2 LGPL-2.1-with-linking-exception" |
163 |
-SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
164 |
-KEYWORDS="~amd64 ~x86" |
165 |
-IUSE="minimal" |
166 |
- |
167 |
-DEPEND=">=dev-lang/fpc-${FPCVER}[source] |
168 |
- net-misc/rsync |
169 |
- x11-libs/gtk+:2 |
170 |
- >=sys-devel/binutils-2.19.1-r1:=" |
171 |
-RDEPEND="${DEPEND}" |
172 |
- |
173 |
-RESTRICT="strip" #269221 |
174 |
- |
175 |
-S="${WORKDIR}/${PN}" |
176 |
- |
177 |
-PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch ) |
178 |
- |
179 |
-src_prepare() { |
180 |
- default |
181 |
- # Use default configuration (minus stripping) unless specifically requested otherwise |
182 |
- if ! test ${PPC_CONFIG_PATH+set} ; then |
183 |
- local FPCVER=$(fpc -iV) |
184 |
- export PPC_CONFIG_PATH="${WORKDIR}" |
185 |
- sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | |
186 |
- sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die |
187 |
- fi |
188 |
- sed -i \ |
189 |
- -e "s;SecondaryConfigPath:='/etc/lazarus';SecondaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');g" \ |
190 |
- -e "s;PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');PrimaryConfigPath:='/etc/lazarus';g" \ |
191 |
- ide/include/unix/lazbaseconf.inc \ |
192 |
- || die |
193 |
-} |
194 |
- |
195 |
-src_compile() { |
196 |
- LCL_PLATFORM=gtk2 emake \ |
197 |
- $(usex minimal "" "bigide") \ |
198 |
- -j1 |
199 |
-} |
200 |
- |
201 |
-src_install() { |
202 |
- diropts -m0755 |
203 |
- dodir /usr/share |
204 |
- # Using rsync to avoid unnecessary copies and cleaning... |
205 |
- # Note: *.o and *.ppu are needed |
206 |
- rsync -a \ |
207 |
- --exclude="CVS" --exclude=".cvsignore" \ |
208 |
- --exclude="*.ppw" --exclude="*.ppl" \ |
209 |
- --exclude="*.ow" --exclude="*.a"\ |
210 |
- --exclude="*.rst" --exclude=".#*" \ |
211 |
- --exclude="*.~*" --exclude="*.bak" \ |
212 |
- --exclude="*.orig" --exclude="*.rej" \ |
213 |
- --exclude=".xvpics" --exclude="*.compiled" \ |
214 |
- --exclude="killme*" --exclude=".gdb_hist*" \ |
215 |
- --exclude="debian" --exclude="COPYING*" \ |
216 |
- --exclude="*.app" \ |
217 |
- "${S}" "${ED}"/usr/share \ |
218 |
- || die "Unable to copy files!" |
219 |
- |
220 |
- dosym ../share/lazarus/startlazarus /usr/bin/startlazarus |
221 |
- dosym ../share/lazarus/startlazarus /usr/bin/lazarus |
222 |
- dosym ../share/lazarus/lazbuild /usr/bin/lazbuild |
223 |
- use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp |
224 |
- dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png |
225 |
- |
226 |
- make_desktop_entry startlazarus "Lazarus IDE" "lazarus" |
227 |
-} |