diff options
author | Panagiotis Christopoulos <pchrist@gentoo.org> | 2008-11-17 00:07:31 +0000 |
---|---|---|
committer | Panagiotis Christopoulos <pchrist@gentoo.org> | 2008-11-17 00:07:31 +0000 |
commit | f9173b2fe8c99276d7a43efb53fd00dc114fab66 (patch) | |
tree | cc0ed7b0b4cfc9d8cc69b00c4be53cf46d89998f /dev-scheme/plt-scheme | |
parent | Improve init scripts by completing dependency information, and by adding the ... (diff) | |
download | historical-f9173b2fe8c99276d7a43efb53fd00dc114fab66.tar.gz historical-f9173b2fe8c99276d7a43efb53fd00dc114fab66.tar.bz2 historical-f9173b2fe8c99276d7a43efb53fd00dc114fab66.zip |
Rename dev-scheme/drscheme to dev-scheme/plt-scheme. Requested in bug 246666, by Dimitris Vyzovitis <vyzo at media.mit.edu>
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26-gentoo i686
RepoMan-Options: --force
Diffstat (limited to 'dev-scheme/plt-scheme')
-rw-r--r-- | dev-scheme/plt-scheme/ChangeLog | 386 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/Manifest | 14 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/files/plt-scheme-372-as_needed.patch | 35 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/files/plt-scheme-4.1.2-as_needed.patch | 36 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/metadata.xml | 36 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/plt-scheme-0.372-r1.ebuild | 99 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/plt-scheme-4.0.1.ebuild | 90 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/plt-scheme-4.0.2.ebuild | 90 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/plt-scheme-4.1.2.ebuild | 94 | ||||
-rw-r--r-- | dev-scheme/plt-scheme/plt-scheme-4.1.ebuild | 94 |
10 files changed, 974 insertions, 0 deletions
diff --git a/dev-scheme/plt-scheme/ChangeLog b/dev-scheme/plt-scheme/ChangeLog new file mode 100644 index 000000000000..3cd99eb6a7f8 --- /dev/null +++ b/dev-scheme/plt-scheme/ChangeLog @@ -0,0 +1,386 @@ +# ChangeLog for dev-scheme/drscheme +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.1 2008/11/17 00:07:29 pchrist Exp $ + +*plt-scheme-4.1.2 (17 Nov 2008) +*plt-scheme-4.1 (17 Nov 2008) +*plt-scheme-4.0.2 (17 Nov 2008) +*plt-scheme-4.0.1 (17 Nov 2008) +*plt-scheme-0.372-r1 (17 Nov 2008) + + 17 Nov 2008; Panagiotis Christopoulos <pchrist@gentoo.org> + +files/plt-scheme-4.1.2-as_needed.patch, + +files/plt-scheme-372-as_needed.patch, +metadata.xml, + +plt-scheme-0.372-r1.ebuild, +plt-scheme-4.0.1.ebuild, + +plt-scheme-4.0.2.ebuild, +plt-scheme-4.1.ebuild, + +plt-scheme-4.1.2.ebuild: + Rename dev-scheme/drscheme to dev-scheme/plt-scheme. Requested in bug + 246666, by Dimitris Vyzovitis <vyzo at media.mit.edu> + + 04 Nov 2008; Marijn Schouten <hkBst@gentoo.org> -files/360p1.patch, + -files/drscheme-301-fPIC.patch, -files/drscheme-301-no-setfont.patch, + -files/drscheme-350-fPIC.patch, -files/drscheme-352-destdir.patch, + -files/drscheme-360-DESTDIR-3m.patch, -reversion.patch, + -drscheme-360-r1.ebuild, -drscheme-360-r2.ebuild, -drscheme-360-r3.ebuild, + -drscheme-370.6_p20070725.ebuild, -drscheme-370.6_p20070725-r1.ebuild, + -drscheme-371.ebuild, -drscheme-372.ebuild, -drscheme-372-r1.ebuild: + big cleanup; remove old cruft + +*drscheme-4.1.2 (04 Nov 2008) + + 04 Nov 2008; Marijn Schouten <hkBst@gentoo.org> + +files/drscheme-4.1.2-as_needed.patch, +drscheme-4.1.2.ebuild: + bump + + 18 Sep 2008; Brent Baude <ranger@gentoo.org> drscheme-4.1.ebuild: + Marking drscheme-4.1 ppc for bug 229915 + + 25 Aug 2008; Markus Meier <maekke@gentoo.org> drscheme-4.1.ebuild: + amd64/x86 stable, bug #229915 + + 21 Aug 2008; Marijn Schouten <hkBst@gentoo.org> drscheme-4.1.ebuild: + fix cgc use flag, disable raw-ldflags + +*drscheme-4.1 (18 Aug 2008) + + 18 Aug 2008; Marijn Schouten <hkBst@gentoo.org> +drscheme-4.1.ebuild: + bump + + 28 Jul 2008; Panagiotis Christopoulos <pchrist@gentoo.org> metadata.xml: + Update metadata.xml to include USE flag descriptions. Entries taken from + profiles/use.local.desc + + 25 Jul 2008; Panagiotis Christopoulos <pchrist@gentoo.org> + drscheme-0.372-r1.ebuild, drscheme-4.0.1.ebuild, drscheme-4.0.2.ebuild, + drscheme-360-r1.ebuild, drscheme-360-r2.ebuild, drscheme-360-r3.ebuild: + Fix typos and cairo --> x11-libs/cairo in various ebuilds + +*drscheme-4.0.1 (05 Jul 2008) + + 05 Jul 2008; Marijn Schouten <hkBst@gentoo.org> +drscheme-4.0.1.ebuild: + bump + + 04 Jul 2008; Christian Faulhammer <opfer@gentoo.org> + drscheme-0.372-r1.ebuild: + stable x86, bug 229915 + +*drscheme-4.0.1 (28 Jun 2008) +*drscheme-0.372-r1 (28 Jun 2008) + + 28 Jun 2008; Marijn Schouten <hkBst@gentoo.org> +reversion.patch, + +drscheme-0.372-r1.ebuild, +drscheme-4.0.1.ebuild: + add new major version 4.0.1 and reversion latest ~ + fix bug 225215 + + 03 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> + +files/drscheme-372-as_needed.patch, drscheme-372-r1.ebuild: + Fixed compilation problems with --as-needed (bug #178661) + +*drscheme-372-r1 (23 Mar 2008) + + 23 Mar 2008; Marijn Schouten <hkBst@gentoo.org> +drscheme-372-r1.ebuild: + add slatex support thanks to Massimo Zanetti <zanetti.massimo@gmail.com>, + bug 188118 + +*drscheme-372 (03 Mar 2008) + + 03 Mar 2008; Marijn Schouten <hkBst@gentoo.org> +drscheme-372.ebuild: + bump, bug 212130 + + 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> drscheme-360-r1.ebuild, + drscheme-360-r2.ebuild, drscheme-360-r3.ebuild, + drscheme-370.6_p20070725.ebuild, drscheme-370.6_p20070725-r1.ebuild, + drscheme-371.ebuild: + Remove icon extension from desktop entry to match Icon Theme Specification. + +*drscheme-371 (18 Aug 2007) + + 18 Aug 2007; Marijn Schouten <hkBst@gentoo.org> +drscheme-371.ebuild: + add 371, still same problems with xft and xrender, so still forcing to on + +*drscheme-370.6_p20070725-r1 (02 Aug 2007) + + 02 Aug 2007; Marijn Schouten <hkBst@gentoo.org> + +drscheme-370.6_p20070725-r1.ebuild: + add new revision which enables xft and xrender, such that it won't segfault + or fail to compile + + 28 Jul 2007; Marijn Schouten <hkBst@gentoo.org> + drscheme-370.6_p20070725.ebuild: + fix cgc use flag behaviour + + 26 Jul 2007; Marijn Schouten <hkBst@gentoo.org> + drscheme-370.6_p20070725.ebuild: + fix docdir path + +*drscheme-360-r3 (25 Jul 2007) + + 25 Jul 2007; Marijn Schouten <hkBst@gentoo.org> +files/360p1.patch, + +drscheme-360-r3.ebuild: + add patch to fix bug 186603 + + 25 Jul 2007; Marijn Schouten <hkBst@gentoo.org> -drscheme-301-r2.ebuild, + -drscheme-352-r2.ebuild: + remove old versions + +*drscheme-370.6_p20070725 (25 Jul 2007) + + 25 Jul 2007; Marijn Schouten <hkBst@gentoo.org> + +drscheme-370.6_p20070725.ebuild: + add drscheme-370* (bug 182898) + + 22 Jul 2007; Hans de Graaff <graaff@gentoo.org> drscheme-301-r2.ebuild: + Drop virtual/x11 references. + + 15 May 2007; Marijn Schouten <hkBst@gentoo.org> metadata.xml: + add scheme as backup herd + +*drscheme-360-r2 (15 May 2007) + + 15 May 2007; Marijn Schouten <hkBst@gentoo.org> +drscheme-360-r2.ebuild: + add new version which has the X use flag, disable to only get mzscheme and + not drscheme + + 18 Mar 2007; Steve Dibb <beandog@gentoo.org> drscheme-360-r1.ebuild: + amd64 stable, bug 170813 + + 17 Mar 2007; nixnut <nixnut@gentoo.org> drscheme-360-r1.ebuild: + Stable on ppc wrt bug 170813 + + 14 Mar 2007; Christian Faulhammer <opfer@gentoo.org> + drscheme-360-r1.ebuild: + stable x86, bug 170813 + + 14 Mar 2007; Patrick McLean <chutzpah@gentoo.org> drscheme-360-r1.ebuild: + Remove sgc USE flag since it doesn't compile anymore (comment #1 on bug + #170813). + + 04 Jan 2007; Patrick McLean <chutzpah@gentoo.org> drscheme-360-r1.ebuild: + Use MZSCHEME_DYNEXT_LINKER_FLAGS instead of modifying LDFLAGS, fixes bug + #156911. Thanks to "TGL" <degrenier@easyconnect.fr> for the fix. + + 04 Jan 2007; Patrick McLean <chutzpah@gentoo.org> drscheme-352-r2.ebuild, + -drscheme-360.ebuild, drscheme-360-r1.ebuild: + Modify DEPEND on x11-libs/libXft to depend on 2.1.12 or higher, fixes bug + #152564. + +*drscheme-360-r1 (21 Nov 2006) + + 21 Nov 2006; Patrick McLean <chutzpah@gentoo.org> + +files/drscheme-360-DESTDIR-3m.patch, drscheme-360.ebuild, + +drscheme-360-r1.ebuild: + Update cairo dep to 1.2.3, Version bump, add "3m" USE flag to build support + for 3m garbage collection (builds a second binary called drscheme3m) (bug + #148673). Also will now build shared libraries rather than static ones. + +*drscheme-360 (21 Nov 2006) + + 21 Nov 2006; Patrick McLean <chutzpah@gentoo.org> + -drscheme-359.200.ebuild, +drscheme-360.ebuild: + Version bump. + + 15 Nov 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-359.200.ebuild: + Remove the moving of the gl collects, fixes #155262. + +*drscheme-359.200 (14 Nov 2006) + + 14 Nov 2006; Patrick McLean <chutzpah@gentoo.org> + +drscheme-359.200.ebuild: + New beta version, will keep these masked for now until 260 final comes out. + + 23 Oct 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-352-r2.ebuild: + Drop monolithic X deps and update Xft dependency to >x11-libs/libXft-2.1.9 + as it won't compile against some versions below that. + + 18 Oct 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-352.ebuild, + -drscheme-352-r1.ebuild: + Clean up some old broken versions. + +*drscheme-352-r2 (17 Oct 2006) + + 17 Oct 2006; Patrick McLean <chutzpah@gentoo.org> +drscheme-352-r2.ebuild: + New revision, fixes bug #151740. + +*drscheme-352-r1 (13 Oct 2006) + + 13 Oct 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-352.ebuild, + +drscheme-352-r1.ebuild: + Replace -O? with -O2, this shouuld fix #141925 and #133888. + + 13 Oct 2006; Patrick McLean <chutzpah@gentoo.org> + +files/drscheme-352-destdir.patch, drscheme-352.ebuild: + Add patch from drscheme svn to fix weird problems with DESTDIR installs. + Fixes bug #146748. + + 07 Sep 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-352.ebuild: + Add some processing of LDFLAGS to prevent compiliation errors if the user + has LDFLAGS set. + + 29 Jul 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-351.ebuild, + drscheme-352.ebuild: + Remove version 351 and clean up dependencies a bit. + +*drscheme-352 (28 Jul 2006) + + 28 Jul 2006; Patrick McLean <chutzpah@gentoo.org> +drscheme-352.ebuild: + Version bump. + + 28 Jul 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-351.ebuild: + Fix RDEPEND's. + + 27 Jul 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-351.ebuild: + Add desktop icon creation (fixes bug #38990). + +*drscheme-351 (27 Jul 2006) + + 27 Jul 2006; Patrick McLean <chutzpah@gentoo.org> + -files/drscheme-350-destdir.patch, -drscheme-350.ebuild, + +drscheme-351.ebuild: + New version, add USE flags for "backtrace" and "sgc". Ebuild majorly + reworked to account for massive bugfixes to the build system (fixes bug + #137244). Add block againse dev-scheme/mzscheme since this now installs + a "mzscheme" binary. Drop 350 since it never worked anyway. + +*drscheme-350 (09 Jul 2006) + + 09 Jul 2006; Patrick McLean <chutzpah@gentoo.org> + +files/drscheme-350-destdir.patch, +files/drscheme-350-fPIC.patch, + +drscheme-350.ebuild: + Version bump, adding 350 to tree masked since the ebuild is currently + broken. It compiles and installs, but won't run. Will have to look at it + again once I get some more time. + + 18 May 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-209-r1.ebuild: + Remove version 209 as it hasn't been ported to modular X and 301 is now + stable on all arches. + + 13 May 2006; Stephanie Lockwood-Childs <wormo@gentoo.org> + drscheme-301-r2.ebuild: + stable on ppc (Bug #128635) + + 18 May 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-301-r2.ebuild: + Add modified version of patch suggested by Wormo in comment #6 on bug #128635. + + 15 May 2006; Mark Loeser <halcy0n@gentoo.org> drscheme-301-r2.ebuild: + Stable on x86; bug #128635 + + 15 May 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-301-r1.ebuild: + Stable on amd64, remove version 301-r1. + + 28 Apr 2006; Alec Warner <antarus@gentoo.org> + files/digest-drscheme-301-r1, Manifest: + Fixing SHA256 digest, pass four + +*drscheme-301-r2 (12 Apr 2006) + + 12 Apr 2006; Patrick McLean <chutzpah@gentoo.org> + +files/drscheme-301-no-setfont.patch, +drscheme-301-r2.ebuild: + Version bump, adds a patch to fix segfault with modular X, fixes bug #127709. + + 03 Apr 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-209.ebuild: + Cleaned up some old versions. + + 21 Mar 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-301-r1.ebuild: + Add ~amd64. + +*drscheme-209-r1 (18 Mar 2006) + + 18 Mar 2006; Patrick McLean <chutzpah@gentoo.org> +drscheme-209-r1.ebuild: + Revision bump, fix up sed'ing of wrapper scripts so it actually works. + + 20 Feb 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-301-r1.ebuild: + Fixed type in a sed expression that was changing the paths in the wrapper + scripts. + + 18 Feb 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-301.ebuild: + Remove version 301 as it was half-broken anyway. + +*drscheme-301-r1 (17 Feb 2006) + + 17 Feb 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-301.ebuild, + +drscheme-301-r1.ebuild: + Revision bump, make sure that no files are still referring to WORKDIR + after installation. + + 15 Feb 2006; Mark Loeser <halcy0n@gentoo.org> -files/digest-drscheme-205, + -files/digest-drscheme-208: + Remove stray digests + + 14 Feb 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-205.ebuild, + -drscheme-208.ebuild: + Clean out some old versions. + +*drscheme-301 (11 Feb 2006) + + 11 Feb 2006; Patrick McLean <chutzpah@gentoo.org> + +files/drscheme-301-fPIC.patch, +drscheme-301.ebuild: + New version, ebuild has been almost completely rewritten. Fixed up + dependencies for modular X. Made generated scripts point to the right + installation directory. Install into /usr/lib/drscheme rather than in + /usr/share/drscheme. Added USE flags for cairo, png, jpeg, opengl and perl. + Added fPIC patch to get it to build on amd64, though on my machine it just + segfaults, so not keywording for amd64 yet. + + 10 Feb 2006; Patrick McLean <chutzpah@gentoo.org> metadata.xml: + I'm taking over maintainership of this package. I will be posting an updated + ebuild once testing is complete. + + 24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> drscheme-209.ebuild: + Stable on ppc. + + 09 Dec 2005; Mark Loeser <halcy0n@gentoo.org> drscheme-209.ebuild: + Stable on x86; bug #114165 + + 30 Jul 2005; Karl Trygve Kalleberg <karltk@gentoo.org> + drscheme-209.ebuild: + Removed opengl useflag, as this now appears to be forced. + +*drscheme-209 (30 Jul 2005) + + 30 Jul 2005; Karl Trygve Kalleberg <karltk@gentoo.org> +metadata.xml, + +drscheme-205.ebuild, +drscheme-208.ebuild, +drscheme-209.ebuild: + Moved from dev-lisp/drscheme to dev-scheme/drscheme. + + 21 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> drscheme-208.ebuild: + Stable on ppc. + + 27 Feb 2005; Karl Trygve Kalleberg <karltk@gentoo.org> : + Fixed sed'ing of scripts. Should actually fix #81633. + + 23 Feb 2005; Karl Trygve Kalleberg <karltk@gentoo.org> + drscheme-208.ebuild: + Marked 208 as stable, which fixes #81633. + +*drscheme-208 (12 Oct 2004) + + 12 Oct 2004; Karl Trygve Kalleberg <karltk@gentoo.org> drscheme-208.ebuild: + New upstream version. Ebuild submitted by Anders Storsveen + <wakko@generation.no>. + + 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> drscheme-205.ebuild: + Add die following econf for bug 48950 + + 04 Nov 2003; Karl Trygve Kalleberg <karltk@gentoo.org> + drscheme-203.ebuild, drscheme-204.ebuild, drscheme-205.ebuild: + 203 and 204 do not have versioned tarballs, removing. Marking 205 as + stable. + +*drscheme-205 (06 Sep 2003) + + 06 May 2003; Karl Trygve Kalleberg <karltk@gentoo.org> drscheme-205.ebuild: + version bump, fixed digests. Fixes #27178. + +*drscheme-204 (26 May 2003) + + 26 May 2003; Bartosch Pixa <darkspecter@gentoo.org> drscheme-204.ebuild: + version bump, and changed SRC_URI to not use hardcoded PV + +*drscheme-202 (05 Mar 2003) + + 05 Mar 2003; Bartosch Pixa <darkspecter@gentoo.org> drscheme-202.ebuild: + set ~ppc in keywords + +*drscheme-201 (31 Oct 2002) + + 31 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> drscheme-201.ebuild files/digest-drscheme-201 : + Initial import. Ebuild submitted by Scott Owens <sowens@cs.utah.edu>. diff --git a/dev-scheme/plt-scheme/Manifest b/dev-scheme/plt-scheme/Manifest new file mode 100644 index 000000000000..d2ff965ac9b8 --- /dev/null +++ b/dev-scheme/plt-scheme/Manifest @@ -0,0 +1,14 @@ +AUX plt-scheme-372-as_needed.patch 1682 RMD160 13e9e2e17c8eeadcb1f54d87a44a76e076673556 SHA1 33b92cb5cf94efdd3c024b95b801012f0fee53db SHA256 afd811f6d803f23c998c7b199a854b1100089a16470c0ce06e77a64b4df7fec0 +AUX plt-scheme-4.1.2-as_needed.patch 1724 RMD160 5eba5c33ab5945a040356d6b5639cb43dcf0b2cd SHA1 775690004e0cbd379a7c06cd83c98f8c6cd8d3d6 SHA256 cc3fa1bfafc76d19378671257853182d6b056229c7392815a1cfa315f8cda1ae +DIST plt-372-src-unix.tgz 15267684 RMD160 d5caa01a6aec222fabe08733221d8a29a18fe916 SHA1 7352ea75767818fb53013b9c1add4da9515930c4 SHA256 6b635b41fcb27acbd1eaa773c88eb2c1131e9857b104c8ec1b111cff2d7fb2ec +DIST plt-4.0.1-src-unix.tgz 14678717 RMD160 e862ce62a78204fda51ab2f3908325105ce6966f SHA1 13e67aa6d0e48a2ad0876995c07a3a0c4a425b2f SHA256 88916d974823b5383110ce5c5845330dc722a8e720dac8be06e5bf83a076d363 +DIST plt-4.0.2-src-unix.tgz 14657055 RMD160 d104710bcbc62f4e348db78ad0b9131883c482f9 SHA1 4e1c8f2b689d6711d60acaa59750ee40b08900b3 SHA256 bca6bb590e0d217699650fbfb6e14086ef2f7b82dab739e9e6d64c6185025b8d +DIST plt-4.1-src-unix.tgz 14908190 RMD160 80bb4b9bf0bf878c5150c5d69330b47cdd5e1de2 SHA1 12b0de3ea1255a40c7c184105a6272d4bd4d8c1b SHA256 d632a469923f087f3dd34ef39c36c0f3ad277018b8d8f26030d26c773f3de28c +DIST plt-4.1.2-src-unix.tgz 14624105 RMD160 16bee63b04857fe147d57434fee52684382cbfa2 SHA1 62efd7047e9e5fe90492487a02583236464ddbbc SHA256 0ab7ea7b59387565e8ce066431ad39d31d6229b3e65f57eb018993585b82e8a9 +EBUILD plt-scheme-0.372-r1.ebuild 2486 RMD160 063181b96cbf7b976f57a2dcee5602591daa3ed8 SHA1 582142a462c362498d5109b38a4550f6f5a9669b SHA256 c292c9a7c5f47fa5252830d8f73b0d6969d6c126b643b5671618a5a3e4b1c2c2 +EBUILD plt-scheme-4.0.1.ebuild 2319 RMD160 fbfd07333a38124e946e4ef8d421ea1176928eee SHA1 90273566b0bcb2855af57086fb64c62bf3dc9f66 SHA256 452d378621c52a893dda320ad12fa81092583346e5c69038b70e811933263a88 +EBUILD plt-scheme-4.0.2.ebuild 2319 RMD160 b49513416597f479df4b31e2310b3bd3935d3014 SHA1 512e3ffec8239c4bbb2f98192348bd8a2b835bcf SHA256 edad5e7c59b7ca0c97a40d3d7fea8bf43b6f28c86a180432cc41bd11185330d3 +EBUILD plt-scheme-4.1.2.ebuild 2404 RMD160 7dd3f99d6ab9641d6160b5a82f5fdd227c3740dd SHA1 5a345a0b08f9e275f9e89945ca8a96bc3e575d44 SHA256 41195f97e966db7cc08d8ef53a060fbba941d17a2bfd17aaadd2a55b702ca316 +EBUILD plt-scheme-4.1.ebuild 2388 RMD160 7548b7b47fda8ecd2b36f86c07502366ecf5f380 SHA1 65067cef4ccdecf5a57be9c0a021a7ac192afbc0 SHA256 797690488129e9e21b86afe2ca3412e1121f9bfaa10c9d87256b70bc09dac870 +MISC ChangeLog 14209 RMD160 3a79aca6218d89a194542c878bb042467c926869 SHA1 942c2193dc04883f33f653b1a039ebdeb8b4eca3 SHA256 3a049275dba43d89cb03d59830c3dd297bd859c808db88703d705f46f0a47d0c +MISC metadata.xml 1124 RMD160 43602c42d13e2d27aee02135fe283403e3701ec6 SHA1 2da93f8066eae3e13c5d43d1e7a27011f98e0071 SHA256 f7295271e53134f1e68377d6e61d2d9f3ea26bd374d3ee6661c1def6f49eeecf diff --git a/dev-scheme/plt-scheme/files/plt-scheme-372-as_needed.patch b/dev-scheme/plt-scheme/files/plt-scheme-372-as_needed.patch new file mode 100644 index 000000000000..2781c33a6cc0 --- /dev/null +++ b/dev-scheme/plt-scheme/files/plt-scheme-372-as_needed.patch @@ -0,0 +1,35 @@ +diff -Naur plt-372.orig/src/configure plt-372/src/configure +--- plt-372.orig/src/configure 2008-06-01 15:25:38.000000000 +0200 ++++ plt-372/src/configure 2008-06-01 15:32:21.000000000 +0200 +@@ -5390,6 +5390,7 @@ + Linux) + LIBS="$LIBS -rdynamic" + DYN_CFLAGS="-fPIC" ++ LIBMZSCHEME_DEP="-ldl -lm" + # PPC: X11 librares are not found + case `$UNAME -m` in + ppc) +diff -Naur plt-372.orig/src/mred/Makefile.in plt-372/src/mred/Makefile.in +--- plt-372.orig/src/mred/Makefile.in 2008-06-01 15:25:37.000000000 +0200 ++++ plt-372/src/mred/Makefile.in 2008-06-01 20:33:27.000000000 +0200 +@@ -125,7 +125,7 @@ + $(MREDLINKER) $(MREDLDFLAGS) $(MRSTATIC) -o mred@CGC@ $(MREDOBJECTS) $(MREDLDLIBS) $(MRSTATIC_STUB) + + libmred.@LIBSFX@: $(WXLIBSNORM) +- $(AR) $(ARFLAGS) libmred.@LIBSFX@ $(WXLIBSNORM) @LIBMRED_DEP@ ++ $(AR) $(ARFLAGS) libmred.@LIBSFX@ $(WXLIBSNORM) @LIBMRED_DEP@ @LDFLAGS@ $(LDLIBS) + + MRFW = PLT_MrEd.framework/Versions/$(FWVERSION)/PLT_MrEd + MRFWRES = PLT_MrEd.framework/Versions/$(FWVERSION)/Resources/PLT_MrEd.rsrc +diff -Naur plt-372.orig/src/mzscheme/gc2/Makefile.in plt-372/src/mzscheme/gc2/Makefile.in +--- plt-372.orig/src/mzscheme/gc2/Makefile.in 2008-06-01 15:25:38.000000000 +0200 ++++ plt-372/src/mzscheme/gc2/Makefile.in 2008-06-01 20:32:00.000000000 +0200 +@@ -310,7 +310,7 @@ + EXTRA_OBJS_L = ../src/gmp.@LTO@ @FOREIGN_OBJSLIB_IF_USED@ + + ../libmzscheme3m.@LIBSFX@: $(OBJS) $(EXTRA_OBJS_T) +- $(AR) $(ARFLAGS) ../libmzscheme3m.@LIBSFX@ $(OBJS) $(EXTRA_OBJS_L) ++ $(AR) $(ARFLAGS) ../libmzscheme3m.@LIBSFX@ $(OBJS) $(EXTRA_OBJS_L) @LDFLAGS@ $(LIBS) + $(RANLIB) ../libmzscheme3m.@LIBSFX@ + + ../mzscheme@MMM@@NOT_OSX@: main.@LTO@ ../libmzscheme3m.@LIBSFX@ diff --git a/dev-scheme/plt-scheme/files/plt-scheme-4.1.2-as_needed.patch b/dev-scheme/plt-scheme/files/plt-scheme-4.1.2-as_needed.patch new file mode 100644 index 000000000000..e1ab970c93ca --- /dev/null +++ b/dev-scheme/plt-scheme/files/plt-scheme-4.1.2-as_needed.patch @@ -0,0 +1,36 @@ +diff -Naur plt-372.orig/src/configure plt-372/src/configure +--- plt-372.orig/src/configure 2008-06-01 15:25:38.000000000 +0200 ++++ plt-372/src/configure 2008-06-01 15:32:21.000000000 +0200 +@@ -5390,7 +5390,8 @@ + Linux) + LIBS="$LIBS -rdynamic" + DYN_CFLAGS="-fPIC" + GC_THREADS_FLAG="-DGC_LINUX_THREADS" ++ LIBMZSCHEME_DEP="-ldl -lm" + # PPC: X11 librares are not found + case `$UNAME -m` in + ppc) +diff -Naur plt-372.orig/src/mred/Makefile.in plt-372/src/mred/Makefile.in +--- plt-372.orig/src/mred/Makefile.in 2008-06-01 15:25:37.000000000 +0200 ++++ plt-372/src/mred/Makefile.in 2008-06-01 20:33:27.000000000 +0200 +@@ -125,7 +125,7 @@ + $(MREDLINKER) $(MREDLDFLAGS) $(MRSTATIC) -o mred@CGC@ $(MREDOBJECTS) $(MREDLDLIBS) $(MRSTATIC_STUB) + + libmred.@LIBSFX@: $(WXLIBSNORM) +- $(AR) $(ARFLAGS) libmred.@LIBSFX@ $(WXLIBSNORM) @LIBMRED_DEP@ ++ $(AR) $(ARFLAGS) libmred.@LIBSFX@ $(WXLIBSNORM) @LIBMRED_DEP@ @LDFLAGS@ $(LDLIBS) + + MRFW = PLT_MrEd.framework/Versions/$(FWVERSION)/PLT_MrEd + MRFWRES = PLT_MrEd.framework/Versions/$(FWVERSION)/Resources/PLT_MrEd.rsrc +diff -Naur plt-372.orig/src/mzscheme/gc2/Makefile.in plt-372/src/mzscheme/gc2/Makefile.in +--- plt-372.orig/src/mzscheme/gc2/Makefile.in 2008-06-01 15:25:38.000000000 +0200 ++++ plt-372/src/mzscheme/gc2/Makefile.in 2008-06-01 20:32:00.000000000 +0200 +@@ -310,7 +310,7 @@ + EXTRA_OBJS_L = ../src/gmp.@LTO@ @FOREIGN_OBJSLIB_IF_USED@ + + ../libmzscheme3m.@LIBSFX@: $(OBJS) $(EXTRA_OBJS_T) +- $(AR) $(ARFLAGS) ../libmzscheme3m.@LIBSFX@ $(OBJS) $(EXTRA_OBJS_L) ++ $(AR) $(ARFLAGS) ../libmzscheme3m.@LIBSFX@ $(OBJS) $(EXTRA_OBJS_L) @LDFLAGS@ $(LIBS) + $(RANLIB) ../libmzscheme3m.@LIBSFX@ + + ../mzscheme@MMM@@NOT_OSX@: main.@LTO@ ../libmzscheme3m.@LIBSFX@ diff --git a/dev-scheme/plt-scheme/metadata.xml b/dev-scheme/plt-scheme/metadata.xml new file mode 100644 index 000000000000..ff256a5f4c02 --- /dev/null +++ b/dev-scheme/plt-scheme/metadata.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>scheme</herd> +<longdescription lang="en"> +PLT Scheme(DrScheme) is an interactive, integrated, graphical programming environment for +the Scheme, MzScheme, and MrEd programming languages. + +PLT Scheme provides source highlighting for syntax and run-time errors, support +for multiple language levels, an algebraic stepper, objects, modules, a GUI +library, TCP/IP, and much more. It includes an extensive, hyper-linked help +system called Help Desk. +</longdescription> +<use> + <flag name='3m'> + Compile drscheme3m binary that uses the 3m GC instead of the Boehm GC + </flag> + <flag name='backtrace'> + Support GC backtrace dumps + </flag> + <flag name='cgc'> + Compile and install additional executables which use the conservative + garbage collector + </flag> + <flag name='llvm'> + Add support for compiling to the low-level virtual machine (llvm) + </flag> + <flag name='xft'> + Add support for xft + </flag> + <flag name='xrender'> + Add support for xrender + </flag> +</use> +</pkgmetadata> diff --git a/dev-scheme/plt-scheme/plt-scheme-0.372-r1.ebuild b/dev-scheme/plt-scheme/plt-scheme-0.372-r1.ebuild new file mode 100644 index 000000000000..022d60306b4d --- /dev/null +++ b/dev-scheme/plt-scheme/plt-scheme-0.372-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-0.372-r1.ebuild,v 1.1 2008/11/17 00:07:29 pchrist Exp $ + +inherit eutils latex-package + +#reversion for 4.0.x +MY_PV=${PV/0./} + +SRC_URI="http://download.plt-scheme.org/bundles/${MY_PV}/plt/plt-${MY_PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${MY_PV}-src-unix.tgz" +#"mirror://gentoo/plt-${MY_PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="backtrace cairo cgc llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${MY_PV%%_p*}" + +pkg_setup() { + if use cairo; then + if ! built_with_use x11-libs/cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," \ + src/configure || die "sed failed" + + epatch "${FILESDIR}/${PN}-372-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + if use cgc; then + emake -j1 both || die "emake both failed" + else + emake -j1 || die "emake failed" + fi +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src + export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} diff --git a/dev-scheme/plt-scheme/plt-scheme-4.0.1.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.0.1.ebuild new file mode 100644 index 000000000000..aa598e22d198 --- /dev/null +++ b/dev-scheme/plt-scheme/plt-scheme-4.0.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.0.1.ebuild,v 1.1 2008/11/17 00:07:29 pchrist Exp $ + +inherit eutils latex-package + +SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" +#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="backtrace cairo llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${PV%%_p*}" + +pkg_setup() { + if use cairo; then + if ! built_with_use x11-libs/cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure + + epatch "${FILESDIR}/${PN}-372-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + emake || die "emake failed" +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src + export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} diff --git a/dev-scheme/plt-scheme/plt-scheme-4.0.2.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.0.2.ebuild new file mode 100644 index 000000000000..168e757e307f --- /dev/null +++ b/dev-scheme/plt-scheme/plt-scheme-4.0.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.0.2.ebuild,v 1.1 2008/11/17 00:07:29 pchrist Exp $ + +inherit eutils latex-package + +SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" +#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="backtrace cairo llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${PV%%_p*}" + +pkg_setup() { + if use cairo; then + if ! built_with_use x11-libs/cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure + + epatch "${FILESDIR}/${PN}-372-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + emake || die "emake failed" +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src + export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} diff --git a/dev-scheme/plt-scheme/plt-scheme-4.1.2.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.1.2.ebuild new file mode 100644 index 000000000000..02d9101c0b53 --- /dev/null +++ b/dev-scheme/plt-scheme/plt-scheme-4.1.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.2.ebuild,v 1.1 2008/11/17 00:07:29 pchrist Exp $ + +inherit eutils latex-package + +SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" +#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="backtrace cairo cgc llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${PV%%_p*}" + +pkg_setup() { + if use cairo && use X; then + if ! built_with_use x11-libs/cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure + + epatch "${FILESDIR}/${PN}-4.1.2-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + if use cgc; then + emake both || die "emake both failed" + else + emake || die "emake failed" + fi +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src +# export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} diff --git a/dev-scheme/plt-scheme/plt-scheme-4.1.ebuild b/dev-scheme/plt-scheme/plt-scheme-4.1.ebuild new file mode 100644 index 000000000000..d51c03544e91 --- /dev/null +++ b/dev-scheme/plt-scheme/plt-scheme-4.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.ebuild,v 1.1 2008/11/17 00:07:29 pchrist Exp $ + +inherit eutils latex-package + +SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" +#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="backtrace cairo cgc llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${PV%%_p*}" + +pkg_setup() { + if use cairo; then + if ! built_with_use x11-libs/cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure + + epatch "${FILESDIR}/${PN}-372-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + if use cgc; then + emake both || die "emake both failed" + else + emake || die "emake failed" + fi +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src +# export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} |