New package version. This version fixes bug #158434
authorLuis Francisco Araujo <araujo@gentoo.org>
Thu, 22 Feb 2007 09:38:34 +0000 (09:38 +0000)
committerLuis Francisco Araujo <araujo@gentoo.org>
Thu, 22 Feb 2007 09:38:34 +0000 (09:38 +0000)
Package-Manager: portage-2.1.2-r10

dev-lang/gnu-smalltalk/ChangeLog
dev-lang/gnu-smalltalk/Manifest
dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.3 [new file with mode: 0644]
dev-lang/gnu-smalltalk/files/gst-stack-2.3.3.patch [new file with mode: 0644]
dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.3.ebuild [new file with mode: 0644]

index 90dacf0b1747f3c8eeb2673b8c1a69f6a2b0a907..e636a992cdd498f463c38c20ade89d66a1ea30c1 100644 (file)
@@ -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.26 2007/02/05 05:52:09 araujo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.27 2007/02/22 09:38:34 araujo Exp $
+
+*gnu-smalltalk-2.3.3 (22 Feb 2007)
+
+  22 Feb 2007; Luis F. Araujo <araujo@gentoo.org>
+  +files/gst-stack-2.3.3.patch, +gnu-smalltalk-2.3.3.ebuild:
+  New package version. This version fixes bug #158434
 
 *gnu-smalltalk-2.3.2 (05 Feb 2007)
 
index 6bc43fb68488b0255a0746fb479c411629bf33e6..a41747de95b6a07da06115f063311e548e31a9e9 100644 (file)
@@ -13,10 +13,15 @@ AUX gst-stack-2.3.2.patch 1621 RMD160 a77be43d6857aef6c4ccf27e7162065411d8e806 S
 MD5 8256cb9d278832de0bb6f23c3185044a files/gst-stack-2.3.2.patch 1621
 RMD160 a77be43d6857aef6c4ccf27e7162065411d8e806 files/gst-stack-2.3.2.patch 1621
 SHA256 2c9e8aba6445a7610990193c3aa77cd92e90e1e0e549e3571fff5283d8ff5153 files/gst-stack-2.3.2.patch 1621
+AUX gst-stack-2.3.3.patch 1621 RMD160 6e2510446d4b4dc4187d1168b4c2ba02777adcc3 SHA1 211711fe49ea0c5c8228a9b740bf2dd29a8133ba SHA256 8826c9169eb50a7bfe789366bf3b65a8416af182da8c04621cb05efe82a07311
+MD5 908b15decccceb08383995cb5defc7d5 files/gst-stack-2.3.3.patch 1621
+RMD160 6e2510446d4b4dc4187d1168b4c2ba02777adcc3 files/gst-stack-2.3.3.patch 1621
+SHA256 8826c9169eb50a7bfe789366bf3b65a8416af182da8c04621cb05efe82a07311 files/gst-stack-2.3.3.patch 1621
 DIST smalltalk-2.1.12.tar.gz 3336852 RMD160 2ede388e0ce5e463b00f24a23b3c9f423729f2fa SHA1 1945f1b622d8e533ccf4ee21117e33c9f76b1907 SHA256 4201a9803036c12b8e7d0432c418ee0f778f7e93130d36f4f4b6a3f68d3183a0
 DIST smalltalk-2.2.tar.gz 4187113 RMD160 ed517e0cf3ba4cbedfdfc7f9e59e9bf8dc59b790 SHA1 82e5c7d062878700d38913a34b85079efa1c22b7 SHA256 ca134253f45bf5e3f34113c8d2a677f7733c464e2c3d75316f05e1d1437541b0
 DIST smalltalk-2.3.1.tar.gz 4298106 RMD160 df7725d6fbd06862ada03ad35fe17411ac721554 SHA1 672179b573298aa310b86ba24ec7de1808d17d1d SHA256 f548425d884bdaf9ed457be243bcc836abef5a2f35ee37d930ba32c198c762ce
 DIST smalltalk-2.3.2.tar.gz 4300624 RMD160 b2c210b4a1ec47370b7e4a69462ca37159931e12 SHA1 561164d4d96bcf86764a4e602b8c185abe145259 SHA256 8011a1404ec286d770c932eeba8cafcd00949567d44b44ae9821395018dc7431
