diff options
author | Luis Francisco Araujo <araujo@gentoo.org> | 2007-09-23 18:31:15 +0000 |
---|---|---|
committer | Luis Francisco Araujo <araujo@gentoo.org> | 2007-09-23 18:31:15 +0000 |
commit | 36891052ffe100b31a7bc4d539dc68a3e379cc03 (patch) | |
tree | 3afaf449bd8274b003eb49f2fcc1ebd162d7ee5e /dev-lang/gnu-smalltalk | |
parent | Keyworded ~amd64 as per bug 191477. (diff) | |
download | gentoo-2-36891052ffe100b31a7bc4d539dc68a3e379cc03.tar.gz gentoo-2-36891052ffe100b31a7bc4d539dc68a3e379cc03.tar.bz2 gentoo-2-36891052ffe100b31a7bc4d539dc68a3e379cc03.zip |
Adding new version.
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-lang/gnu-smalltalk')
-rw-r--r-- | dev-lang/gnu-smalltalk/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.6 | 3 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/gst-stack-2.3.6.patch | 51 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.6.ebuild | 75 |
4 files changed, 136 insertions, 1 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog index 5101117e3838..3cb4334a8ee0 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.30 2007/04/12 20:44:48 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.31 2007/09/23 18:31:15 araujo Exp $ + +*gnu-smalltalk-2.3.6 (23 Sep 2007) + + 23 Sep 2007; Luis F. Araujo <araujo@gentoo.org> + +files/gst-stack-2.3.6.patch, +gnu-smalltalk-2.3.6.ebuild: + Added new version. 12 Apr 2007; <welp@gentoo.org> gnu-smalltalk-2.3.3.ebuild: Multilib fix, stable on amd64 wrt bug 158434 diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.6 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.6 new file mode 100644 index 000000000000..2981f49662b0 --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.6 @@ -0,0 +1,3 @@ +MD5 c2fd207d55a873531ad89750f7f6478e smalltalk-2.3.6.tar.gz 4384839 +RMD160 6604493270a822adcd7d6528a7f87e38aedab435 smalltalk-2.3.6.tar.gz 4384839 +SHA256 03268e0dd8a3edca1dfbc7796aba97df1cbe19de989c7fec67d75db19b43b6ff smalltalk-2.3.6.tar.gz 4384839 diff --git a/dev-lang/gnu-smalltalk/files/gst-stack-2.3.6.patch b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.6.patch new file mode 100644 index 000000000000..dd1f45e14e08 --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.6.patch @@ -0,0 +1,51 @@ +diff -Nurwp smalltalk-2.3.6/libffi/src/powerpc/linux64.S smalltalk-2.3.6.chg/libffi/src/powerpc/linux64.S +--- smalltalk-2.3.6/libffi/src/powerpc/linux64.S 2006-02-05 14:41:31.000000000 -0400 ++++ smalltalk-2.3.6.chg/libffi/src/powerpc/linux64.S 2007-09-23 13:01:40.000000000 -0400 +@@ -175,3 +175,8 @@ ffi_call_LINUX64: + .align 3 + .LEFDE1: + #endif ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",%progbits ++#endif ++ +diff -Nurwp smalltalk-2.3.6/libffi/src/powerpc/sysv.S smalltalk-2.3.6.chg/libffi/src/powerpc/sysv.S +--- smalltalk-2.3.6/libffi/src/powerpc/sysv.S 2006-02-05 14:41:31.000000000 -0400 ++++ smalltalk-2.3.6.chg/libffi/src/powerpc/sysv.S 2007-09-23 13:01:27.000000000 -0400 +@@ -217,3 +217,9 @@ END(ffi_call_SYSV) + .align 2 + .LEFDE1: + #endif ++ ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",%progbits ++#endif ++ +diff -Nurwp smalltalk-2.3.6/libffi/src/x86/sysv.S smalltalk-2.3.6.chg/libffi/src/x86/sysv.S +--- smalltalk-2.3.6/libffi/src/x86/sysv.S 2006-02-05 14:41:32.000000000 -0400 ++++ smalltalk-2.3.6.chg/libffi/src/x86/sysv.S 2007-09-23 13:01:22.000000000 -0400 +@@ -376,3 +376,9 @@ ffi_closure_raw_SYSV: + #endif + + #endif /* ifndef __x86_64__ */ ++ ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",%progbits ++#endif ++ +diff -Nurwp smalltalk-2.3.6/libffi/src/x86/unix64.S smalltalk-2.3.6.chg/libffi/src/x86/unix64.S +--- smalltalk-2.3.6/libffi/src/x86/unix64.S 2006-02-05 14:41:32.000000000 -0400 ++++ smalltalk-2.3.6.chg/libffi/src/x86/unix64.S 2007-09-23 13:01:17.000000000 -0400 +@@ -410,3 +410,9 @@ 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.6.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.6.ebuild new file mode 100644 index 000000000000..2b8dbabde27b --- /dev/null +++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.6.ebuild @@ -0,0 +1,75 @@ +# 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.6.ebuild,v 1.1 2007/09/23 18:31:15 araujo Exp $ + +inherit multilib elisp-common flag-o-matic eutils toolchain-funcs + +DESCRIPTION="GNU Smalltalk" +HOMEPAGE="http://smalltalk.gnu.org" +SRC_URI="http://ftp.gnu.org/gnu/smalltalk/smalltalk-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +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} + # stack patch + 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 +} + +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/lib` \ + `use_with tk tk /usr/lib` \ + `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 \ + libdir=${D}/usr/lib 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 kernel image path." + cd /usr/share/smalltalk/ + /usr/bin/gst -iQ /dev/null + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |