diff options
author | Luis Francisco Araujo <araujo@gentoo.org> | 2006-03-07 11:21:17 +0000 |
---|---|---|
committer | Luis Francisco Araujo <araujo@gentoo.org> | 2006-03-07 11:21:17 +0000 |
commit | 25490837e75504b6688fd716c48b84f867cc4195 (patch) | |
tree | e49100f9bab053466bfaff3de06b5857fd359cd1 /dev-lang | |
parent | Add maintainer-needed metadata. Drop redundant src_compile. (diff) | |
download | gentoo-2-25490837e75504b6688fd716c48b84f867cc4195.tar.gz gentoo-2-25490837e75504b6688fd716c48b84f867cc4195.tar.bz2 gentoo-2-25490837e75504b6688fd716c48b84f867cc4195.zip |
Adding latest stable version of Squeak. Porting all of the ebuilds to modular X. Removing the first two unmaintained versions.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/squeak/ChangeLog | 15 | ||||
-rw-r--r-- | dev-lang/squeak/Manifest | 44 | ||||
-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, 149 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..cca5466ef498 100644 --- a/dev-lang/squeak/Manifest +++ b/dev-lang/squeak/Manifest @@ -1,13 +1,33 @@ -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 +MD5 ff0522e22de469ae4ad4f82cd669be09 ChangeLog 2395 +RMD160 5d47fb6d7c7fa905c4eb7c1308ce47bac757a7a7 ChangeLog 2395 +SHA256 ef8dcee41c02cc20133550be001ddf462e788fa293949c19a02a732d57fb7101 ChangeLog 2395 +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 a37e142346bc19ebd89fb103ab02a161 squeak-3.4.1-r1.ebuild 3336 +RMD160 3bb162f2d896afcdfb323fb33df147e82946df89 squeak-3.4.1-r1.ebuild 3336 +SHA256 5f8adb413e442cf3ca438942606acef1cc45fec4f7de2f94e0a64e8792f65eb9 squeak-3.4.1-r1.ebuild 3336 +MD5 ea700458bafde59bf10193b6dd132ecb squeak-3.4.1-r2.ebuild 3598 +RMD160 6b768d64540cc24bd3e529065ebcc8b93d060cc5 squeak-3.4.1-r2.ebuild 3598 +SHA256 4ffaa33758f66f889228aea5ebb221cc1901f43dc9f25d065be03c6b18c8ed96 squeak-3.4.1-r2.ebuild 3598 +MD5 f9c0395406b3dbcb5665653406db98ff squeak-3.6_p3.ebuild 2334 +RMD160 d408990f86f624e304cd2032dba3845fc3feb02b squeak-3.6_p3.ebuild 2334 +SHA256 7880b4ad95e21b89009cd54946eb3926e43c9dd514895bd615d02ce68c42a890 squeak-3.6_p3.ebuild 2334 +MD5 a3e5b22973cced445c3c723e7a7736d3 squeak-3.7.7.ebuild 1628 +RMD160 6971f3ddaf2c15446dd4c8496e9aad3d3c0c33e3 squeak-3.7.7.ebuild 1628 +SHA256 2fd71d0ae8b394f97abf3cdc81b449da1198e878f979c8f2768673f57a9bf28c squeak-3.7.7.ebuild 1628 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." +} |