summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2013-04-03 05:26:07 +0000
committerMark Wright <gienah@gentoo.org>2013-04-03 05:26:07 +0000
commit5fb0440a36630c404ea16c9bfca9714bc5d6241c (patch)
tree9ff4d7c8da832c5dd5d085a85accbfde40238c56 /dev-haskell/gio
parentRestrict the deps in cairo to select gtk+2 in slot 2 fix bug 464260. (diff)
downloadgentoo-2-5fb0440a36630c404ea16c9bfca9714bc5d6241c.tar.gz
gentoo-2-5fb0440a36630c404ea16c9bfca9714bc5d6241c.tar.bz2
gentoo-2-5fb0440a36630c404ea16c9bfca9714bc5d6241c.zip
Move gtk2hs to slot 2 fix bug 464260.
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/gio')
-rw-r--r--dev-haskell/gio/ChangeLog8
-rw-r--r--dev-haskell/gio/gio-0.12.0.ebuild10
-rw-r--r--dev-haskell/gio/gio-0.12.3.ebuild10
-rw-r--r--dev-haskell/gio/gio-0.12.4-r1.ebuild45
-rw-r--r--dev-haskell/gio/gio-0.12.4.ebuild29
5 files changed, 62 insertions, 40 deletions
diff --git a/dev-haskell/gio/ChangeLog b/dev-haskell/gio/ChangeLog
index e4290eb7d3f7..61fc7615994d 100644
--- a/dev-haskell/gio/ChangeLog
+++ b/dev-haskell/gio/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/gio
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/ChangeLog,v 1.14 2013/01/06 09:18:30 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/ChangeLog,v 1.15 2013/04/03 05:26:07 gienah Exp $
+
+*gio-0.12.4-r1 (03 Apr 2013)
+
+ 03 Apr 2013; Mark Wright <gienah@gentoo.org> +gio-0.12.4-r1.ebuild,
+ -gio-0.12.4.ebuild, gio-0.12.0.ebuild, gio-0.12.3.ebuild:
+ Move gtk2hs to slot 2 fix bug 464260.
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gio-0.12.4.ebuild:
Add ~sparc, wrt bug #449220
diff --git a/dev-haskell/gio/gio-0.12.0.ebuild b/dev-haskell/gio/gio-0.12.0.ebuild
index 71a9cbf39d14..704d5e17bf92 100644
--- a/dev-haskell/gio/gio-0.12.0.ebuild
+++ b/dev-haskell/gio/gio-0.12.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/gio-0.12.0.ebuild,v 1.4 2012/09/12 14:39:19 qnikst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/gio-0.12.0.ebuild,v 1.5 2013/04/03 05:26:07 gienah Exp $
# ebuild generated by hackport 0.2.13
@@ -15,13 +15,13 @@ HOMEPAGE="http://www.haskell.org/gtk2hs/"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1"
-SLOT="0"
+SLOT="2"
KEYWORDS="amd64 x86"
IUSE=""
-RDEPEND="=dev-haskell/glib-0.12*
+RDEPEND="=dev-haskell/glib-0.12*:2
dev-haskell/mtl
>=dev-lang/ghc-6.10.1
dev-libs/glib:2"
DEPEND="${RDEPEND}
- dev-haskell/gtk2hs-buildtools"
+ dev-haskell/gtk2hs-buildtools:2"
diff --git a/dev-haskell/gio/gio-0.12.3.ebuild b/dev-haskell/gio/gio-0.12.3.ebuild
index dc34dbd31bee..7e35f2b48297 100644
--- a/dev-haskell/gio/gio-0.12.3.ebuild
+++ b/dev-haskell/gio/gio-0.12.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/gio-0.12.3.ebuild,v 1.5 2012/11/25 05:44:31 gienah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/gio-0.12.3.ebuild,v 1.6 2013/04/03 05:26:07 gienah Exp $
# ebuild generated by hackport 0.2.13
@@ -15,16 +15,16 @@ HOMEPAGE="http://projects.haskell.org/gtk2hs/"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="LGPL-2.1"
-SLOT="0"
+SLOT="2"
KEYWORDS="amd64 x86"
IUSE=""
-RDEPEND="=dev-haskell/glib-0.12*[profile?]
+RDEPEND="=dev-haskell/glib-0.12*:2[profile?]
dev-haskell/mtl[profile?]
>=dev-lang/ghc-6.10.1
dev-libs/glib:2"
DEPEND="${RDEPEND}
- dev-haskell/gtk2hs-buildtools"
+ dev-haskell/gtk2hs-buildtools:2"
src_prepare() {
# c2hs ignores #if __GLASGOW_HASKELL__ >= 706
diff --git a/dev-haskell/gio/gio-0.12.4-r1.ebuild b/dev-haskell/gio/gio-0.12.4-r1.ebuild
new file mode 100644
index 000000000000..2b7f148dc2fd
--- /dev/null
+++ b/dev-haskell/gio/gio-0.12.4-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/gio-0.12.4-r1.ebuild,v 1.1 2013/04/03 05:26:07 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+GTK_MAJ_VER="2"
+
+#nocabaldep is for the fancy cabal-detection feature at build-time
+CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the GIO."
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="${GTK_MAJ_VER}/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/glib-0.12.0:${GTK_MAJ_VER}=[profile?]
+ <dev-haskell/glib-0.13:${GTK_MAJ_VER}=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ >=dev-haskell/gtk2hs-buildtools-0.12.4:${GTK_MAJ_VER}=
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -e "s@gtk2hsHookGenerator@gtk2hsHookGenerator${GTK_MAJ_VER}@" \
+ -e "s@gtk2hsC2hs@gtk2hsC2hs${GTK_MAJ_VER}@" \
+ -e "s@gtk2hsTypeGen@gtk2hsTypeGen${GTK_MAJ_VER}@" \
+ -i "${S}/Gtk2HsSetup.hs" \
+ || die "Could not change Gtk2HsSetup.hs for GTK+ slot ${GTK_MAJ_VER}"
+ sed -e "s@gtk2hsC2hs@gtk2hsC2hs${GTK_MAJ_VER}@" \
+ -e "s@gtk2hsTypeGen@gtk2hsTypeGen${GTK_MAJ_VER}@" \
+ -e "s@gtk2hsHookGenerator@gtk2hsHookGenerator${GTK_MAJ_VER}@" \
+ -i "${S}/${PN}.cabal" \
+ || die "Could not change ${PN}.cabal for GTK+ slot ${GTK_MAJ_VER}"
+}
diff --git a/dev-haskell/gio/gio-0.12.4.ebuild b/dev-haskell/gio/gio-0.12.4.ebuild
deleted file mode 100644
index 9428dce35a29..000000000000
--- a/dev-haskell/gio/gio-0.12.4.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gio/gio-0.12.4.ebuild,v 1.6 2013/01/06 09:18:30 ago Exp $
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.9999
-
-#nocabaldep is for the fancy cabal-detection feature at build-time
-CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
-inherit haskell-cabal
-
-DESCRIPTION="Binding to the GIO."
-HOMEPAGE="http://projects.haskell.org/gtk2hs/"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-haskell/glib-0.12.0:=[profile?]
- <dev-haskell/glib-0.13:=[profile?]
- dev-haskell/mtl:=[profile?]
- >=dev-lang/ghc-6.10.4:=
- dev-libs/glib:2"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.8
- >=dev-haskell/gtk2hs-buildtools-0.12.4"