Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/helium
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/ChangeLog,v 1.22 2008/03/12 12:57:36 phreak Exp $
12 Mar 2008; Christian Heim
Removing Andres Loeh (kosmikus, #200333) from metadata.xml.
31 Oct 2007; Duncan Coutts
helium-1.2-r1.ebuild, helium-1.6.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc
10 Apr 2007;
Fix deps, identical to bug 161424.
10 Apr 2007; Lennart Kolmodin
Fix dependencies wrt bug 161424, i.e. dep+block overlap.
Thanks to Bram Schoenmakers
*helium-1.6 (06 Apr 2007)
06 Apr 2007; Andres Loeh
+helium-1.6.ebuild:
Added new version 1.6, which is going to replace the broken older ebuilds.
06 Jan 2007; Andres Loeh
Fixed elog / einfo usage.
19 Sep 2006; Duncan Coutts
helium-1.2-r1.ebuild:
Block on ghc-6.4 rather than forcing a downgrade.
24 Jul 2005;
Change the ghc dependency to a form that portage can cope with better.
04 May 2005; David Holm
Added to ~ppc.
19 Mar 2005; Andres Loeh
helium-1.2-r1.ebuild:
Marked helium-1.2 stable on x86. Currently, helium cannot be compiled with
ghc-6.4 and is thus blocked by this version.
19 Feb 2005; Jason Wever
helium-1.2-r1.ebuild:
Masked on SPARC as dependencies cannot be met.
*helium-1.2-r1 (18 Nov 2004)
18 Nov 2004; Andres Loeh
+files/helium-1.2-libraries.patch, files/helium-wrapper,
+helium-1.2-r1.ebuild:
Made compatible with gcc-3.4 and fixed a bug that caused the wrong set of
libraries to be used by default (both bug #71183).
17 Oct 2004; Thomas Matthijs
helium-1.2.ebuild:
dojar --> java-pkg_dojar
01 Jul 2004; Jeremy Huddleston
helium-1.2.ebuild:
virtual/glibc -> virtual/libc
03 Jun 2004; Aron Griffis
helium-1.2.ebuild:
Fix use invocation
26 Apr 2004; Aron Griffis
helium-1.2.ebuild:
Add die following econf for bug 48950
*helium-1.2 (18 Feb 2004)
18 Feb 2004; Andres Loeh
New version (#40365).
02 Dec 2003; Andres Loeh
Corrected source URI's according to bug #34849.
06 Jun 2003; Andres Loeh
adapted to GHC 6.0
*helium-1.1 (09 May 2003)
09 May 2003; Andres Loeh
files/helium-1.1-readline.patch, files/helium-wrapper:
Initial import. Helium is a pure functional programming language that provides
a subset of Haskell. It is designed to be simple and easy to learn. The
compiler has excellent error messages.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX helium-1.1-readline.patch 1710 RMD160 4254f4a102623bfe0fd2883937706abb83b5e61a SHA1 890f05fd7f02cd939e668d0df6c767fc17157c0e SHA256 9295cf427e3f52e418ccb9d5491057fc90df13b1ce8621657ccaf70741e61763
AUX helium-1.2-libraries.patch 1943 RMD160 d4e074d29d8919a0f2e8333c93313e44fcf15ade SHA1 c1109d2823b31e39627784b130aa380f5224ad7a SHA256 6206b35d537d93a91bcfc374bf11831850190897e60761f4a68b71e9014b7eb6
AUX helium-1.2-readline.patch 1661 RMD160 7fa5e4f9c8cd5daa7ac81720c2d7514efc4f3085 SHA1 4a35deefd9c5285acb88a7746f79b36041c6b7b9 SHA256 fcd69f6ed0a32769d156164597632e0d2dbfc8cf99b70da61d15e7b488525dfc
AUX helium-wrapper 715 RMD160 d149b2fecd4fb572207dac9ce367200c9ba69e9a SHA1 722c021ab96d588fe6f9eddb7bd9182b58b70afe SHA256 58516ac6fce8f7749f4e365a1317e427d23e68a2476c785090f955959a4ddb93
AUX helium-wrapper-1.6 549 RMD160 7b655dbeb5fc1898e928b4509463ebc6337913bb SHA1 0f68302441564a68ee98e9d7d700a0df0a65fca1 SHA256 32fd3f3e349cb23f19b467d27180ef5af20fb538b17ba6fd95ed1743670d703a
DIST Hint.jar 120170 RMD160 7d6185a093d718cbdc8e97b7d8a2af2465fbc548 SHA1 cb5f47b100590afecf547d11c3c40b27685846d0 SHA256 a6f8a13ef58552c13e88ff773ede5c6a1816a1a293eec66d500897aedd1cc441
DIST helium-1.1-src.tar.gz 901073 RMD160 ecfd1fda99daf8f97262c27bac6ace3cd33da7a9 SHA1 ff5b5f2f858c04166587d71e82a10f8136a041cc SHA256 822a64d0b6e44b7625acd0bef74d89a0390a721db2e9e94d6e61d2ab6cb30d46
DIST helium-1.2-src.tar.gz 1200565 RMD160 213f8c90243aa6db1ed1f188b131f7c7b8235f35 SHA1 de54d5b6275f2f3326f047180b507928e6ec182e SHA256 474aa26e2a92545d64158ea88440b5d5a7758318a0b34dbded4cc20814099bb0
DIST helium-1.6-ghc.patch.bz2 34579 RMD160 7754353e882d233533011f7e7be0bc92c01b83d0 SHA1 3be01c237bba001c0ed5bfe97cfbaac25aff05c0 SHA256 da463fe2a27689ec702eaf7c687446272f983845228cbb45d0fa91e1542cd7ab
DIST helium-1.6-src.tar.gz 960254 RMD160 9700dde4b77adb73825965c00cdc02d3e1f6fab6 SHA1 9e1d43d25c92f86c57fe5864e26365923dcfe98c SHA256 a93632d031a16c0ea516f4fa7ce63acd0950543c74265e22abd0993856a0a053
EBUILD helium-1.1.ebuild 1845 RMD160 86778dd7ee8d9f57d95ef127b5d1f77b188b0e91 SHA1 5bb6a43b781dc0e0298f37af4af2fcd10fe7ffa6 SHA256 0b2755fd80f99db0f1d8aca14aadfb45ae45ddf635892d6e382a172c255cb835
EBUILD helium-1.2-r1.ebuild 2253 RMD160 3fbc6ce598434fd8d268a73bba2c305e7a6ee3cf SHA1 89a66e8873d324bcb24716b01b83c69361e75ca7 SHA256 57dfc539ab0923ab1e6af2f004c6680fcfb1b809f3d60ee739782c95ff46ad69
EBUILD helium-1.6.ebuild 1771 RMD160 1a25bb2aeb4d26c3901222dc60eab062a24989dc SHA1 7f9fdc814dfc903442b6e83e69954d37d49f1a04 SHA256 999d37f92372b85e154bc7ec0f2cdab13e27b29566894e125335480db69595a8
MISC ChangeLog 3274 RMD160 c30f9b342b10dcb60ab4203a1711b604722bf75d SHA1 4b99808ae3aca97760c34cd1948faff736b32bc2 SHA256 58c51c25f5be755da2d77f5bb4cb5c242fee85e903af08ebb6ce3e076df3c1fc
MISC metadata.xml 161 RMD160 f485b248c733c0ef48ebe461e56d10631182864d SHA1 e3539af233f1a90c2470823747cae37ab10d5b2e SHA256 f560c0c2c8a2f2ca3c0c03e1836e16da7085b32ea60e03d9add5e405dac9f004
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFH19NFyuNVb5qfaOYRAnzsAJ40bdcFGkhWRyKeclFKXz6/fhVBuQCgsOjx
q7UVkT5XLv60vTkY8uOkMR4=
=VUEB
-----END PGP SIGNATURE-----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/helium-1.1.ebuild,v 1.20 2007/10/31 13:22:01 dcoutts Exp $
inherit java-pkg
DESCRIPTION="Helium (for learning Haskell)"
HOMEPAGE="http://www.cs.uu.nl/helium"
SRC_URI="http://www.cs.uu.nl/helium/distr/${P}-src.tar.gz
http://www.cs.uu.nl/helium/distr/Hint.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -sparc"
IUSE="readline"
DEPEND="
readline? ( sys-libs/readline )"
RDEPEND="virtual/jdk
dev-libs/gmp
readline? ( sys-libs/readline )"
src_unpack() {
unpack ${P}-src.tar.gz
# patch for readline support if requested
if use readline; then
patch -p0 -i ${FILESDIR}/${P}-readline.patch || die
fi
# fix one file due to GHC 6.0's Template Haskell extension
einfo modifying ParsecPerm to ensure compatibility with GHC 6.0
cd ${S}/parsec
mv ParsecPerm.hs ParsecPerm.hs.orig
sed -e 's/(\$/(\$ /' ParsecPerm.hs.orig > ParsecPerm.hs
}
src_compile() {
pushd lvm || die
pushd src || die
./configure
popd
popd
pushd heliumNT || die
econf --without-upx || die "econf failed"
pushd src || die
make depend || die
make || die # emake doesn't work safely
}
src_install() {
cd heliumNT/src || die
make prefix=${D}/usr \
bindir=${D}/usr/lib/helium/bin \
libdir=${D}/usr/lib/helium/lib \
demodir=${D}/usr/lib/helium/demo \
install || die
# install hint
java-pkg_dojar ${DISTDIR}/Hint.jar
# create wrappers
dobin ${FILESDIR}/helium-wrapper
dosym /usr/bin/helium-wrapper /usr/bin/helium
dosym /usr/bin/helium-wrapper /usr/bin/lvmrun
dosym /usr/bin/helium-wrapper /usr/bin/texthint
dosym /usr/bin/helium-wrapper /usr/bin/hint
}
pkg_postinst() {
elog "hi is now called texthint"
elog "hint is a new GUI-based interpreter"
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/helium-1.2-r1.ebuild,v 1.9 2007/10/31 13:22:01 dcoutts Exp $
inherit eutils java-pkg
DESCRIPTION="Helium (for learning Haskell)"
HOMEPAGE="http://www.cs.uu.nl/helium"
SRC_URI="http://www.cs.uu.nl/helium/distr/${P}-src.tar.gz
http://www.cs.uu.nl/helium/distr/Hint.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 -sparc ~ppc"
IUSE="readline"
DEPEND="
readline? ( sys-libs/readline )"
RDEPEND="virtual/jdk
dev-libs/gmp
readline? ( sys-libs/readline )"
src_unpack() {
unpack ${P}-src.tar.gz
# patch to use simple libraries by default
epatch ${FILESDIR}/${P}-libraries.patch
# patch for readline support if requested
if use readline; then
epatch ${FILESDIR}/${P}-readline.patch
fi
}
src_compile() {
pushd lvm || die "cannot cd to lvm"
pushd src || die "cannot cd to src"
./configure || die "lvm configure failed"
# for gcc 3.4 compatibility, patch file created by configure
sed -i 's/#define strncpy(dest,src,size) strcpy(dest,src)/#define HAS_SNPRINTF\n#define HAS_VSNPRINTF\n/' config/s.h \
|| die "patch to config/s.h didn't apply"
popd
popd
pushd heliumNT || die "cannot cd to heliumNT"
econf --without-upx || die "econf failed"
pushd src || die "cannot cd to src"
make depend || die "make depend failed"
make || die "make failed" # emake doesn't work safely
}
src_install() {
cd heliumNT/src || die "cannot cd to heliumNT/src"
make prefix=${D}/usr \
bindir=${D}/usr/lib/helium/bin \
libdir=${D}/usr/lib/helium/lib \
tclibdir=${D}/usr/lib/helium/tclib \
demodir=${D}/usr/lib/helium/demo \
install || die "make failed"
# install hint
java-pkg_dojar ${DISTDIR}/Hint.jar
# create wrappers
dobin ${FILESDIR}/helium-wrapper
dosym /usr/bin/helium-wrapper /usr/bin/helium
dosym /usr/bin/helium-wrapper /usr/bin/lvmrun
dosym /usr/bin/helium-wrapper /usr/bin/texthint
dosym /usr/bin/helium-wrapper /usr/bin/hint
dosym /usr/bin/helium-wrapper /usr/bin/helium-tc
dosym /usr/bin/helium-wrapper /usr/bin/lvmrun-tc
dosym /usr/bin/helium-wrapper /usr/bin/texthint-tc
dosym /usr/bin/helium-wrapper /usr/bin/hint-tc
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/helium-1.6.ebuild,v 1.2 2007/10/31 13:22:01 dcoutts Exp $
inherit eutils
DESCRIPTION="Helium (for learning Haskell)"
HOMEPAGE="http://www.cs.uu.nl/helium"
SRC_URI="http://www.cs.uu.nl/helium/distr/${P}-src.tar.gz
mirror://gentoo/${P}-ghc.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
# compilation breaks on amd64, suspect lvm doesn't work properly
KEYWORDS="-amd64 ~ppc -sparc ~x86"
IUSE="readline"
DEPEND=">=dev-lang/ghc-6.4.2
readline? ( sys-libs/readline )"
RDEPEND="dev-libs/gmp
readline? ( sys-libs/readline )"
src_unpack() {
unpack ${A}
epatch "${P}-ghc.patch"
}
src_compile() {
# helium consists of two components that have to be set up separately,
# lvm and the main compiler. both build systems are slightly strange.
# lvm uses a completely non-standard build system:
# the ./configure of lvm is not the usual autotools configure
cd "${S}/lvm/src" && ./configure || die "lvm configure failed"
echo "STRIP=echo" >> config/makefile || die "lvm postconfigure failed"
myconf="$(use_enable readline) --without-strip --without-upx --without-ag"
cd "${S}/helium" && econf --prefix="/usr/lib" ${myconf} || die "econf failed"
cd "${S}/helium/src" && make depend || die "make depend failed"
emake -j1 || die "make failed"
}
src_install() {
cd helium/src || die "cannot cd to helium/src"
make install bindir="/usr/lib/helium/bin" DESTDIR="${D}" || die "make install failed"
# create wrappers
newbin "${FILESDIR}/helium-wrapper-${PV}" helium-wrapper
dosym /usr/bin/helium-wrapper /usr/bin/texthint
dosym /usr/bin/helium-wrapper /usr/bin/helium
dosym /usr/bin/helium-wrapper /usr/bin/lvmrun
}