Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
Date: Fri, 03 Dec 2021 16:05:55
Message-Id: 1638547538.4057b1d7add942eb4da35d7b4ff2695990068bac.xgqt@gentoo
1 commit: 4057b1d7add942eb4da35d7b4ff2695990068bac
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 3 15:59:43 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 3 16:05:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4057b1d7
7
8 dev-scheme/racket: drop old
9
10 remove vulnerable versions lesser than 8.2
11
12 Bug: https://bugs.gentoo.org/803116
13 Closes: https://bugs.gentoo.org/711098
14 Closes: https://bugs.gentoo.org/715324
15 Closes: https://bugs.gentoo.org/749729
16 Closes: https://bugs.gentoo.org/749735
17 Closes: https://bugs.gentoo.org/755008
18 Closes: https://bugs.gentoo.org/779466
19 Closes: https://bugs.gentoo.org/814899
20 Package-Manager: Portage-3.0.28, Repoman-3.0.3
21 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
22
23 dev-scheme/racket/Manifest | 12 ---
24 dev-scheme/racket/racket-7.0-r1.ebuild | 93 -----------------
25 dev-scheme/racket/racket-7.1-r1.ebuild | 93 -----------------
26 dev-scheme/racket/racket-7.2-r1.ebuild | 94 ------------------
27 dev-scheme/racket/racket-7.3-r1.ebuild | 94 ------------------
28 dev-scheme/racket/racket-8.0-r1.ebuild | 113 ---------------------
29 dev-scheme/racket/racket-8.1-r1.ebuild | 176 ---------------------------------
30 7 files changed, 675 deletions(-)
31
32 diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
33 index a5969235d059..13a7c36e953e 100644
34 --- a/dev-scheme/racket/Manifest
35 +++ b/dev-scheme/racket/Manifest
36 @@ -1,14 +1,2 @@
37 -DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
38 -DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
39 -DIST racket-7.2-src-builtpkgs.tgz 127050541 BLAKE2B f6235c9f5a646a6d2a8ab0ce63ded384ed707dc704927b63281c159e2daa503ffc4bad99cd33511aca05c0fa7aa55adde1e9c79032faa17dcd99f1bbd15324a8 SHA512 748e1ee63b6c32bafc58401e943e7dd31a47cfd2eb8dad6e4a40a8966d4df2fb7e4bb573841c210a567ba0f02b518d41fa69df03736f49ae9761446e71a4ab9b
40 -DIST racket-7.3-src-builtpkgs.tgz 127136703 BLAKE2B 3449f62d8301cf5cc527cd46e074279d34c6064631a584488407d4c7af3b10aa01bb074d0dbc59034e8e036b1f24f9921ccdc070fb7bb3ff548f18b37cd8d12d SHA512 2cba16d6513984721b82d21e279a0017e3d96f3e2a53ca773deb45e10be2b74a61d4496679eb5aa4aff9276f323a16a1506e9471a873c28ee014f7d4e49bfea8
41 -DIST racket-8.0-src-builtpkgs.tgz 153847792 BLAKE2B dba1b39e770954e5971689f6d2b413f1aadc6176822e4400b40b41ebf7eab00cc34b5e5158f38d1a1d8caa98fa260ef10864794dc0d4768e2ea5b2ad869d0102 SHA512 df3e14ccdba00eb4de113693a6eee22e640958b074f3ad4946e5900333fbf558c4c2653f65a89f638f6ef173d32c9f97b19349360a9d4afca82365aceb43c911
42 -DIST racket-8.1-src-builtpkgs.tgz 154340467 BLAKE2B 1a12ca71a3af0c506238e2abad44596c54b5102fbe81d99c713356dc52abcdba8f0a0cf969702cff1f7738a0383d55894a546f682f3d854b504ceab34cef600e SHA512 afc8c737087a98172dbf699d24cee73966da699aebbdefb8b7785a6521dc4de61b8d7f2ed3a3f1d2be7a1dfe6675db7a33d39492da9dfe0aad8d9074cd03cf9f
43 DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55a035ac5fd86bd1ad186ec30cdcf411927d444e1814797d63dbde3eb7b52bba7756e0464edf1d854d2ee7f5851caaae18ba55 SHA512 9e4c0cabfcbdb8c8742e8170548bee58021697e8b0842f575f94193db31adc04a7b9023ed8fd70dae197e5ec6f1aee7985d849be3ce5b4279f216e900ee143c7
44 -DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
45 -DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df
46 -DIST racket-minimal-7.2-src-builtpkgs.tgz 15481415 BLAKE2B 145823cfe8538e5f569e33303bae585cb2eebf013da27551a606a005ab84e70b0e58710eadbaecbaae4fc5c9b62b22e26ba1ab2f3158500600c0bc9d7a52e17c SHA512 0fb17ef0e7d8c03c847827118dec48486fd499777fbbf98588124f9e4725dd815e0f6df2e95f4d8700b8d8dbe3b7d678d2ffb8966ce0add6742bff554ef9415c
47 -DIST racket-minimal-7.3-src-builtpkgs.tgz 15549791 BLAKE2B ab03252c48b8a07ae6caeb3af67d823d8eeddd22242d2146812c7b12ade09caa86ad026fb1a7b3dfeb981e304b78c697d1f93fb9d94c6e7dbc8c3ecb09fdfea0 SHA512 e542898dab04e781b0b8a613f250a35db8beed9db33406f20d4f028b7f3629904409aadf653c68998d36948bdd46e51134d3cebe1e014b46e3dba82472c3563b
48 -DIST racket-minimal-8.0-src-builtpkgs.tgz 24065953 BLAKE2B 2af056758660d30f7d232dabe03d544e5e77478df71389df883b8af956fe224332048eac3a351fdb905051e3ef99b08bd0e0f1704e04919a4a2e68f8005922b8 SHA512 1e43b390f6a4c1405df0872c71c27638ec35a8cdd8508390db13bd59a43f5a4728f0660fe1afb5785f625d31fd25cdc1a6ecb9972daf99bcb538f7204956dabc
49 -DIST racket-minimal-8.1-src-builtpkgs.tgz 24172851 BLAKE2B ab3e898e257d610874b31ac5ea3034b5c213f1d181f105c206c45129c35efb53250986163ea8c2399c02084d0d7ec55d0c79c8c8499578067f1bbef4c02568c5 SHA512 eb786882383c33fc77a697a66b06d797b0dbb2de8435daa41db4211cfa893dbbc213910ada4ea087f848dae1abb4d5ff9df162af5cf8eae689f1ef69b410d6c5
50 DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e
51
52 diff --git a/dev-scheme/racket/racket-7.0-r1.ebuild b/dev-scheme/racket/racket-7.0-r1.ebuild
53 deleted file mode 100644
54 index dbd4ca5333f2..000000000000
55 --- a/dev-scheme/racket/racket-7.0-r1.ebuild
56 +++ /dev/null
57 @@ -1,93 +0,0 @@
58 -# Copyright 1999-2021 Gentoo Authors
59 -# Distributed under the terms of the GNU General Public License v2
60 -
61 -EAPI=7
62 -
63 -inherit pax-utils
64 -
65 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
66 -HOMEPAGE="https://racket-lang.org/"
67 -SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
68 -LICENSE="GPL-3+ LGPL-3"
69 -SLOT="0"
70 -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
71 -IUSE="doc +futures +jit minimal +places +readline +threads +X"
72 -REQUIRED_USE="futures? ( jit )"
73 -
74 -RDEPEND="dev-db/sqlite:3
75 - media-libs/libpng:0
76 - x11-libs/cairo[X?]
77 - x11-libs/pango[X?]
78 - dev-libs/libffi:=
79 - virtual/jpeg:0
80 - readline? ( dev-libs/libedit )
81 - X? ( x11-libs/gtk+[X?] )"
82 -RDEPEND="${RDEPEND} !dev-tex/slatex"
83 -
84 -DEPEND="${RDEPEND}"
85 -
86 -S="${WORKDIR}/${P}/src"
87 -
88 -src_prepare() {
89 - default
90 - rm -r foreign/libffi || die 'failed to remove bundled libffi'
91 -}
92 -
93 -src_configure() {
94 - # According to vapier, we should use the bundled libtool
95 - # such that we don't preclude cross-compile. Thus don't use
96 - # --enable-lt=/usr/bin/libtool
97 - econf \
98 - --enable-shared \
99 - --enable-float \
100 - --enable-libffi \
101 - --enable-foreign \
102 - --disable-libs \
103 - --disable-strip \
104 - $(use_enable X gracket) \
105 - $(use_enable doc docs) \
106 - $(use_enable jit) \
107 - $(use_enable places) \
108 - $(use_enable futures) \
109 - $(use_enable threads pthread)
110 -}
111 -
112 -src_compile() {
113 - if use jit; then
114 - # When the JIT is enabled, a few binaries need to be pax-marked
115 - # on hardened systems (bug 613634). The trick is to pax-mark
116 - # them before they're used later in the build system. The
117 - # following order for racketcgc and racket3m was determined by
118 - # digging through the Makefile in src/racket to find out which
119 - # targets would build those binaries but not use them.
120 - pushd racket
121 - emake cgc-core
122 - pax-mark m .libs/racketcgc
123 - pushd gc2
124 - emake all
125 - popd
126 - pax-mark m .libs/racket3m
127 - popd
128 - fi
129 -
130 - default
131 -}
132 -
133 -src_install() {
134 - default
135 -
136 - if use jit; then
137 - # The final binaries need to be pax-marked, too, if you want to
138 - # actually use them. The src_compile marking get lost somewhere
139 - # in the install process.
140 - for f in mred mzscheme racket; do
141 - pax-mark m "${D}/usr/bin/${f}"
142 - done
143 -
144 - use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
145 - fi
146 - # raco needs decompressed files for packages doc installation bug 662424
147 - if use doc; then
148 - docompress -x /usr/share/doc/${PF}
149 - fi
150 -}
151
152 diff --git a/dev-scheme/racket/racket-7.1-r1.ebuild b/dev-scheme/racket/racket-7.1-r1.ebuild
153 deleted file mode 100644
154 index 19e1da2a90c7..000000000000
155 --- a/dev-scheme/racket/racket-7.1-r1.ebuild
156 +++ /dev/null
157 @@ -1,93 +0,0 @@
158 -# Copyright 1999-2021 Gentoo Authors
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=7
162 -
163 -inherit pax-utils
164 -
165 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
166 -HOMEPAGE="https://racket-lang.org/"
167 -SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
168 -LICENSE="GPL-3+ LGPL-3"
169 -SLOT="0"
170 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
171 -IUSE="doc +futures +jit minimal +places +readline +threads +X"
172 -REQUIRED_USE="futures? ( jit )"
173 -
174 -RDEPEND="dev-db/sqlite:3
175 - media-libs/libpng:0
176 - x11-libs/cairo[X?]
177 - x11-libs/pango[X?]
178 - dev-libs/libffi:=
179 - virtual/jpeg:0
180 - readline? ( dev-libs/libedit )
181 - X? ( x11-libs/gtk+[X?] )"
182 -RDEPEND="${RDEPEND} !dev-tex/slatex"
183 -
184 -DEPEND="${RDEPEND}"
185 -
186 -S="${WORKDIR}/${P}/src"
187 -
188 -src_prepare() {
189 - default
190 - rm -r foreign/libffi || die 'failed to remove bundled libffi'
191 -}
192 -
193 -src_configure() {
194 - # According to vapier, we should use the bundled libtool
195 - # such that we don't preclude cross-compile. Thus don't use
196 - # --enable-lt=/usr/bin/libtool
197 - econf \
198 - --enable-shared \
199 - --enable-float \
200 - --enable-libffi \
201 - --enable-foreign \
202 - --disable-libs \
203 - --disable-strip \
204 - $(use_enable X gracket) \
205 - $(use_enable doc docs) \
206 - $(use_enable jit) \
207 - $(use_enable places) \
208 - $(use_enable futures) \
209 - $(use_enable threads pthread)
210 -}
211 -
212 -src_compile() {
213 - if use jit; then
214 - # When the JIT is enabled, a few binaries need to be pax-marked
215 - # on hardened systems (bug 613634). The trick is to pax-mark
216 - # them before they're used later in the build system. The
217 - # following order for racketcgc and racket3m was determined by
218 - # digging through the Makefile in src/racket to find out which
219 - # targets would build those binaries but not use them.
220 - pushd racket
221 - emake cgc-core
222 - pax-mark m .libs/racketcgc
223 - pushd gc2
224 - emake all
225 - popd
226 - pax-mark m .libs/racket3m
227 - popd
228 - fi
229 -
230 - default
231 -}
232 -
233 -src_install() {
234 - default
235 -
236 - if use jit; then
237 - # The final binaries need to be pax-marked, too, if you want to
238 - # actually use them. The src_compile marking get lost somewhere
239 - # in the install process.
240 - for f in mred mzscheme racket; do
241 - pax-mark m "${D}/usr/bin/${f}"
242 - done
243 -
244 - use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
245 - fi
246 - # raco needs decompressed files for packages doc installation bug 662424
247 - if use doc; then
248 - docompress -x /usr/share/doc/${PF}
249 - fi
250 -}
251
252 diff --git a/dev-scheme/racket/racket-7.2-r1.ebuild b/dev-scheme/racket/racket-7.2-r1.ebuild
253 deleted file mode 100644
254 index 367977769dc9..000000000000
255 --- a/dev-scheme/racket/racket-7.2-r1.ebuild
256 +++ /dev/null
257 @@ -1,94 +0,0 @@
258 -# Copyright 1999-2021 Gentoo Authors
259 -# Distributed under the terms of the GNU General Public License v2
260 -
261 -EAPI=7
262 -
263 -inherit pax-utils
264 -
265 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
266 -HOMEPAGE="https://racket-lang.org/"
267 -SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
268 -LICENSE="GPL-3+ LGPL-3"
269 -SLOT="0"
270 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
271 -IUSE="doc +futures +jit minimal +places +readline +threads +X"
272 -REQUIRED_USE="futures? ( jit )"
273 -
274 -RDEPEND="dev-db/sqlite:3
275 - media-libs/libpng:0
276 - x11-libs/cairo[X?]
277 - x11-libs/pango[X?]
278 - dev-libs/libffi:=
279 - virtual/jpeg:0
280 - readline? ( dev-libs/libedit )
281 - X? ( x11-libs/gtk+[X?] )"
282 -RDEPEND="${RDEPEND} !dev-tex/slatex"
283 -
284 -DEPEND="${RDEPEND}"
285 -
286 -S="${WORKDIR}/${P}/src"
287 -
288 -src_prepare() {
289 - default
290 - rm -r foreign/libffi || die 'failed to remove bundled libffi'
291 -}
292 -
293 -src_configure() {
294 - # According to vapier, we should use the bundled libtool
295 - # such that we don't preclude cross-compile. Thus don't use
296 - # --enable-lt=/usr/bin/libtool
297 - econf \
298 - --enable-shared \
299 - --enable-float \
300 - --enable-libffi \
301 - --enable-foreign \
302 - --disable-libs \
303 - --disable-strip \
304 - $(use_enable X gracket) \
305 - $(use_enable doc docs) \
306 - $(use_enable jit) \
307 - $(use_enable places) \
308 - $(use_enable futures) \
309 - $(use_enable threads pthread)
310 -}
311 -
312 -src_compile() {
313 - if use jit; then
314 - # When the JIT is enabled, a few binaries need to be pax-marked
315 - # on hardened systems (bug 613634). The trick is to pax-mark
316 - # them before they're used later in the build system. The
317 - # following order for racketcgc and racket3m was determined by
318 - # digging through the Makefile in src/racket to find out which
319 - # targets would build those binaries but not use them.
320 - pushd racket
321 - emake cgc-core
322 - pax-mark m .libs/racketcgc
323 - pushd gc2
324 - emake all
325 - popd
326 - pax-mark m .libs/racket3m
327 - popd
328 - fi
329 -
330 - default
331 -}
332 -
333 -src_install() {
334 - default
335 -
336 - if use jit; then
337 - # The final binaries need to be pax-marked, too, if you want to
338 - # actually use them. The src_compile marking get lost somewhere
339 - # in the install process.
340 - for f in mred mzscheme racket; do
341 - pax-mark m "${D}/usr/bin/${f}"
342 - done
343 -
344 - use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
345 - fi
346 - # raco needs decompressed files for packages doc installation bug 662424
347 - if use doc; then
348 - docompress -x /usr/share/doc/${PF}
349 - fi
350 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
351 -}
352
353 diff --git a/dev-scheme/racket/racket-7.3-r1.ebuild b/dev-scheme/racket/racket-7.3-r1.ebuild
354 deleted file mode 100644
355 index 367977769dc9..000000000000
356 --- a/dev-scheme/racket/racket-7.3-r1.ebuild
357 +++ /dev/null
358 @@ -1,94 +0,0 @@
359 -# Copyright 1999-2021 Gentoo Authors
360 -# Distributed under the terms of the GNU General Public License v2
361 -
362 -EAPI=7
363 -
364 -inherit pax-utils
365 -
366 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
367 -HOMEPAGE="https://racket-lang.org/"
368 -SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
369 -LICENSE="GPL-3+ LGPL-3"
370 -SLOT="0"
371 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
372 -IUSE="doc +futures +jit minimal +places +readline +threads +X"
373 -REQUIRED_USE="futures? ( jit )"
374 -
375 -RDEPEND="dev-db/sqlite:3
376 - media-libs/libpng:0
377 - x11-libs/cairo[X?]
378 - x11-libs/pango[X?]
379 - dev-libs/libffi:=
380 - virtual/jpeg:0
381 - readline? ( dev-libs/libedit )
382 - X? ( x11-libs/gtk+[X?] )"
383 -RDEPEND="${RDEPEND} !dev-tex/slatex"
384 -
385 -DEPEND="${RDEPEND}"
386 -
387 -S="${WORKDIR}/${P}/src"
388 -
389 -src_prepare() {
390 - default
391 - rm -r foreign/libffi || die 'failed to remove bundled libffi'
392 -}
393 -
394 -src_configure() {
395 - # According to vapier, we should use the bundled libtool
396 - # such that we don't preclude cross-compile. Thus don't use
397 - # --enable-lt=/usr/bin/libtool
398 - econf \
399 - --enable-shared \
400 - --enable-float \
401 - --enable-libffi \
402 - --enable-foreign \
403 - --disable-libs \
404 - --disable-strip \
405 - $(use_enable X gracket) \
406 - $(use_enable doc docs) \
407 - $(use_enable jit) \
408 - $(use_enable places) \
409 - $(use_enable futures) \
410 - $(use_enable threads pthread)
411 -}
412 -
413 -src_compile() {
414 - if use jit; then
415 - # When the JIT is enabled, a few binaries need to be pax-marked
416 - # on hardened systems (bug 613634). The trick is to pax-mark
417 - # them before they're used later in the build system. The
418 - # following order for racketcgc and racket3m was determined by
419 - # digging through the Makefile in src/racket to find out which
420 - # targets would build those binaries but not use them.
421 - pushd racket
422 - emake cgc-core
423 - pax-mark m .libs/racketcgc
424 - pushd gc2
425 - emake all
426 - popd
427 - pax-mark m .libs/racket3m
428 - popd
429 - fi
430 -
431 - default
432 -}
433 -
434 -src_install() {
435 - default
436 -
437 - if use jit; then
438 - # The final binaries need to be pax-marked, too, if you want to
439 - # actually use them. The src_compile marking get lost somewhere
440 - # in the install process.
441 - for f in mred mzscheme racket; do
442 - pax-mark m "${D}/usr/bin/${f}"
443 - done
444 -
445 - use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
446 - fi
447 - # raco needs decompressed files for packages doc installation bug 662424
448 - if use doc; then
449 - docompress -x /usr/share/doc/${PF}
450 - fi
451 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
452 -}
453
454 diff --git a/dev-scheme/racket/racket-8.0-r1.ebuild b/dev-scheme/racket/racket-8.0-r1.ebuild
455 deleted file mode 100644
456 index bedf4056abbf..000000000000
457 --- a/dev-scheme/racket/racket-8.0-r1.ebuild
458 +++ /dev/null
459 @@ -1,113 +0,0 @@
460 -# Copyright 1999-2021 Gentoo Authors
461 -# Distributed under the terms of the GNU General Public License v2
462 -
463 -EAPI=7
464 -
465 -inherit pax-utils
466 -
467 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
468 -HOMEPAGE="https://racket-lang.org/"
469 -SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )"
470 -SRC_URI+=" !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
471 -S="${WORKDIR}/${P}/src"
472 -
473 -# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
474 -LICENSE="
475 - || ( MIT Apache-2.0 )
476 - chez? ( Apache-2.0 )
477 - !chez? ( LGPL-3 )
478 -"
479 -SLOT="0"
480 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
481 -IUSE="doc +chez +futures +jit minimal +places +readline +threads +X"
482 -
483 -REQUIRED_USE="futures? ( jit )"
484 -
485 -RDEPEND="
486 - dev-db/sqlite:3
487 - media-libs/libpng:0
488 - x11-libs/cairo[X?]
489 - x11-libs/pango[X?]
490 - dev-libs/libffi:=
491 - virtual/jpeg:0
492 - readline? ( dev-libs/libedit )
493 - X? ( x11-libs/gtk+:3[X?] )
494 - !dev-tex/slatex
495 -"
496 -DEPEND="${RDEPEND}"
497 -
498 -src_prepare() {
499 - default
500 - rm -r bc/foreign/libffi || die 'failed to remove bundled libffi'
501 -}
502 -
503 -src_configure() {
504 - # According to vapier, we should use the bundled libtool
505 - # such that we don't preclude cross-compile. Thus don't use
506 - # --enable-lt=/usr/bin/libtool
507 - # docdir doesn't get passed automatically
508 - econf \
509 - --enable-shared \
510 - --enable-float \
511 - --enable-libffi \
512 - --enable-foreign \
513 - --docdir="/usr/share/doc/${PF}" \
514 - $(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") \
515 - --disable-libs \
516 - --disable-strip \
517 - $(use_enable X gracket) \
518 - $(use_enable doc docs) \
519 - $(use_enable jit) \
520 - $(use_enable places) \
521 - $(use_enable futures) \
522 - $(use_enable threads pthread)
523 -}
524 -
525 -src_compile() {
526 - if use jit; then
527 - # When the JIT is enabled, a few binaries need to be pax-marked
528 - # on hardened systems (bug 613634). The trick is to pax-mark
529 - # them before they're used later in the build system. The
530 - # following order for racketcgc and racket3m was determined by
531 - # digging through the Makefile in src/racket to find out which
532 - # targets would build those binaries but not use them.
533 - if ! use chez; then
534 - pushd bc || die
535 - emake cgc-core
536 - pax-mark m .libs/racketcgc
537 -
538 - pushd gc2 || die
539 - emake all
540 - popd || die
541 -
542 - pax-mark m .libs/racket3m
543 - popd || die
544 - fi
545 - fi
546 -
547 - default
548 -}
549 -
550 -src_install() {
551 - default
552 -
553 - if use jit; then
554 - # The final binaries need to be pax-marked, too, if you want to
555 - # actually use them. The src_compile marking get lost somewhere
556 - # in the install process.
557 - for f in mred mzscheme racket; do
558 - pax-mark m "${D}/usr/bin/${f}"
559 - done
560 -
561 - use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
562 -
563 - pax-mark m "${D}/usr/$(get_libdir)/racket/starter"
564 - fi
565 -
566 - # raco needs decompressed files for packages doc installation bug 662424
567 - if use doc; then
568 - docompress -x /usr/share/doc/${PF}
569 - fi
570 -
571 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
572 -}
573
574 diff --git a/dev-scheme/racket/racket-8.1-r1.ebuild b/dev-scheme/racket/racket-8.1-r1.ebuild
575 deleted file mode 100644
576 index 652449041953..000000000000
577 --- a/dev-scheme/racket/racket-8.1-r1.ebuild
578 +++ /dev/null
579 @@ -1,176 +0,0 @@
580 -# Copyright 1999-2021 Gentoo Authors
581 -# Distributed under the terms of the GNU General Public License v2
582 -
583 -EAPI=7
584 -
585 -inherit desktop optfeature xdg-utils
586 -
587 -DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
588 -HOMEPAGE="https://racket-lang.org/"
589 -SRC_URI="
590 - minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
591 - !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
592 -"
593 -S="${WORKDIR}/${P}/src"
594 -
595 -# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
596 -LICENSE="
597 - || ( MIT Apache-2.0 )
598 - chez? ( Apache-2.0 )
599 - !chez? ( LGPL-3 )
600 -"
601 -# Bytecode generated by Racket is not compatible between versions
602 -SLOT="0/${PV}"
603 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
604 -IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
605 -REQUIRED_USE="futures? ( jit )"
606 -
607 -DEPEND="
608 - !dev-tex/slatex
609 - dev-db/sqlite:3
610 - dev-libs/libffi:=
611 - X? (
612 - dev-util/desktop-file-utils
613 - media-libs/libpng:0
614 - virtual/jpeg:0
615 - x11-libs/cairo[X]
616 - x11-libs/gtk+:3[X]
617 - x11-libs/pango[X]
618 - x11-misc/shared-mime-info
619 - )
620 - readline? ( dev-libs/libedit )
621 -"
622 -RDEPEND="${DEPEND}"
623 -
624 -# "mred" and "mzscheme" are binaries generated by Racket, not CC
625 -QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
626 -
627 -# Backports that will be probably available in 8.3 release
628 -PATCHES=(
629 - # Prevent "libracket3m" from being stripped
630 - # https://github.com/racket/racket/commit/92d202060201f569fafc348c4f64a2965b55287f
631 - "${FILESDIR}/Makefile-nostrip.patch"
632 - # Fix "starter" LDFLAGS
633 - # https://github.com/racket/racket/commit/4f0e1703979d704c4f91b009945c324450acec7a
634 - "${FILESDIR}/Makefile-starter.patch"
635 -)
636 -
637 -# Package database files
638 -PKGDB=(
639 - /usr/share/racket/info-cache.rktd
640 - /usr/share/racket/links.rktd
641 - /usr/share/racket/pkgs/pkgs.rktd
642 -)
643 -
644 -post_X_update() {
645 - if use X && ! use minimal; then
646 - xdg_desktop_database_update
647 - xdg_icon_cache_update
648 - fi
649 -}
650 -
651 -src_prepare() {
652 - # Prepare environment
653 - unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
654 - xdg_environment_reset
655 -
656 - default
657 -
658 - # Remove bundled libffi
659 - rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
660 -}
661 -
662 -src_configure() {
663 - # Libtool:
664 - # According to vapier, we should use the bundled libtool
665 - # such that we don't preclude cross-compile.
666 - # Thus don't use --enable-lt=/usr/bin/libtool
667 - # Backend:
668 - # --enable-bc builds Racket w/o chez backend
669 - # C Libraries:
670 - # --enable-libs & --disable-shared is the way to build
671 - # .a files that are needed to embed Racket into programs
672 - # https://docs.racket-lang.org/inside/cs-embedding.html
673 - local myconf=(
674 - --disable-shared
675 - --disable-strip
676 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
677 - --enable-float
678 - --enable-foreign
679 - --enable-libffi
680 - --enable-libs
681 - $(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
682 - $(use_enable X gracket)
683 - $(use_enable doc docs)
684 - $(use_enable futures)
685 - $(use_enable jit)
686 - $(use_enable places)
687 - $(use_enable threads pthread)
688 - )
689 - econf "${myconf[@]}"
690 -}
691 -
692 -src_install() {
693 - default
694 -
695 - # Install Racket boot files
696 - if use chez; then
697 - pushd "${S}"/cs/c || die
698 - emake DESTDIR="${ED}" unix-install-boot-files
699 - popd || die
700 - fi
701 -
702 - # raco needs decompressed files for packages doc installation bug 662424
703 - if use doc; then
704 - docompress -x /usr/share/doc/${PF}
705 - fi
706 -
707 - # Create missing desktop files and icon
708 - if use X && ! use minimal; then
709 - newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
710 - make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
711 - make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
712 - fi
713 -}
714 -
715 -pkg_preinst() {
716 - # If we are merging the same version (NOT revision!)
717 - # check if pkg database files exist and do not overwrite them
718 - local pvr rel
719 - for pvr in ${REPLACING_VERSIONS}; do
720 - rel="${pvr%-r*}"
721 - if [[ "${rel}" == "${PV}" ]]; then
722 - echo "We are installing the same version: ${rel}"
723 - local rktd
724 - for rktd in "${PKGDB[@]}"; do
725 - if [[ -f "${EROOT}/${rktd}" ]]; then
726 - einfo "Keeping old file: ${rktd}"
727 - mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
728 - die "failed to create a backup of ${rktd}"
729 - cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
730 - die "failed to create a copy of ${rktd}"
731 - fi
732 - done
733 - fi
734 - done
735 -}
736 -
737 -pkg_postinst() {
738 - post_X_update
739 -
740 - optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
741 -}
742 -
743 -pkg_postrm() {
744 - post_X_update
745 -}
746 -
747 -pkg_config() {
748 - einfo "Swapping package database backup files"
749 -
750 - for rktd in "${PKGDB[@]}"; do
751 - mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config || die
752 - mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd} || die
753 - mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak || die
754 - done
755 -}