updating gst version
authorLuis Francisco Araujo <araujo@gentoo.org>
Thu, 7 Dec 2006 03:59:47 +0000 (03:59 +0000)
committerLuis Francisco Araujo <araujo@gentoo.org>
Thu, 7 Dec 2006 03:59:47 +0000 (03:59 +0000)
Package-Manager: portage-2.1.2_rc2-r5

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

index 932e9d42e5b30ef5db571786abbeb232933c5e4d..c13f1df9904968c0bece025bce8bd3921e5429cb 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/gnu-smalltalk
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.20 2006/12/01 10:38:55 araujo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.21 2006/12/07 03:59:47 araujo Exp $
+
+*gnu-smalltalk-2.3 (07 Dec 2006)
+
+  07 Dec 2006; Luis F. Araujo <araujo@gentoo.org> +gnu-smalltalk-2.3.ebuild:
+  Updated gnu-smalltalk version
 
   01 Dec 2006; Luis F. Araujo <araujo@gentoo.org>
   gnu-smalltalk-2.1.12.ebuild, gnu-smalltalk-2.2-r1.ebuild:
index bc63a4220cabb34b62072968c7f1016e917bf3f1..5ecad4e1399b12ad64090bab45afc57e858cd33b 100644 (file)
@@ -7,6 +7,7 @@ RMD160 a6d540fa013e0b687137642ef85e188988441629 files/50gnu-smalltalk-gentoo.el
 SHA256 acfa1581fd8871a0a7ab610afbf678ecbfbe1b2c7b844316b96aebf43dd5b141 files/50gnu-smalltalk-gentoo.el 268
 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.tar.gz 4307332 RMD160 242fb43396610ad757fc34e97324e845b91fc7e8 SHA1 02bcbecb829803b5a5b868a0a372b32983516cb2 SHA256 99ca9188eb24b37830985432448b45ea221d8e69754e50128415103fdd0eb4dd
 EBUILD gnu-smalltalk-2.1.12.ebuild 2115 RMD160 9e3238488799ab4b0d783cf51150c1605ec8f1ff SHA1 98b2016d0582d0d8b8871ae7d48aa020cd5ea2b5 SHA256 dc651a8fb4121ece0deff1f70a06982e3dd0c295957f6a2eecbc21e238fb7f73
 MD5 aff3b3ca9c08f81bc08e360c20742968 gnu-smalltalk-2.1.12.ebuild 2115
 RMD160 9e3238488799ab4b0d783cf51150c1605ec8f1ff gnu-smalltalk-2.1.12.ebuild 2115
@@ -15,10 +16,14 @@ EBUILD gnu-smalltalk-2.2-r1.ebuild 2264 RMD160 b2f42d5a46cc3ecec8e6482ca6fc86244
 MD5 4f99d294053451705b850adf68f0c15b gnu-smalltalk-2.2-r1.ebuild 2264
 RMD160 b2f42d5a46cc3ecec8e6482ca6fc86244bf6c4e7 gnu-smalltalk-2.2-r1.ebuild 2264
 SHA256 98e158805a8ec2ca3d66662fd02293adf9ca031cc8f2fe2296f9857941075a93 gnu-smalltalk-2.2-r1.ebuild 2264