+DIST smalltalk-2.3.3.tar.gz 4302098 RMD160 c6773820e439e74d5e92d903c610a674f55a6f27 SHA1 d9ecd8dd47af254254e44d9f5a8563edb9abb4c2 SHA256 5b6adfd3ec265b9156d2d6f9ffb1d6b5044b5f5e8a43645bcd005580bb2e329d
 EBUILD gnu-smalltalk-2.1.12.ebuild 2144 RMD160 2a267fa967e4e5b4a4d51567673817c7d6d351c6 SHA1 9889dcd2f7140024b2bde7b0fa236ed66e275772 SHA256 cbb9c5a0fee1c8141632abb21a7caeaad5896688230de5deed7e36983a47504f
 MD5 c8e2187f42896ec0c274d0fb5d903501 gnu-smalltalk-2.1.12.ebuild 2144
 RMD160 2a267fa967e4e5b4a4d51567673817c7d6d351c6 gnu-smalltalk-2.1.12.ebuild 2144
@@ -33,10 +38,14 @@ EBUILD gnu-smalltalk-2.3.2.ebuild 2326 RMD160 9504ad5e62eaf9a93ccee29a2c1d07c9f2
 MD5 b9eebf3e3b4197480bbe3f7b3657048a gnu-smalltalk-2.3.2.ebuild 2326
 RMD160 9504ad5e62eaf9a93ccee29a2c1d07c9f2f26295 gnu-smalltalk-2.3.2.ebuild 2326
 SHA256 c1245123aca3126ac64d58cc8b961772427ca629938514cc33e24806fb97219e gnu-smalltalk-2.3.2.ebuild 2326
-MISC ChangeLog 4693 RMD160 b3df4c4feb8625d780d82e0ed2c1bace33edf6f9 SHA1 9ec4a23c3c4518b23799a31002e03a5a99aec973 SHA256 7ad59cbb7a32db68866397ff7f5f0219dd47d8058710fec82a0816e53a26b666
-MD5 306a080c486433d1fc178611bf30fa66 ChangeLog 4693
-RMD160 b3df4c4feb8625d780d82e0ed2c1bace33edf6f9 ChangeLog 4693
-SHA256 7ad59cbb7a32db68866397ff7f5f0219dd47d8058710fec82a0816e53a26b666 ChangeLog 4693
+EBUILD gnu-smalltalk-2.3.3.ebuild 2326 RMD160 802e5b21fc839890089c0555e0a080b77b3c5b8f SHA1 b9b797522133d38d16c1aa0a0f47a48317815eb4 SHA256 e47103a5aa53bf55ffe9a5dc5d004813a21aae798d36dfb9ff2f342b1009068f
+MD5 6917ed641fee039acbc475eba0969daa gnu-smalltalk-2.3.3.ebuild 2326
+RMD160 802e5b21fc839890089c0555e0a080b77b3c5b8f gnu-smalltalk-2.3.3.ebuild 2326
+SHA256 e47103a5aa53bf55ffe9a5dc5d004813a21aae798d36dfb9ff2f342b1009068f gnu-smalltalk-2.3.3.ebuild 2326
+MISC ChangeLog 4895 RMD160 b127f839b42cf5ea9c98ddb69aa254d047277fc8 SHA1 95206fb614b4d49bafac1990bd6c0dc57af5c89a SHA256 7b489cf83468f987fdd9e90c21c910f1ca00c6d0cb102fd78a503073044c4897
+MD5 1e074918496a9b7aff6e3d3a0d740959 ChangeLog 4895
+RMD160 b127f839b42cf5ea9c98ddb69aa254d047277fc8 ChangeLog 4895
+SHA256 7b489cf83468f987fdd9e90c21c910f1ca00c6d0cb102fd78a503073044c4897 ChangeLog 4895
 MISC metadata.xml 630 RMD160 f51286089e8b1f0d99e5f00325337e58c1fe10b2 SHA1 be3f644621404755facf742dca21512ea4b3a20f SHA256 d8667ecc9a1b85b467360efa352f537768c01397a08db13c39b8368917de58cb
 MD5 54532d9cd3833e3c65d9136f3a1b6458 metadata.xml 630
 RMD160 f51286089e8b1f0d99e5f00325337e58c1fe10b2 metadata.xml 630
@@ -53,10 +62,13 @@ SHA256 6dd3db12845f73a65fd9e871a3922e4db4d3f15a36ba1c5ce7005f27ed1b487f files/di
 MD5 89d3973c72e161b00b78864a2beb9aa8 files/digest-gnu-smalltalk-2.3.2 250
 RMD160 f374b1338d52c659e4ca3483de936a3e746c57c7 files/digest-gnu-smalltalk-2.3.2 250
 SHA256 4ae2a87eb570cb3af9bee39f72f77b095d8aea7a84c1521944bc339070c09dd4 files/digest-gnu-smalltalk-2.3.2 250
+MD5 abd9c429945fb876402cc54109dd89ab files/digest-gnu-smalltalk-2.3.3 250
+RMD160 d3ae059602b49e62c001918d98ef3ca6a3037b45 files/digest-gnu-smalltalk-2.3.3 250
+SHA256 f2fdeb21c1ef874f54089b78916b5635d53ffe6c70cb0c9715448a348f671db0 files/digest-gnu-smalltalk-2.3.3 250
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFFxsV/aTNpke9pJcURAmjwAJ4+F6d1MlvH8kda29Y575tUojWqJACfWKu7
-qaS6Z1sR0EuUzkuUmMVlH8s=
-=5lUp
+iD8DBQFF3WQBaTNpke9pJcURAlA5AJ9ouBAYNfhfNFlFllMYaslcN2HVrgCfY78Z
+3UgvLou+/zpdhiuDMAdQVmg=
+=lAii
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.3 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.3
new file mode 100644 (file)
index 0000000..3ba15e4
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 79eaff2e19b82b5da08ac5a939317a49 smalltalk-2.3.3.tar.gz 4302098
+RMD160 c6773820e439e74d5e92d903c610a674f55a6f27 smalltalk-2.3.3.tar.gz 4302098
+SHA256 5b6adfd3ec265b9156d2d6f9ffb1d6b5044b5f5e8a43645bcd005580bb2e329d smalltalk-2.3.3.tar.gz 4302098
diff --git a/dev-lang/gnu-smalltalk/files/gst-stack-2.3.3.patch b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.3.patch
new file mode 100644 (file)
index 0000000..703bf77
--- /dev/null
@@ -0,0 +1,44 @@
+diff -urpNw smalltalk-2.3.3/libffi/src/powerpc/linux64.S smalltalk-2.3.3.chg/libffi/src/powerpc/linux64.S
+--- smalltalk-2.3.3/libffi/src/powerpc/linux64.S       2006-02-05 14:41:31.000000000 -0400
++++ smalltalk-2.3.3.chg/libffi/src/powerpc/linux64.S   2007-02-22 04:28:59.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.3/libffi/src/powerpc/sysv.S smalltalk-2.3.3.chg/libffi/src/powerpc/sysv.S
+--- smalltalk-2.3.3/libffi/src/powerpc/sysv.S  2006-02-05 14:41:31.000000000 -0400
++++ smalltalk-2.3.3.chg/libffi/src/powerpc/sysv.S      2007-02-22 04:29:32.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.3/libffi/src/x86/sysv.S smalltalk-2.3.3.chg/libffi/src/x86/sysv.S
+--- smalltalk-2.3.3/libffi/src/x86/sysv.S      2006-02-05 14:41:32.000000000 -0400
++++ smalltalk-2.3.3.chg/libffi/src/x86/sysv.S  2007-02-22 04:30:32.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.3/libffi/src/x86/unix64.S smalltalk-2.3.3.chg/libffi/src/x86/unix64.S
+--- smalltalk-2.3.3/libffi/src/x86/unix64.S    2006-02-05 14:41:32.000000000 -0400
++++ smalltalk-2.3.3.chg/libffi/src/x86/unix64.S        2007-02-22 04:30:24.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.3.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.3.ebuild
new file mode 100644 (file)
index 0000000..ecdd1bf
--- /dev/null
@@ -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.3.ebuild,v 1.1 2007/02/22 09:38:34 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
+}