diff options
author | 2006-03-07 11:21:17 +0000 | |
---|---|---|
committer | 2006-03-07 11:21:17 +0000 | |
commit | 1c585f7562d42cb9ee8a14d1ade025be3b863cfa (patch) | |
tree | e335c32015769c1326974a01417aba46f7aaf2d0 /dev-lang/squeak | |
parent | Add maintainer-needed metadata. Drop redundant src_compile. (diff) | |
download | historical-1c585f7562d42cb9ee8a14d1ade025be3b863cfa.tar.gz historical-1c585f7562d42cb9ee8a14d1ade025be3b863cfa.tar.bz2 historical-1c585f7562d42cb9ee8a14d1ade025be3b863cfa.zip |
Adding latest stable version of Squeak. Porting all of the ebuilds to modular X. Removing the first two unmaintained versions.
Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'dev-lang/squeak')
-rw-r--r-- | dev-lang/squeak/ChangeLog | 15 | ||||
-rw-r--r-- | dev-lang/squeak/Manifest | 54 | ||||
-rw-r--r-- | dev-lang/squeak/files/digest-squeak-3.2.5 | 1 | ||||
-rw-r--r-- | dev-lang/squeak/files/digest-squeak-3.4.1 | 1 | ||||
-rw-r--r-- | dev-lang/squeak/files/digest-squeak-3.4.1-r1 | 2 | ||||
-rw-r--r-- | dev-lang/squeak/files/digest-squeak-3.4.1-r2 | 2 | ||||
-rw-r--r-- | dev-lang/squeak/files/digest-squeak-3.6_p3 | 2 | ||||
-rw-r--r-- | dev-lang/squeak/files/digest-squeak-3.7.7 | 3 | ||||
-rw-r--r-- | dev-lang/squeak/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-3.2.5.ebuild | 107 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-3.4.1-r1.ebuild | 14 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-3.4.1-r2.ebuild | 15 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-3.4.1.ebuild | 112 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-3.6_p3.ebuild | 11 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-3.7.7.ebuild | 61 |
15 files changed, 159 insertions, 255 deletions
diff --git a/dev-lang/squeak/ChangeLog b/dev-lang/squeak/ChangeLog index 35fd75148283..59749f2f197c 100644 --- a/dev-lang/squeak/ChangeLog +++ b/dev-lang/squeak/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for dev-lang/squeak -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.14 2004/07/02 04:31:41 eradicator Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.15 2006/03/07 11:21:17 araujo Exp $ + + 07 Mar 2006; Luis F. Araujo <araujo@gentoo.org> metadata.xml, + -squeak-3.2.5.ebuild, -squeak-3.4.1.ebuild, squeak-3.4.1-r1.ebuild, + squeak-3.4.1-r2.ebuild, squeak-3.6_p3.ebuild, +squeak-3.7.7.ebuild: + Porting all of the ebuilds to modular X. + +*squeak-3.7.7 (07 Mar 2006) + + 07 Mar 2006; Luis F. Araujo <araujo@gentoo.org> metadata.xml, + +squeak-3.7.7.ebuild: + Updating Squeak VM to latest stable version. 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> squeak-3.2.5.ebuild, squeak-3.4.1-r1.ebuild, squeak-3.4.1-r2.ebuild, squeak-3.4.1.ebuild, diff --git a/dev-lang/squeak/Manifest b/dev-lang/squeak/Manifest index c6890303ca50..31ef67533ea5 100644 --- a/dev-lang/squeak/Manifest +++ b/dev-lang/squeak/Manifest @@ -1,13 +1,43 @@ -MD5 fb57fcde44357bb4419fe1f935e60db0 squeak-3.2.5.ebuild 2883 -MD5 ae2ed21696810355735fa19e142a8728 squeak-3.6_p3.ebuild 2289 -MD5 089c45d3dac7d6205be11ce05c159b2a squeak-3.4.1.ebuild 2967 -MD5 2a6a1bed5b4c6febe9ad64acf71ed652 squeak-3.4.1-r1.ebuild 3310 -MD5 628d3dac9297f90b3325815bec25ecdc ChangeLog 2230 -MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -MD5 ececbbb7977edaa44dd1d5479b6c6327 squeak-3.4.1-r2.ebuild 3578 -MD5 66b6405c56a2abd2413db79bfc04f71a files/digest-squeak-3.6_p3 137 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 0e938a099e336829e61dc8dd3d7cc6dc ChangeLog 2639 +RMD160 092ff1d66cb55be690f764b622c3b2925d713b98 ChangeLog 2639 +SHA256 1eef8a1ae398e56e2f5477a946d6f383ba7ff9661336a89397852e91f847496f ChangeLog 2639 +MD5 5f69c839fb4eedb981ed9ae897a4f074 files/digest-squeak-3.4.1-r1 253 +RMD160 d4d0069929818a4a3f783354d329793673654697 files/digest-squeak-3.4.1-r1 253 +SHA256 cd30fe02179cc0b4a3cd9691728d32e1401b5b5e0d13e48de4f48eef6ddedbec files/digest-squeak-3.4.1-r1 253 +MD5 5f69c839fb4eedb981ed9ae897a4f074 files/digest-squeak-3.4.1-r2 253 +RMD160 d4d0069929818a4a3f783354d329793673654697 files/digest-squeak-3.4.1-r2 253 +SHA256 cd30fe02179cc0b4a3cd9691728d32e1401b5b5e0d13e48de4f48eef6ddedbec files/digest-squeak-3.4.1-r2 253 +MD5 752c7cc0844aab8dcc47172617b15959 files/digest-squeak-3.6_p3 321 +RMD160 4a0bc001484467eaf57ae7ee39d5063ff82d409d files/digest-squeak-3.6_p3 321 +SHA256 c99d8a9b35b8a0db0dacb6a6358cdea875c513c35e9ab7b5049148dde7ba090e files/digest-squeak-3.6_p3 321 +MD5 1df347961361ad54e90bed699a902c61 files/digest-squeak-3.7.7 253 +RMD160 6ae40ebe9b2ba35375047cb0640b14915d912c8f files/digest-squeak-3.7.7 253 +SHA256 b12dc99e7a8af93af5c65ce994d49706c16a792e5607b4448cf56ff1a216acc4 files/digest-squeak-3.7.7 253 MD5 4b2bf4f92065c5e86350d0cbaefe5fb8 files/squeak-3.4.1-gcc33-string-fix.patch 16184 -MD5 95975b038cad92087afe83055e6b2137 files/digest-squeak-3.2.5 69 -MD5 e15651f69bf3b5c02f40bcffceefb53c files/digest-squeak-3.4.1 69 -MD5 e15651f69bf3b5c02f40bcffceefb53c files/digest-squeak-3.4.1-r1 69 -MD5 e15651f69bf3b5c02f40bcffceefb53c files/digest-squeak-3.4.1-r2 69 +RMD160 101ab86b4c2f1d0c6ab6a5ed7600cd4bc654654d files/squeak-3.4.1-gcc33-string-fix.patch 16184 +SHA256 ae47c66f2aeb33a65f1efbbc6165b3372e0bd929949ef6e2985cd224540fc4e9 files/squeak-3.4.1-gcc33-string-fix.patch 16184 +MD5 253a1e2fa2566d32f1c4be90f5b5e69c metadata.xml 857 +RMD160 f7db7ab51d12751c94ddbd7a4cb0daebbc7377d9 metadata.xml 857 +SHA256 4e652f209955420453637c6a4b45f7f7dfbfc0884518724b1ef8e70d7e624085 metadata.xml 857 +MD5 7b4680bb43143a8bbb507e68574e50ed squeak-3.4.1-r1.ebuild 3333 +RMD160 f70400e2f846295147212a06516989f4b92aafd3 squeak-3.4.1-r1.ebuild 3333 +SHA256 64f3f298f1bcb6fcab48ef8164ec54f709ef869315361966b072ef1b595cbfe1 squeak-3.4.1-r1.ebuild 3333 +MD5 92391d59192cc945ad7b40338bbb1f61 squeak-3.4.1-r2.ebuild 3595 +RMD160 657cc74ac4bc915102afe5411cd70824a39a2e48 squeak-3.4.1-r2.ebuild 3595 +SHA256 a64d12d82fbff23072425a4d0fdad065ac40b22695515b9fee53fc5c931f724e squeak-3.4.1-r2.ebuild 3595 +MD5 a16792eee2c076cf0cf25e2b6ea79f11 squeak-3.6_p3.ebuild 2330 +RMD160 48449a8c5c0e6b5a7cc1d30d57684e1bc49de4e9 squeak-3.6_p3.ebuild 2330 +SHA256 8547e89cc7969c7480e842a905b6ba9a77c788d8efa7092e4a878db2a7412d43 squeak-3.6_p3.ebuild 2330 +MD5 d5c866eed30a84a304ab3e9155ad14dc squeak-3.7.7.ebuild 1623 +RMD160 b9cae32e65c5891250fc130488ae55e33bbe32e2 squeak-3.7.7.ebuild 1623 +SHA256 09a480295da5c5f389d5b8cf60508733254b7f14c300d15e7d7683655f06e139 squeak-3.7.7.ebuild 1623 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFEDWyidZ42PGEF17URAlc2AKDB4hiPZv3e431gKlSuioTESjUgugCfbFu2 +JiBzgSGDUVdGU6aeFxjUSO4= +=ITuj +-----END PGP SIGNATURE----- diff --git a/dev-lang/squeak/files/digest-squeak-3.2.5 b/dev-lang/squeak/files/digest-squeak-3.2.5 deleted file mode 100644 index 31978c37ec6b..000000000000 --- a/dev-lang/squeak/files/digest-squeak-3.2.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 4fb17638e6e674a538f1404c8e60abff Squeak-3.2-5.src.tar.gz 1877032 diff --git a/dev-lang/squeak/files/digest-squeak-3.4.1 b/dev-lang/squeak/files/digest-squeak-3.4.1 deleted file mode 100644 index bfbee3e7c2ec..000000000000 --- a/dev-lang/squeak/files/digest-squeak-3.4.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 780af1cf1cdc8d44c1ce30a527bdd508 Squeak-3.4-1.src.tar.gz 1890889 diff --git a/dev-lang/squeak/files/digest-squeak-3.4.1-r1 b/dev-lang/squeak/files/digest-squeak-3.4.1-r1 index bfbee3e7c2ec..2d43e5391ee9 100644 --- a/dev-lang/squeak/files/digest-squeak-3.4.1-r1 +++ b/dev-lang/squeak/files/digest-squeak-3.4.1-r1 @@ -1 +1,3 @@ MD5 780af1cf1cdc8d44c1ce30a527bdd508 Squeak-3.4-1.src.tar.gz 1890889 +RMD160 e8894830fe1533e89817d67ece1f82808829c822 Squeak-3.4-1.src.tar.gz 1890889 +SHA256 51386c016d55b2f66071e2293c78ff5d5f8155a016bca021902c42689fbf8b1e Squeak-3.4-1.src.tar.gz 1890889 diff --git a/dev-lang/squeak/files/digest-squeak-3.4.1-r2 b/dev-lang/squeak/files/digest-squeak-3.4.1-r2 index bfbee3e7c2ec..2d43e5391ee9 100644 --- a/dev-lang/squeak/files/digest-squeak-3.4.1-r2 +++ b/dev-lang/squeak/files/digest-squeak-3.4.1-r2 @@ -1 +1,3 @@ MD5 780af1cf1cdc8d44c1ce30a527bdd508 Squeak-3.4-1.src.tar.gz 1890889 +RMD160 e8894830fe1533e89817d67ece1f82808829c822 Squeak-3.4-1.src.tar.gz 1890889 +SHA256 51386c016d55b2f66071e2293c78ff5d5f8155a016bca021902c42689fbf8b1e Squeak-3.4-1.src.tar.gz 1890889 diff --git a/dev-lang/squeak/files/digest-squeak-3.6_p3 b/dev-lang/squeak/files/digest-squeak-3.6_p3 index 6665a2b937da..35e582ad61df 100644 --- a/dev-lang/squeak/files/digest-squeak-3.6_p3 +++ b/dev-lang/squeak/files/digest-squeak-3.6_p3 @@ -1,2 +1,4 @@ MD5 cb8ab95fa9d840f5b04868f99600e018 Squeak-3.6-3.src.tar.gz 2552981 +RMD160 61b7758afce0182fd5f7295204854a6636449b49 Squeak-3.6-3.src.tar.gz 2552981 +SHA256 9d1f099ffce4d996748e868663e9d91b15ba72f3542cc6acd642a8393e1bb249 Squeak-3.6-3.src.tar.gz 2552981 MD5 46b1a1f9c3b9b8eb6c3107a2b9a24483 SqueakPlugin.image.zip 3332888 diff --git a/dev-lang/squeak/files/digest-squeak-3.7.7 b/dev-lang/squeak/files/digest-squeak-3.7.7 new file mode 100644 index 000000000000..0e9e63b56206 --- /dev/null +++ b/dev-lang/squeak/files/digest-squeak-3.7.7 @@ -0,0 +1,3 @@ +MD5 c6b051b745080516c550cab0db1882fc Squeak-3.7-7.src.tar.gz 2383081 +RMD160 5a67d3b9920333014bdce39be1a4ba99b3c407a3 Squeak-3.7-7.src.tar.gz 2383081 +SHA256 9a41e3245c092115690c055297a9cb94caf1cb79b7faeeff8b923e0822f45234 Squeak-3.7-7.src.tar.gz 2383081 diff --git a/dev-lang/squeak/metadata.xml b/dev-lang/squeak/metadata.xml index 20ce219711a2..40eaf0e82056 100644 --- a/dev-lang/squeak/metadata.xml +++ b/dev-lang/squeak/metadata.xml @@ -2,4 +2,18 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>no-herd</herd> +<maintainer> + <email>araujo@gentoo.org</email> + <name>Luis F. Araujo</name> +</maintainer> +<longdescription lang="en"> +Squeak is a full-featured implementation of the Smalltalk programming language +and environment based on (and largely compatible with) the original Smalltalk-80 +system. Squeak has very powerful 2- and 3-D graphics, sound, video, MIDI, +animation and other multimedia capabilities -- and one of the most impressive +development environments ever created. It also includes a customisable framework +for creating dynamic HTTP servers and interactively extensible Web sites. The +entire Squeak system is open source software, distributed freely with a liberal +license. +</longdescription> </pkgmetadata> diff --git a/dev-lang/squeak/squeak-3.2.5.ebuild b/dev-lang/squeak/squeak-3.2.5.ebuild deleted file mode 100644 index 05864c5a5694..000000000000 --- a/dev-lang/squeak/squeak-3.2.5.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.2.5.ebuild,v 1.10 2004/07/02 04:31:41 eradicator Exp $ - -DESCRIPTION="Highly-portable Smalltalk-80 implementation" -HOMEPAGE="http://www.squeak.org/" -SRC_URI="ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.2/unix-linux/Squeak-3.2-5.src.tar.gz" -LICENSE="Apple" -SLOT="0" -KEYWORDS="~x86" -IUSE="X oss mmx mozilla" -# a ffi flag would be nice - -DEPEND="virtual/libc - X? ( virtual/x11 )" -RDEPEND="=virtual/squeak-image-3.2* - virtual/libc - X? ( virtual/x11 )" - -S="${WORKDIR}/Squeak-3.2-5" - -src_compile() { - local myconf="" - - use X || myconf="--without-x" - use oss && myconf="${myconf} --with-audio=oss" - use mmx && myconf="${myconf} --enable-mpg-mmx" - - cd ${S} - mkdir build - cd build - ../platforms/unix/config/configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - ${myconf} || die "configure failed" - mv Makefile Makefile.tmp.$$ - cat Makefile.tmp.$$|sed \ - 's/$(prefix)\/doc\/squeak/$(prefix)\/share\/doc\/squeak-3.2.5/g'\ - > Makefile - rm -f Makefile.tmp.$$ - emake || die - make npsqueak - # this is a bit paranoid, but we want to be sure it gets compiled now - cd nps - emake || die -} - -src_install() { - cd ${S}/build - - make DESTDIR=${D} ROOT=${D} install || die - - exeinto /usr/bin - doexe inisqueak - - ### the rest is all for the plugin - - cd nps - - # plugin sample, must be served to work, file:// doesnt work. - - insinto /usr/share/doc/squeak-3.2.5 - doins test/plugintest.html - doins test/plugintest.sts - - # fix the paths - - SQ_DIR=/usr/lib/squeak - VM_VERSION=3.2-5 - NPSQUEAK_SO=${SQ_DIR}/${VM_VERSION}/npsqueak.so - sed "s|@SQ_DIR@|${SQ_DIR}|;s|@VM_VERSION@|${VM_VERSION}|;s|@NPSQUEAK_SO@|${NPSQUEAK_SO}|" \ - npsqueakrun.in > npsqueakrun.in.2 - sed "s|@SQ_DIR@|${SQ_DIR}|;s|@VM_VERSION@|${VM_VERSION}|;s|@NPSQUEAK_SO@|${NPSQUEAK_SO}|" \ - npsqueakregister.in > npsqueakregister - sed 's|^ensurefile|ensurefile "${HOME}/.npsqueak/SqueakPlugin.changes" "${SQ_DIR}/npsqueak.changes"\nensurefile|' npsqueakrun.in.2 > npsqueakrun - - exeinto /usr/lib/squeak - doexe npsqueakregister - exeinto /usr/lib/squeak/3.2-5 - doexe npsqueakrun - - - # install in browsers (no opera use flags?) - - dodir /opt/netscape/plugins - dosym /usr/lib/squeak/3.2-5/npsqueak.so /opt/netscape/plugins - - if use mozilla ; then - dodir /usr/lib/mozilla/plugins - dosym /opt/netscape/plugins/npsqueak.so \ - /usr/lib/mozilla/plugins/npsqueak.so - fi - - # maybe we should install the image here.. - - # dosym /usr/lib/squeak/SqueakV3.sources /usr/lib/squeak/3.2-5/SqueakV3.sources - # doins npsqueak.image - # doins npsqueak.changes -} - -pkg_postinst() { - einfo 'Run "inisqueak" to get a private copy of the VM image.' - einfo '' - einfo 'To use the browser plugin, create a working set named npsqueak.* in /usr/lib/squeak/3.2-5/' -} diff --git a/dev-lang/squeak/squeak-3.4.1-r1.ebuild b/dev-lang/squeak/squeak-3.4.1-r1.ebuild index a31360998762..dfd62f2dc92d 100644 --- a/dev-lang/squeak/squeak-3.4.1-r1.ebuild +++ b/dev-lang/squeak/squeak-3.4.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1-r1.ebuild,v 1.9 2004/07/02 04:31:41 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1-r1.ebuild,v 1.10 2006/03/07 11:21:17 araujo Exp $ inherit libtool flag-o-matic eutils @@ -18,11 +18,11 @@ KEYWORDS="~x86" IUSE="X oss mmx mozilla" # a ffi flag would be nice -DEPEND="virtual/libc - X? ( virtual/x11 )" -RDEPEND="virtual/squeak-image - virtual/libc - X? ( virtual/x11 )" +DEPEND="X? ( || ( ( x11-libs/libX11 + x11-libs/libXext ) + virtual/x11 ) )" +RDEPEND="${DEPEND} + virtual/squeak-image" S="${WORKDIR}/Squeak-${NV}" diff --git a/dev-lang/squeak/squeak-3.4.1-r2.ebuild b/dev-lang/squeak/squeak-3.4.1-r2.ebuild index 701ff703ee99..5885b7a18bea 100644 --- a/dev-lang/squeak/squeak-3.4.1-r2.ebuild +++ b/dev-lang/squeak/squeak-3.4.1-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1-r2.ebuild,v 1.9 2004/07/02 04:31:41 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1-r2.ebuild,v 1.10 2006/03/07 11:21:17 araujo Exp $ inherit libtool flag-o-matic eutils @@ -18,15 +18,14 @@ KEYWORDS="~x86 ~ppc" IUSE="X oss mmx mozilla" # a ffi flag would be nice -DEPEND="virtual/libc - X? ( virtual/x11 )" -RDEPEND="virtual/squeak-image - virtual/libc - X? ( virtual/x11 )" +DEPEND="X? ( || ( ( x11-libs/libX11 + x11-libs/libXext ) + virtual/x11 ) )" +RDEPEND="${DEPEND} + virtual/squeak-image" S="${WORKDIR}/Squeak-${NV}" - src_unpack() { unpack ${A} cd ${S} diff --git a/dev-lang/squeak/squeak-3.4.1.ebuild b/dev-lang/squeak/squeak-3.4.1.ebuild deleted file mode 100644 index f2277b43353d..000000000000 --- a/dev-lang/squeak/squeak-3.4.1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.4.1.ebuild,v 1.8 2004/07/02 04:31:41 eradicator Exp $ - -#Simply change these numbers for different versions -MV=3.4 -NV=${MV}-1 -FV=${MV}.1 - -DESCRIPTION="Highly-portable Smalltalk-80 implementation" -HOMEPAGE="http://www.squeak.org/" -SRC_URI="ftp://st.cs.uiuc.edu/Smalltalk/Squeak/${MV}/unix-linux/Squeak-${NV}.src.tar.gz" -LICENSE="Apple" -SLOT="0" -KEYWORDS="~x86" -IUSE="X oss mmx mozilla" -# a ffi flag would be nice - -DEPEND="virtual/libc - X? ( virtual/x11 )" -RDEPEND="virtual/squeak-image - virtual/libc - X? ( virtual/x11 )" - -S="${WORKDIR}/Squeak-${NV}" - -src_compile() { - local myconf="" - - use X || myconf="--without-x" - use oss && myconf="${myconf} --with-audio=oss" - use mmx && myconf="${myconf} --enable-mpg-mmx" - - cd ${S} - mkdir build - cd build - ../platforms/unix/config/configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - ${myconf} || die "configure failed" - mv Makefile Makefile.tmp.$$ - cat Makefile.tmp.$$|sed \ - 's/$(prefix)\/doc\/squeak/$(prefix)\/share\/doc\/squeak-${FV}/g'\ - > Makefile - rm -f Makefile.tmp.$$ - emake || die - make npsqueak - # this is a bit paranoid, but we want to be sure it gets compiled now - cd nps - emake || die -} - -src_install() { - cd ${S}/build - - make DESTDIR=${D} ROOT=${D} install || die - - exeinto /usr/bin - doexe inisqueak - - ### the rest is all for the plugin - - cd nps - - # plugin sample, must be served to work, file:// doesnt work. - - insinto /usr/share/doc/squeak-${FV} - doins test/plugintest.html - doins test/plugintest.sts - - # fix the paths - - SQ_DIR=/usr/lib/squeak - VM_VERSION=${NV} - NPSQUEAK_SO=${SQ_DIR}/${VM_VERSION}/npsqueak.so - sed "s|@SQ_DIR@|${SQ_DIR}|;s|@VM_VERSION@|${VM_VERSION}|;s|@NPSQUEAK_SO@|${NPSQUEAK_SO}|" \ - npsqueakrun.in > npsqueakrun.in.2 - sed "s|@SQ_DIR@|${SQ_DIR}|;s|@VM_VERSION@|${VM_VERSION}|;s|@NPSQUEAK_SO@|${NPSQUEAK_SO}|" \ - npsqueakregister.in > npsqueakregister - sed 's|^ensurefile|ensurefile "${HOME}/.npsqueak/SqueakPlugin.changes" "${SQ_DIR}/npsqueak.changes"\nensurefile|' npsqueakrun.in.2 > npsqueakrun - - exeinto /usr/lib/squeak - doexe npsqueakregister - exeinto /usr/lib/squeak/${NV} - doexe npsqueakrun - - - # install in browsers (no opera use flags?) - - dodir /opt/netscape/plugins - dosym /usr/lib/squeak/${NV}/npsqueak.so /opt/netscape/plugins - - if use mozilla ; then - dodir /usr/lib/mozilla/plugins - dosym /opt/netscape/plugins/npsqueak.so \ - /usr/lib/mozilla/plugins/npsqueak.so - fi - - # maybe we should install the image here.. - - # dosym /usr/lib/squeak/SqueakV3.sources /usr/lib/squeak/${NV}/SqueakV3.sources - # doins npsqueak.image - # doins npsqueak.changes -} - -pkg_postinst() { - einfo 'Run "inisqueak" to get a private copy of the VM image.' - einfo '' - einfo 'To setup the browser plugin, create a working set named npsqueak.* in /usr/lib/squeak/<version>/' -} diff --git a/dev-lang/squeak/squeak-3.6_p3.ebuild b/dev-lang/squeak/squeak-3.6_p3.ebuild index 39f308aa760b..78ae0e074ba8 100644 --- a/dev-lang/squeak/squeak-3.6_p3.ebuild +++ b/dev-lang/squeak/squeak-3.6_p3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.6_p3.ebuild,v 1.5 2004/07/02 04:31:41 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.6_p3.ebuild,v 1.6 2006/03/07 11:21:17 araujo Exp $ inherit nsplugins libtool flag-o-matic eutils @@ -15,9 +15,10 @@ KEYWORDS="~x86 ~ppc" IUSE="X nas mmx mozilla" # a ffi flag would be nice -DEPEND="virtual/libc - nas? ( media-libs/nas ) - X? ( virtual/x11 )" +DEPEND="nas? ( media-libs/nas ) + X? ( || ( ( x11-libs/libX11 + x11-libs/libXext ) + virtual/x11 ) )" RDEPEND="${DEPEND} virtual/squeak-image" diff --git a/dev-lang/squeak/squeak-3.7.7.ebuild b/dev-lang/squeak/squeak-3.7.7.ebuild new file mode 100644 index 000000000000..216d2446cdb4 --- /dev/null +++ b/dev-lang/squeak/squeak-3.7.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.7.7.ebuild,v 1.1 2006/03/07 11:21:17 araujo Exp $ + +inherit base versionator fixheadtails eutils + +MY_PV=$(replace_version_separator 2 '-') +DESCRIPTION="Highly-portable Smalltalk-80 implementation" +HOMEPAGE="http://www.squeak.org/" +SRC_URI="http://squeakvm.org/unix/release/Squeak-${MY_PV}.src.tar.gz" +LICENSE="Apple" +SLOT="0" +KEYWORDS="~x86" +IUSE="X mmx threads iconv" + +DEPEND="dev-libs/libffi + X? ( || ( ( x11-libs/libX11 + x11-libs/libXext ) + virtual/x11 ) )" +RDEPEND="${DEPEND} + virtual/squeak-image" + +S="${WORKDIR}/Squeak-${MY_PV}" + +src_unpack() { + base_src_unpack + cd ${S} + ht_fix_all + einfo 'Fix executable stack/text relocation.' + sed -i -e 's@abi=sysv\;\;@abi=libffi\;\ lib=\"-lffi\"\;\;@g' \ + ${S}/platforms/unix/plugins/SqueakFFIPrims/ffi-config +} + +src_compile() { + local myconf="" + use X || myconf="--without-x" + use mmx && myconf="${myconf} --enable-mpg-mmx" + use threads && myconf="${myconf} --enable-mpg-pthreads" + use iconv || myconf="${myconf} --disable-iconv" + cd ${S} + mkdir build + cd build + ../platforms/unix/config/configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "configure failed" + emake || die +} + +src_install() { + cd ${S}/build + make ROOT=${D} docdir=/usr/share/doc/${PF} install || die + exeinto /usr/lib/squeak + doexe inisqueak + dosym /usr/lib/squeak/inisqueak /usr/bin/inisqueak +} + +pkg_postinst() { + einfo "Run 'inisqueak' to get a private copy of the squeak image." +} |