From 8fec1d9d73a76f2f39e3a94cc0089836e1ffc5a8 Mon Sep 17 00:00:00 2001 From: Luis Francisco Araujo Date: Mon, 18 Dec 2006 08:30:17 +0000 Subject: [PATCH] Adding new gnu-smalltalk version. Package-Manager: portage-2.1.2_rc3-r6 --- dev-lang/gnu-smalltalk/ChangeLog | 8 +- dev-lang/gnu-smalltalk/Manifest | 28 +++++-- .../files/digest-gnu-smalltalk-2.3.1 | 3 + .../gnu-smalltalk/files/gst-stack-2.3.1.patch | 22 ++++++ .../gnu-smalltalk/gnu-smalltalk-2.3.1.ebuild | 76 +++++++++++++++++++ 5 files changed, 128 insertions(+), 9 deletions(-) create mode 100644 dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.1 create mode 100644 dev-lang/gnu-smalltalk/files/gst-stack-2.3.1.patch create mode 100644 dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.1.ebuild diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog index ec9b7dcf64d6..4f5630ec7471 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.22 2006/12/08 23:04:00 araujo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.23 2006/12/18 08:30:17 araujo Exp $ + +*gnu-smalltalk-2.3.1 (18 Dec 2006) + + 18 Dec 2006; Luis F. Araujo + +files/gst-stack-2.3.1.patch, +gnu-smalltalk-2.3.1.ebuild: + Adding new version. Stack patched included. 08 Dec 2006; Luis F. Araujo gnu-smalltalk-2.1.12.ebuild, gnu-smalltalk-2.2-r1.ebuild, diff --git a/dev-lang/gnu-smalltalk/Manifest b/dev-lang/gnu-smalltalk/Manifest index 3b980d92b884..7b59d81686c4 100644 --- a/dev-lang/gnu-smalltalk/Manifest +++ b/dev-lang/gnu-smalltalk/Manifest @@ -5,8 +5,13 @@ AUX 50gnu-smalltalk-gentoo.el 268 RMD160 a6d540fa013e0b687137642ef85e18898844162 MD5 1b43b00217fd402ab0f309202f633e46 files/50gnu-smalltalk-gentoo.el 268 RMD160 a6d540fa013e0b687137642ef85e188988441629 files/50gnu-smalltalk-gentoo.el 268 SHA256 acfa1581fd8871a0a7ab610afbf678ecbfbe1b2c7b844316b96aebf43dd5b141 files/50gnu-smalltalk-gentoo.el 268 +AUX gst-stack-2.3.1.patch 803 RMD160 9cb55ca9e966cf28e8105da0e22d9d2eecd45d6d SHA1 f42ac9d353a4dac9e19ba0f99229c09a9c1b0688 SHA256 800cd3842dabe7fa66615e71128e5ee9ad63ced736561bd69cf1adae96f7b226 +MD5 d07430204d0313df222cb2b044b9cac6 files/gst-stack-2.3.1.patch 803 +RMD160 9cb55ca9e966cf28e8105da0e22d9d2eecd45d6d files/gst-stack-2.3.1.patch 803 +SHA256 800cd3842dabe7fa66615e71128e5ee9ad63ced736561bd69cf1adae96f7b226 files/gst-stack-2.3.1.patch 803 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.tar.gz 4307332 RMD160 242fb43396610ad757fc34e97324e845b91fc7e8 SHA1 02bcbecb829803b5a5b868a0a372b32983516cb2 SHA256 99ca9188eb24b37830985432448b45ea221d8e69754e50128415103fdd0eb4dd EBUILD gnu-smalltalk-2.1.12.ebuild 2115 RMD160 ea4ace0f9474cf6b628c53d3b80c7b570d572b8f SHA1 c9e86d1cb6336a5da06a1ce3979c3dbc5b5f8542 SHA256 eccc678fabd9aeaa9c774f3905796bbe37c6e82441cd70f6481f1b1e6e1f6dfb MD5 2f7f4967575fc57a9d05c33ec963fcc8 gnu-smalltalk-2.1.12.ebuild 2115 @@ -16,14 +21,18 @@ EBUILD gnu-smalltalk-2.2-r1.ebuild 2264 RMD160 4382360d3384a262829acf9537cb2bd9a MD5 b09f7a515f955532e50e4596711258bc gnu-smalltalk-2.2-r1.ebuild 2264 RMD160 4382360d3384a262829acf9537cb2bd9a1e89851 gnu-smalltalk-2.2-r1.ebuild 2264 SHA256 6eb5d141d1062564998ce15df41b8a3db3a8b0d631624bc2a33ba26047186313 gnu-smalltalk-2.2-r1.ebuild 2264 +EBUILD gnu-smalltalk-2.3.1.ebuild 2305 RMD160 70b5f29f8736aa3172315e964fda2ed408bc810a SHA1 2f6a5f00a2de0dd33bf2dff0c706f978fb73ca12 SHA256 58ed8e9dc24bce1a55563eb743518f117bf3398a3a6bc8c8a50ee68ec67f5c3e +MD5 7132b645f13c13fbd93bf7f069a49e8c gnu-smalltalk-2.3.1.ebuild 2305 +RMD160 70b5f29f8736aa3172315e964fda2ed408bc810a gnu-smalltalk-2.3.1.ebuild 2305 +SHA256 58ed8e9dc24bce1a55563eb743518f117bf3398a3a6bc8c8a50ee68ec67f5c3e gnu-smalltalk-2.3.1.ebuild 2305 EBUILD gnu-smalltalk-2.3.ebuild 2261 RMD160 e63f5802ccc11710d39c122afad830ace814a77b SHA1 666d57022ee8b9212226889553996427a68c2c45 SHA256 e5def95a659ba34c07540d2a13afd8480f6c62b5fa7ce1c8e3ce03a767a512bd MD5 d283ed992b3591cbfcd4b2e1e825b166 gnu-smalltalk-2.3.ebuild 2261 RMD160 e63f5802ccc11710d39c122afad830ace814a77b gnu-smalltalk-2.3.ebuild 2261 SHA256 e5def95a659ba34c07540d2a13afd8480f6c62b5fa7ce1c8e3ce03a767a512bd gnu-smalltalk-2.3.ebuild 2261 -MISC ChangeLog 4056 RMD160 fdcd07ee81b3d8a2eea72736e7247a853af9bf89 SHA1 5c4acf79f4bf222faece786a7b743610c1e4583e SHA256 dc2ca57f8dff78b335478852e7d96b9c33e9ef279e1ba3d90cccff691a6f0657 -MD5 3ad8b902ca0cd146531ef30439c7c34e ChangeLog 4056 -RMD160 fdcd07ee81b3d8a2eea72736e7247a853af9bf89 ChangeLog 4056 -SHA256 dc2ca57f8dff78b335478852e7d96b9c33e9ef279e1ba3d90cccff691a6f0657 ChangeLog 4056 +MISC ChangeLog 4250 RMD160 2c5f329b559976cd56fd7b985d5b410653cdcb53 SHA1 7edd805d028be07692f233a7bfbd7a108d9a62e0 SHA256 cd92b023ab050227f2f26afb7f26b8a42de895a6089180d8d1ce3e74ccd5dbe4 +MD5 00a9286b1957136f20ed15a5a979a79e ChangeLog 4250 +RMD160 2c5f329b559976cd56fd7b985d5b410653cdcb53 ChangeLog 4250 +SHA256 cd92b023ab050227f2f26afb7f26b8a42de895a6089180d8d1ce3e74ccd5dbe4 ChangeLog 4250 MISC metadata.xml 630 RMD160 f51286089e8b1f0d99e5f00325337e58c1fe10b2 SHA1 be3f644621404755facf742dca21512ea4b3a20f SHA256 d8667ecc9a1b85b467360efa352f537768c01397a08db13c39b8368917de58cb MD5 54532d9cd3833e3c65d9136f3a1b6458 metadata.xml 630 RMD160 f51286089e8b1f0d99e5f00325337e58c1fe10b2 metadata.xml 630 @@ -37,10 +46,13 @@ SHA256 47ef6d56bad23943ca4b256f46c3b15ef6632b84bea5fdda553e03aedd009320 files/di 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 +MD5 d927e7b04845f2f543534c02547e3090 files/digest-gnu-smalltalk-2.3.1 250 +RMD160 93e363eed54594ab6e0d98ee828eb9dc29fa8d55 files/digest-gnu-smalltalk-2.3.1 250 +SHA256 6dd3db12845f73a65fd9e871a3922e4db4d3f15a36ba1c5ce7005f27ed1b487f files/digest-gnu-smalltalk-2.3.1 250 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFee8SaTNpke9pJcURAtcRAJ9HvmrviPe8rbr7mNyjxucmV/jHmwCfZsKV -SXqmoeNuzT+eM2/p5K+bkKo= -=IzQ9 +iD8DBQFFhlE+aTNpke9pJcURAkPdAJ48P+CAotv4VKEFtBOTq2TWI2LKpQCfV97O +aFxcvMJFdh7qmgWt4dmLFm0= +=K1vS -----END PGP SIGNATURE----- diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.1 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.1 new file mode 100644 index 000000000000..d3a78f44dd5a --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.3.1 @@ -0,0 +1,3 @@ +MD5 42bd6adc7c84c2d6ca3e6086cb913334 smalltalk-2.3.1.tar.gz 4298106 +RMD160 df7725d6fbd06862ada03ad35fe17411ac721554 smalltalk-2.3.1.tar.gz 4298106 +SHA256 f548425d884bdaf9ed457be243bcc836abef5a2f35ee37d930ba32c198c762ce smalltalk-2.3.1.tar.gz 4298106 diff --git a/dev-lang/gnu-smalltalk/files/gst-stack-2.3.1.patch b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.1.patch new file mode 100644 index 000000000000..bcbfdda092d4 --- /dev/null +++ b/dev-lang/gnu-smalltalk/files/gst-stack-2.3.1.patch @@ -0,0 +1,22 @@ +diff -urpwN smalltalk-2.3.1/libffi/src/x86/sysv.S smalltalk-2.3.1.chg/libffi/src/x86/sysv.S +--- smalltalk-2.3.1/libffi/src/x86/sysv.S 2006-02-05 14:41:32.000000000 -0400 ++++ smalltalk-2.3.1.chg/libffi/src/x86/sysv.S 2006-12-16 05:32:04.000000000 -0400 +@@ -376,3 +376,7 @@ ffi_closure_raw_SYSV: + #endif + + #endif /* ifndef __x86_64__ */ ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",%progbits ++#endif +diff -urpwN smalltalk-2.3.1/libffi/src/x86/unix64.S smalltalk-2.3.1.chg/libffi/src/x86/unix64.S +--- smalltalk-2.3.1/libffi/src/x86/unix64.S 2006-02-05 14:41:32.000000000 -0400 ++++ smalltalk-2.3.1.chg/libffi/src/x86/unix64.S 2006-12-16 05:32:12.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.1.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.1.ebuild new file mode 100644 index 000000000000..4995c573eb96 --- /dev/null +++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.3.1.ebuild @@ -0,0 +1,76 @@ +# 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.1.ebuild,v 1.1 2006/12/18 08:30:17 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} + 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/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 +} -- 2.26.2