-MISC ChangeLog 3746 RMD160 97c5fec8e8c4b182a947ecaf5505ab6cbdfb80c8 SHA1 1c06744da86406263b83ae1c66332f91e959179c SHA256 0f80ac8f6b1c776d7f6d9f79361c187be39ebfd691a607b7b39f02403a448146
-MD5 d53159200e592cab76f4dc5de3368823 ChangeLog 3746
-RMD160 97c5fec8e8c4b182a947ecaf5505ab6cbdfb80c8 ChangeLog 3746
-SHA256 0f80ac8f6b1c776d7f6d9f79361c187be39ebfd691a607b7b39f02403a448146 ChangeLog 3746
+EBUILD gnu-smalltalk-2.3.ebuild 2261 RMD160 51fee5e88a9d190c8206270dca692fe58be91829 SHA1 f3246e0550603a87d3a3feb5af1a3efc4fd25639 SHA256 5269a8a43899c9e6bd0b67d60b71a81b4e78a6602592cae9ba745449426127ee
+MD5 a6ac8373e5fae8970bde35595626bfd6 gnu-smalltalk-2.3.ebuild 2261
+RMD160 51fee5e88a9d190c8206270dca692fe58be91829 gnu-smalltalk-2.3.ebuild 2261
+SHA256 5269a8a43899c9e6bd0b67d60b71a81b4e78a6602592cae9ba745449426127ee gnu-smalltalk-2.3.ebuild 2261
+MISC ChangeLog 3890 RMD160 8edba68403377cca5900e1af44d8865148182d52 SHA1 6047a9783322bb8ecf4ac668feb6c066e9f703f7 SHA256 a6bd75081a2f74d0e6ccb4dd4a199a12cf78ec5aea46458e7311e8debd80dbf9
+MD5 20dce8378203842028f61a17f4e54f91 ChangeLog 3890
+RMD160 8edba68403377cca5900e1af44d8865148182d52 ChangeLog 3890
+SHA256 a6bd75081a2f74d0e6ccb4dd4a199a12cf78ec5aea46458e7311e8debd80dbf9 ChangeLog 3890
 MISC metadata.xml 630 RMD160 f51286089e8b1f0d99e5f00325337e58c1fe10b2 SHA1 be3f644621404755facf742dca21512ea4b3a20f SHA256 d8667ecc9a1b85b467360efa352f537768c01397a08db13c39b8368917de58cb
 MD5 54532d9cd3833e3c65d9136f3a1b6458 metadata.xml 630
 RMD160 f51286089e8b1f0d99e5f00325337e58c1fe10b2 metadata.xml 630
@@ -29,10 +34,13 @@ SHA256 44a6ca3e2d0937d9b0097aa23ace1913bb763e8b52a221690a28b6e84041a592 files/di
 MD5 22a9649331410adddef155478d1aa38b files/digest-gnu-smalltalk-2.2-r1 244
 RMD160 0a4dd5afa2fcbfca7fdd833008c57c28dcc70597 files/digest-gnu-smalltalk-2.2-r1 244
 SHA256 47ef6d56bad23943ca4b256f46c3b15ef6632b84bea5fdda553e03aedd009320 files/digest-gnu-smalltalk-2.2-r1 244
+MD5 267df6dd64981da7b504bf15f899f463 files/digest-gnu-smalltalk-2.3 244
+RMD160 b0372f053179c9c85aaa412cb7a3017b5ced2982 files/digest-gnu-smalltalk-2.3 244
+SHA256 37587fd4f258821175b4fc162574710bf26ba7b6d1fb5057c75d5a3c57ff1ff1 files/digest-gnu-smalltalk-2.3 244
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFcAYKaTNpke9pJcURApX0AJ9GOlUBSQLzqGqwTIOnQocIFDcdxQCcDjZB
-T6YPj81Xlhc5Hanefvbn1Co=
-=9Kms
+iD8DBQFFd5FgaTNpke9pJcURAvYPAJ9zmUjnOs+VhSjrJ0z34vN1VjtF8QCePTIF
+1p5tcW/ix01j06IIR40Zy08=
+=ZSKL
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3
new file mode 100644 (file)
index 0000000..a7a7026
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a75165ba9f0f50e24fa2160848e12269 smalltalk-2.3.tar.gz 4307332
+RMD160 242fb43396610ad757fc34e97324e845b91fc7e8 smalltalk-2.3.tar.gz 4307332
+SHA256 99ca9188eb24b37830985432448b45ea221d8e69754e50128415103fdd0eb4dd smalltalk-2.3.tar.gz 4307332
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.ebuild
new file mode 100644 (file)
index 0000000..0293d47
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2006 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.ebuild,v 1.1 2006/12/07 03:59:47 araujo Exp $
+
+inherit 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}
+       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/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 install \
+               || die
+       rm -rf ${D}/usr/include/sigsegv.h \
+               ${D}/usr/include/snprintfv \
+               ${D}/usr/share/aclocal/snprintfv.m4
+       dodoc AUTHORS COPYING* ChangeLog NEWS PATCHES 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
+}