diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/wxdirect |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/wxdirect')
-rw-r--r-- | dev-haskell/wxdirect/Manifest | 9 | ||||
-rw-r--r-- | dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch | 38 | ||||
-rw-r--r-- | dev-haskell/wxdirect/metadata.xml | 14 | ||||
-rw-r--r-- | dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/wxdirect/wxdirect-0.92.2.0-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-haskell/wxdirect/wxdirect-0.92.2.0.ebuild | 34 |
6 files changed, 173 insertions, 0 deletions
diff --git a/dev-haskell/wxdirect/Manifest b/dev-haskell/wxdirect/Manifest new file mode 100644 index 000000000000..cdeb133759a1 --- /dev/null +++ b/dev-haskell/wxdirect/Manifest @@ -0,0 +1,9 @@ +AUX wxdirect-0.90.1.1-ghc-7.5.patch 1811 SHA256 dfe5ef2d367aa60579803e706d7f7730fa6f5c8bdd4a80f8c17df096946eacdb SHA512 b615fdbeef0bbadbed0a4167587843a06b344a71436abd0791ce4654382a36b5ff630a53ac492ce93e3087b817832af2ce67e4db5f8c229f1c32f588617d47e3 WHIRLPOOL 505a82afad26c099502523ae39bdfa12aa2ac71f30340931fb1fa24c3604226e7a57960fd0c8696658804c92bc5ca1e06ba9413f67fdf643a5b471b545c11ce3 +DIST wxdirect-0.90.1.1.tar.gz 29893 SHA256 282968b7fc52ed67f1efaf357cac05ffad58b7f80128062549801b6309ed7045 SHA512 f32b62db9c88a282531081a1a1e40757335306306af28a38ed364d28ca532418aca18e44ec6b5a789e02f5dddb455c9a7eb7f7e7c24b8a155df80628dcd2cfa1 WHIRLPOOL fbcb554ddaa6d96d3b87dc2c1423802409a8d763c59981446c7005b56455f275854587c49eb56da371ff350eacd1d76059f8b850844ffa05ef177b8338d10f12 +DIST wxdirect-0.92.2.0.tar.gz 30544 SHA256 2303834061c544f7e32ffd7aaf91e644ee89e178487689f109f06625f0eefd3b SHA512 f112fc0a62031bc9eb8e6caa2bd70f0b9fa66a81380785165a07bdffa6fa2b44652ffb9f1165c3b8ab7db8a31273650e36e98c8eb72f7cec5873ecb75f58dc21 WHIRLPOOL 86f23acadec66f9fcb658c0e9faac33800396c11819c5950285f72e23233603866fad0e00c376636c69d3f7a16ee91ff327cf715f33edfa0628f20d8837ba883 +EBUILD wxdirect-0.90.1.1.ebuild 1120 SHA256 691023a03aa857a09a1c3af7d71fad7f6fe8c0aca568feadabc80d83df97df38 SHA512 5295225581a14690ec758b1a9725b6e3fba65ad5fc47a1ba1f7184b0f3ed687f3799f04fc5879c28439100b801e702bbf2a4ae2f3648e6b872feff97ff03691f WHIRLPOOL 456294ab8992899236e776c88d7e990bfe261823ad2323aeeb45bdcbe7c5d3e845d701a182e7f4ee1eaaedcf174fa9b78cfacc0b7b5503aef17d0554efeee7e5 +EBUILD wxdirect-0.92.2.0-r1.ebuild 948 SHA256 1a17a2660103e95d095875b124ba05f37633f9dd0f96543178f7b449c8dbf0f2 SHA512 4454d24bddb2a8b48ea6418cdfcf68779492e465c0aab671c7f9be99c215bb7dc60fbc48ec78cc6e4203377bf86bc210931bd09f14e432b93ececea9bba37de9 WHIRLPOOL 6f7d5d2ce511f0ac0b8b23618e720091dfe8dc0f88cf273580231b2ad9440a1272f2f34a1f756a4956e2f9df11761ba08eed71717d7b45cede8f1ca4e717d8c8 +EBUILD wxdirect-0.92.2.0.ebuild 878 SHA256 b9aa1388fa04991e79cbcf0dd48c6c007ba87786cfeb5e9cd28bd0c8161a9b85 SHA512 06a0de82f62ba1b50d66c8793486f8b6630e2c7518f82caa6f44ff5edecbd80f650ba2e63acb570d5f7cd18648df9b1dead6259e169aae878834b33e6f7469c0 WHIRLPOOL 579daab0b16864192d1f2ace2cd99ee7eadc76ea9a6a681b91867d4df3fa9b98bbeef4b2aac5f8b94af1d5923a14085b0276d23f7df13a22fcb72fff1c90c835 +MISC ChangeLog 3732 SHA256 d67b5ad776e066457fd5eadb8090b96527c29b293981937122d0ca23a0bf063e SHA512 0424c87f55d257f5a338d50b9712e7216411fe31dd837f5aa5a9dfc467c54ea873d82cc474fbd7102b745ed7fe298e03ac8fb0c2967a8a213d5bf0f81b5a9216 WHIRLPOOL 8e5acd4e8985d95b7147ddf010273b89a6fb556685746788a45aa8221518de20058922e42ac182b25d5abcf0fd44544ac537ef42671c177af251f4eba728239f +MISC ChangeLog-2015 1929 SHA256 187d73f0182e34c6d82464c6abc97b596e30fb5d2e3fa657fe93b822944c0d47 SHA512 df6ee9121730d6f4e39a3e48a3939674924edef664b46f0d4392281f4e20a24966a4da7ecc5f2952d4806a610fc897039ab3572fc67c4ac11b42851d9f4c7baa WHIRLPOOL 66844123a14112380ae4031e6b63a2815c761cd7b555621f86ce3840b3db024a1d739df8fa56067fbe9b13c0763b8e7d1d90b9ebf41f7a21da39b0b1ccd24774 +MISC metadata.xml 552 SHA256 ab24b18b695d2dfce13195d5c28be9d18cd5cd8bec091fb843f9afc194d92f43 SHA512 330e53423fa37d149fd7ba27e3e8895c5e2a234d62b5fd7afa60eafd1f482c44ef8ae64bccba670a8090e0899d796ddc01595abda056ce9e35368ac496fb353b WHIRLPOOL 7d5fa09d35f02a3a9cf243be5f10000b5e53dede714f7693843c52d7e5534ef32e66a6faa5c4afba86a5f412b83d0b07faff9ba6b754654c025aac7d4d3c0392 diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch new file mode 100644 index 000000000000..df29d1ba08b8 --- /dev/null +++ b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch @@ -0,0 +1,38 @@ +--- wxdirect-0.90.1.1-orig/src/Classes.hs 2014-03-23 01:08:59.000000000 +1100 ++++ wxdirect-0.90.1.1/src/Classes.hs 2014-03-23 15:43:57.402011540 +1100 +@@ -1,3 +1,4 @@ ++{-# LANGUAGE CPP #-} + ----------------------------------------------------------------------------------------- + {-| Module : Classes + Copyright : (c) Daan Leijen 2003 +@@ -24,6 +25,9 @@ + + import qualified Data.Set as Set + import qualified Data.Map as Map ++#if !MIN_VERSION_base(4,6,0) ++import Prelude hiding ( catch ) ++#endif + import Text.Parsec.Prim hiding ( try ) + import HaskellNames( haskellTypeName, isBuiltin ) + import Types +--- wxdirect-0.90.1.1-orig/src/CompileClasses.hs 2014-03-23 01:08:59.000000000 +1100 ++++ wxdirect-0.90.1.1/src/CompileClasses.hs 2014-03-23 15:42:14.123894206 +1100 +@@ -96,7 +96,7 @@ + (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass [] + + methodCount = length decls +- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"] ++ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"] + + export = concat [ ["module " ++ moduleRoot ++ moduleName + , " ( -- * Global" ] +@@ -111,6 +111,9 @@ + , "import Foreign.C.Types(CInt(..), CWchar(..), CChar(..), CDouble(..))" + , "import " ++ moduleRoot ++ "WxcTypes" + , "import " ++ moduleRoot ++ moduleClassTypesName ++ , "#if (__GLASGOW_HASKELL__>=705)" ++ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))" ++ , "#endif" + , "" + ] + ] diff --git a/dev-haskell/wxdirect/metadata.xml b/dev-haskell/wxdirect/metadata.xml new file mode 100644 index 000000000000..aeeb72f3259a --- /dev/null +++ b/dev-haskell/wxdirect/metadata.xml @@ -0,0 +1,14 @@ +<?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> + wxHaskell is a portable and native GUI library for Haskell. It is built on + top of wxWidgets, a comprehensive C++ library that is portable across all + major GUI platforms, including GTK, Windows, X11, and MacOS X. This version + works with wxWidgets 2.8 only. + </longdescription> +</pkgmetadata> diff --git a/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild b/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild new file mode 100644 index 000000000000..76c6fd4073bb --- /dev/null +++ b/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.6.9999 + +WX_GTK_VER="2.9" + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit base haskell-cabal + +DESCRIPTION="helper tool for building wxHaskell" +HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="${WX_GTK_VER}/${PV}" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?] <dev-haskell/parsec-4:=[profile?] + dev-haskell/strict:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 +" + +PATCHES=("${FILESDIR}/${PN}-0.90.1.1-ghc-7.5.patch") + +src_prepare() { + base_src_prepare + sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \ + -i "${S}/${PN}.cabal" \ + || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}" + cabal_chdeps \ + 'process >= 1.1 && < 1.2' 'process >= 1.1' \ + 'time >= 1.0 && < 1.5' 'time >= 1.0' \ + 'filepath < 1.4' 'filepath' +} diff --git a/dev-haskell/wxdirect/wxdirect-0.92.2.0-r1.ebuild b/dev-haskell/wxdirect/wxdirect-0.92.2.0-r1.ebuild new file mode 100644 index 000000000000..d02ea7c5ffa6 --- /dev/null +++ b/dev-haskell/wxdirect/wxdirect-0.92.2.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.7.9999 + +WX_GTK_VER="3.0" + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="helper tool for building wxHaskell" +HOMEPAGE="https://wiki.haskell.org/WxHaskell" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="${WX_GTK_VER}/${PV}" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?] <dev-haskell/parsec-4:=[profile?] + dev-haskell/strict:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 +" + +src_prepare() { + cabal_chdeps \ + 'process >= 1.1 && < 1.3' 'process >= 1.1' + + sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \ + -i "${S}/${PN}.cabal" \ + || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}" +} diff --git a/dev-haskell/wxdirect/wxdirect-0.92.2.0.ebuild b/dev-haskell/wxdirect/wxdirect-0.92.2.0.ebuild new file mode 100644 index 000000000000..809afcd871ee --- /dev/null +++ b/dev-haskell/wxdirect/wxdirect-0.92.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.7.9999 + +WX_GTK_VER="3.0" + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="helper tool for building wxHaskell" +HOMEPAGE="https://wiki.haskell.org/WxHaskell" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="${WX_GTK_VER}/${PV}" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?] <dev-haskell/parsec-4:=[profile?] + dev-haskell/strict:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 +" + +src_prepare() { + sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \ + -i "${S}/${PN}.cabal" \ + || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}" +} |