summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/gio')
-rw-r--r--dev-haskell/gio/Manifest8
-rw-r--r--dev-haskell/gio/files/gio-0.12.3-ghc-7.6.patch17
-rw-r--r--dev-haskell/gio/files/gio-0.13.0.4-ghc-7.10.patch11
-rw-r--r--dev-haskell/gio/gio-0.12.0.ebuild27
-rw-r--r--dev-haskell/gio/gio-0.12.3.ebuild35
-rw-r--r--dev-haskell/gio/gio-0.12.4-r1.ebuild32
-rw-r--r--dev-haskell/gio/gio-0.12.5.0-r1.ebuild30
-rw-r--r--dev-haskell/gio/gio-0.12.5.3.ebuild30
-rw-r--r--dev-haskell/gio/gio-0.13.0.3.ebuild33
-rw-r--r--dev-haskell/gio/gio-0.13.0.4.ebuild40
-rw-r--r--dev-haskell/gio/gio-0.13.1.0.ebuild37
-rw-r--r--dev-haskell/gio/metadata.xml12
12 files changed, 312 insertions, 0 deletions
diff --git a/dev-haskell/gio/Manifest b/dev-haskell/gio/Manifest
new file mode 100644
index 000000000000..e63b17223829
--- /dev/null
+++ b/dev-haskell/gio/Manifest
@@ -0,0 +1,8 @@
+DIST gio-0.12.0.tar.gz 76629 SHA256 2c3c60a63251d08c35abae6fe22c04de585f54e07f8a97d1f1835d42e6f3b25c SHA512 0accc2496dd93456a47fc767ce3472d5858aed27239c0a9712051a06974c99473a5654c20b42c8e314e21342745261ddaeeb42cc4d104b1aa16644e35aa01104 WHIRLPOOL 69219777af316ef92abf2038824e32650ea6b596d5f05bc16deb87c40e3eb091297133d52219c0ad4fadda2ac2deac6042aa29f0870bf9b76bac8e775baea9ec
+DIST gio-0.12.3.tar.gz 77997 SHA256 56aa7cd4d48486ce895fadba0113abc68a5f188bafccb200d448f2fe68a3b84e SHA512 8bd895dd5607679cbb6a7e82d5055e1c347bb75f152f21f9bd27feb59d01abcc419ea3abd6a87e4878318b9cffbd8b742c89def648c0605f3245eb40b2d94c0b WHIRLPOOL 77c931e4fbac05f4b0cbe0a0a6d7592654d73fc2f3b8522c9a0ca87bb91c031295401bcc4b79b93ffc6fad3b0956a037a7c82b5c831015e6e19999fe1492b174
+DIST gio-0.12.4.tar.gz 77980 SHA256 3efe74e15c2df03fcf390d37879e91f88dbd93257ae79900f88989f3cfc1fb5a SHA512 81062cbc41f01de20c82ba59b01e6711865e709864ebf9991cb339ea7317aea3286d0d82ed8ddf36556330e8b7e4cb266f7ba304a370d53b4197dfe0334c7425 WHIRLPOOL a8606fb2084efd3631678de8b999e380d4ffde34db47131d8c8d4faa91fbe8933fe030b4fa8558ee816ef04f9cb862f34b2a82222c84a123abac334bd79cf32e
+DIST gio-0.12.5.0.tar.gz 78901 SHA256 28753dea657e910609056d2eaf210b71e706f3bbe551cfe190fbe93e601bef21 SHA512 906121886b4756ba615680af58cd14019630a3f2d3282ad7fa46315be2db99b7793495bb1676760295c1ebde78699c3f131b2ae85f53d959bff92a6804c229bf WHIRLPOOL 45c676d2f914f2e378f1708852bb64b1f144ea881d2e60a33714c28da4e253948f1b2c8d72b6352fb3fe7ca31dbbda513f627848de72df22dc5d2bb6c591f381
+DIST gio-0.12.5.3.tar.gz 79099 SHA256 8cfbfe99d3c019d8f804717ebaefdbe6bccc95238b83e9ea0a1c8c0a548d3ad9 SHA512 51a72df085091847967ddf37e707a479c055a1e39f81edd1a302f2bbc2f1a4214fd9ea82bafd5a32f5e045944fcfa64c6ba6427481acee820280456ae80f413f WHIRLPOOL 755aeb6cd8b5a7a1d3d438c79c1ea579fbbb5d63afea391dd60bc36c1371c26718443872483b5ab07886c34d266cb2e7c3507007694edf23f261ed396b960136
+DIST gio-0.13.0.3.tar.gz 79391 SHA256 c5e915a1d718349832a634d3127a206a1abdebdf851443b4dcf78568a42c0294 SHA512 231c7e8096351329b1a293a34e4f0da0887bf9d44b12a3506e270dd5aa5f5ad0f6de91f81c011274ffefde9d5f7a47476c4df63769d5fcd6ee89a0f4653adcfc WHIRLPOOL 7b01e6958d4c8789bb104b46797700cff4fd71dbaf62f398922a56b11c0b999e04195acfdcf8ac0359c734c746ec5ff9f666af027f7a3d593665ea9779fdb951
+DIST gio-0.13.0.4.tar.gz 79430 SHA256 4a36b8e183660f8c093c99ec198021c630cc51bf31d7c7267a6fb2fc28e556bc SHA512 1a7b5d3120eea078ca37b8a286cd03f44cb869f74cf99b69d3e2c3ed1ae720cf6e34986b61aa8d90183d2342acf35763a48dd2dc56e3489187bfb3b6fca8bc2d WHIRLPOOL 0fa99cb172dbf62d78e23dfbc91ecbb2332c40ebbc0c0450b5afcebbeaa006a044c6b0e97bc5d918eac9efb65127312c82aafbb34f59d98ea4e04c32df6fb3f4
+DIST gio-0.13.1.0.tar.gz 79367 SHA256 b274b121b7814d25e0125f3129287a2407c83f458731040297a6fc6ebf6cabe3 SHA512 520c6014281c766bc6330b2821fae2a051b6807b2a1e21b4440899aaa02c77f51eac71b9b3bbf4f29e7330e3981e8c42dff44cc364f602f37e5b552e11c46f3f WHIRLPOOL 7d2c65ad61f699cb3fbfb49037e631b3b60baeca933940756206bac62e282a038740c65e80155c767a979e29c85d21ffbc0990c86ee6e9316ba470641913e801
diff --git a/dev-haskell/gio/files/gio-0.12.3-ghc-7.6.patch b/dev-haskell/gio/files/gio-0.12.3-ghc-7.6.patch
new file mode 100644
index 000000000000..45b636b61ba5
--- /dev/null
+++ b/dev-haskell/gio/files/gio-0.12.3-ghc-7.6.patch
@@ -0,0 +1,17 @@
+--- gio-0.12.3-orig/System/GIO/Async/AsyncResult.chs 2012-03-09 10:32:58.000000000 +1100
++++ gio-0.12.3/System/GIO/Async/AsyncResult.chs 2012-10-11 10:04:03.686864483 +1100
+@@ -47,12 +47,12 @@
+ {#pointer GAsyncReadyCallback#}
+
+ foreign import ccall "wrapper" mkAsyncReadyCallback ::
+- (Ptr GObject -> Ptr AsyncResult -> Ptr () -> IO ()) -> IO GAsyncReadyCallback
++ (Ptr () -> Ptr AsyncResult -> Ptr () -> IO ()) -> IO GAsyncReadyCallback
+
+ marshalAsyncReadyCallback :: AsyncReadyCallback -> IO GAsyncReadyCallback
+ marshalAsyncReadyCallback asyncReadyCallback =
+ mkAsyncReadyCallback $ \ cObject cAsyncResult cCallback -> do
+- object <- (makeNewGObject mkGObject . return) cObject
++ object <- (makeNewGObject mkGObject . return) (castPtr cObject)
+ asyncResult <- (makeNewGObject mkAsyncResult . return) cAsyncResult
+ asyncReadyCallback object asyncResult
+ freeHaskellFunPtr (castPtrToFunPtr cCallback)
diff --git a/dev-haskell/gio/files/gio-0.13.0.4-ghc-7.10.patch b/dev-haskell/gio/files/gio-0.13.0.4-ghc-7.10.patch
new file mode 100644
index 000000000000..43a2de3fbc4b
--- /dev/null
+++ b/dev-haskell/gio/files/gio-0.13.0.4-ghc-7.10.patch
@@ -0,0 +1,11 @@
+--- gio-0.13.0.4-orig/SetupWrapper.hs 2014-12-24 21:02:08.000000000 +1100
++++ gio-0.13.0.4/SetupWrapper.hs 2015-01-03 19:14:53.721416960 +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/gio/gio-0.12.0.ebuild b/dev-haskell/gio/gio-0.12.0.ebuild
new file mode 100644
index 000000000000..cfb3492d0690
--- /dev/null
+++ b/dev-haskell/gio/gio-0.12.0.ebuild
@@ -0,0 +1,27 @@
+# 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 GIO subsystem of dev-libs/glib"
+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-haskell/glib-0.12*:0
+ dev-haskell/mtl
+ >=dev-lang/ghc-6.10.1
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ dev-haskell/gtk2hs-buildtools:0"
diff --git a/dev-haskell/gio/gio-0.12.3.ebuild b/dev-haskell/gio/gio-0.12.3.ebuild
new file mode 100644
index 000000000000..0823b0dc6674
--- /dev/null
+++ b/dev-haskell/gio/gio-0.12.3.ebuild
@@ -0,0 +1,35 @@
+# 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=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 GIO"
+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-haskell/glib-0.12*:0[profile?]
+ dev-haskell/mtl[profile?]
+ >=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-ghc-7.6.patch"
+ fi
+}
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..33d4192dff55
--- /dev/null
+++ b/dev-haskell/gio/gio-0.12.4-r1.ebuild
@@ -0,0 +1,32 @@
+# 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
+
+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="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/glib-0.12.0:0=[profile?]
+ <dev-haskell/glib-0.13:0=[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:0=
+ virtual/pkgconfig"
diff --git a/dev-haskell/gio/gio-0.12.5.0-r1.ebuild b/dev-haskell/gio/gio-0.12.5.0-r1.ebuild
new file mode 100644
index 000000000000..f957095abba7
--- /dev/null
+++ b/dev-haskell/gio/gio-0.12.5.0-r1.ebuild
@@ -0,0 +1,30 @@
+# 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 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.5:0=[profile?] <dev-haskell/glib-0.13:0=[profile?]
+ dev-haskell/mtl:=[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
+"
diff --git a/dev-haskell/gio/gio-0.12.5.3.ebuild b/dev-haskell/gio/gio-0.12.5.3.ebuild
new file mode 100644
index 000000000000..43d4a661addb
--- /dev/null
+++ b/dev-haskell/gio/gio-0.12.5.3.ebuild
@@ -0,0 +1,30 @@
+# 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 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.5.3:0=[profile?] <dev-haskell/glib-0.13:0=[profile?]
+ dev-haskell/mtl:=[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
+"
diff --git a/dev-haskell/gio/gio-0.13.0.3.ebuild b/dev-haskell/gio/gio-0.13.0.3.ebuild
new file mode 100644
index 000000000000..8795205fd2d4
--- /dev/null
+++ b/dev-haskell/gio/gio-0.13.0.3.ebuild
@@ -0,0 +1,33 @@
+# 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 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.13.0.0:=[profile?] <dev-haskell/glib-0.14:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18
+ >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0=
+ virtual/pkgconfig
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.13.0.4-ghc-7.10.patch")
diff --git a/dev-haskell/gio/gio-0.13.0.4.ebuild b/dev-haskell/gio/gio-0.13.0.4.ebuild
new file mode 100644
index 000000000000..749a20fb4000
--- /dev/null
+++ b/dev-haskell/gio/gio-0.13.0.4.ebuild
@@ -0,0 +1,40 @@
+# 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 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.13.0.0:=[profile?] <dev-haskell/glib-0.14:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18
+ >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0=
+ virtual/pkgconfig
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.13.0.4-ghc-7.10.patch")
+
+src_prepare() {
+ base_src_prepare
+ # workaround for module order
+ cabal_chdeps \
+ 'other-modules:' 'exposed-modules:'
+}
diff --git a/dev-haskell/gio/gio-0.13.1.0.ebuild b/dev-haskell/gio/gio-0.13.1.0.ebuild
new file mode 100644
index 000000000000..fa8ba287adc9
--- /dev/null
+++ b/dev-haskell/gio/gio-0.13.1.0.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 eutils 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.13.0.0:=[profile?] <dev-haskell/glib-0.14:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18
+ >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0=
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # workaround for module order
+ cabal_chdeps \
+ 'other-modules:' 'exposed-modules:'
+}
diff --git a/dev-haskell/gio/metadata.xml b/dev-haskell/gio/metadata.xml
new file mode 100644
index 000000000000..cd8a787d16a2
--- /dev/null
+++ b/dev-haskell/gio/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ GIO is striving to provide a modern, easy-to-use VFS API that sits at the right level in the library stack.
+ The goal is to overcome the shortcomings of GnomeVFS and provide an API that is
+ so good that developers prefer it over raw POSIX calls.
+ Among other things that means using GObject.
+ It also means not cloning the POSIX API, but providing higher-level, document-centric interfaces.
+ </longdescription>
+</pkgmetadata>