summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Francisco Araujo <araujo@gentoo.org>2007-02-05 05:52:09 +0000
committerLuis Francisco Araujo <araujo@gentoo.org>2007-02-05 05:52:09 +0000
commitf99a52c773a865124d253848b5f4a2fe3d1e92fb (patch)
treef3536b3b2c0a204f72070166a92e6145597968a9 /dev-lang/gnu-smalltalk
parentRemove redundant src_install function (diff)
downloadgentoo-2-f99a52c773a865124d253848b5f4a2fe3d1e92fb.tar.gz
gentoo-2-f99a52c773a865124d253848b5f4a2fe3d1e92fb.tar.bz2
gentoo-2-f99a52c773a865124d253848b5f4a2fe3d1e92fb.zip
New smalltalk release
(Portage version: 2.1.2-r7)
Diffstat (limited to 'dev-lang/gnu-smalltalk')
-rw-r--r--dev-lang/gnu-smalltalk/ChangeLog8
-rw-r--r--dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.23
-rw-r--r--dev-lang/gnu-smalltalk/files/gst-stack-2.3.2.patch44
-rw-r--r--dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.2.ebuild76
4 files changed, 130 insertions, 1 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog
index d6c588ed4260..90dacf0b1747 100644
--- a/dev-lang/gnu-smalltalk/ChangeLog
+++ b/dev-lang/gnu-smalltalk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/gnu-smalltalk
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.25 2007/02/04 23:34:22 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.26 2007/02/05 05:52:09 araujo Exp $
+
+*gnu-smalltalk-2.3.2 (05 Feb 2007)
+
+ 05 Feb 2007; Luis F. Araujo <araujo@gentoo.org>
+ +files/gst-stack-2.3.2.patch, +gnu-smalltalk-2.3.2.ebuild:
+ New gnu-smalltalk release.
04 Feb 2007; Steve Dibb <beandog@gentoo.org> gnu-smalltalk-2.3.1.ebuild:
amd64 stable, bug 158434
diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.2 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.2
new file mode 100644
index 000000000000..cb7f1683038f
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.2
@@ -0,0 +1,3 @@
+MD5 2a4237e1d9b6296b290f5b5fe8d8efd7 smalltalk-2.3.2.tar.gz 4300624
+RMD160 b2c210b4a1ec47370b7e4a69462ca37159931e12 smalltalk-2.3.2.tar.gz 4300624
+SHA256 8011a1404ec286d770c932eeba8cafcd00949567d44b44ae9821395018dc7431 smalltalk-2.3.2.tar.gz 4300624
diff --git a/dev-lang/gnu-smalltalk/files/gst-stack-2.3.2.patch b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.2.patch
new file mode 100644
index 000000000000..294956689e91
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.2.patch
@@ -0,0 +1,44 @@
+diff -urpNw smalltalk-2.3.2/libffi/src/powerpc/linux64.S smalltalk-2.3.2.chg/libffi/src/powerpc/linux64.S
+--- smalltalk-2.3.2/libffi/src/powerpc/linux64.S 2006-02-05 14:41:31.000000000 -0400
++++ smalltalk-2.3.2.chg/libffi/src/powerpc/linux64.S 2007-02-04 23:53:54.000000000 -0400
+@@ -175,3 +175,7 @@ ffi_call_LINUX64:
+ .align 3
+ .LEFDE1:
+ #endif
++
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+diff -urpNw smalltalk-2.3.2/libffi/src/powerpc/sysv.S smalltalk-2.3.2.chg/libffi/src/powerpc/sysv.S
+--- smalltalk-2.3.2/libffi/src/powerpc/sysv.S 2006-02-05 14:41:31.000000000 -0400
++++ smalltalk-2.3.2.chg/libffi/src/powerpc/sysv.S 2007-02-04 23:53:31.000000000 -0400
+@@ -217,3 +217,7 @@ END(ffi_call_SYSV)
+ .align 2
+ .LEFDE1:
+ #endif
++
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+diff -urpNw smalltalk-2.3.2/libffi/src/x86/sysv.S smalltalk-2.3.2.chg/libffi/src/x86/sysv.S
+--- smalltalk-2.3.2/libffi/src/x86/sysv.S 2006-02-05 14:41:32.000000000 -0400
++++ smalltalk-2.3.2.chg/libffi/src/x86/sysv.S 2007-02-04 23:51:13.000000000 -0400
+@@ -376,3 +376,7 @@ ffi_closure_raw_SYSV:
+ #endif
+
+ #endif /* ifndef __x86_64__ */
++
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+diff -urpNw smalltalk-2.3.2/libffi/src/x86/unix64.S smalltalk-2.3.2.chg/libffi/src/x86/unix64.S
+--- smalltalk-2.3.2/libffi/src/x86/unix64.S 2006-02-05 14:41:32.000000000 -0400
++++ smalltalk-2.3.2.chg/libffi/src/x86/unix64.S 2007-02-04 23:51:33.000000000 -0400
+@@ -410,3 +410,7 @@ ffi_closure_unix64:
+ .LEFDE3:
+
+ #endif /* __x86_64__ */
++
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.2.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.2.ebuild
new file mode 100644
index 000000000000..3ec862bd78d8
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.2.ebuild,v 1.1 2007/02/05 05:52:09 araujo Exp $
+
+inherit multilib elisp-common flag-o-matic eutils toolchain-funcs
+
+DESCRIPTION="GNU Smalltalk"
+HOMEPAGE="http://www.gnu.org/software/smalltalk/smalltalk.html"
+SRC_URI="http://ftp.gnu.org/gnu/smalltalk/smalltalk-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~sparc ~x86 ~amd64"
+IUSE="tk readline emacs gtk gmp"
+
+DEPEND="sys-libs/gdbm
+ sys-apps/debianutils
+ emacs? ( virtual/emacs )
+ readline? ( sys-libs/readline )
+ tk? ( dev-lang/tk )
+ gtk? ( =x11-libs/gtk+-2* )
+ gmp? ( dev-libs/gmp )"
+RDEPEND=""
+
+S=${WORKDIR}/smalltalk-${PV}
+
+SITEFILE=50gnu-smalltalk-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/gst-stack-${PV}.patch
+ sed -i "s:\$(DESTDIR)\$(bindir)/gst \$\$srcdir/Finish.st \-VisqS \-a \"\$(DESTDIR)\" \$(MODULES): :" ${S}/Makefile.am
+ sed -i "s:\$(DESTDIR)\$(bindir)/gst \$\$srcdir/Finish.st \-VisqS \-a \"\$(DESTDIR)\" \$(MODULES): :" ${S}/Makefile.in
+ # Fix gst-{load, sunit, reload} script paths.
+ sed -i "s: @bindir@:/usr/bin:" ${S}/scripts/Reload.st ${S}/scripts/Load.st ${S}/scripts/Test.st
+}
+
+src_compile() {
+ replace-flags '-O3' '-O2'
+ ./configure --prefix=/usr \
+ `use_with emacs emacs` \
+ `use_with readline readline` \
+ `use_with gmp gmp` \
+ `use_with tk tcl /usr/$(get_libdir)` \
+ `use_with tk tk /usr/$(get_libdir)` \
+ `use_enable gtk gtk` \
+ || die
+ emake || die "emake failed"
+ use emacs && elisp-compile *.el
+}
+
+src_install() {
+ make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info \
+ lispdir=${D}/usr/share/emacs/site-lisp/gnu-smalltalk install \
+ || die
+ rm -rf ${D}/usr/include/sigsegv.h \
+ ${D}/usr/include/snprintfv \
+ ${D}/usr/share/aclocal/snprintfv.m4
+ dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
+ rm -rf ${D}/var
+ if use emacs; then
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ fi
+ fperms 0444 /usr/share/smalltalk/packages.xml
+}
+
+pkg_postinst() {
+ einfo "We generate a GNU SmallTalk Image with the right image kernel path."
+ cd /usr/share/smalltalk/
+ /usr/bin/gst -iQ /dev/null
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}