diff options
Diffstat (limited to 'dev-haskell/cairo')
-rw-r--r-- | dev-haskell/cairo/Manifest | 8 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.0.ebuild | 34 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.3.1.ebuild | 32 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.3.ebuild | 36 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.4-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.5.0-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.12.5.3.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.13.0.5.ebuild | 44 | ||||
-rw-r--r-- | dev-haskell/cairo/cairo-0.13.1.0.ebuild | 47 | ||||
-rw-r--r-- | dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch | 19 | ||||
-rw-r--r-- | dev-haskell/cairo/metadata.xml | 10 |
11 files changed, 344 insertions, 0 deletions
diff --git a/dev-haskell/cairo/Manifest b/dev-haskell/cairo/Manifest new file mode 100644 index 000000000000..5945ea3eaaf4 --- /dev/null +++ b/dev-haskell/cairo/Manifest @@ -0,0 +1,8 @@ +DIST cairo-0.12.0.tar.gz 47495 SHA256 29736aa5a6c7c3f4401c9ad53768a4806dbc0b3278be186aa95b4a8edcc25a58 SHA512 5b01d745ca9a3fdb389d035baf2483399b630b5ebcc48bd1a9364272de2a7d91cae7595fe33438ab2d2e49508d01939dada4b123623a87c0bc6d43b3872978a5 WHIRLPOOL 4e660df7d038bd6ab2d5e37bd7740f44a6360c304d9df051f686072fc5c09af20850e1e2101be00cde1bdc3c3e2a78cdf4c5b2cc3a9478486b4b97e8eb0ea6d3 +DIST cairo-0.12.3.1.tar.gz 50437 SHA256 91bb958e8fcdff9d5496d6e7888359902e7b0c4e8ddfbf0df949856201c5779c SHA512 d77a67840e641d03b26e88db5ddc536fac32c577d42cf208803fb263eed24f23836abb7bdb5c951db2bcbb9932dd37f691edd95d592866667ed5df0fe0919a04 WHIRLPOOL 3c2a43bc9a7d2686cd56cefd1503fab573b9e083c701c353cec225eaa41156363e99b90de62669f875c7b6b37f4103409461e3f926a2dd08736823dc91815a98 +DIST cairo-0.12.3.tar.gz 50412 SHA256 8d6bfa6488b4baa87f6722685b437b755bb739351bf3168ae681e87d4032fe4d SHA512 f2a747ec02045815cef999496ceb62d0620d86490c68ab893d683a5ebf06b25c42c729a0d26283c6e865718649edaf88ee7e40b56c93d4e55f84c62b5787b93b WHIRLPOOL 83ccbeea940cd90d9966b51a6aa2f3a5be6b35bcd4907e1699081bcfdfab51b4160292536f1b29d322c5d66a2904e01b8f36d7626637d82ded9309b46f3415d5 +DIST cairo-0.12.4.tar.gz 50933 SHA256 783943379a6b02e8645dd29960e057bea8d05a7afa12a918d87e54d561b7c63f SHA512 ab5217d6448b8e6234bc3213ea50b114f5ad02cdb5d3e5fd4e5ead0c1a853096aa219785e07e96f9fd7be956ba15c0fc2a5fe3fdbc0d94f86190d6dc7c50205b WHIRLPOOL d40295d4111c23609e9b7f80364390d26137ea4009c561f458a0599388734a0d5ce249a915d67c07c9ce8e1c3d88c41dfb5285ca7437244cc0cf80a4e2f8d259 +DIST cairo-0.12.5.0.tar.gz 53247 SHA256 8bbf953775c371d6a2dc0072c68c6804b886fa52eb030d8fa03e1468bf9e17ce SHA512 c7528162cd2f08d7c9169bb66746c3837ff53d1a702152da334d47d047f411a38aa62f61dc6a58ed29e7abaa494ab08b5bb4a0786cb28715c1e5dca9a41e04cc WHIRLPOOL 79e4bf7db023d9f12541109c94a4f4e83f44043ff1b24e27da8973ea8781543bd7588c1215a2e1e4bfbeac667615ac36862a12371131b93431d2511555bd90e4 +DIST cairo-0.12.5.3.tar.gz 53447 SHA256 e7edb538745a6f0aa1c0c1574b6549a799240912f9c5047c3d8ca1ffdbb1bcbc SHA512 1dca628c4052df667130590d963f3b26e1c7df958654dbc18cb76cc471ee60b19fa3fc65a3b9042990943cc95a4af05d8993d853e859f03e457a8a6963113433 WHIRLPOOL 94b422d97cf013e5b6845494feef53e3489d1dc063e5e89571ef2a1d94e14cf8d929afd5ff8c266a334a25b7ad42f52106d9b30c2981bb7c1510d103d8e9731c +DIST cairo-0.13.0.5.tar.gz 54035 SHA256 191cd974a99b7abb901219edddbf59982e235e69552f8f4f97aa7b96dd87662a SHA512 d5951abdd3f0163a9dc6e6e1b7d30f41e4d8b1557123e4e40c20c74469ff0b7cb2de8b373be101221d5b6401dba39b09c0ab6c45549d2c9e04692215a85c87fd WHIRLPOOL 5476f3b6391e20b770eb005da4e846026bf622cf0c722a14372a017112e392c4a41c4a2044cce15aadc9a7450f25fdc34489cee6b0dcef8b8848f217ca63c07c +DIST cairo-0.13.1.0.tar.gz 54143 SHA256 6b8e3fca37104022c53442c62bcb41c18d3e2fed4df372c1de56c41f3f7d276e SHA512 95a222869e11856c2837df3fb8f50e84a37c669ca2630ba9002a07eaf4a69e0bb21da5b4b66a7d564f53dab21a54d419a4f6cf5fbb3f512649c4729107ed70fc WHIRLPOOL 7d2e76af39aefea8c6daf3f40214a54ae9f8ea9964e2bf012b8e6a8a687da26c6945e26cda19cf891caaec1f24082ba97b79bf9a3e5be7683b073fb5ef39c007 diff --git a/dev-haskell/cairo/cairo-0.12.0.ebuild b/dev-haskell/cairo/cairo-0.12.0.ebuild new file mode 100644 index 000000000000..c4e055fd3bc7 --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.0.ebuild @@ -0,0 +1,34 @@ +# 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 x11-libs/cairo library" +HOMEPAGE="http://www.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+svg" + +RDEPEND="dev-haskell/mtl + >=dev-lang/ghc-6.10.1 + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + dev-haskell/gtk2hs-buildtools:0" + +src_configure() { + # x11-libs/cairo seems to build pdf and ps by default + cabal_src_configure \ + --flags=cairo_pdf \ + --flags=cairo_ps \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.12.3.1.ebuild b/dev-haskell/cairo/cairo-0.12.3.1.ebuild new file mode 100644 index 000000000000..e4959048df81 --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.3.1.ebuild @@ -0,0 +1,32 @@ +# 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 base haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+svg" + +RDEPEND="dev-haskell/mtl[profile?] + >=dev-lang/ghc-6.10.1 + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + dev-haskell/gtk2hs-buildtools:0" + +src_configure() { + # x11-libs/cairo seems to build pdf and ps by default + cabal_src_configure \ + --flags=cairo_pdf \ + --flags=cairo_ps \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.12.3.ebuild b/dev-haskell/cairo/cairo-0.12.3.ebuild new file mode 100644 index 000000000000..b0f27fa20c9e --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.3.ebuild @@ -0,0 +1,36 @@ +# 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 base haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+svg" + +RDEPEND="dev-haskell/mtl + >=dev-lang/ghc-6.10.1 + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + dev-haskell/gtk2hs-buildtools:0" + +PATCHES=("${FILESDIR}"/${P}-fixincl.patch) + +src_configure() { + # x11-libs/cairo seems to build pdf and ps by default + cabal_src_configure \ + --flags=cairo_pdf \ + --flags=cairo_ps \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.12.4-r1.ebuild b/dev-haskell/cairo/cairo-0.12.4-r1.ebuild new file mode 100644 index 000000000000..8bc65b25b11e --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.4-r1.ebuild @@ -0,0 +1,38 @@ +# 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 Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86" +IUSE="+svg" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-lang/ghc-6.10.4:= + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + >=dev-haskell/gtk2hs-buildtools-0.12.4:0= + virtual/pkgconfig" + +src_configure() { + # x11-libs/cairo seems to build pdf and ps by default + cabal_src_configure \ + --flags=cairo_pdf \ + --flags=cairo_ps \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.12.5.0-r1.ebuild b/dev-haskell/cairo/cairo-0.12.5.0-r1.ebuild new file mode 100644 index 000000000000..901f492da81f --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.5.0-r1.ebuild @@ -0,0 +1,35 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86" +IUSE="+pdf +postscript +svg" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?] + >=dev-lang/ghc-6.10.4:= + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + >=dev-haskell/gtk2hs-buildtools-0.12.5.1-r1:0= + virtual/pkgconfig +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag pdf cairo_pdf) \ + $(cabal_flag postscript cairo_ps) \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.12.5.3.ebuild b/dev-haskell/cairo/cairo-0.12.5.3.ebuild new file mode 100644 index 000000000000..82c8b25761c1 --- /dev/null +++ b/dev-haskell/cairo/cairo-0.12.5.3.ebuild @@ -0,0 +1,41 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+pdf +postscript +svg" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?] + >=dev-lang/ghc-6.10.4:= + x11-libs/cairo[svg?]" +DEPEND="${RDEPEND} + >=dev-haskell/gtk2hs-buildtools-0.12.5.1-r1:0= + virtual/pkgconfig +" + +src_prepare() { + sed -e "s@#include<cairo-features.h>@#define $(usex amd64 __x86_64__ __i386__)\n#include<cairo-features.h>@" \ + -i "${S}"/Graphics/Rendering/Cairo.hs \ + || die "Could not define ABI in Graphics/Rendering/Cairo.hs" +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag pdf cairo_pdf) \ + $(cabal_flag postscript cairo_ps) \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.13.0.5.ebuild b/dev-haskell/cairo/cairo-0.13.0.5.ebuild new file mode 100644 index 000000000000..5d40c84c69f2 --- /dev/null +++ b/dev-haskell/cairo/cairo-0.13.0.5.ebuild @@ -0,0 +1,44 @@ +# 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.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+pdf +postscript +svg" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=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.4.1:= + x11-libs/cairo[svg?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18 + >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0= + virtual/pkgconfig +" + +src_prepare() { + sed -e "s@#include<cairo-features.h>@#define $(usex amd64 __x86_64__ __i386__)\n#include<cairo-features.h>@" \ + -i "${S}"/Graphics/Rendering/Cairo.hs \ + || die "Could not define ABI in Graphics/Rendering/Cairo.hs" +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag pdf cairo_pdf) \ + $(cabal_flag postscript cairo_ps) \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/cairo-0.13.1.0.ebuild b/dev-haskell/cairo/cairo-0.13.1.0.ebuild new file mode 100644 index 000000000000..ed8044f180fa --- /dev/null +++ b/dev-haskell/cairo/cairo-0.13.1.0.ebuild @@ -0,0 +1,47 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+pdf +postscript +svg" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=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.4.1:= + x11-libs/cairo[svg?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18 + >=dev-haskell/gtk2hs-buildtools-0.13.0.3:0= + virtual/pkgconfig +" + +src_prepare() { + sed -e "s@#include<cairo-features.h>@#define $(usex amd64 __x86_64__ __i386__)\n#include<cairo-features.h>@" \ + -i "${S}"/Graphics/Rendering/Cairo.hs \ + || die "Could not define ABI in Graphics/Rendering/Cairo.hs" + # workaround for module order + cabal_chdeps \ + 'other-modules:' 'exposed-modules:' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag pdf cairo_pdf) \ + $(cabal_flag postscript cairo_ps) \ + $(cabal_flag svg cairo_svg) +} diff --git a/dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch b/dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch new file mode 100644 index 000000000000..1b531a1932ea --- /dev/null +++ b/dev-haskell/cairo/files/cairo-0.12.3-fixincl.patch @@ -0,0 +1,19 @@ +Fix include path on cabal-1.14 + +Building cairo-0.12.3... +Preprocessing library cairo-0.12.3... +dist/build/Graphics/Rendering/Cairo/Matrix.h:1:26: fatal error: cairo-gtk2hs.h: No such file or directory +compilation terminated. +gtk2hsC2hs: Error during preprocessing custom header file +diff --git a/cairo.cabal b/cairo.cabal +index af7cee9..62fe84b 100644 +--- a/cairo.cabal ++++ b/cairo.cabal +@@ -69,6 +69,7 @@ Library + Graphics.Rendering.Cairo.Internal.Surfaces.PS + Graphics.Rendering.Cairo.Internal.Surfaces.SVG + extensions: ForeignFunctionInterface ++ Include-dirs: . + x-c2hs-Header: cairo-gtk2hs.h + pkgconfig-depends: cairo >= 1.2.0 + if flag(cairo_pdf) diff --git a/dev-haskell/cairo/metadata.xml b/dev-haskell/cairo/metadata.xml new file mode 100644 index 000000000000..63b2a76154d3 --- /dev/null +++ b/dev-haskell/cairo/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription> + Cairo is a library to render high quality vector graphics. There + exist various backends that allows rendering to Gtk windows, PDF, + PS, PNG and SVG documents, amongst others. + </longdescription> +</pkgmetadata> |