Adding new version of GST.
authorLuis Francisco Araujo <araujo@gentoo.org>
Mon, 5 Sep 2005 19:40:52 +0000 (19:40 +0000)
committerLuis Francisco Araujo <araujo@gentoo.org>
Mon, 5 Sep 2005 19:40:52 +0000 (19:40 +0000)
Package-Manager: portage-2.0.51.22-r2

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

index 759e32923fbc70f6f3fdeb2da7d895e05538cda2..c01ab36f3a9aedeef0de4e979bdfe27568ee94ed 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for dev-lang/gnu-smalltalk
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.11 2005/08/22 18:30:04 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.12 2005/09/05 19:40:52 araujo Exp $
+
+*gnu-smalltalk-2.1.12 (05 Sep 2005)
+
+  05 Sep 2005; Luis F. Araujo <araujo@gentoo.org>
+  +gnu-smalltalk-2.1.12.ebuild:
+  Added new version of GST. Many bugs fixed in the package and the ebuild.
+  (proper amd64 support now, recreate an image with the right kernel path).
 
   22 Aug 2005; Ferris McCormick <fmccor@gentoo.org>
   gnu-smalltalk-2.1.11.ebuild:
index 265bd6222833924343813217237c1901e48ce4ea..404f9ebd064958d6006b2e93725003f22d6f945a 100644 (file)
@@ -1,16 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 2d25e6ce89e49bcd12c8ae9b4b6d2c79 ChangeLog 2383
+MD5 a84a6314814e99bf28e00d7e4c1c8085 ChangeLog 2654
 MD5 4e2c598e8cb4ff972704246ffa0af579 gnu-smalltalk-2.1.11.ebuild 2193
 MD5 54532d9cd3833e3c65d9136f3a1b6458 metadata.xml 630
+MD5 a7020ab27d5f56caef00aeb10a67c12d gnu-smalltalk-2.1.12.ebuild 2192
+MD5 4335632b4c5c11b3d8d38f821befc042 files/digest-gnu-smalltalk-2.1.12 69
 MD5 1b43b00217fd402ab0f309202f633e46 files/50gnu-smalltalk-gentoo.el 268
 MD5 21a8210b48bb02fc7aad1a7d58bd7c1d files/2.1.11-gst-image-temp.patch 2123
 MD5 96390d8b21fc85acdf2e84a2d91c6a66 files/digest-gnu-smalltalk-2.1.11 69
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDGz3qBQBy/eDH5uERAhqsAKDOzaoqtizxpgRo0sqfQzaLEDYmCACdGAqw
-7hEcwnxqAbmGp/453EmAUgM=
-=ePGr
+iD8DBQFDHJ9yBQBy/eDH5uERAqBbAKCC5q6uQkuBfPKOsQCDnL1YheFuLACgovTs
+FJg0bpHXOag2QV4qv3CI80Y=
+=wBHD
 -----END PGP SIGNATURE-----
diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.12 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.12
new file mode 100644 (file)
index 0000000..2769649
--- /dev/null
@@ -0,0 +1 @@
+MD5 209219aea25b11d516256f24af97e5ad smalltalk-2.1.12.tar.gz 3336852
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.12.ebuild
new file mode 100644 (file)
index 0000000..ea29619
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2005 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.1.12.ebuild,v 1.1 2005/09/05 19:40:52 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="~x86"
+IUSE="tcltk readline emacs gtk gmp"
+
+DEPEND="sys-libs/gdbm
+       sys-apps/debianutils
+       emacs? ( virtual/emacs )
+       readline? ( sys-libs/readline )
+       tcltk? ( dev-lang/tcl 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
+}
+
+src_compile() {
+       local myconf=""
+       if use tcltk; then
+               myconf="
+               `use_with tcltk tcl=/usr/lib` \
+               `use_with tcltk tk=/usr/lib`"
+       fi
+       replace-flags '-O3' '-O2'
+       ./configure --prefix=/usr \
+               `use_with emacs emacs` \
+               `use_with readline readline` \
+               `use_with gmp gmp` \
+               `use_enable gtk gtk` \
+               ${myconf} \
+               || 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 dummy
+       use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+       use emacs && elisp-site-regen
+}