summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-03-26 19:25:04 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-03-26 19:27:55 +0000
commit2cb1e92f5583bbaafd20824c040dfb9659be75fe (patch)
treef8278605f21fe4bc40bdbd3265cf43edb84ade24 /dev-haskell/wx
parentnet-im/qtox: installs .png icons wrt bug #578210 (diff)
downloadgentoo-2cb1e92f5583bbaafd20824c040dfb9659be75fe.tar.gz
gentoo-2cb1e92f5583bbaafd20824c040dfb9659be75fe.tar.bz2
gentoo-2cb1e92f5583bbaafd20824c040dfb9659be75fe.zip
dev-haskell/wxhaskell: rename to dev-haskell/wx
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/wx')
-rw-r--r--dev-haskell/wx/Manifest5
-rw-r--r--dev-haskell/wx/files/wx-0.13.2.3-ghc-7.10.patch8
-rw-r--r--dev-haskell/wx/metadata.xml11
-rw-r--r--dev-haskell/wx/wx-0.13.2.1-r1.ebuild36
-rw-r--r--dev-haskell/wx/wx-0.13.2.3.ebuild46
-rw-r--r--dev-haskell/wx/wx-0.90.0.1.ebuild30
-rw-r--r--dev-haskell/wx/wx-0.90.1.0.ebuild46
-rw-r--r--dev-haskell/wx/wx-0.90.ebuild30
8 files changed, 212 insertions, 0 deletions
diff --git a/dev-haskell/wx/Manifest b/dev-haskell/wx/Manifest
new file mode 100644
index 000000000000..6ab460b77a6a
--- /dev/null
+++ b/dev-haskell/wx/Manifest
@@ -0,0 +1,5 @@
+DIST wx-0.13.2.1.tar.gz 47690 SHA256 7bd91026c81ac0833ed78bcfa1639a7945965315c1fd7afe86ca881bb3aeb268 SHA512 60bcd361aa1b45c39a585e9baf815d943bd8194bfb517fd1803b45173bad34d5543263328ba583c9df7cd8a41eec633f030682a6529b7c360fee5807da9f7132 WHIRLPOOL 11d893bc17efe8e320a71eaecdc47a81ae133e447dbcc1a29efdf9e30bb1879032569d46f755878d9fc754cb28475d321b1643add46c6d30ded6f46cd6b15701
+DIST wx-0.13.2.3.tar.gz 47946 SHA256 fb61abfd40eaa3d7f1284735219b8d9dd09791ff0494aa27ee8cd7480e2367a6 SHA512 814dc90c21457dee946d9641e3b7b568c1dbacde840d5082deeeb5099612854c7736dd58633f228e1e3b660f27adbef57a4be7ed8ad7270599165a3c0f1dd385 WHIRLPOOL b5aa39c101d94a01b7cc21a9e540362abe2eb397b871b6b34fa85117b81c6ad24e185cca8ab22960d95bfc983ad2c30aa65af689d1e6c0a637983a33715d8e35
+DIST wx-0.90.0.1.tar.gz 47811 SHA256 150d448988afe0914aebb7bd61d58a27d12dd857e3d79e128ddf33a9f5a5db84 SHA512 8b828abd88a9620d31b3910a723ecbc8f6b011d16c175cdcd063796dac633d10ca335f1666f2402515868ca4f6a2e07582588436343645caf466e248b72291cb WHIRLPOOL bdfc89034f095833bb72f59ff09208306e6d5940859f8f03428d3e242b2a7264657a5800b9138797c157df0b6b3484a9074f267fc28fe1beecdb6ffa40fb6ebc
+DIST wx-0.90.1.0.tar.gz 48667 SHA256 c94e6ac36aa019e091098d871d4c39eb3f6735f6ef03e6093b7bb0715aaec998 SHA512 864255c753d77228c0815b78c4b17eb0d0f647ce4943a3e08aa2b610a2956f560ea492e043a534ca8812f39999a0fcbe0f608d85cbb08484b2c47a5c6431c4d9 WHIRLPOOL c318a37ae30bff5287f74622311de27e79adfe6bec2bd1e5d40c68acfc56c8c41960e4d85582c699cfe2e53ebd1b51c2ba391ea4eff6362ec9cdf8ded87e8af8
+DIST wx-0.90.tar.gz 47544 SHA256 42ca525d62b87563b5ed8a038368dc49c0b503701cc1ee36e845ab9a92453907 SHA512 0cc2dae07df26f2fc0849d9aff92c486dfcea9858842636102247843292e75bd7c6f64e5e11c1b3fc54953fb99f12db0633c4ba7926a2e3e3e28aeae6d0dc93f WHIRLPOOL 2a91d50601c1681eea4f6cc64582a602629b5406bb0d1050a01082d178ee837aa415abb5af6cde952ba5d613b53a791be03f18e46060cd533577509a9eb074a8
diff --git a/dev-haskell/wx/files/wx-0.13.2.3-ghc-7.10.patch b/dev-haskell/wx/files/wx-0.13.2.3-ghc-7.10.patch
new file mode 100644
index 000000000000..0d137416994d
--- /dev/null
+++ b/dev-haskell/wx/files/wx-0.13.2.3-ghc-7.10.patch
@@ -0,0 +1,8 @@
+diff --git a/src/Graphics/UI/WX/Window.hs b/src/Graphics/UI/WX/Window.hs
+index 0b04fa9..39c0505 100644
+--- a/src/Graphics/UI/WX/Window.hs
++++ b/src/Graphics/UI/WX/Window.hs
+@@ -1,2 +1,2 @@
+-{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
++{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, FlexibleContexts #-}
+ --------------------------------------------------------------------------------
diff --git a/dev-haskell/wx/metadata.xml b/dev-haskell/wx/metadata.xml
new file mode 100644
index 000000000000..89beeeef44de
--- /dev/null
+++ b/dev-haskell/wx/metadata.xml
@@ -0,0 +1,11 @@
+<?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/wx/wx-0.13.2.1-r1.ebuild b/dev-haskell/wx/wx-0.13.2.1-r1.ebuild
new file mode 100644
index 000000000000..1163c41089aa
--- /dev/null
+++ b/dev-haskell/wx/wx-0.13.2.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="2.8"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN=wx
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="wxHaskell is a portable and native GUI library for Haskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/stm:=[profile?]
+ >=dev-haskell/wxcore-0.13.1:${WX_GTK_VER}=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ CABAL_FILE=${MY_PN}.cabal cabal_chdeps \
+ 'wxcore >= 0.13.1' 'wxcore >= 0.13.1 && < 0.90' \
+ 'wxcore >= 0.12.1.6' 'wxcore >= 0.12.1.6 && < 0.90'
+}
diff --git a/dev-haskell/wx/wx-0.13.2.3.ebuild b/dev-haskell/wx/wx-0.13.2.3.ebuild
new file mode 100644
index 000000000000..491be5e431ec
--- /dev/null
+++ b/dev-haskell/wx/wx-0.13.2.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="2.8"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN=wx
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="wxHaskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/stm:=[profile?]
+ >=dev-haskell/wxcore-0.13.2.3:${WX_GTK_VER}=[profile?] <dev-haskell/wxcore-0.90:${WX_GTK_VER}=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6.0.3
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.13.2.3-ghc-7.10.patch
+}
+
+src_configure() {
+ # ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9155
+ [[ $(ghc-version) == 7.8.2 ]] && replace-hcflags -O[2-9] -O1
+ # ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9303
+ [[ $(ghc-version) == 7.8.3 ]] && replace-hcflags -O[2-9] -O1
+
+ haskell-cabal_src_configure \
+ --flag=newbase
+}
diff --git a/dev-haskell/wx/wx-0.90.0.1.ebuild b/dev-haskell/wx/wx-0.90.0.1.ebuild
new file mode 100644
index 000000000000..66a7383af4b6
--- /dev/null
+++ b/dev-haskell/wx/wx-0.90.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="2.9"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN=wx
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="wxHaskell is a portable and native GUI library for Haskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/stm:=[profile?]
+ >=dev-haskell/wxcore-0.90:${WX_GTK_VER}=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
diff --git a/dev-haskell/wx/wx-0.90.1.0.ebuild b/dev-haskell/wx/wx-0.90.1.0.ebuild
new file mode 100644
index 000000000000..0b28b638bbdb
--- /dev/null
+++ b/dev-haskell/wx/wx-0.90.1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="2.9"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN=wx
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="wxHaskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/stm:=[profile?]
+ >=dev-haskell/wxcore-0.90.1.0:${WX_GTK_VER}=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6.0.3
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.13.2.3-ghc-7.10.patch
+}
+
+src_configure() {
+ # ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9155
+ [[ $(ghc-version) == 7.8.2 ]] && replace-hcflags -O[2-9] -O1
+ # ghc DCE bug: https://ghc.haskell.org/trac/ghc/ticket/9303
+ [[ $(ghc-version) == 7.8.3 ]] && replace-hcflags -O[2-9] -O1
+
+ haskell-cabal_src_configure \
+ --flag=newbase
+}
diff --git a/dev-haskell/wx/wx-0.90.ebuild b/dev-haskell/wx/wx-0.90.ebuild
new file mode 100644
index 000000000000..bfcb4c848917
--- /dev/null
+++ b/dev-haskell/wx/wx-0.90.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="2.9"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN=wx
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="wxHaskell is a portable and native GUI library for Haskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="wxWinLL-3.1"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/stm:=[profile?]
+ >=dev-haskell/wxcore-0.90:${WX_GTK_VER}=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"