From f2b9808221a056cf76963241103336ff8665ccb7 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 4 Dec 2021 14:50:54 +0100 Subject: dev-ml/cairo2: svg usedep on cairo Closes: https://bugs.gentoo.org/827879 Signed-off-by: David Seifert --- dev-ml/cairo2/cairo2-0.6.1-r1.ebuild | 39 ++++++++++++++++++++++++++++++++++++ dev-ml/cairo2/cairo2-0.6.1.ebuild | 39 ------------------------------------ dev-ml/cairo2/cairo2-0.6.2-r1.ebuild | 37 ++++++++++++++++++++++++++++++++++ dev-ml/cairo2/cairo2-0.6.2.ebuild | 37 ---------------------------------- 4 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 dev-ml/cairo2/cairo2-0.6.1-r1.ebuild delete mode 100644 dev-ml/cairo2/cairo2-0.6.1.ebuild create mode 100644 dev-ml/cairo2/cairo2-0.6.2-r1.ebuild delete mode 100644 dev-ml/cairo2/cairo2-0.6.2.ebuild (limited to 'dev-ml/cairo2') diff --git a/dev-ml/cairo2/cairo2-0.6.1-r1.ebuild b/dev-ml/cairo2/cairo2-0.6.1-r1.ebuild new file mode 100644 index 000000000000..c52a75937f29 --- /dev/null +++ b/dev-ml/cairo2/cairo2-0.6.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Binding to Cairo, a 2D Vector Graphics Library" +HOMEPAGE="https://github.com/Chris00/ocaml-cairo" +SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/${PV}/cairo2-${PV}.tbz" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86" +IUSE="+ocamlopt" + +DEPEND=" + x11-libs/cairo:=[svg] + dev-ml/dune-configurator:= +" +RDEPEND="${DEPEND} + !dev-ml/ocaml-cairo +" +BDEPEND="" + +# >>> Test phase: dev-ml/cairo2-0.6.1 +# image_create alias tests/runtest (got signal SEGV) +# (cd _build/default/tests && ./image_create.exe) +# DESTROY bigarray 'data' +# Done: 70/72 (jobs: 1) * ERROR: dev-ml/cairo2-0.6.1::x-portage failed (test phase): +RESTRICT=test + +# Remove lablgtk2 dep https://github.com/Chris00/ocaml-cairo/issues/21 +# Fix compiler warnings, from: https://github.com/Chris00/ocaml-cairo/pull/22 +PATCHES=( + "${FILESDIR}"/${PN}-0.6.1-ignore-gtk-and-pango.patch + "${FILESDIR}"/${PN}-0.6.1-handle-safe-string.patch + "${FILESDIR}"/${PN}-0.6.1-Fix-multiple-definitions-of-variables.patch +) diff --git a/dev-ml/cairo2/cairo2-0.6.1.ebuild b/dev-ml/cairo2/cairo2-0.6.1.ebuild deleted file mode 100644 index 16f59503c1c0..000000000000 --- a/dev-ml/cairo2/cairo2-0.6.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit dune - -DESCRIPTION="Binding to Cairo, a 2D Vector Graphics Library" -HOMEPAGE="https://github.com/Chris00/ocaml-cairo" -SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/${PV}/cairo2-${PV}.tbz" - -LICENSE="LGPL-3" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86" -IUSE="+ocamlopt" - -DEPEND=" - x11-libs/cairo:= - dev-ml/dune-configurator:= -" -RDEPEND="${DEPEND} - !dev-ml/ocaml-cairo -" -BDEPEND="" - -# >>> Test phase: dev-ml/cairo2-0.6.1 -# image_create alias tests/runtest (got signal SEGV) -# (cd _build/default/tests && ./image_create.exe) -# DESTROY bigarray 'data' -# Done: 70/72 (jobs: 1) * ERROR: dev-ml/cairo2-0.6.1::x-portage failed (test phase): -RESTRICT=test - -# Remove lablgtk2 dep https://github.com/Chris00/ocaml-cairo/issues/21 -# Fix compiler warnings, from: https://github.com/Chris00/ocaml-cairo/pull/22 -PATCHES=( - "${FILESDIR}"/${PN}-0.6.1-ignore-gtk-and-pango.patch - "${FILESDIR}"/${PN}-0.6.1-handle-safe-string.patch - "${FILESDIR}"/${PN}-0.6.1-Fix-multiple-definitions-of-variables.patch -) diff --git a/dev-ml/cairo2/cairo2-0.6.2-r1.ebuild b/dev-ml/cairo2/cairo2-0.6.2-r1.ebuild new file mode 100644 index 000000000000..5cd7078e915c --- /dev/null +++ b/dev-ml/cairo2/cairo2-0.6.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Binding to Cairo, a 2D Vector Graphics Library" +HOMEPAGE="https://github.com/Chris00/ocaml-cairo" +SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/${PV}/cairo2-${PV}.tbz" + +LICENSE="LGPL-3" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86" +IUSE="+ocamlopt" + +DEPEND=" + x11-libs/cairo:=[svg] + dev-ml/dune-configurator:= +" +RDEPEND="${DEPEND} + !dev-ml/ocaml-cairo +" +BDEPEND="" + +# >>> Test phase: dev-ml/cairo2-0.6.1 +# image_create alias tests/runtest (got signal SEGV) +# (cd _build/default/tests && ./image_create.exe) +# DESTROY bigarray 'data' +# Done: 70/72 (jobs: 1) * ERROR: dev-ml/cairo2-0.6.1::x-portage failed (test phase): +RESTRICT=test + +# Remove lablgtk2 dep https://github.com/Chris00/ocaml-cairo/issues/21 +# Fix compiler warnings, from: https://github.com/Chris00/ocaml-cairo/pull/22 +PATCHES=( + "${FILESDIR}"/${PN}-0.6.1-ignore-gtk-and-pango.patch +) diff --git a/dev-ml/cairo2/cairo2-0.6.2.ebuild b/dev-ml/cairo2/cairo2-0.6.2.ebuild deleted file mode 100644 index a24437297856..000000000000 --- a/dev-ml/cairo2/cairo2-0.6.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit dune - -DESCRIPTION="Binding to Cairo, a 2D Vector Graphics Library" -HOMEPAGE="https://github.com/Chris00/ocaml-cairo" -SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/${PV}/cairo2-${PV}.tbz" - -LICENSE="LGPL-3" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86" -IUSE="+ocamlopt" - -DEPEND=" - x11-libs/cairo:= - dev-ml/dune-configurator:= -" -RDEPEND="${DEPEND} - !dev-ml/ocaml-cairo -" -BDEPEND="" - -# >>> Test phase: dev-ml/cairo2-0.6.1 -# image_create alias tests/runtest (got signal SEGV) -# (cd _build/default/tests && ./image_create.exe) -# DESTROY bigarray 'data' -# Done: 70/72 (jobs: 1) * ERROR: dev-ml/cairo2-0.6.1::x-portage failed (test phase): -RESTRICT=test - -# Remove lablgtk2 dep https://github.com/Chris00/ocaml-cairo/issues/21 -# Fix compiler warnings, from: https://github.com/Chris00/ocaml-cairo/pull/22 -PATCHES=( - "${FILESDIR}"/${PN}-0.6.1-ignore-gtk-and-pango.patch -) -- cgit v1.2.3-65-gdbad