summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-04-06 17:36:22 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-04-06 17:36:22 +0000
commit6f8db36fe0236edf7c0348dfc0fd41ff49cd770c (patch)
tree82158c5b902e3255db0d46d6960ab3219f69bb7e
parentRemove vulnerable netdude (diff)
downloadgentoo-2-6f8db36fe0236edf7c0348dfc0fd41ff49cd770c.tar.gz
gentoo-2-6f8db36fe0236edf7c0348dfc0fd41ff49cd770c.tar.bz2
gentoo-2-6f8db36fe0236edf7c0348dfc0fd41ff49cd770c.zip
Remove vulnerable squeak
-rw-r--r--dev-lang/squeak/ChangeLog144
-rw-r--r--dev-lang/squeak/Manifest13
-rw-r--r--dev-lang/squeak/files/squeak-dprintf.patch70
-rw-r--r--dev-lang/squeak/files/squeak-inisqueak.patch11
-rw-r--r--dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch31
-rw-r--r--dev-lang/squeak/metadata.xml19
-rw-r--r--dev-lang/squeak/squeak-3.10.5.ebuild63
-rw-r--r--dev-lang/squeak/squeak-3.10.ebuild66
-rw-r--r--dev-lang/squeak/squeak-3.6_p3.ebuild82
9 files changed, 0 insertions, 499 deletions
diff --git a/dev-lang/squeak/ChangeLog b/dev-lang/squeak/ChangeLog
deleted file mode 100644
index 1dae2d5c534f..000000000000
--- a/dev-lang/squeak/ChangeLog
+++ /dev/null
@@ -1,144 +0,0 @@
-# ChangeLog for dev-lang/squeak
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/ChangeLog,v 1.32 2009/09/12 03:20:21 vostorga Exp $
-
- 12 Sep 2009; Víctor Ostorga <vostorga@gentoo.org>
- -files/squeak-3.4.1-gcc33-string-fix.patch:
- Cleaning out unused patch
-
-*squeak-3.10.5 (01 Sep 2009)
-
- 01 Sep 2009; Patrick Lauer <patrick@gentoo.org>
- +files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch,
- +squeak-3.10.5.ebuild, +files/squeak-dprintf.patch,
- +files/squeak-inisqueak.patch:
- Bump to 3.10.5. Patches by manny15. Closes #275748 and adds ~amd64
- keyword.
-
- 24 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> squeak-3.10.ebuild,
- -files/squeak-3.10-glibc210.patch:
- Moving squeak-3.10-glibc210.patch to mirror, bug #282507
-
- 10 Aug 2009; Víctor Ostorga <vostorga@gentoo.org>
- -squeak-3.4.1-r2.ebuild, -squeak-3.7.7-r1.ebuild, -squeak-3.9.7.ebuild:
- Cleaning out old, keeping latest ~ppc
-
- 10 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> squeak-3.10.ebuild,
- +files/squeak-3.10-glibc210.patch:
- Respecting CC and LD variable , bug #243888
- Fixing -Werror , bug #261147
- Patch to build against glibc 2.10, bug #277934
-
- 09 Jun 2008; Luis F. Araujo <araujo@gentoo.org> squeak-3.7.7-r1.ebuild,
- squeak-3.9.7.ebuild:
- Bye libffi...
-
-*squeak-3.10 (09 Jun 2008)
-
- 09 Jun 2008; Luis F. Araujo <araujo@gentoo.org> +squeak-3.10.ebuild:
- Adding new version. Solving bug #196984
-
- 22 Jul 2007; Hans de Graaff <graaff@gentoo.org> squeak-3.4.1-r2.ebuild,
- squeak-3.6_p3.ebuild, squeak-3.7.7-r1.ebuild, squeak-3.9.7.ebuild:
- Drop virtual/x11 references.
-
- 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
- Transition to Manifest2.
-
- 06 Feb 2007; Marius Mauch <genone@gentoo.org> squeak-3.4.1-r2.ebuild,
- squeak-3.6_p3.ebuild, squeak-3.7.7-r1.ebuild, squeak-3.9.7.ebuild:
- Replacing einfo with elog
-
- 25 Dec 2006; Luis F. Araujo <araujo@gentoo.org> squeak-3.7.7-r1.ebuild:
- Fixed X atom.
-
- 25 Dec 2006; Luis F. Araujo <araujo@gentoo.org> squeak-3.9.7.ebuild:
- Fixed X atom.
-
- 09 Aug 2006; Luis F. Araujo <araujo@gentoo.org> -squeak-3.4.1-r1.ebuild:
- Removing old package version. New revision available.
-
-*squeak-3.9.7 (09 Aug 2006)
-
- 09 Aug 2006; Luis F. Araujo <araujo@gentoo.org> +squeak-3.9.7.ebuild:
- Adding new version of squeak. bug #141615
-
-*squeak-3.7.7-r1 (09 Aug 2006)
-
- 09 Aug 2006; Luis F. Araujo <araujo@gentoo.org> +squeak-3.7.7-r1.ebuild:
- Bug #133032 fixed. Fixed broken X library dependency also.
-
- 19 Mar 2006; Mark Loeser <halcy0n@gentoo.org> squeak-3.6_p3.ebuild:
- Add DEPEND on app-arch/unzip
-
- 08 Mar 2006; Luis F. Araujo <araujo@gentoo.org> squeak-3.7.7.ebuild:
- Fixing bug #125460
-
- 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,
- squeak-3.6_p3.ebuild:
- virtual/glibc -> virtual/libc
-
- 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> squeak-3.2.5.ebuild,
- squeak-3.4.1-r1.ebuild, squeak-3.4.1-r2.ebuild, squeak-3.4.1.ebuild,
- squeak-3.6_p3.ebuild:
- Fix use invocation
-
-*squeak-3.6_p3 (09 May 2004)
-
- 09 May 2004; David Holm <dholm@gentoo.org> squeak-3.6_p3.ebuild:
- Added to ~ppc.
-
- 01 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> squeak-3.4.1-r1.ebuild,
- squeak-3.4.1-r2.ebuild:
- flag-o-matic functions into src_compile
-
- 30 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; squeak-3.2.5.ebuild,
- squeak-3.4.1-r1.ebuild, squeak-3.4.1-r2.ebuild, squeak-3.4.1.ebuild:
- Change x11-base/xfree dependency to virtual/x11.
-
- 15 Feb 2004; David Holm <dholm@gentoo.org> squeak-3.4.1-r2.ebuild:
- Added to ~ppc.
-
-*squeak-3.4.1-r2 (03 Dec 2003)
-
- 03 Dec 2003; Jared Hudson <jhhudso@gentoo.org> : Added -fforce-addr to the
- list of gcc flags being filtered. Credit goes to dhx <xyx@gmx.at> via bug
- #20498 for telling us.
-
- 04 Jan 2004; Jared Hudson <jhhudso@gentoo.org> : Fixed ebuild so Makefile's
- use of tail -1 became tail -n 1. Credit goes to Zachary P. Landau
- <kapheine@hypa.net> under bug #35698
-
-*squeak-3.4.1-r1 (11 Oct 2003)
-
- 30 Oct 2003; Joshua Kinard <kumba@gentoo.org> squeak-3.4.1-r1.ebuild,
- files/squeak-3.4.1-gcc33-string-fix.patch:
- Added patch to fix gcc-3.3.x multi-line string issues
- Closes Bug #32122
-
- 11 Oct 2003; Michael Imhof <tantive@gentoo.org> :
- Version bumped. Closes #27408.
- Added fixes to filter optimizations.
-
-*squeak-3.4.1 (21 May 2003)
-
- 21 May 2003; Michael Imhof <tantive@gentoo.org> :
- Version bump. Ebuild submitted by Christopher Verges
- <squirrel@headnut.org>.
-
-*squeak-3.2.5 (29 Dec 2002)
-
- 29 Dec 2002; Jared Hudson <jhhudso@gentoo.org> : Initial import. Ebuild
- submitted by Ragnar Hojland Espinosa <ragnar@linalco.com>.
diff --git a/dev-lang/squeak/Manifest b/dev-lang/squeak/Manifest
deleted file mode 100644
index ff2155b31353..000000000000
--- a/dev-lang/squeak/Manifest
+++ /dev/null
@@ -1,13 +0,0 @@
-AUX squeak-dprintf.patch 1718 RMD160 7e8aed05e1dfe7bff4a2bf1d8b1ddbb9c64dd8e8 SHA1 b91a6620252731febe067535c044c5b67fd8fac9 SHA256 2458e43fe0d9270493178a64b49c151c26635c0991a20c715b1579ab705f6733
-AUX squeak-inisqueak.patch 348 RMD160 9c4619466b49654c0a5d70e5bd2f96027805d862 SHA1 0f8a0fe5417bb2081b69a4dad9b5ae7973170fd3 SHA256 c9e987a5614731f3473ed6f46dd2711f96f62972bcf234cc3400fd4d12a7eb89
-AUX squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch 971 RMD160 a2064fd8b6c64f68577dafb470f6422f5a931a25 SHA1 a21c0ffaaeee5b1b7cacaa1353f85bbc66e70b7a SHA256 78fc1867e436b725c321882d10d83657b1f8466a72a33673715ca45704665623
-DIST Squeak-3.10-1.src.tar.gz 5194944 RMD160 be67239e47219727d7ea87c75a245d2f7173c3aa SHA1 6b7ab071bcf78318a0fead94ff89d1557a877c77 SHA256 d5e9cab31f25f842f42bde153e04b93547b559e75da08f1b997a47f70d003133
-DIST Squeak-3.10-5.src.tar.gz 5167876 RMD160 194c986929e20a75562ab2c073e20fae3aae47fd SHA1 fdf4e9f2109829b1e00e180343b651a54627a044 SHA256 4d70b557d3f29fe2b1cab8de184143648d77d6b35fdb53483c915e329cc7fb0e
-DIST Squeak-3.6-3.src.tar.gz 2552981 RMD160 61b7758afce0182fd5f7295204854a6636449b49 SHA1 9631fd9778bea45bedddc878a7132d46936d8148 SHA256 9d1f099ffce4d996748e868663e9d91b15ba72f3542cc6acd642a8393e1bb249
-DIST SqueakPlugin.image.zip 3332888 RMD160 8f34295319fb21668731e264ee59ba7bda6b5038 SHA1 8ff1dc83eec599b29160023b8fd2be41188d0f80 SHA256 2d50ca32768b13c2c18410d6fd3a486f7f59239136efd9e4132846e2665e99f3
-DIST squeak-3.10-glibc210.patch.bz2 22243 RMD160 e6af54c9d13f1beea60af2127c4173ffeaf94061 SHA1 b0e9b05397c04654620255bff390352c42f9a605 SHA256 58090b6a5adb2d2e9208cd0f691911e2756b437f8d00af61b0a274c437f76258
-EBUILD squeak-3.10.5.ebuild 1880 RMD160 bcf06bac1323df14953865f17743b4f72df25bd3 SHA1 95368a3def4af9526ae95b045cd69ad4b7e1d597 SHA256 cafe27a4bbf28a8a50aed84c9146e0198b96a28ad34c797cecbfa1e0d7452ce9
-EBUILD squeak-3.10.ebuild 1968 RMD160 084c39f924270525313f90f338e1c47e905f0009 SHA1 ebc478bd75f4b6c8ee2a24e15ebb58693211bb7d SHA256 43a5be793057fe9f9ad34843ea1e157edf6ab26cf02a10d1224dc675088b6e39
-EBUILD squeak-3.6_p3.ebuild 2326 RMD160 c83d7859768734bae70c2995476ce5ea51c69989 SHA1 ce404dfde39d893d73b872d7e537d5f363fdb423 SHA256 8311ffb48e8d1171b6d342a8fab78a27adb3c8f220494c61ede035651a128e12
-MISC ChangeLog 5166 RMD160 e4aa7173eaa0a43ba3cd702f8d72ecb14babf3c0 SHA1 d8f219dce8adacfb8e953f395a96729a86048d1e SHA256 d7b712a4d7d8ab75ea9033a443b68f35e68d3b71d45e85780b46976e3e17a504
-MISC metadata.xml 857 RMD160 f7db7ab51d12751c94ddbd7a4cb0daebbc7377d9 SHA1 ba00cca30d5f46acff8872a29dfaf7deead9e0e3 SHA256 4e652f209955420453637c6a4b45f7f7dfbfc0884518724b1ef8e70d7e624085
diff --git a/dev-lang/squeak/files/squeak-dprintf.patch b/dev-lang/squeak/files/squeak-dprintf.patch
deleted file mode 100644
index 43f18d1ca8ff..000000000000
--- a/dev-lang/squeak/files/squeak-dprintf.patch
+++ /dev/null
@@ -1,70 +0,0 @@
---- ./platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc.orig Wed Jun 24 17:39:12 2009 -0400
-+++ ./platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc Wed Jun 24 18:01:19 2009 -0400
-@@ -116,6 +116,12 @@
-
- #include <als./asoundlib.h>
-
-+#if (DEBUG)
-+# define dprintf(...) printf(__VA_ARGS__)
-+#else
-+# define dprintf(...)
-+#endif
-+
- static snd_seq_t *seq = 0;
- static int queue = 0;
- static int in_port = -1;
---- ./platforms/unix/vm-display-fbdev/sqUnixFBDev.c.orig Wed Jun 24 17:39:12 2009 -0400
-+++ ./platforms/unix/vm-display-fbdev/sqUnixFBDev.c Wed Jun 24 18:01:19 2009 -0400
-@@ -49,7 +49,13 @@
- # undef ioMSecs
- #endif
-
--#include <stdio.h>
-+// we need stdio.h to override glibc's dprintf function
-+// since new glibc has this function with different interface
-+#include <features.h>
-+#ifdef __USE_XOPEN2K8
-+# include <stdio.h>
-+#endif
-+
- #include <time.h>
- #include <sys/time.h>
- #include <sys/types.h>
-@@ -68,15 +74,11 @@
- #endif
-
-
--static void dprintf(const char *fmt, ...)
--{
- #if (DEBUG)
-- va_list ap;
-- va_start(ap, fmt);
-- vprintf(fmt, ap);
-- va_end(ap);
-+# define dprintf(...) printf(__VA_ARGS__)
-+#else
-+# define dprintf(...)
- #endif
--}
-
- static void fatalError(const char *who)
- {
---- ./platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c.orig Wed Jun 24 17:39:12 2009 -0400
-+++ ./platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c Wed Jun 24 18:01:19 2009 -0400
-@@ -33,13 +33,12 @@
- #include <audio/audiolib.h>
- #include <assert.h>
-
--#ifdef DEBUG
--# define dprintf printf
-+#if (DEBUG)
-+# define dprintf(...) printf(__VA_ARGS__)
- #else
-- static void dprintf(char *fmt, ...) {}
-+# define dprintf(...)
- #endif
-
--
- #ifdef WORDS_BIGENDIAN
- # define AU_FORMAT AuFormatLinearSigned16MSB
- #else
diff --git a/dev-lang/squeak/files/squeak-inisqueak.patch b/dev-lang/squeak/files/squeak-inisqueak.patch
deleted file mode 100644
index e63771c9543a..000000000000
--- a/dev-lang/squeak/files/squeak-inisqueak.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Squeak-3.10-5/platforms/unix/config/inisqueak.in 2006-10-18 13:14:20.000000000 -0400
-+++ Squeak-3.10-5-new/platforms/unix/config/inisqueak.in 2009-07-03 22:09:34.000000000 -0400
-@@ -30,7 +30,7 @@
- #
- # Last edited: 2006-10-18 10:14:20 by piumarta on emilia.local
-
--MAJOR=@SQ_MAJOR@
-+MAJOR=@SQ_MAJOR@9
- VERSION=@SQ_VERSION@
-
- prefix=@prefix@
diff --git a/dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch b/dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
deleted file mode 100644
index d279d0fbfba1..000000000000
--- a/dev-lang/squeak/files/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- ./platforms/unix/vm/debug.h.orig 2003-08-07 07:39:34.000000000 +0000
-+++ ./platforms/unix/vm/debug.h 2009-05-09 21:38:27.000000000 +0000
-@@ -7,6 +7,13 @@
- #endif
-
-
-+// we need stdio.h to override glibc's dprintf function
-+// since new glibc has this function with different interface
-+#include <features.h>
-+#ifdef __USE_XOPEN2K8
-+# include <stdio.h>
-+#endif
-+
- #if (DEBUG)
- /* the thing to use here is a variadic macro, but Apple's gcc barfs on
- ** them when running in precomp mode. did they _really_ have to break
---- olpc/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc.orig 2007-03-11 23:56:36.000000000 +0000
-+++ olpc/platforms/unix/plugins/MIDIPlugin/sqUnixMIDIALSA.inc 2009-05-09 22:07:29.000000000 +0000
-@@ -116,6 +116,12 @@
-
- #include <alsa/asoundlib.h>
-
-+#if (DEBUG)
-+# define dprintf(...) printf(__VA_ARGS__)
-+#else
-+# define dprintf(...)
-+#endif
-+
- static snd_seq_t *seq = 0;
- static int queue = 0;
- static int in_port = -1;
diff --git a/dev-lang/squeak/metadata.xml b/dev-lang/squeak/metadata.xml
deleted file mode 100644
index 40eaf0e82056..000000000000
--- a/dev-lang/squeak/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!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.10.5.ebuild b/dev-lang/squeak/squeak-3.10.5.ebuild
deleted file mode 100644
index fb38fb36fc46..000000000000
--- a/dev-lang/squeak/squeak-3.10.5.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.10.5.ebuild,v 1.1 2009/09/01 10:14:04 patrick 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="~amd64 ~x86"
-IUSE="X mmx threads iconv"
-
-DEPEND="X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXt )"
-RDEPEND="${DEPEND}
- virtual/squeak-image"
-
-S="${WORKDIR}/Squeak-${MY_PV}"
-
-src_unpack() {
- base_src_unpack
- cd ${S}
- # patches to "fix" dprintf collision with glibc
- # see http://bugs.squeak.org/view.php?id=7331
- # and http://sisyphus.ru/srpm/Sisyphus/squeak-vm-sugar/patches/0
- epatch "${FILESDIR}"/squeak-vm-sugar-3.10.3-sugar-squeak-dprintf.patch
- epatch "${FILESDIR}"/squeak-dprintf.patch
- epatch "${FILESDIR}"/squeak-inisqueak.patch
- ht_fix_all
- # ht_fix_all doesn't catch this because there's no number
- sed -i -e 's/tail +/tail -n +/' platforms/unix/config/inisqueak.in
-}
-
-src_compile() {
- local myconf=""
- use X || myconf="--without-x"
- use mmx && myconf="${myconf} --enable-mpg-mmx"
- use threads && myconf="${myconf} --enable-mpg-pthread"
- 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() {
- elog "Run 'inisqueak' to get a private copy of the squeak image."
-}
diff --git a/dev-lang/squeak/squeak-3.10.ebuild b/dev-lang/squeak/squeak-3.10.ebuild
deleted file mode 100644
index ae0d8b4f8f7f..000000000000
--- a/dev-lang/squeak/squeak-3.10.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/squeak-3.10.ebuild,v 1.3 2009/08/24 04:29:07 vostorga Exp $
-
-inherit base fixheadtails eutils toolchain-funcs
-
-MY_PV="${PV}-1"
-
-DESCRIPTION="Highly-portable Smalltalk-80 implementation"
-HOMEPAGE="http://www.squeak.org/"
-SRC_URI="http://ftp.squeak.org/${PV}/unix-linux/Squeak-${MY_PV}.src.tar.gz
- mirror://gentoo/${P}-glibc210.patch.bz2"
-LICENSE="Apple"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="X mmx threads iconv opengl"
-
-DEPEND="X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXt )
- opengl? ( virtual/opengl )"
-RDEPEND="${DEPEND}
- virtual/squeak-image"
-
-S="${WORKDIR}/Squeak-${MY_PV}"
-
-src_unpack() {
- base_src_unpack
- cd "${S}"
- ht_fix_all
- einfo "Patch for inisqueak"
- sed -i s/\${MAJOR}/39/ "${S}/platforms/unix/config/inisqueak.in"
- # ht_fix_all doesn't catch this because there's no number
- sed -i -e 's/tail +/tail -n +/' platforms/unix/config/inisqueak.in
- sed -i s/-Werror// "${S}/platforms/unix/vm-display-fbdev/Makefile.in"
- cd "${WORKDIR}"
- epatch ${P}-glibc210.patch
-}
-
-src_compile() {
- local myconf=""
- use X || myconf="--without-x --without-npsqueak"
- use mmx && myconf="${myconf} --enable-mpg-mmx"
- use threads && myconf="${myconf} --enable-mpg-pthread"
- use opengl || myconf="${myconf} --without-gl"
- 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} CC="$(tc-getCC)" LD="$(tc-getLD)" || die "configure failed"
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" || 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() {
- elog "Run 'inisqueak' to get a private copy of the squeak image."
-}
diff --git a/dev-lang/squeak/squeak-3.6_p3.ebuild b/dev-lang/squeak/squeak-3.6_p3.ebuild
deleted file mode 100644
index e25b18970557..000000000000
--- a/dev-lang/squeak/squeak-3.6_p3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2007 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.9 2007/07/22 08:43:03 graaff Exp $
-
-inherit nsplugins libtool flag-o-matic eutils
-
-MY_PV=${PV/_p/-}
-DESCRIPTION="Highly-portable Smalltalk-80 implementation"
-HOMEPAGE="http://www.squeak.org/"
-SRC_URI="http://www-sor.inria.fr/~piumarta/squeak/unix/release/Squeak-${MY_PV}.src.tar.gz
- mozilla? ( http://squeakland.org/installers/SqueakPlugin.image.zip )"
-LICENSE="Apple"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE="X nas mmx mozilla"
-# a ffi flag would be nice
-
-DEPEND="nas? ( media-libs/nas )
- X? ( x11-libs/libX11 x11-libs/libXext )"
-RDEPEND="${DEPEND}
- virtual/squeak-image"
-DEPEND="${DEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}/Squeak-${MY_PV}"
-
-src_compile() {
- local myconf=""
-
- strip-flags
- filter-mfpmath sse
- filter-flags "-fPIC" "-maltivec" "-mabi=altivec" "-fstack-protector" "-pipe" "-g" "-mtune" "-march" "-mcpu" "-O" "-O1" "-O2" "-Os" "-O3" "-freorder-blocks" "-fprefetch-loop-array" "-fforce-addr"
-
- use X || myconf="--without-x"
- use mmx && myconf="${myconf} --enable-mpg-mmx"
- use mozilla || myconf="${myconf} --without-npsqueak"
- # use oss && myconf="${myconf} --with-audio=oss"
- # use nas && myconf="${myconf} --with-audio=nas"
-
- # fix tail problems
- cd ${S}/platforms/unix/config
- sed -i -e 's/tail -1/tail -n 1/g' mkconfig.in
- sed -i -e 's/tail -1/tail -n 1/g' verstamp
- chmod +x verstamp
-
- cd ${S}
-
- mkdir build
- cd build
- #CPPFLAGS: for nas
- CPPFLAGS="-I/usr/X11R6/include" ../platforms/unix/config/configure \
- --host=${CHOST} \
- --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
-
- ### the rest is all for the plugin
- if use mozilla ; then
- inst_plugin /usr/lib/squeak/${MY_PV}/npsqueak.so
-
- dodoc nps/README.npsqueak
- dohtml -a html,sts nps/test/*
-
- # maybe we should install the image here..
- insinto /usr/lib/squeak
- newins ${WORKDIR}/SqueakPlugin.image npsqueak.image
- fi
-}
-
-pkg_postinst() {
- elog 'Run "inisqueak" to get a private copy of the VM image.'
-}