summaryrefslogtreecommitdiff
path: root/dev-haskell/gtk2hs-buildtools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/gtk2hs-buildtools
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/gtk2hs-buildtools')
-rw-r--r--dev-haskell/gtk2hs-buildtools/Manifest12
-rw-r--r--dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch9
-rw-r--r--dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-ia64.patch47
-rw-r--r--dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.1.0-ia64.patch47
-rw-r--r--dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.5.1-r1.ebuild33
-rw-r--r--dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild38
-rw-r--r--dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.2.2.ebuild36
-rw-r--r--dev-haskell/gtk2hs-buildtools/metadata.xml22
8 files changed, 244 insertions, 0 deletions
diff --git a/dev-haskell/gtk2hs-buildtools/Manifest b/dev-haskell/gtk2hs-buildtools/Manifest
new file mode 100644
index 000000000000..da0e5d328ac4
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/Manifest
@@ -0,0 +1,12 @@
+AUX gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch 282 SHA256 3b64a0070acd18ca42073b12569519a746a056969ea8d5b0938f09df4dcebb3d SHA512 7f151b2c3f765f4362485b476c79660ffac51c06a0ef97c1afe37270fde6e665d8a7d57808ade533279a51c4e8730c1f8b1311a7f124c03a282cebb4d49770c9 WHIRLPOOL f2e7b29e3ba91906a18a0b591ed16a8e60eb9ad785baea0a5383f2f15db192a037a65fc0220951727a8b73023dc94b0928860973e4440d9bc0bf98b1ee34b869
+AUX gtk2hs-buildtools-0.13.0.4-ia64.patch 1689 SHA256 19d767474e53e21e282103d6cbf865ad28fda82054e16340890dbd7750c9d59a SHA512 9d42873e69369af9a8dd5ca517ad967e3b1e6df2b529c24054d6ab9c379f7fcf88bd1f8da432e9a93e9eae0c5c59288ec0cc36283f743b41dd90a05d7a48578d WHIRLPOOL 5f878158f426a57da8a8f737323c7fa8f23722134f7ef776f329a54f435f3933e7a9bd98dbdf89ef1fd42c230e1e6c94b4cdd42826e769ddaf910c94d18b00b9
+AUX gtk2hs-buildtools-0.13.1.0-ia64.patch 1864 SHA256 2034d47e502a42b1b15b839db07c8ef63bbdcd79c07e9ebdfcc1939638b63dc9 SHA512 75b4db420e37838c31db7dcaf9ba6c6ad48fe47407822d7bdc975a3e03dad8f1f7ab3a3f425c1665c8434c8137dfb86f2414a036d455379448fa4251cec8d402 WHIRLPOOL 326c3389436f18d8f4cf0e39217af5ba87d94f0144613bdaff967bc3fbba6779404017ad3a3341090399cf1107f4d346439d3fea3268bbe49f48a7e19c420bd9
+DIST gtk2hs-buildtools-0.12.5.1.tar.gz 169038 SHA256 d541edd4738f01395bfb9a79bda1730484ea9a3ff86936f0292b2180863f55fe SHA512 ec25d74209c79414b66cf15e7b041be39f2179d37a4ecc5a2859022db2245ebf7258d13e130d9b8eae53a35575fc200c7ab0bbc4e99571bc2e7b410a9d268c56 WHIRLPOOL 9ee06c11b87737f40533773414c35268af7df3696ddbaa806f4d56d206c16b284dacd206bdb3efa339d207cde01f35f41849b87f9c6f479ac2c4c676d20d39ca
+DIST gtk2hs-buildtools-0.13.0.4.tar.gz 169272 SHA256 2a24c2d4124ec046800326922807ab457e2beaf0ffb320162687e1475dbe3510 SHA512 ac5eba81fbeb0387a6294868259e2122b1b90aa76d5c7c9062df6796ec697cca87b73789275deaa1374fa34985b67e5b342b4cd3284393fa17f7c13543657299 WHIRLPOOL a44163f4ac6e57a2504771ea311ca14c7645e4e5787a595e0815f6bce955535789757061dc77bd6c16896fc1dd8143688fdb5d42e8a5714808a381e7e3af023f
+DIST gtk2hs-buildtools-0.13.2.2.tar.gz 178124 SHA256 c5e4b59f8711ec4e4e25a91ce4213c5396dd0b56179751ed6da255ac35edfb4b SHA512 4d5dac91529fa8856f1e3369ed97d688e7423767a2db5387f092ebc65f624d4689ead154a7036177a1de8978726901196b8161c846f5afd134ffda1e29517b06 WHIRLPOOL 6b2f21adb04b9466c9c0c3deb9f8d9a0fcfeeb13ccc331165d7744e75065f019ef16c4d6e5a8c974738aa2a583f1bf631365821c9b76157bcc5501722e16529e
+EBUILD gtk2hs-buildtools-0.12.5.1-r1.ebuild 757 SHA256 16b19f8e9199a1c74f3839c073589df53499cefbbefdcf71a219b989dbc4b584 SHA512 0cbaafa9aa9e292559aa5099cfaa427c33d96ac8e824e6064a24c681550ea72e4bff23464049298dd98159212eee7ab0a87670998a20688e9c47500b70c8d300 WHIRLPOOL c5f8eda1bc7e90d5ee97885f902a31d0bfe0e171a9113def0a31d91b6c8782dc7922acfd48c43eb1eb4b06e34646ca3fc6fb4c160da4e9c1383e0ef66b3173c2
+EBUILD gtk2hs-buildtools-0.13.0.4-r3.ebuild 859 SHA256 e83985d4c6c09c06f54d6abd624e509edc0062ceb24411c8f64186e3e77e29c0 SHA512 6df76d9d797d45f76c88d4ab8c02da77dc8569e240bbee529d8602409d9bfe835310f06a8a28e212b42b8be3a787e5980a0bbe1333c577d38260f238936c5c4b WHIRLPOOL 7d1412c01fbe9d792a1720f89e3447e81364f347fc9be9d9b537a48352a83baa659084198539aaa884875f6edb57d172b9697fb5e5a122ada612cbb839f39d68
+EBUILD gtk2hs-buildtools-0.13.2.2.ebuild 974 SHA256 476b469e058c4e6d002f6a56f02df3ec79a252f68167544feda7cfe047495a39 SHA512 49a9928b52c3b0d6e9c6f6755e77eb3376ee7905d5b8b04eec2cc0c6933cf2c8b351a86be2fb1947b2f192ad6cd66edfb2af5e995a5b7960ee2ce72202c660df WHIRLPOOL 3321294b4ba0e3075038fbcd461d5e6c21d2c74c229475e1b552876f457004ff06957aab8fcb355dfdc63327621dc8a8d9945ff145a40adbf89d8b2f8de4fedd
+MISC ChangeLog 4581 SHA256 5d856bbfdcf24f60e52c5bdebc3b4a390e95c366e40ec4098778bae34d10e737 SHA512 e2243270da98448f91929aed7daaf2c644004d8a9b0a3f061d835db5f27d07b1028409d70cd2f670e35bfe5d42c968401cebb6c39f5f4cefe5bc32231a8786b0 WHIRLPOOL 5dfa806d56bfbee1a069c34ac407b2546a8ae35eda7369ed96a50a0e3b92044d56c3e545da607dd1d6f75c23b764650126fed06ffd1908a1d20bc2f9f055d1f6
+MISC ChangeLog-2015 6375 SHA256 0b8c7d266068181da114e1e0b6c190ad0432c194295011e29e3a63ead536a5d1 SHA512 aae5b2cbbd9fe0b04a4be9f6ae9f0ad01a3165f8262839075847fd9fbd17a25038dd55e11a7bafee301494a65c2c7e663bfc204700f7a3624139334301286531 WHIRLPOOL 86d3f6d03ae6ffbb4b118ee197d9bc5a83a699459da367df69caf32afd6a7d18f633335c1bae12b81ec154e52ba441ed1cfac278dfc97340da0f0f4f5d2f4174
+MISC metadata.xml 838 SHA256 a148f8c5dbc8a1c0e41b6c593004cf8b7dc53b40740dd7248434f7ae1f81a5f0 SHA512 81b67b9c4d461b291561a2ee3873c80c257fc0e3e8641724381567d378aafae21f8056b60b00d432a0db60f5795d6b7a78a74cce9e10722b809f46c6701e7feb WHIRLPOOL 8f7764725dba2b64fb95bd2f683942e46e64f5cc51815b8d3b88cfe1f03de68c52b6fc1ff383030644294c629466610da5ed38c60930ebc3f38bc2671371e11f
diff --git a/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch
new file mode 100644
index 000000000000..a772e67c687e
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-alex-3.1.6.patch
@@ -0,0 +1,9 @@
+diff --git a/c2hs/c/CLexer.x b/c2hs/c/CLexer.x
+index 77702ed..1cd2483 100644
+--- a/c2hs/c/CLexer.x
++++ b/c2hs/c/CLexer.x
+@@ -68,3 +68,3 @@ module CLexer (lexC, parseError) where
+
+-import Data.Char (isDigit)
++import Data.Char (ord, isDigit)
+ import Data.Word (Word8)
diff --git a/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-ia64.patch b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-ia64.patch
new file mode 100644
index 000000000000..3caf5f769cab
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.0.4-ia64.patch
@@ -0,0 +1,47 @@
+ia64 is is a special showflake.
+
+Technically does nothing bad,
+but it alone uses '__builtin_offsetof (struct sigcontext'
+in system headers. c2hs does not handle that.
+
+https://bugs.gentoo.org/498638
+diff --git a/c2hs/c/C.hs b/c2hs/c/C.hs
+index f79b6d9..aa1b5e4 100644
+--- a/c2hs/c/C.hs
++++ b/c2hs/c/C.hs
+@@ -1 +1,2 @@
++{-# LANGUAGE CPP, PatternGuards #-}
+ -- C->Haskell Compiler: interface to C processing routines
+@@ -94,2 +95,20 @@ isuffix = ".i"
+
++-- This stanza workarounds very specific limitation
++-- of c2hs of not being able to expang __builtin_offsetof
++-- used by all glib/gtk headers at least on ia64.
++raw_mangle :: String -> String
++raw_mangle s = case s of
++ [] -> []
++#ifdef ia64_HOST_ARCH
++ _ | Just (h, rest) <- chop_head "__builtin_offsetof (struct sigcontext, sc_gr[0])"
++ "200" -- ia64/linux/glibc, sigh
++ -> h ++ raw_mangle rest
++#endif /* ia64_HOST_ARCH */
++ (h:t) -> h : raw_mangle t
++ where chop_head prefix new_prefix =
++ case splitAt p_len s of
++ (h, t) | h == prefix -> Just (new_prefix, t)
++ _ -> Nothing
++ where p_len = length prefix
++
+ -- given a file name (with suffix), parse that file as a C header and do the
+@@ -106,3 +124,3 @@ loadAttrC fname = do
+ traceInfoRead fname
+- contents <- readFileCIO fname
++ contents <- raw_mangle `fmap` readFileCIO fname
+
+@@ -126,4 +144,4 @@ loadAttrC fname = do
+ errmsgs <- showErrors
+- fatal ("C header contains \
+- \errors:\n\n" ++ errmsgs) -- fatal error
++ fatal ("C header contains " ++
++ "errors:\n\n" ++ errmsgs) -- fatal error
+ else do
diff --git a/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.1.0-ia64.patch b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.1.0-ia64.patch
new file mode 100644
index 000000000000..ae5edd1a471f
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.1.0-ia64.patch
@@ -0,0 +1,47 @@
+ia64 is is a special showflake.
+
+Technically does nothing bad,
+but it alone uses '__builtin_offsetof (struct sigcontext'
+in system headers. c2hs does not handle that.
+
+https://bugs.gentoo.org/498638
+diff --git a/c2hs/c/C.hs b/c2hs/c/C.hs
+index f79b6d9..aa1b5e4 100644
+--- a/c2hs/c/C.hs
++++ b/c2hs/c/C.hs
+@@ -1 +1,2 @@
++{-# LANGUAGE CPP, PatternGuards #-}
+ -- C->Haskell Compiler: interface to C processing routines
+@@ -94,2 +95,20 @@ isuffix = ".i"
+
++-- This stanza workarounds very specific limitation
++-- of c2hs of not being able to expang __builtin_offsetof
++-- used by all glib/gtk headers at least on ia64.
++raw_mangle :: String -> String
++raw_mangle s = case s of
++ [] -> []
++#ifdef ia64_HOST_ARCH
++ _ | Just (h, rest) <- chop_head "__builtin_offsetof (struct sigcontext, sc_gr[0])"
++ "200" -- ia64/linux/glibc, sigh
++ -> h ++ raw_mangle rest
++#endif /* ia64_HOST_ARCH */
++ (h:t) -> h : raw_mangle t
++ where chop_head prefix new_prefix =
++ case splitAt p_len s of
++ (h, t) | h == prefix -> Just (new_prefix, t)
++ _ -> Nothing
++ where p_len = length prefix
++
+ -- given a file name (with suffix), parse that file as a C header and do the
+@@ -106,3 +124,3 @@ loadAttrC fname = do
+ traceInfoRead fname
+- contents <- readFileCIO fname
++ contents <- raw_mangle `fmap` readFileCIO fname
+
+@@ -126,4 +144,4 @@ loadAttrC fname = do
+ errmsgs <- showErrors
+- fatal ("C header contains \
+- \errors:\n\n" ++ errmsgs) -- fatal error
++ fatal ("C header contains " ++
++ "errors:\n\n" ++ errmsgs) -- fatal error
+ else do
diff --git a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.5.1-r1.ebuild b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.5.1-r1.ebuild
new file mode 100644
index 000000000000..f30199e6d8a5
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.12.5.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.5.9999
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries"
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
+IUSE="+closuresignals"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-haskell/alex
+ >=dev-haskell/cabal-1.8
+ dev-haskell/happy
+ dev-haskell/hashtables
+ dev-haskell/random
+ >=dev-lang/ghc-6.10.4
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closuresignals closuresignals)
+}
diff --git a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild
new file mode 100644
index 000000000000..2966829c08e9
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.0.4-r3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries"
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="+closuresignals"
+
+RDEPEND="dev-haskell/random:=
+ dev-haskell/hashtables:=
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ dev-haskell/alex
+ >=dev-haskell/cabal-1.8
+ dev-haskell/happy
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ia64.patch
+ epatch "${FILESDIR}"/${P}-alex-3.1.6.patch
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closuresignals closuresignals)
+}
diff --git a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.2.2.ebuild b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.2.2.ebuild
new file mode 100644
index 000000000000..f3ead4fd56ce
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.2.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="bin lib profile" # duplicate symbols: haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries"
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="+closuresignals"
+
+RDEPEND=">=dev-haskell/cabal-1.24.0.0:=[profile?] <dev-haskell/cabal-1.25:=[profile?]
+ dev-haskell/hashtables:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ dev-haskell/alex
+ >=dev-haskell/cabal-1.18.1.3
+ dev-haskell/happy
+"
+
+PATCHES=("${FILESDIR}"/${PN}-0.13.1.0-ia64.patch)
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closuresignals closuresignals)
+}
diff --git a/dev-haskell/gtk2hs-buildtools/metadata.xml b/dev-haskell/gtk2hs-buildtools/metadata.xml
new file mode 100644
index 000000000000..af96940296fd
--- /dev/null
+++ b/dev-haskell/gtk2hs-buildtools/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ This package provides a set of helper programs necessary to
+ build the Gtk2Hs suite of libraries. These tools include
+ a modified c2hs binding tool that is used to generate
+ FFI declarations, a tool to build a type hierarchy that
+ mirrors the C type hierarchy of GObjects found in glib,
+ and a generator for signal declarations that are used
+ to call back from C to Haskell. These tools are not needed
+ to actually run Gtk2Hs programs.
+ </longdescription>
+ <use>
+ <flag name="closuresignals">Use the the GClosure-based signals
+ implementation.</flag>
+ </use>
+</pkgmetadata>