diff options
author | 2012-07-15 21:52:29 +0000 | |
---|---|---|
committer | 2012-07-15 21:52:29 +0000 | |
commit | 9e17f8d1908534650b191dee19cd9a48097f8e5d (patch) | |
tree | d39e1a705bec8d693764ee15a7bf382c36df6aa2 /dev-lang | |
parent | Newer version available in portage (diff) | |
download | pauldv-9e17f8d1908534650b191dee19cd9a48097f8e5d.tar.gz pauldv-9e17f8d1908534650b191dee19cd9a48097f8e5d.tar.bz2 pauldv-9e17f8d1908534650b191dee19cd9a48097f8e5d.zip |
Add an ebuilds for squeak and scratch
svn path=/trunk/overlay/; revision=143
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/squeak/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/squeak/NOTES.txt | 4 | ||||
-rw-r--r-- | dev-lang/squeak/files/pluginpath.patch | 13 | ||||
-rw-r--r-- | dev-lang/squeak/squeak-4.4.7.2357.ebuild | 82 |
4 files changed, 103 insertions, 0 deletions
diff --git a/dev-lang/squeak/Manifest b/dev-lang/squeak/Manifest new file mode 100644 index 0000000..739e775 --- /dev/null +++ b/dev-lang/squeak/Manifest @@ -0,0 +1,4 @@ +AUX pluginpath.patch 463 RMD160 ca0268feb974fde0d23c71904ca0b0ef12b5ddf2 SHA1 34f491a805b57fc383e4605ddfca231bec7719f0 SHA256 8deee52bd76046da958dfffe85a06ad88d77975128a1575cfd6a7e06a991b540 +DIST Squeak-4.4.7.2357-src.tar.gz 3641222 RMD160 42de8fa3bfb9a4f60cb736cdc643298ca5392814 SHA1 969f8531e585d60067824aae99f09ae19c7bc3d7 SHA256 aca80cdddd5f34b9a4a17b62c3e905bfc3bbdd355ba285a902b6ea79556f82d1 +EBUILD squeak-4.4.7.2357.ebuild 1869 RMD160 72e5fa9a4db2d11bc30270e9c555a29cf008300d SHA1 e5eafd4ee98723f3d0f52fecdf642ec7ceb8c6e2 SHA256 ab7516c2d0df90ddc4f725d0c2e44f9f9711847ef377106139513f123cde83ab +MISC NOTES.txt 183 RMD160 f21b25ee1e0a6624c752c9479ac5a5b7fdf1bdb7 SHA1 4d547441ec2e643b9d57d3ba17e1982d2824521f SHA256 7a26ad55621da54d1e9d4f6ca1f706fe749c81153720324a6211c82183efb44a diff --git a/dev-lang/squeak/NOTES.txt b/dev-lang/squeak/NOTES.txt new file mode 100644 index 0000000..2705d5e --- /dev/null +++ b/dev-lang/squeak/NOTES.txt @@ -0,0 +1,4 @@ +Initial ebuild (based on original from the tree of 2009, needed for MIT +scratch. +Todo: Support useflags, for now everything is required such as to work around +automagic dependencies. diff --git a/dev-lang/squeak/files/pluginpath.patch b/dev-lang/squeak/files/pluginpath.patch new file mode 100644 index 0000000..8c2f4ba --- /dev/null +++ b/dev-lang/squeak/files/pluginpath.patch @@ -0,0 +1,13 @@ +--- Squeak-4.4.7.2357-src/unix/vm/sqUnixExternalPrims.c.orig 2012-07-15 22:35:31.000000000 +0100 ++++ Squeak-4.4.7.2357-src/unix/vm/sqUnixExternalPrims.c 2012-07-15 22:44:28.000000000 +0100 +@@ -182,6 +182,10 @@ + ; + } + ++ if ((handle=tryLoadModule(vmPath, pluginName))) { ++ return handle; ++ } ++ + /* try dlopen()ing LIBRARY_PREFIX<name>LIBRARY_SUFFIX searching only the default locations modulo LD_LIBRARY_PATH et al */ + + # if defined(HAVE_SNPRINTF) diff --git a/dev-lang/squeak/squeak-4.4.7.2357.ebuild b/dev-lang/squeak/squeak-4.4.7.2357.ebuild new file mode 100644 index 0000000..edc0de6 --- /dev/null +++ b/dev-lang/squeak/squeak-4.4.7.2357.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/squeak/Attic/squeak-3.10.5.ebuild,v 1.2 2010/04/06 17:36:21 ssuominen dead $ + +EAPI="4" +inherit base versionator fixheadtails eutils + +DESCRIPTION="Highly-portable Smalltalk-80 implementation" +HOMEPAGE="http://www.squeak.org/" +SRC_URI="http://squeakvm.org/unix/release/Squeak-${PV}-src.tar.gz" +LICENSE="Apple" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X mmx threads iconv opengl" + +CMAKE_USE_DIR="unix" + +CDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + sys-apps/dbus + media-libs/freetype:2 + dev-libs/glib:2 + sys-libs/zlib + sys-apps/util-linux + dev-libs/libxml2 + media-libs/gstreamer:0.10 + media-libs/alsa-lib + media-libs/libvorbis + media-libs/speex + x11-libs/pango + x11-libs/cairo + virtual/libffi + opengl? ( virtual/opengl )" +DEPEND="${CDEPEND} dev-util/cmake" +RDEPEND="${CDEPEND}" + +S="${WORKDIR}/Squeak-${PV}-src" + +src_unpack() { + base_src_unpack + cd ${S} + ht_fix_all + # ht_fix_all doesn't catch this because there's no number + sed -i -e 's/tail +/tail -n +/' unix/config/inisqueak.in + mkdir build + epatch ${FILESDIR}/pluginpath.patch +} + +src_configure() { + myconf="$(use_with opengl gl) + --without-vm-display-Quartz + --without-vm-sound-Sun + --without-vm-sound-NAS + --without-vm-sound-MacOSX" + cd ${S}/build + ECONF_SOURCE=../unix/cmake econf ${myconf} +} + +src_compile() { + cd ${S}/build + emake || die +} + +src_install() { + cd ${S}/build + export DESTDIR="$D" + make install ||die + cd ${D}/usr/lib/squeak/*/ +} + +#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." +#} |