1 |
commit: 3d33d28b15d874ca8ce0b77fdf4a6437707809c8 |
2 |
Author: Marijn Schouten <hkBst <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 2 14:47:28 2012 +0000 |
4 |
Commit: Marijn Schouten <hkbst <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 2 14:47:28 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=3d33d28b |
7 |
|
8 |
remove obsolete plt-scheme and bump racket |
9 |
|
10 |
--- |
11 |
.../plt-scheme-4.2.5-hack_makefile_in_temp.patch | 13 -- |
12 |
.../plt-scheme-4.2.5-hack_makefile_in_temp01.patch | 37 ----- |
13 |
.../files/plt-scheme-4.2.5-libpng14.patch | 15 -- |
14 |
dev-scheme/plt-scheme/metadata.xml | 44 ------ |
15 |
dev-scheme/plt-scheme/plt-scheme-4.2.5-r1.ebuild | 147 -------------------- |
16 |
dev-scheme/plt-scheme/plt-scheme-4.2.5.ebuild | 95 ------------- |
17 |
dev-scheme/plt-scheme/plt-scheme-999.ebuild | 91 ------------ |
18 |
.../files/racket-5.1-hack_makefile_in_temp01.patch | 37 ----- |
19 |
dev-scheme/racket/racket-5.2.900.2.ebuild | 71 ++++++++++ |
20 |
9 files changed, 71 insertions(+), 479 deletions(-) |
21 |
|
22 |
diff --git a/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-hack_makefile_in_temp.patch b/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-hack_makefile_in_temp.patch |
23 |
deleted file mode 100644 |
24 |
index c8a20ea..0000000 |
25 |
--- a/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-hack_makefile_in_temp.patch |
26 |
+++ /dev/null |
27 |
@@ -1,13 +0,0 @@ |
28 |
-diff -u -r a/src/Makefile.in b/src/Makefile.in |
29 |
---- a/src/Makefile.in 2010-03-17 20:22:06.000000000 +0200 |
30 |
-+++ b/src/Makefile.in 2010-04-18 22:23:49.000000000 +0300 |
31 |
-@@ -60,9 +60,6 @@ |
32 |
- $(MAKE) install-@MAIN_VARIANT@ |
33 |
- |
34 |
- plain-install: |
35 |
-- if [ "$(DESTDIR)" != "" ]; then \ |
36 |
-- echo "cannot use plain-install with DESTDIR=$(DESTDIR)"; exit 1; \ |
37 |
-- fi |
38 |
- $(MAKE) plain-install-@MAIN_VARIANT@ |
39 |
- |
40 |
- install-common-first: |
41 |
|
42 |
diff --git a/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-hack_makefile_in_temp01.patch b/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-hack_makefile_in_temp01.patch |
43 |
deleted file mode 100644 |
44 |
index 0643ea5..0000000 |
45 |
--- a/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-hack_makefile_in_temp01.patch |
46 |
+++ /dev/null |
47 |
@@ -1,37 +0,0 @@ |
48 |
-diff -u -r a/src/Makefile.in b//src/Makefile.in |
49 |
---- a/src/Makefile.in 2010-03-17 20:22:06.000000000 +0200 |
50 |
-+++ b//src/Makefile.in 2010-04-18 22:23:49.000000000 +0300 |
51 |
-@@ -60,9 +60,6 @@ |
52 |
- $(MAKE) install-@MAIN_VARIANT@ |
53 |
- |
54 |
- plain-install: |
55 |
-- if [ "$(DESTDIR)" != "" ]; then \ |
56 |
-- echo "cannot use plain-install with DESTDIR=$(DESTDIR)"; exit 1; \ |
57 |
-- fi |
58 |
- $(MAKE) plain-install-@MAIN_VARIANT@ |
59 |
- |
60 |
- install-common-first: |
61 |
-diff -u -r a/src/mred/Makefile.in b//src/mred/Makefile.in |
62 |
---- a/src/mred/Makefile.in 2010-03-17 20:22:01.000000000 +0200 |
63 |
-+++ b//src/mred/Makefile.in 2010-04-19 14:50:10.000000000 +0300 |
64 |
-@@ -280,8 +280,6 @@ |
65 |
- $(MAKE) install-@WXVARIANT@-post-collects |
66 |
- |
67 |
- install-common: |
68 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/mred@CGC_INSTALLED@" |
69 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/mred@MMM_INSTALLED@" |
70 |
- cd ..; echo 'CXX=@CXX@' >> $(BUILDINFO) |
71 |
- cd ..; echo 'CXXFLAGS=@CXXFLAGS@ @PREFLAGS@ @COMPFLAGS@' >> $(BUILDINFO) |
72 |
- cd ..; echo 'MROPTIONS=@MROPTIONS@' >> $(BUILDINFO) |
73 |
-diff -u -r a/src/mzscheme/Makefile.in b//src/mzscheme/Makefile.in |
74 |
---- a/src/mzscheme/Makefile.in 2010-03-17 20:22:06.000000000 +0200 |
75 |
-+++ b//src/mzscheme/Makefile.in 2010-04-19 14:49:49.000000000 +0300 |
76 |
-@@ -277,8 +277,6 @@ |
77 |
- # have to go up and install things from there. |
78 |
- |
79 |
- unix-install: |
80 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/mzscheme@CGC_INSTALLED@" |
81 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/mzscheme@MMM_INSTALLED@" |
82 |
- cd ..; cp mzscheme/starter "$(DESTDIR)$(libpltdir)/starter" |
83 |
- cd ..; $(STRIP_DEBUG) "$(DESTDIR)$(libpltdir)/starter" |
84 |
- cd ..; echo 'CC=@CC@' > "$(BUILDINFO)" |
85 |
|
86 |
diff --git a/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-libpng14.patch b/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-libpng14.patch |
87 |
deleted file mode 100644 |
88 |
index 7f5d68c..0000000 |
89 |
--- a/dev-scheme/plt-scheme/files/plt-scheme-4.2.5-libpng14.patch |
90 |
+++ /dev/null |
91 |
@@ -1,15 +0,0 @@ |
92 |
-diff -u -r a/plt-4.2.5/src/wxcommon/wxJPEG.cxx b/plt-4.2.5/src/wxcommon/wxJPEG.cxx |
93 |
---- a/plt-4.2.5/src/wxcommon/wxJPEG.cxx 2010-03-17 20:22:03.000000000 +0200 |
94 |
-+++ b/plt-4.2.5/src/wxcommon/wxJPEG.cxx 2010-05-11 18:16:06.000000000 +0300 |
95 |
-@@ -726,7 +726,11 @@ |
96 |
- png_set_strip_16(png_ptr); |
97 |
- |
98 |
- /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */ |
99 |
-+ #if PNG_LIBPNG_VER < 10400 |
100 |
- png_set_gray_1_2_4_to_8(png_ptr); |
101 |
-+ #else |
102 |
-+ png_set_expand_gray_1_2_4_to_8(png_ptr); |
103 |
-+ #endif |
104 |
- } |
105 |
- |
106 |
- /* Set the background color to draw transparent and alpha images over. |
107 |
|
108 |
diff --git a/dev-scheme/plt-scheme/metadata.xml b/dev-scheme/plt-scheme/metadata.xml |
109 |
deleted file mode 100644 |
110 |
index 67b4ceb..0000000 |
111 |
--- a/dev-scheme/plt-scheme/metadata.xml |
112 |
+++ /dev/null |
113 |
@@ -1,44 +0,0 @@ |
114 |
-<?xml version="1.0" encoding="UTF-8"?> |
115 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
116 |
- |
117 |
-<pkgmetadata> |
118 |
-<herd>scheme</herd> |
119 |
-<longdescription lang="en"> |
120 |
-PLT Scheme(DrScheme) is an interactive, integrated, graphical programming environment for |
121 |
-the Scheme, MzScheme, and MrEd programming languages. |
122 |
- |
123 |
-PLT Scheme provides source highlighting for syntax and run-time errors, support |
124 |
-for multiple language levels, an algebraic stepper, objects, modules, a GUI |
125 |
-library, TCP/IP, and much more. It includes an extensive, hyper-linked help |
126 |
-system called Help Desk. |
127 |
-</longdescription> |
128 |
-<use> |
129 |
- <flag name='slatex'> |
130 |
- Add slatex mzscheme scripts and texmf file for slatex support |
131 |
- </flag> |
132 |
- <flag name='futures'> |
133 |
- Enable futures support |
134 |
- </flag> |
135 |
- <flag name='places'> |
136 |
- Enable places support |
137 |
- </flag> |
138 |
- <flag name='foreign'> |
139 |
- Build with (unfortunately bundled) libffi |
140 |
- </flag> |
141 |
- <flag name='plain'> |
142 |
- Do plain installation without rebuilding plt-scheme's |
143 |
- collects(experimental) |
144 |
- </flag> |
145 |
- <flag name='sgc'> |
146 |
- Compile and install additional executables which use the conservative |
147 |
- garbage collector(Senora, instead of Boehm) |
148 |
- </flag> |
149 |
- <flag name='backtrace'> |
150 |
- Support GC backtrace dumps |
151 |
- </flag> |
152 |
- <flag name='cgc'> |
153 |
- Compile and install additional executables which use the conservative |
154 |
- garbage collector(Boehm) |
155 |
- </flag> |
156 |
-</use> |
157 |
-</pkgmetadata> |
158 |
|
159 |
diff --git a/dev-scheme/plt-scheme/plt-scheme-4.2.5-r1.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.2.5-r1.ebuild |
160 |
deleted file mode 100644 |
161 |
index 6eba119..0000000 |
162 |
--- a/dev-scheme/plt-scheme/plt-scheme-4.2.5-r1.ebuild |
163 |
+++ /dev/null |
164 |
@@ -1,147 +0,0 @@ |
165 |
-# Copyright 1999-2010 Gentoo Foundation |
166 |
-# Distributed under the terms of the GNU General Public License v2 |
167 |
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.2.2.ebuild,v 1.1 2009/10/09 15:15:42 hkbst Exp $ |
168 |
- |
169 |
-EAPI="3" |
170 |
-inherit eutils |
171 |
-SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz |
172 |
- http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" |
173 |
-DESCRIPTION="DrScheme programming environment. Includes mzscheme." |
174 |
-HOMEPAGE="http://www.plt-scheme.org" |
175 |
-LICENSE="LGPL-2.1" |
176 |
-SLOT="0" |
177 |
-#KEYWORDS="" |
178 |
-#KEYWORDS="~amd64" |
179 |
-KEYWORDS="~x86 ~amd64" |
180 |
-IUSE="-backtrace cairo cgc opengl profile X slatex sgc -futures -places +foreign static -plain" |
181 |
-# jit |
182 |
-RDEPEND="X? ( x11-libs/libX11 |
183 |
- x11-libs/libXaw |
184 |
- x11-libs/libXft |
185 |
- x11-libs/libXrender |
186 |
- media-libs/jpeg |
187 |
- media-libs/libpng |
188 |
- opengl? ( virtual/opengl ) |
189 |
- cairo? ( x11-libs/cairo[X] ) ) |
190 |
- slatex? ( virtual/latex-base )" |
191 |
-DEPEND="${RDEPEND}" |
192 |
-S="${WORKDIR}/plt-${PV}/src/build" |
193 |
-ECONF_SOURCE="${S}/.." |
194 |
-MY_PNUM="01" |
195 |
- |
196 |
-pkg_setup() { |
197 |
- if use cgc && use sgc ; then |
198 |
- die "You cannot use both cgc and sgc USE flags, you have to choose one of them" |
199 |
- fi |
200 |
- for my_flag in backtrace futures places |
201 |
- do |
202 |
- if use "${my_flag}" ; then |
203 |
- ewarn "${my_flag} USE flag is known that may make ${P} compilation" |
204 |
- ewarn "to fail. Please remove it, if the ebuild fails for you. " |
205 |
- fi |
206 |
- done |
207 |
- if use cairo || use opengl ; then |
208 |
- if ! use X ; then |
209 |
- ewarn "cairo and opengl USE flags support features that are disabled" |
210 |
- ewarn "by ${P} build system when you haven't enabled the X USE flag." |
211 |
- fi |
212 |
- fi |
213 |
-} |
214 |
- |
215 |
-src_unpack() { |
216 |
- unpack ${A} |
217 |
- mkdir -v "${S}" || die "failed to create build dir" |
218 |
-} |
219 |
- |
220 |
-src_prepare() { |
221 |
- #( cd .. && rm -Rv wxcommon && rm -Rv foreign ) \ |
222 |
- #|| die "failed to remove dir of bundled libraries" |
223 |
- #rm -Rv ../wxcommon/{jpeg,libpng,zlib} ../../collects \ |
224 |
- #|| die "failed to remove dir of bundled libraries" |
225 |
- #rm -Rv ../wxcommon/{jpeg,libpng,zlib} ../wxxt \ |
226 |
- rm -Rv ../wxcommon/{jpeg,libpng,zlib} \ |
227 |
- || die "failed to remove dir of bundled libraries" |
228 |
- sed -i -e "s/docdir=\"\${datadir}\/plt\/doc\"/docdir=\"\${datadir}\/doc\/${PF}\"/" ../configure || die "sed failed" |
229 |
- pushd .. |
230 |
- epatch "${FILESDIR}/${P}-hack_makefile_in_temp${MY_PNUM}.patch" |
231 |
- epatch "${FILESDIR}/${P}-libpng14.patch" |
232 |
- popd |
233 |
- #sed -i -e 's/#! \/bin\/sh/#! \/bin\/sh -x/g' ../configure \ |
234 |
- #|| die "sed failed" |
235 |
-} |
236 |
- |
237 |
-src_configure() { |
238 |
- # cgcdefault off |
239 |
- #$(use_enable sgc sgcdebug) \ |
240 |
- #--enable-foreign \ |
241 |
- #--disable-places \ |
242 |
- #--disable-futures \ |
243 |
- #--enable-foreign \ |
244 |
- local myconf="" |
245 |
- if use static; then |
246 |
- myconf="--disable-shared" |
247 |
- else |
248 |
- myconf="--enable-shared" |
249 |
- fi |
250 |
- econf \ |
251 |
- $(use_enable X mred) \ |
252 |
- $(use_enable X xrender) \ |
253 |
- $(use_enable X xft) \ |
254 |
- $(use_enable opengl gl) \ |
255 |
- $(use_enable cairo) \ |
256 |
- $(use_enable profile gprof) \ |
257 |
- $(use_enable backtrace) \ |
258 |
- $(use_enable sgc) \ |
259 |
- $(use_enable futures) \ |
260 |
- $(use_enable places) \ |
261 |
- $(use_enable foreign) \ |
262 |
- --enable-jit \ |
263 |
- --enable-libpng \ |
264 |
- --enable-libjpeg \ |
265 |
- --enable-account \ |
266 |
- --disable-sgcdebug \ |
267 |
- --disable-compact \ |
268 |
- --disable-smalloskit \ |
269 |
- --disable-oskit \ |
270 |
- --disable-wbuild \ |
271 |
- --disable-perl \ |
272 |
- $(use_with X x) \ |
273 |
- ${myconf} \ |
274 |
- || die "Configure script failed" |
275 |
-} |
276 |
- |
277 |
-src_compile() { |
278 |
- time emake || die "emake default target(3m) failed" |
279 |
- if use cgc || use sgc ; then |
280 |
- time emake cgc || die "emake cgc-install target failed" |
281 |
- fi |
282 |
-} |
283 |
- |
284 |
-src_install() { |
285 |
- local pla1n="" |
286 |
- if use plain; then |
287 |
- pla1n="plain-" |
288 |
- fi |
289 |
- time emake DESTDIR="${D}" "${pla1n}"install || die "emake install failed" |
290 |
- if use cgc || use sgc ; then |
291 |
- time emake DESTDIR="${D}" "${pla1n}"install-cgc || die "emake cgc target failed" |
292 |
- fi |
293 |
- if use X; then |
294 |
- newicon ../../collects/icons/PLT-206.png drscheme.png |
295 |
- make_desktop_entry drscheme "DrScheme" drscheme "Development" |
296 |
- fi |
297 |
- # deal with slatex |
298 |
- if use slatex; then |
299 |
- if ! use plain; then |
300 |
- pushd "${D}"/usr/bin |
301 |
- { rename slatex plt-slatex slatex* && rename pdf-slatex plt-pdf-slatex pdf-slatex* ; } || die "Failed to rename slatex* to plt-slatex*" |
302 |
- popd |
303 |
- fi |
304 |
- insinto /usr/share/texmf/tex/latex/slatex/ |
305 |
- newins ../../collects/slatex/slatex.sty plt-slatex.sty |
306 |
- else |
307 |
- if ! use plain; then |
308 |
- rm -Rfv "${D}"/usr/bin/*slatex* || die "Failed to delete slatex files" |
309 |
- fi |
310 |
- fi |
311 |
-} |
312 |
|
313 |
diff --git a/dev-scheme/plt-scheme/plt-scheme-4.2.5.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.2.5.ebuild |
314 |
deleted file mode 100644 |
315 |
index b9d1dee..0000000 |
316 |
--- a/dev-scheme/plt-scheme/plt-scheme-4.2.5.ebuild |
317 |
+++ /dev/null |
318 |
@@ -1,95 +0,0 @@ |
319 |
-# Copyright 1999-2010 Gentoo Foundation |
320 |
-# Distributed under the terms of the GNU General Public License v2 |
321 |
-# $Header: $ |
322 |
- |
323 |
-EAPI="3" |
324 |
-inherit eutils |
325 |
-SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz |
326 |
- http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" |
327 |
-DESCRIPTION="DrScheme programming environment. Includes mzscheme." |
328 |
-HOMEPAGE="http://www.plt-scheme.org" |
329 |
-LICENSE="LGPL-2.1" |
330 |
-SLOT="0" |
331 |
-#KEYWORDS="~amd64" |
332 |
-KEYWORDS="" # This is an experimental ebuild, if you keyword it, you are on your own" |
333 |
-IUSE="backtrace cairo cgc opengl profile X slatex" |
334 |
-RDEPEND="X? ( x11-libs/libX11 |
335 |
- x11-libs/libXaw |
336 |
- x11-libs/libXft |
337 |
- x11-libs/libXrender |
338 |
- media-libs/jpeg |
339 |
- media-libs/libpng |
340 |
- opengl? ( virtual/opengl ) |
341 |
- cairo? ( x11-libs/cairo[X] ) ) |
342 |
- slatex? ( virtual/tex-base )" |
343 |
-DEPEND="${RDEPEND} !dev-tex/slatex" |
344 |
-S="${WORKDIR}/plt-${PV}/src/build" |
345 |
-ECONF_SOURCE="${S}/.." |
346 |
- |
347 |
-src_unpack() { |
348 |
- unpack ${A} |
349 |
- mkdir -v "${S}" || die "failed to create build dir" |
350 |
-} |
351 |
- |
352 |
-src_prepare() { |
353 |
- #( cd .. && rm -Rv wxcommon && rm -Rv foreign ) \ |
354 |
- #|| die "failed to remove dir of bundled libraries" |
355 |
- #rm -Rv ../wxcommon/{jpeg,libpng,zlib} ../../collects \ |
356 |
- #|| die "failed to remove dir of bundled libraries" |
357 |
- #rm -Rv ../wxcommon/{jpeg,libpng,zlib} ../wxxt \ |
358 |
- rm -Rv ../wxcommon/{jpeg,libpng,zlib} \ |
359 |
- || die "failed to remove dir of bundled libraries" |
360 |
- sed -i -e "s/docdir=\"\${datadir}\/plt\/doc\"/docdir=\"\${datadir}\/doc\/${PF}\"/" ../configure || die "sed failed" |
361 |
- #sed -i -e 's/#! \/bin\/sh/#! \/bin\/sh -x/g' ../configure \ |
362 |
- #|| die "sed failed" |
363 |
-} |
364 |
- |
365 |
-src_configure() { |
366 |
- # cgcdefault off |
367 |
- econf \ |
368 |
- $(use_enable X mred) \ |
369 |
- $(use_enable X xrender) \ |
370 |
- $(use_enable X xft) \ |
371 |
- $(use_enable opengl gl) \ |
372 |
- $(use_enable cairo) \ |
373 |
- $(use_enable profile gprof) \ |
374 |
- $(use_enable backtrace) \ |
375 |
- --enable-libpng \ |
376 |
- --enable-libjpeg \ |
377 |
- --enable-shared \ |
378 |
- --disable-places \ |
379 |
- --disable-futures \ |
380 |
- --disable-sgc \ |
381 |
- --disable-sgcdebug \ |
382 |
- --enable-account \ |
383 |
- --disable-compact \ |
384 |
- --disable-smalloskit \ |
385 |
- --disable-oskit \ |
386 |
- --disable-wbuild \ |
387 |
- --disable-perl \ |
388 |
- $(use_with X x) \ |
389 |
- || die "Configure script failed" |
390 |
-} |
391 |
- |
392 |
-src_compile() { |
393 |
- time emake || die "emake default target(3m) failed" |
394 |
- if use cgc; then |
395 |
- time emake cgc || die "emake cgc target failed" |
396 |
- fi |
397 |
-} |
398 |
- |
399 |
-src_install() { |
400 |
- # deal with slatex |
401 |
- if use slatex; then |
402 |
- insinto /usr/share/texmf/tex/latex/slatex/ |
403 |
- doins ../collects/slatex/slatex.sty |
404 |
- fi |
405 |
- time emake DESTDIR="${D}" install || die "emake install failed" |
406 |
- if use cgc; then |
407 |
- time emake DESTDIR="${D}" install-cgc || die "emake cgc target failed" |
408 |
- fi |
409 |
- if use X; then |
410 |
- newicon ../collects/icons/PLT-206.png drscheme.png |
411 |
- make_desktop_entry drscheme "DrScheme" drscheme "Development" |
412 |
- fi |
413 |
-} |
414 |
|
415 |
diff --git a/dev-scheme/plt-scheme/plt-scheme-999.ebuild b/dev-scheme/plt-scheme/plt-scheme-999.ebuild |
416 |
deleted file mode 100644 |
417 |
index 5119f4c..0000000 |
418 |
--- a/dev-scheme/plt-scheme/plt-scheme-999.ebuild |
419 |
+++ /dev/null |
420 |
@@ -1,91 +0,0 @@ |
421 |
-# Copyright 1999-2010 Gentoo Foundation |
422 |
-# Distributed under the terms of the GNU General Public License v2 |
423 |
-# $Header: $ |
424 |
- |
425 |
-ESVN_REPO_URI="http://svn.plt-scheme.org/plt/trunk/" |
426 |
- |
427 |
-inherit eutils subversion |
428 |
- |
429 |
-DESCRIPTION="DrScheme programming environment. Includes mzscheme." |
430 |
-HOMEPAGE="http://www.plt-scheme.org" |
431 |
-LICENSE="LGPL-2.1" |
432 |
-SLOT="0" |
433 |
-KEYWORDS="" |
434 |
-IUSE="backtrace cairo cgc llvm opengl profile X xft xrender" |
435 |
- |
436 |
-RDEPEND="X? ( x11-libs/libICE |
437 |
- x11-libs/libSM |
438 |
- x11-libs/libXaw |
439 |
- xft? ( >=x11-libs/libXft-2.1.12 ) |
440 |
- xrender? ( x11-libs/libXrender ) |
441 |
- media-libs/freetype |
442 |
- media-libs/fontconfig |
443 |
- cairo? ( x11-libs/cairo ) |
444 |
- media-libs/jpeg |
445 |
- opengl? ( virtual/opengl ) |
446 |
- media-libs/libpng )" |
447 |
- |
448 |
-DEPEND="${RDEPEND} !dev-tex/slatex" |
449 |
- |
450 |
-S="${WORKDIR}/plt-${PV%%_p*}" |
451 |
- |
452 |
-pkg_setup() { |
453 |
- if use cairo && use X; then |
454 |
- if ! built_with_use x11-libs/cairo X; then |
455 |
- eerror "Cairo must be built with X use flag" |
456 |
- die "Cairo must be built with X use flag" |
457 |
- fi |
458 |
- fi |
459 |
-} |
460 |
- |
461 |
-src_unpack() { |
462 |
- subversion_src_unpack |
463 |
- |
464 |
- #remove non-Unix stuff |
465 |
- rm -rf src/{a-list,mac,mysterx,mzcom,srpersist,worksp,wxmac,wxwindow} |
466 |
- sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure |
467 |
-} |
468 |
- |
469 |
-src_compile() { |
470 |
- cd src |
471 |
- |
472 |
-# according to vapier, we should use the bundled libtool |
473 |
-# such that we don't preclude cross-compile. Thus don't use |
474 |
-# --enable-lt=/usr/bin/libtool |
475 |
- econf $(use_enable X mred) \ |
476 |
- --enable-shared \ |
477 |
- --disable-perl \ |
478 |
- $(use_enable backtrace) \ |
479 |
- $(use_enable cairo) \ |
480 |
- $(use_enable llvm) \ |
481 |
- $(use_enable opengl gl) \ |
482 |
- $(use_enable profile gprof) \ |
483 |
- $(use_enable xft) \ |
484 |
- $(use_enable xrender) |
485 |
- |
486 |
- if use cgc; then |
487 |
- emake both || die "emake both failed" |
488 |
- else |
489 |
- emake || die "emake failed" |
490 |
- fi |
491 |
-} |
492 |
- |
493 |
-src_install() { |
494 |
- # deal with slatex |
495 |
- insinto /usr/share/texmf/tex/latex/slatex/ |
496 |
- doins collects/slatex/slatex.sty |
497 |
- |
498 |
- cd src |
499 |
-# export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) |
500 |
- |
501 |
- if use cgc; then |
502 |
- emake DESTDIR="${D}" install-both || die "emake install-both failed" |
503 |
- else |
504 |
- emake DESTDIR="${D}" install || die "emake install failed" |
505 |
- fi |
506 |
- |
507 |
- if use X; then |
508 |
- newicon ../collects/icons/PLT-206.png drscheme.png |
509 |
- make_desktop_entry drscheme "DrScheme" drscheme "Development" |
510 |
- fi |
511 |
-} |
512 |
|
513 |
diff --git a/dev-scheme/racket/files/racket-5.1-hack_makefile_in_temp01.patch b/dev-scheme/racket/files/racket-5.1-hack_makefile_in_temp01.patch |
514 |
deleted file mode 100644 |
515 |
index df40d72..0000000 |
516 |
--- a/dev-scheme/racket/files/racket-5.1-hack_makefile_in_temp01.patch |
517 |
+++ /dev/null |
518 |
@@ -1,37 +0,0 @@ |
519 |
-diff -u -r a/Makefile.in b/Makefile.in |
520 |
---- a/Makefile.in 2010-03-17 20:22:06.000000000 +0200 |
521 |
-+++ b/Makefile.in 2010-04-18 22:23:49.000000000 +0300 |
522 |
-@@ -60,9 +60,6 @@ |
523 |
- $(MAKE) install-@MAIN_VARIANT@ |
524 |
- |
525 |
- plain-install: |
526 |
-- if [ "$(DESTDIR)" != "" ]; then \ |
527 |
-- echo "cannot use plain-install with DESTDIR=$(DESTDIR)"; exit 1; \ |
528 |
-- fi |
529 |
- $(MAKE) plain-install-@MAIN_VARIANT@ |
530 |
- |
531 |
- install-common-first: |
532 |
-diff -u -r a/gracket/Makefile.in b/gracket/Makefile.in |
533 |
---- a/gracket/Makefile.in 2010-03-17 20:22:01.000000000 +0200 |
534 |
-+++ b/gracket/Makefile.in 2010-04-19 14:50:10.000000000 +0300 |
535 |
-@@ -164,8 +164,6 @@ |
536 |
- |
537 |
- install-wx_xt: |
538 |
- $(MAKE) install-common |
539 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/gracket@CGC_INSTALLED@" |
540 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/gracket@MMM_INSTALLED@" |
541 |
- cd ..; echo 'MROPTIONS=@MROPTIONS@' >> $(BUILDINFO) |
542 |
- cd ..; echo "MRLIBS=$(GUILIBS_@WXVARIANT@)" >> $(BUILDINFO) |
543 |
- cd ..; echo "MRLDFLAGS=$(GRACKETLDFLAGS)" >> $(BUILDINFO) |
544 |
-diff -u -r a/racket/Makefile.in b/racket/Makefile.in |
545 |
---- a/racket/Makefile.in 2010-03-17 20:22:06.000000000 +0200 |
546 |
-+++ b/racket/Makefile.in 2010-04-19 14:49:49.000000000 +0300 |
547 |
-@@ -277,8 +277,6 @@ |
548 |
- # have to go up and install things from there. |
549 |
- |
550 |
- unix-install: |
551 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/racket@CGC_INSTALLED@" |
552 |
-- cd ..; rm -f "$(DESTDIR)$(bindir)/racket@MMM_INSTALLED@" |
553 |
- cd ..; cp racket/starter "$(DESTDIR)$(libpltdir)/starter" |
554 |
- cd ..; $(STRIP_DEBUG) "$(DESTDIR)$(libpltdir)/starter" |
555 |
- ./racket@CGC@ -cu "$(srcdir)/collects-path.rkt" "$(DESTDIR)$(libpltdir)/starter" @COLLECTS_PATH@ |
556 |
|
557 |
diff --git a/dev-scheme/racket/racket-5.2.900.2.ebuild b/dev-scheme/racket/racket-5.2.900.2.ebuild |
558 |
new file mode 100644 |
559 |
index 0000000..de92942 |
560 |
--- /dev/null |
561 |
+++ b/dev-scheme/racket/racket-5.2.900.2.ebuild |
562 |
@@ -0,0 +1,71 @@ |
563 |
+# Copyright 1999-2012 Gentoo Foundation |
564 |
+# Distributed under the terms of the GNU General Public License v2 |
565 |
+# $Header: $ |
566 |
+ |
567 |
+EAPI="4" |
568 |
+ |
569 |
+# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS |
570 |
+ |
571 |
+inherit eutils |
572 |
+#inherit git-2 |
573 |
+ |
574 |
+DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages." |
575 |
+HOMEPAGE="http://racket-lang.org/" |
576 |
+#SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz" |
577 |
+SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" |
578 |
+EGIT_REPO_URI="git://git.racket-lang.org/plt.git" |
579 |
+ |
580 |
+LICENSE="LGPL-2.1" |
581 |
+SLOT="0" |
582 |
+KEYWORDS="~amd64 ~x86" |
583 |
+IUSE="backtrace cairo doc futures jit places plot threads X" |
584 |
+ |
585 |
+RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi" |
586 |
+ |
587 |
+DEPEND="${RDEPEND} !dev-tex/slatex" |
588 |
+ |
589 |
+EGIT_SOURCEDIR="${WORKDIR}/${P}" |
590 |
+S="${WORKDIR}/${P}/src" |
591 |
+ |
592 |
+src_prepare() { |
593 |
+ #remove bundled libraries |
594 |
+ rm -rf foreign/libffi/ |
595 |
+ |
596 |
+ sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die |
597 |
+} |
598 |
+ |
599 |
+src_configure() { |
600 |
+# according to vapier, we should use the bundled libtool |
601 |
+# such that we don't preclude cross-compile. Thus don't use |
602 |
+# --enable-lt=/usr/bin/libtool |
603 |
+ econf \ |
604 |
+ $(use_enable X gracket) \ |
605 |
+ $(use_enable plot) \ |
606 |
+ $(use_enable doc docs) \ |
607 |
+ --enable-shared \ |
608 |
+ $(use_enable jit) \ |
609 |
+ --enable-foreign \ |
610 |
+ $(use_enable places) \ |
611 |
+ $(use_enable futures) \ |
612 |
+ $(use_enable backtrace) \ |
613 |
+ $(use_enable threads pthread) \ |
614 |
+ --disable-perl \ |
615 |
+ $(use_with X x) |
616 |
+} |
617 |
+ |
618 |
+src_compile() { |
619 |
+ emake || die |
620 |
+} |
621 |
+ |
622 |
+src_install() { |
623 |
+ # deal with slatex |
624 |
+ insinto /usr/share/texmf/tex/latex/slatex/ |
625 |
+ doins ../collects/slatex/slatex.sty |
626 |
+ |
627 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
628 |
+ |
629 |
+ if use X; then |
630 |
+ newicon ../collects/icons/PLT-206.png drracket.png |
631 |
+ make_desktop_entry drracket "DrRacket" drracket "Development" |
632 |
+ fi |
633 |
+} |