summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-09-24 12:36:15 +0000
committerJustin Lecher <jlec@gentoo.org>2010-09-24 12:36:15 +0000
commitb3a62352350373b7d721c22b8a7da086de82de81 (patch)
tree4d4c3fb3447363b6374abfbcb2f8c7d8dbd48ab7 /dev-scheme
parentKeyworded for ~-linux (diff)
downloadhistorical-b3a62352350373b7d721c22b8a7da086de82de81.tar.gz
historical-b3a62352350373b7d721c22b8a7da086de82de81.tar.bz2
historical-b3a62352350373b7d721c22b8a7da086de82de81.zip
Keyworded for ~-linux and EPAI=3
Package-Manager: portage-2.2_rc86/cvs/Linux x86_64
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile/ChangeLog7
-rw-r--r--dev-scheme/guile/Manifest11
-rw-r--r--dev-scheme/guile/guile-1.8.7-r1.ebuild116
3 files changed, 128 insertions, 6 deletions
diff --git a/dev-scheme/guile/ChangeLog b/dev-scheme/guile/ChangeLog
index 7498c87a0eff..6a941ee582b6 100644
--- a/dev-scheme/guile/ChangeLog
+++ b/dev-scheme/guile/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/guile
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.77 2010/05/30 06:10:46 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.78 2010/09/24 12:36:15 jlec Exp $
+
+*guile-1.8.7-r1 (24 Sep 2010)
+
+ 24 Sep 2010; Justin Lecher <jlec@gentoo.org> +guile-1.8.7-r1.ebuild:
+ Keyworded for ~-linux and EPAI=3
30 May 2010; Ryan Hill <dirtyepic@gentoo.org> guile-1.8.7.ebuild,
+files/guile-1.8.7-gcc45.patch:
diff --git a/dev-scheme/guile/Manifest b/dev-scheme/guile/Manifest
index 42ae2e60acf2..dd7cd9fb0d3a 100644
--- a/dev-scheme/guile/Manifest
+++ b/dev-scheme/guile/Manifest
@@ -17,13 +17,14 @@ EBUILD guile-1.8.4.ebuild 2208 RMD160 b835240de302dc2ea8247fe1648a93b93984dc88 S
EBUILD guile-1.8.5-r1.ebuild 2964 RMD160 62df6e7cdb13bb77d0df0d85ca24bc817f1f7077 SHA1 ca8812f09fde0f8b487c520a1fe595d3fdc7872b SHA256 2ca5ce8a6a214e836d98b5d5aa7179c4a15bffe7a9fe1a45e0f1263f9c2350f6
EBUILD guile-1.8.5.ebuild 2426 RMD160 f7cae837c44b9a5f86b243bb29fd9acead3ba89d SHA1 b9a9b0464c1742193edd9ad94307251454b29f3a SHA256 1f22d34aa444f0269686199c06c49e7c01dd9340ef323bcdc61b3fe2bdd138f4
EBUILD guile-1.8.6.ebuild 2952 RMD160 a555e1a128a770ffa649783c5a95a05e72f6ae97 SHA1 6bc5d3179e7ee8ce276bf100bcce9df1d71b1f3d SHA256 b6ac475fa6dd34bf93d6555e15197892f07473b94e5032fa0f96e3213ae24470
+EBUILD guile-1.8.7-r1.ebuild 3041 RMD160 6b201cfb2eaf22c13cacd9219beb0e8432b8834b SHA1 b08b1f76071bade185241f8a927e330abdbe350c SHA256 560663d883f2d1f3c63f2c1d4f98f8e6fcd85ddf7deeafadecb6d13d0d5e312d
EBUILD guile-1.8.7.ebuild 2980 RMD160 804adf66afb54811b8c680499b2757626dca2ae0 SHA1 420ae55db1ff7f9ef73ea285fefc512c8fbf0020 SHA256 73bc9fd3349cc210784bb97d1d166cfbe61e0ddbe7920db37f5332f2dfa8d668
-MISC ChangeLog 21743 RMD160 9b64a1c3a2fe611ba82b161a4c6cb179def8dab9 SHA1 cd896d575cd7a54391a8c5b39bbec3da2da74aa4 SHA256 e1ed6174a474e994ac7a5eb52a797b69fcc292297483eefabb74bc944451092b
+MISC ChangeLog 21876 RMD160 12e4759ab99307b9d8a1ee8fb2a1a0338b615f1a SHA1 f2e132cb359b1fe83698cfa53a573044de09efef SHA256 57638442802e4734aae168077fc3aba8f7b241b26fe132a85f7cfc22eb99988d
MISC metadata.xml 1055 RMD160 e9a2a4c3c6629e0a521791f59c373ce1e8b68220 SHA1 fb4541c5f46e23719cc55024c2ab31344bf73f13 SHA256 87841c9e125b7de272c87c8abcc3e9c53c6934cec6f4fe5e3ad60c09566bbbff
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkwCAjMACgkQiqiDRvmkBmIbqQCg0Swmyiq09PQsd7FRJU60J7jN
-x20AnRcIsD33DBl/ielVDbQVWpw9kwrI
-=M2sU
+iEYEARECAAYFAkycm0QACgkQgAnW8HDreRaozQCeJaus/iITF90EDN8r0VNMwddB
+JgcAoIaYaYEBtdgqnhIRyQE6vvW4xU6Q
+=MrTd
-----END PGP SIGNATURE-----
diff --git a/dev-scheme/guile/guile-1.8.7-r1.ebuild b/dev-scheme/guile/guile-1.8.7-r1.ebuild
new file mode 100644
index 000000000000..3fc797163a65
--- /dev/null
+++ b/dev-scheme/guile/guile-1.8.7-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/guile-1.8.7-r1.ebuild,v 1.1 2010/09/24 12:36:15 jlec Exp $
+
+EAPI=3
+inherit eutils autotools flag-o-matic elisp-common
+
+DESCRIPTION="Scheme interpreter"
+HOMEPAGE="http://www.gnu.org/software/guile/"
+SRC_URI="mirror://gnu/guile/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="networking +regex discouraged +deprecated elisp emacs nls debug-freelist debug-malloc debug +threads"
+RESTRICT="!regex? ( test )"
+
+DEPEND="
+ >=dev-libs/gmp-4.1
+ >=sys-devel/libtool-1.5.6
+ sys-devel/gettext
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+
+# Guile seems to contain some slotting support, /usr/share/guile/ is slotted,
+# but there are lots of collisions. Most in /usr/share/libguile. Therefore
+# I'm slotting this in the same slot as guile-1.6* for now.
+SLOT="12"
+MAJOR="1.8"
+
+src_prepare() {
+ sed "s_sleep 999_sleep 1_" -i test-suite/tests/popen.test
+ epatch "${FILESDIR}/${P}-fix_tests.patch"
+ epatch "${FILESDIR}"/${P}-gcc45.patch # 317175
+
+# cp configure.in configure.in.old
+
+ #for libtool-2.2*, bug 212723
+# sed 's/AC_CONFIG_MACRO_DIR(\[m4\])/AC_CONFIG_MACRO_DIR(\[guile-config\])/' -i configure.in
+
+# diff -u configure.in.old configure.in
+
+ eautoreconf
+}
+
+src_configure() {
+ # see bug #178499
+ filter-flags -ftree-vectorize
+
+ #will fail for me if posix is disabled or without modules -- hkBst
+ econf \
+ --disable-error-on-warning \
+ --disable-static \
+ --enable-posix \
+ $(use_enable networking) \
+ $(use_enable regex) \
+ $(use deprecated || use_enable discouraged) \
+ $(use_enable deprecated) \
+ $(use_enable elisp) \
+ $(use_enable nls) \
+ --disable-rpath \
+ $(use_enable debug-freelist) \
+ $(use_enable debug-malloc) \
+ $(use_enable debug guile-debug) \
+ $(use_with threads) \
+ --with-modules \
+ EMACS=no
+}
+
+src_compile() {
+ emake || die "make failed"
+
+ # Above we have disabled the build system's Emacs support;
+ # for USE=emacs we compile (and install) the files manually
+ if use emacs; then
+ cd emacs
+ elisp-compile *.el || die
+ fi
+}
+
+src_install() {
+ einstall || die "install failed"
+
+ dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS || die
+
+ # texmacs needs this, closing bug #23493
+ dodir /etc/env.d
+ echo "GUILE_LOAD_PATH=\"${EPREFIX}/usr/share/guile/${MAJOR}\"" > "${ED}"/etc/env.d/50guile
+
+ # necessary for registering slib, see bug 206896
+ keepdir /usr/share/guile/site
+
+ if use emacs; then
+ elisp-install ${PN} emacs/*.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
+ fi
+}
+
+pkg_postinst() {
+ [ "${EROOT}" == "/" ] && pkg_config
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
+
+pkg_config() {
+ if has_version dev-scheme/slib; then
+ einfo "Registering slib with guile"
+ install_slib_for_guile
+ fi
+}
+
+_pkg_prerm() {
+ rm -f "${EROOT}"/usr/share/guile/site/slibcat
+}