summaryrefslogtreecommitdiff
path: root/dev-haskell/glib
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/glib
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/glib')
-rw-r--r--dev-haskell/glib/Manifest8
-rw-r--r--dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch31
-rw-r--r--dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch11
-rw-r--r--dev-haskell/glib/glib-0.12.0.ebuild25
-rw-r--r--dev-haskell/glib/glib-0.12.3.1.ebuild31
-rw-r--r--dev-haskell/glib/glib-0.12.4-r1.ebuild27
-rw-r--r--dev-haskell/glib/glib-0.12.5.0-r1.ebuild34
-rw-r--r--dev-haskell/glib/glib-0.12.5.4.ebuild34
-rw-r--r--dev-haskell/glib/glib-0.13.0.6.ebuild37
-rw-r--r--dev-haskell/glib/glib-0.13.0.7.ebuild37
-rw-r--r--dev-haskell/glib/glib-0.13.1.0.ebuild35
-rw-r--r--dev-haskell/glib/metadata.xml15
12 files changed, 325 insertions, 0 deletions
diff --git a/dev-haskell/glib/Manifest b/dev-haskell/glib/Manifest
new file mode 100644
index 00000000000..68f7f068146
--- /dev/null
+++ b/dev-haskell/glib/Manifest
@@ -0,0 +1,8 @@
+DIST glib-0.12.0.tar.gz 43084 SHA256 29fce431e5561998ad28923a453373b6979d3dbac1fb446d63eca0d7949113eb SHA512 b0aa70eeb65f996fc34703637e30eef007dc4b825ec7892ffdebf8a355edb74e31f6344b4856f44db686da5fa1cf48ab6c74fd0cf51ea4fcbecdf15e24fc1209 WHIRLPOOL 967b2099b3caac6ebc5b47f2c69c2ef04dd517f2cf4ff9b732eef996278f9456f039c5058c59bd2c0c43bdb6b001e9dc851a8cb2d71decda93a87e4ba712560b
+DIST glib-0.12.3.1.tar.gz 45431 SHA256 fe821dc994452e497d075f3be74a7eac6e1637be84982ce7ae0aec59400bbacc SHA512 7521f40780421c08827a0de2bdceaa713ae93f58eefb3befa7b6d2c22069e1bc6afcad846de5f95f4d5c867cc8342b86dfd43e7380e99461f8cecd531abdaca2 WHIRLPOOL 31b15b1f6735578c0188e4663cb89639f50287334b307978a7b8d5b919e30663dc4d346d94fc967302ec3e3c6f382d9470534fdfcf8d895d94cea593505012f7
+DIST glib-0.12.4.tar.gz 45391 SHA256 5d9df40d0891ec45cd4b96485ae00815a57563dcf4167f18fef2d11e3cbc2269 SHA512 67d419c8a9d393b7cc8360cefe143d8dad0bccad56f639df678357a792ed12ab3b93f3712734f61df285137e277f912a097b628f0519dd5a9618a7a2a15cc6e1 WHIRLPOOL 2c52c1899d2052b21e74c30609a3f104f35eea4da77265892e9610e8309f41145e4650f1273136c4d9a11bbeebb6b4618d7e26a71b80b7088d1b9caa0782187c
+DIST glib-0.12.5.0.tar.gz 45862 SHA256 26056a926cc4786331a477272208162a8affa5d4c347fba9870435d33ae16f68 SHA512 8f0b9690c133027748c2f38ff5b938b678de29285fb006a3464d6364fdbca2bc5de3849cd07da86bbc4a683b88367d1fe1a90852060fac0cb7b30caba90c9a3c WHIRLPOOL 34ffa41a68fb16aec6c36e205748efaafd7ebfb306d5a5ae5a3d8c43490cde958fcea16039e94b2012c55602466f0b415e9c3eb43831b166088baf394c17c673
+DIST glib-0.12.5.4.tar.gz 46080 SHA256 e63346df27cb45aa7c76bfffe5ba81bb5332b48bde4ccbe931183e5d357378c9 SHA512 2ae2b70d839c88461c6dc38bd370e336b004b94316cbffee158203a311e8b9d0ffe93063d431740f1b3c42d2c55bc8fd46ebfbd4e591a447704ceb68a5815312 WHIRLPOOL 88e56b74587a39efebdce321e745c6d71f1e16fcd04efa8325b2f7a1c6c3f0e8ede4344f042a039c584d9fa0e82c525a759c23063c4ada7efbff2f9cf4405f90
+DIST glib-0.13.0.6.tar.gz 47966 SHA256 3b434abc2d981f183fa022d57ec14cc2fd880cb74443b9ceaccf9c9f37a0c3c2 SHA512 9ee6aa2afcc2c98d3883d845e06ac9be576718c4f3920567c1150e885747b5884c13966574f2f0d7a7c5e1afd22d63deefbf3be9ed4263ee168927cf6a0e54d7 WHIRLPOOL b6d70d6b9f89196df383ba1b8c4be379e15d09ea0cb473e9a85f661dd63f9fff784cc96b643bcd0a87c58aeb4ccc11bfd993e880faa2b65d0986565787d98eda
+DIST glib-0.13.0.7.tar.gz 47988 SHA256 fe5fb5339a7694c915a388bced3b8d934d78cf51c5369f348fa6f52815dea69b SHA512 357182e65e913323e6cee5709c117152e0fe7ffe3171adacbfa5f553904a9ac98406f1f246b37ea96fdc097235bbccc902b3b4fc459e4bf0c09d92c51bad6791 WHIRLPOOL ad710086350abb4a9f0257b7d52f23b9a5cbf1b560243e5a0384cf2d082bf464dc0ca7a7ba35e55ed86b967d805307c7b3d209de468f0b9b1faeb4dc545df79a
+DIST glib-0.13.1.0.tar.gz 48157 SHA256 df1d250f1f2aeba208b7cb71f7201189b9939f6a5224739e35d94a5aa3d84c87 SHA512 5268c0ed455e5664bb0473a43eeb47dc3da6ee0c522fe72b17e5837f109a791f1323db0c843cc4e32d9804ed04e61e0a4a93f99b857d7badc79b233dd906ad5b WHIRLPOOL b2ac8e6f5798d94ef281d02fa356823a71a7007c61b92d0eb79a9f84ffadfa377b20ca59482f1841b8c0d8625efc9cee5d4db9440edc06f69bfa3ba9e91a25fc
diff --git a/dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch b/dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch
new file mode 100644
index 00000000000..3c9ab53ab3a
--- /dev/null
+++ b/dev-haskell/glib/files/glib-0.12.3.1-ghc-7.6.patch
@@ -0,0 +1,31 @@
+--- glib-0.12.3.1-orig/System/Glib/GObject.chs 2012-05-28 08:18:53.000000000 +1000
++++ glib-0.12.3.1/System/Glib/GObject.chs 2012-10-11 09:48:16.313701201 +1100
+@@ -127,8 +127,6 @@
+
+ {#pointer GDestroyNotify as DestroyNotify#}
+
+-foreign import ccall "wrapper" mkDestroyNotifyPtr :: IO () -> IO DestroyNotify
+-
+ -- | This function wraps any newly created objects that derives from
+ -- GInitiallyUnowned also known as objects with
+ -- \"floating-references\". The object will be refSink (for glib
+--- glib-0.12.3.1-orig/System/Glib/MainLoop.chs 2012-05-28 08:18:53.000000000 +1000
++++ glib-0.12.3.1/System/Glib/MainLoop.chs 2012-10-11 09:48:04.779383615 +1100
+@@ -71,7 +71,7 @@
+
+ {#pointer SourceFunc#}
+
+-foreign import ccall "wrapper" mkSourceFunc :: IO {#type gint#} -> IO SourceFunc
++foreign import ccall "wrapper" mkSourceFunc :: (Ptr () -> IO {#type gint#}) -> IO SourceFunc
+
+ type HandlerId = {#type guint#}
+
+@@ -79,7 +79,7 @@
+ --
+ makeCallback :: IO {#type gint#} -> IO (SourceFunc, DestroyNotify)
+ makeCallback fun = do
+- funPtr <- mkSourceFunc fun
++ funPtr <- mkSourceFunc (const fun)
+ return (funPtr, destroyFunPtr)
+
+ -- | Sets a function to be called at regular intervals, with the default
diff --git a/dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch b/dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch
new file mode 100644
index 00000000000..75943a09ee0
--- /dev/null
+++ b/dev-haskell/glib/files/glib-0.13.0.7-ghc-7.10.patch
@@ -0,0 +1,11 @@
+--- glib-0.13.0.7-orig/SetupWrapper.hs 2014-12-24 20:57:16.000000000 +1100
++++ glib-0.13.0.7/SetupWrapper.hs 2015-01-03 17:39:42.464000600 +1100
+@@ -18,7 +18,7 @@
+
+ import System.Environment
+ import System.Process
+-import System.Exit
++import System.Exit (exitWith, ExitCode(..))
+ import System.FilePath
+ import System.Directory
+ import qualified Control.Exception as Exception
diff --git a/dev-haskell/glib/glib-0.12.0.ebuild b/dev-haskell/glib/glib-0.12.0.ebuild
new file mode 100644
index 00000000000..0874445c082
--- /dev/null
+++ b/dev-haskell/glib/glib-0.12.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+#nocabaldep is for the fancy cabal-detection feature at build-time
+CABAL_FEATURES="lib profile haddock hscolour nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Haskell bindings to the dev-libs/glib for Gtk2Hs"
+HOMEPAGE="http://www.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.1
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ dev-haskell/gtk2hs-buildtools:0"
diff --git a/dev-haskell/glib/glib-0.12.3.1.ebuild b/dev-haskell/glib/glib-0.12.3.1.ebuild
new file mode 100644
index 00000000000..40f617e54d3
--- /dev/null
+++ b/dev-haskell/glib/glib-0.12.3.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+#nocabaldep is for the fancy cabal-detection feature at build-time
+CABAL_FEATURES="lib profile haddock hscolour hoogle nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the GLIB library for Gtk2Hs"
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.1
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ dev-haskell/gtk2hs-buildtools:0"
+
+src_prepare() {
+ # c2hs ignores #if __GLASGOW_HASKELL__ >= 706
+ # I do not know which earlier ghc versions the patch submitted upstream works with
+ if has_version ">=dev-lang/ghc-7.6.1"; then
+ epatch "${FILESDIR}/${PN}-0.12.3.1-ghc-7.6.patch"
+ fi
+}
diff --git a/dev-haskell/glib/glib-0.12.4-r1.ebuild b/dev-haskell/glib/glib-0.12.4-r1.ebuild
new file mode 100644
index 00000000000..8b25903eef1
--- /dev/null
+++ b/dev-haskell/glib/glib-0.12.4-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 GLIB library for Gtk2Hs"
+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-lang/ghc-6.10.4:=
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ >=dev-haskell/gtk2hs-buildtools-0.12.4:0=
+ virtual/pkgconfig"
diff --git a/dev-haskell/glib/glib-0.12.5.0-r1.ebuild b/dev-haskell/glib/glib-0.12.5.0-r1.ebuild
new file mode 100644
index 00000000000..e9db904b8b2
--- /dev/null
+++ b/dev-haskell/glib/glib-0.12.5.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.5.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 GLIB library for Gtk2Hs"
+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="+closure_signals"
+
+RDEPEND=">=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/gtk2hs-buildtools-0.12.5.1-r1:0=
+ virtual/pkgconfig
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closure_signals closure_signals)
+}
diff --git a/dev-haskell/glib/glib-0.12.5.4.ebuild b/dev-haskell/glib/glib-0.12.5.4.ebuild
new file mode 100644
index 00000000000..e69ebfbb210
--- /dev/null
+++ b/dev-haskell/glib/glib-0.12.5.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the GLIB library for Gtk2Hs"
+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="+closure_signals"
+
+RDEPEND=">=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ >=dev-haskell/gtk2hs-buildtools-0.12.5.1-r1:0=
+ virtual/pkgconfig
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closure_signals closure_signals)
+}
diff --git a/dev-haskell/glib/glib-0.13.0.6.ebuild b/dev-haskell/glib/glib-0.13.0.6.ebuild
new file mode 100644
index 00000000000..31329daea6b
--- /dev/null
+++ b/dev-haskell/glib/glib-0.13.0.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+#nocabaldep is for the fancy cabal-detection feature at build-time
+CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
+inherit base haskell-cabal
+
+DESCRIPTION="Binding to the GLIB library for Gtk2Hs"
+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 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+closure_signals"
+
+RDEPEND=">=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?]
+ >=dev-lang/ghc-7.8.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0=
+ virtual/pkgconfig
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.13.0.7-ghc-7.10.patch")
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closure_signals closure_signals)
+}
diff --git a/dev-haskell/glib/glib-0.13.0.7.ebuild b/dev-haskell/glib/glib-0.13.0.7.ebuild
new file mode 100644
index 00000000000..31329daea6b
--- /dev/null
+++ b/dev-haskell/glib/glib-0.13.0.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+#nocabaldep is for the fancy cabal-detection feature at build-time
+CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
+inherit base haskell-cabal
+
+DESCRIPTION="Binding to the GLIB library for Gtk2Hs"
+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 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+closure_signals"
+
+RDEPEND=">=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?]
+ >=dev-lang/ghc-7.8.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0=
+ virtual/pkgconfig
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.13.0.7-ghc-7.10.patch")
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closure_signals closure_signals)
+}
diff --git a/dev-haskell/glib/glib-0.13.1.0.ebuild b/dev-haskell/glib/glib-0.13.1.0.ebuild
new file mode 100644
index 00000000000..b5ae198ee69
--- /dev/null
+++ b/dev-haskell/glib/glib-0.13.1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.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 GLIB library for Gtk2Hs"
+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="+closure_signals"
+
+RDEPEND=">=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-lang/ghc-7.8.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0=
+ virtual/pkgconfig
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closure_signals closure_signals)
+}
diff --git a/dev-haskell/glib/metadata.xml b/dev-haskell/glib/metadata.xml
new file mode 100644
index 00000000000..5080676f57f
--- /dev/null
+++ b/dev-haskell/glib/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ The GNU Library is a collection of C data structures and utility
+ function for dealing with Unicode. This package only binds as
+ much functionality as required to support the packages that
+ wrap libraries that are themselves based on GLib.
+ </longdescription>
+ <use>
+ <flag name='closure_signals'>Use the the GClosure-based signals
+ implementation.</flag>
+ </use>
+</pkgmetadata>