diff options
author | Luis Francisco Araujo <araujo@gentoo.org> | 2005-08-18 01:56:20 +0000 |
---|---|---|
committer | Luis Francisco Araujo <araujo@gentoo.org> | 2005-08-18 01:56:20 +0000 |
commit | fdaa5c55beddfac27daa204b1ac7e6029a0fb475 (patch) | |
tree | f2aef10cb43f108e1ef1ff812644d8493932605c /dev-lang | |
parent | stabilize (diff) | |
download | historical-fdaa5c55beddfac27daa204b1ac7e6029a0fb475.tar.gz historical-fdaa5c55beddfac27daa204b1ac7e6029a0fb475.tar.bz2 historical-fdaa5c55beddfac27daa204b1ac7e6029a0fb475.zip |
Updated version of GNU SmallTalk.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/gnu-smalltalk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/Manifest | 13 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/2.1.11-gst-image-temp.patch | 47 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.11 | 1 | ||||
-rw-r--r-- | dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.11.ebuild | 79 |
5 files changed, 143 insertions, 6 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog index 7027c36a5df6..939176e71d1e 100644 --- a/dev-lang/gnu-smalltalk/ChangeLog +++ b/dev-lang/gnu-smalltalk/ChangeLog @@ -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.9 2005/05/17 11:36:47 araujo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.10 2005/08/18 01:56:19 araujo Exp $ + +*gnu-smalltalk-2.1.11 (18 Aug 2005) + + 18 Aug 2005; Luis F. Araujo <araujo@gentoo.org> + +files/2.1.11-gst-image-temp.patch, +gnu-smalltalk-2.1.11.ebuild: + Added new version of GNU SmallTalk. Changed some commands to use + ebuilds-scripts 17 May 2005; Luis F. Araujo <araujo@gentoo.org> gnu-smalltalk-2.1.10-r1.ebuild: diff --git a/dev-lang/gnu-smalltalk/Manifest b/dev-lang/gnu-smalltalk/Manifest index 24b28e0aefee..d40e0bb12a52 100644 --- a/dev-lang/gnu-smalltalk/Manifest +++ b/dev-lang/gnu-smalltalk/Manifest @@ -1,16 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 60491f88702af4abd98ff95fb34859aa ChangeLog 1943 +MD5 6fcfa163fb537222437bd4e2d15cd732 ChangeLog 2185 +MD5 c7ba494149444e4482377b378abef710 gnu-smalltalk-2.1.11.ebuild 2186 MD5 54532d9cd3833e3c65d9136f3a1b6458 metadata.xml 630 MD5 9de063f9d87b0c5d76b25ab8cc7fbae4 gnu-smalltalk-2.1.10-r1.ebuild 2259 MD5 3c44219f948e6f4f983ac5225c93a845 files/digest-gnu-smalltalk-2.1.10-r1 69 MD5 1b43b00217fd402ab0f309202f633e46 files/50gnu-smalltalk-gentoo.el 268 +MD5 21a8210b48bb02fc7aad1a7d58bd7c1d files/2.1.11-gst-image-temp.patch 2123 MD5 38985fa85d0e6de68b4ac79a1bb08da7 files/2.1.10-gst-image-temp.patch 2125 +MD5 96390d8b21fc85acdf2e84a2d91c6a66 files/digest-gnu-smalltalk-2.1.11 69 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFCideaBQBy/eDH5uERAne8AKCXr7WQddD8EDhrIYsYFosfpC4g4gCgyqUd -pR9iq9Rj8gzQws0QdAaxCVA= -=dR+K +iD8DBQFDA+sCBQBy/eDH5uERAudmAJ9N5UqNh28qiIGFDltsFK5hoTcB3QCfWFXv +GbBr9t+ORk6EAM4guO4rqPw= +=3Jxm -----END PGP SIGNATURE----- diff --git a/dev-lang/gnu-smalltalk/files/2.1.11-gst-image-temp.patch b/dev-lang/gnu-smalltalk/files/2.1.11-gst-image-temp.patch new file mode 100644 index 000000000000..dbacbd2ff36b --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/2.1.11-gst-image-temp.patch @@ -0,0 +1,47 @@ +diff -urwpN smalltalk-2.1.11/Makefile.am smalltalk-2.1.11.changed/Makefile.am +--- smalltalk-2.1.11/Makefile.am 2005-06-21 10:09:05.000000000 -0400 ++++ smalltalk-2.1.11.changed/Makefile.am 2005-08-16 23:22:42.000000000 -0400 +@@ -59,9 +59,7 @@ gsticon.o: gsticon.ico + echo ProgramIcon ICON `cygpath -w $(srcdir)/gsticon.ico` | windres -o gsticon.o + + gst.im: $(bin_PROGRAMS) kernel/stamp-classes +- SMALLTALK_KERNEL="`cd $(srcdir)/kernel; pwd`" \ +- SMALLTALK_IMAGE="`pwd`" \ +- ./gst -iQ dummy_file ++ SMALLTALK_KERNEL="${D}/usr/share/smalltalk/gst -iQ dummy_file" + + gst-mode.el: gst-mode.el.in + sed "s,@\(bindir\)@,$(bindir)," $(srcdir)/gst-mode.el.in > gst-mode.el +diff -urwpN smalltalk-2.1.11/Makefile.in smalltalk-2.1.11.changed/Makefile.in +--- smalltalk-2.1.11/Makefile.in 2005-06-21 10:51:13.000000000 -0400 ++++ smalltalk-2.1.11.changed/Makefile.in 2005-08-16 23:23:58.000000000 -0400 +@@ -962,9 +962,7 @@ gsticon.o: gsticon.ico + echo ProgramIcon ICON `cygpath -w $(srcdir)/gsticon.ico` | windres -o gsticon.o + + gst.im: $(bin_PROGRAMS) kernel/stamp-classes +- SMALLTALK_KERNEL="`cd $(srcdir)/kernel; pwd`" \ +- SMALLTALK_IMAGE="`pwd`" \ +- ./gst -iQ dummy_file ++ SMALLTALK_KERNEL="${D}/usr/share/smalltalk/gst -iQ dummy_file" + + gst-mode.el: gst-mode.el.in + sed "s,@\(bindir\)@,$(bindir)," $(srcdir)/gst-mode.el.in > gst-mode.el +diff -urwpN smalltalk-2.1.11/gst-package.in smalltalk-2.1.11.changed/gst-package.in +--- smalltalk-2.1.11/gst-package.in 2005-06-21 10:09:17.000000000 -0400 ++++ smalltalk-2.1.11.changed/gst-package.in 2005-08-16 23:25:44.000000000 -0400 +@@ -138,8 +138,13 @@ fi + + echo "Merging $files and $IMAGE_PATH/packages.xml..." + $dry_run || { +- sed -e '$i\' -e '</packages>' -e '/<.packages>/,/<packages>/d' $files > $IMAGE_PATH/packages.tmp +- mv $IMAGE_PATH/packages.tmp $IMAGE_PATH/packages.xml ++ tmpfile=$(mktemp) ++ sed -e '$i\' -e '</packages>' -e '/<.packages>/,/<packages>/d' $files > $tmpfile ++ if [ -n ${EBUILD_PHASE} ]; then ++ mv $tmpfile ${D}/usr/share/smalltalk/packages.xml ++ else ++ mv $tmpfile $IMAGE_PATH/packages.xml ++ fi + } + + diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.11 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.11 new file mode 100644 index 000000000000..6eedb78fc58c --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.11 @@ -0,0 +1 @@ +MD5 169473d38c0ef86dc2ce40d785046840 smalltalk-2.1.11.tar.gz 3334082 diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.11.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.11.ebuild new file mode 100644 index 000000000000..193c8f9ad290 --- /dev/null +++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.11.ebuild @@ -0,0 +1,79 @@ +# 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.11.ebuild,v 1.1 2005/08/18 01:56:19 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} + epatch ${FILESDIR}/${PV}-gst-image-temp.patch + if has_version '>=dev-lang/gnu-smalltalk-2.1.8'; then + einfo "You already have a gnu-smalltalk version installed" + einfo "We set correct values for SMALLTALKIMAGE and SMALLTALKKERNEL during compilation" + sed -i "s:getenv\ (\"SMALLTALK_KERNEL\"):\"${D}/usr/share/smalltalk\":" ${S}/libgst/lib.c + sed -i "s:getenv\ (\"SMALLTALK_IMAGE\"):\"${D}/usr/share/smalltalk\":" ${S}/libgst/lib.c + fi +} + +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' + econf \ + `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 DESTDIR=${D} 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() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |