summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-02-10 12:32:41 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-02-10 12:32:41 +0000
commit12fb6cc5814879f0b910f77b4222907dce1347c6 (patch)
treeaddba1795b0ec0bc5dddf9770c31994cc8ce044b /dev-haskell/gtk2hs
parentRemove older patch-level releases. (diff)
downloadgentoo-2-12fb6cc5814879f0b910f77b4222907dce1347c6.tar.gz
gentoo-2-12fb6cc5814879f0b910f77b4222907dce1347c6.tar.bz2
gentoo-2-12fb6cc5814879f0b910f77b4222907dce1347c6.zip
Remove old versions.
(Portage version: 2.0.54)
Diffstat (limited to 'dev-haskell/gtk2hs')
-rw-r--r--dev-haskell/gtk2hs/ChangeLog6
-rw-r--r--dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.6-r11
-rw-r--r--dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.81
-rw-r--r--dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild91
-rw-r--r--dev-haskell/gtk2hs/gtk2hs-0.9.8.ebuild90
5 files changed, 5 insertions, 184 deletions
diff --git a/dev-haskell/gtk2hs/ChangeLog b/dev-haskell/gtk2hs/ChangeLog
index eb8e060a7a04..c0c8ca592939 100644
--- a/dev-haskell/gtk2hs/ChangeLog
+++ b/dev-haskell/gtk2hs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-haskell/gtk2hs
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.20 2006/01/29 15:45:14 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.21 2006/02/10 12:32:41 dcoutts Exp $
+
+ 10 Feb 2006; <duncan@gentoo.org> -gtk2hs-0.9.6-r1.ebuild,
+ -gtk2hs-0.9.8.ebuild:
+ Remove old versions.
28 Jan 2006; Simon Stelling <blubb@gentoo.org>
-files/gtk2hs-0.9.7-ghc64.patch.gz, gtk2hs-0.9.7.ebuild:
diff --git a/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.6-r1 b/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.6-r1
deleted file mode 100644
index 8016e09cd9b1..000000000000
--- a/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.6-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fdd2d08d9789d1011b44a1df048c95b9 gtk2hs-0.9.6.tar.gz 457131
diff --git a/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.8 b/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.8
deleted file mode 100644
index b935c8f86331..000000000000
--- a/dev-haskell/gtk2hs/files/digest-gtk2hs-0.9.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2f7afbb25e7f0dc418ce06c63c0fe5ad gtk2hs-0.9.8.tar.gz 749983
diff --git a/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild b/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild
deleted file mode 100644
index 61022b5fe4a8..000000000000
--- a/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild,v 1.5 2005/01/19 11:00:27 kosmikus Exp $
-
-inherit base check-reqs ghc-package
-
-DESCRIPTION="GTK+-2.x bindings for Haskell"
-HOMEPAGE="http://gtk2hs.sourceforge.net/"
-SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-
-IUSE="doc gnome"
-
-DEPEND=">=virtual/ghc-5.04
- >=x11-libs/gtk+-2
- gnome? ( >=gnome-base/libglade-2
- >=x11-libs/gtksourceview-0.6
- >=gnome-base/gconf-2 )"
-
-pkg_setup() {
- # need this much memory (in MBytes) (does *not* check swap)
- CHECKREQS_MEMORY="350"
-
- check_reqs
-}
-
-src_compile() {
- econf \
- --libdir=$(ghc-libdir) \
- --with-hcflags="-O -H180m" \
- `use_enable gnome gnome` \
- `use_enable gnome libglade` \
- || die "Configure failed"
-
- #fix for bug in 0.9.6 tarball, directory missing so don't compile that demo
- sed -i 's/MAKE_APPS += demo\/filechooser//' ${S}/Makefile
- #or work out how to build without demos
-
- # parallel build doesn't work, so specify -j1
- emake -j1 || die "Make failed"
-
- if use doc; then
- make html || die "Make docs failed"
- fi
-}
-
-src_install() {
-
- make DESTDIR=${D} install-without-pkg || die "Make install failed"
- if use doc; then
- make DESTDIR=${D} install-html || die "Make docs failed"
- fi
-
- # fix dynamic linking with pthread bug for glade & sourview
- if use gnome; then
- sed -i 's:"pthread",::' ${D}/$(ghc-libdir)/gtk2hs/sourceview/sourceview.conf
- sed -i 's:"pthread",::' ${D}/$(ghc-libdir)/gtk2hs/glade/glade.conf
- fi
-
- # arrange for the packages to be registered
- ghc-setup-pkg \
- "${D}/$(ghc-libdir)/gtk2hs/gtk2/gtk2.conf" \
- "${D}/$(ghc-libdir)/gtk2hs/mogul/mogul.conf" \
- $(useq gnome && echo \
- "${D}/$(ghc-libdir)/gtk2hs/glade/glade.conf" \
- "${D}/$(ghc-libdir)/gtk2hs/gconf/gconf.conf" \
- "${D}/$(ghc-libdir)/gtk2hs/sourceview/sourceview.conf")
- ghc-install-pkg
-
- # build ghci .o files from .a files
- ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/gtk2/libgtk2hs.a
- ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/mogul/libmogul.a
- if use gnome; then
- ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/sourceview/libsourceview.a
- ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/glade/libglade2hs.a
- ghc-makeghcilib ${D}/$(ghc-libdir)/gtk2hs/gconf/libgconf.a
- fi
-
- # fix gconf hi file location install bug
- if use gnome; then
- mkdir -p "${D}/$(ghc-libdir)/gtk2hs/gconf/hi/System/Gnome/GConf"
- mv ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/GConf.hi \
- ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/System/Gnome/
- mv ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/*.hi \
- ${D}/$(ghc-libdir)/gtk2hs/gconf/hi/System/Gnome/GConf/
- fi
-}
-
diff --git a/dev-haskell/gtk2hs/gtk2hs-0.9.8.ebuild b/dev-haskell/gtk2hs/gtk2hs-0.9.8.ebuild
deleted file mode 100644
index 27a8e0b648e1..000000000000
--- a/dev-haskell/gtk2hs/gtk2hs-0.9.8.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.8.ebuild,v 1.3 2005/08/31 10:08:00 dcoutts Exp $
-
-inherit base ghc-package multilib
-
-DESCRIPTION="GTK+-2.x bindings for Haskell"
-HOMEPAGE="http://haskell.org/gtk2hs/"
-SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz"
-LICENSE="LGPL-2"
-SLOT="0"
-
-KEYWORDS="-amd64 ~ppc ~x86"
-#enable amd64 when ghc-6.4.1 is out
-#enable sparc when CFLAGS/-mcpu ebuild bug is fixed
-
-IUSE="doc gnome mozilla"
-
-DEPEND=">=virtual/ghc-5.04
- >=x11-libs/gtk+-2
- gnome? ( >=gnome-base/libglade-2
- >=x11-libs/gtksourceview-0.6
- >=gnome-base/gconf-2 )
- mozilla? ( >=www-client/mozilla-1.4 )
- doc? ( =dev-haskell/haddock-0.6* )"
-
-src_compile() {
- econf \
- --enable-packager-mode \
- `use_enable gnome libglade` \
- `use_enable gnome gconf` \
- `use_enable gnome sourceview` \
- `use_enable mozilla mozilla` \
- `use_enable doc docs` \
- || die "Configure failed"
-
- # parallel build doesn't work, so specify -j1
- emake -j1 || die "Make failed"
-}
-
-src_install() {
-
- make install \
- DESTDIR=${D} \
- htmldir="/usr/share/doc/${PF}/html" \
- haddockifacedir="/usr/share/doc/${PF}" \
- || die "Make install failed"
-
- # for some reason it creates the doc dir even if it is configured
- # to not generate docs, so lets remove the empty dirs in that case
- # (and lets be cautious and only remove them if they're empty)
- if ! use doc; then
- rmdir ${D}/usr/share/doc/${PF}/html
- rmdir ${D}/usr/share/doc/${PF}
- rmdir ${D}/usr/share/doc
- rmdir ${D}/usr/share
- fi
-
- # arrange for the packages to be registered
- if ghc-cabal; then
- pkgext=cabal
- else
- pkgext=pkg
- fi
- ghc-setup-pkg \
- "${D}/usr/$(get_libdir)/gtk2hs/glib.${pkgext}" \
- "${D}/usr/$(get_libdir)/gtk2hs/gtk.${pkgext}" \
- "${D}/usr/$(get_libdir)/gtk2hs/mogul.${pkgext}" \
- $(useq gnome && echo \
- "${D}/usr/$(get_libdir)/gtk2hs/glade.${pkgext}" \
- "${D}/usr/$(get_libdir)/gtk2hs/gconf.${pkgext}" \
- "${D}/usr/$(get_libdir)/gtk2hs/sourceview.${pkgext}") \
- $(useq mozilla && echo \
- "${D}/usr/$(get_libdir)/gtk2hs/mozembed.${pkgext}")
- ghc-install-pkg
-
- # build ghci .o files from .a files
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSglib.a
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSgtk.a
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSmogul.a
- if use gnome; then
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSglade.a
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSgconf.a
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSsourceview.a
- fi
- if use mozilla; then
- ghc-makeghcilib ${D}/usr/$(get_libdir)/gtk2hs/libHSmozembed.a
- fi
-}
-