From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/cairo/
Date: Sat, 25 Mar 2023 08:34:48 +0000 (UTC) [thread overview]
Message-ID: <1679733275.62cf35e04c65efdc6b5a8ed2670c9b48451571ea.sam@gentoo> (raw)
commit: 62cf35e04c65efdc6b5a8ed2670c9b48451571ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 08:07:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 08:34:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62cf35e0
x11-libs/cairo: further test plumbing
- Only build tests for native ABI because poppler[glib] isn't available for
multilib.
- Depend on poppler[glib] for tests.
- Depend on ghostscript for tests.
But we keep tests restricted for now because they seem to hang for me and there's
a rather elaborate test setup in CI: https://gitlab.freedesktop.org/cairo/cairo/-/blob/master/.gitlab-ci.yml.
This partly reverts commit 4350d1484c0ab46f8f74f973438e47ec24e2c01b.
Signed-off-by: Sam James <sam <AT> gentoo.org>
x11-libs/cairo/cairo-1.17.8.ebuild | 18 +++++++++++++++---
x11-libs/cairo/cairo-9999.ebuild | 18 +++++++++++++++---
2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/x11-libs/cairo/cairo-1.17.8.ebuild b/x11-libs/cairo/cairo-1.17.8.ebuild
index c32c5a8d50e5..edc9523e91bc 100644
--- a/x11-libs/cairo/cairo-1.17.8.ebuild
+++ b/x11-libs/cairo/cairo-1.17.8.ebuild
@@ -18,8 +18,10 @@ DESCRIPTION="A vector graphics library with cross-device output support"
HOMEPAGE="https://www.cairographics.org/ https://gitlab.freedesktop.org/cairo/cairo"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
-IUSE="X aqua debug +glib gtk-doc"
-RESTRICT="test" # Test suite has many failures. Requires poppler-glib, which isn't available in multilib
+IUSE="X aqua debug +glib gtk-doc test"
+# Tests need more wiring up like e.g. https://gitlab.freedesktop.org/cairo/cairo/-/blob/master/.gitlab-ci.yml
+# any2ppm tests seem to hang for now.
+RESTRICT="test !test? ( test )"
RDEPEND="
>=dev-libs/lzo-2.06-r1:2[${MULTILIB_USEDEP}]
@@ -37,6 +39,11 @@ RDEPEND="
>=x11-libs/libxcb-1.9.1:=[${MULTILIB_USEDEP}]
)"
DEPEND="${RDEPEND}
+ test? (
+ app-text/ghostscript-gpl
+ app-text/poppler[cairo]
+ gnome-base/librsvg
+ )
X? ( x11-base/xorg-proto )"
BDEPEND="virtual/pkgconfig"
@@ -61,7 +68,8 @@ multilib_src_configure() {
-Dxml=disabled
-Dzlib=enabled
- -Dtests=disabled
+ # Requires poppler-glib (poppler[cairo]) which isn't available in multilib
+ $(meson_native_use_feature test tests)
-Dgtk2-utils=disabled
@@ -75,6 +83,10 @@ multilib_src_configure() {
meson_src_configure
}
+multilib_src_test() {
+ multilib_is_native_abi && meson_src_test
+}
+
multilib_src_install_all() {
einstalldocs
diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index 5ead761e1e7f..21df436410a7 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -18,8 +18,10 @@ DESCRIPTION="A vector graphics library with cross-device output support"
HOMEPAGE="https://www.cairographics.org/ https://gitlab.freedesktop.org/cairo/cairo"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
-IUSE="X aqua debug +glib gtk-doc"
-RESTRICT="test" # Test suite has many failures. Requires poppler-glib, which isn't available in multilib
+IUSE="X aqua debug +glib gtk-doc test"
+# Tests need more wiring up like e.g. https://gitlab.freedesktop.org/cairo/cairo/-/blob/master/.gitlab-ci.yml
+# any2ppm tests seem to hang for now.
+RESTRICT="test !test? ( test )"
RDEPEND="
>=dev-libs/lzo-2.06-r1:2[${MULTILIB_USEDEP}]
@@ -37,6 +39,11 @@ RDEPEND="
>=x11-libs/libxcb-1.9.1:=[${MULTILIB_USEDEP}]
)"
DEPEND="${RDEPEND}
+ test? (
+ app-text/ghostscript-gpl
+ app-text/poppler[cairo]
+ gnome-base/librsvg
+ )
X? ( x11-base/xorg-proto )"
BDEPEND="virtual/pkgconfig"
@@ -56,7 +63,8 @@ multilib_src_configure() {
-Dxlib-xcb=disabled
-Dzlib=enabled
- -Dtests=disabled
+ # Requires poppler-glib (poppler[cairo]) which isn't available in multilib
+ $(meson_native_use_feature test tests)
-Dgtk2-utils=disabled
@@ -70,6 +78,10 @@ multilib_src_configure() {
meson_src_configure
}
+multilib_src_test() {
+ multilib_is_native_abi && meson_src_test
+}
+
multilib_src_install_all() {
einstalldocs
next reply other threads:[~2023-03-25 8:34 UTC|newest]
Thread overview: 144+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-25 8:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 16:18 [gentoo-commits] repo/gentoo:master commit in: x11-libs/cairo/ Matt Turner
2024-11-06 1:22 Matt Turner
2024-11-06 1:16 Matt Turner
2024-10-21 18:41 Arthur Zamarin
2024-10-21 18:41 Arthur Zamarin
2024-10-20 4:46 Sam James
2024-10-20 4:46 Sam James
2024-10-20 4:46 Sam James
2024-10-20 4:46 Sam James
2024-10-20 4:46 Sam James
2024-09-24 0:36 Matt Turner
2024-09-02 17:52 Matt Turner
2024-09-02 17:52 Matt Turner
2023-12-02 16:23 Matt Turner
2023-11-28 5:29 Arthur Zamarin
2023-11-28 5:27 Arthur Zamarin
2023-11-25 16:16 Michał Górny
2023-11-07 20:35 Sam James
2023-11-04 9:06 Sam James
2023-11-04 9:06 Sam James
2023-11-03 23:58 Sam James
2023-09-25 0:08 Matt Turner
2023-08-02 14:51 Matt Turner
2023-04-09 4:05 Matt Turner
2023-04-08 17:18 Arthur Zamarin
2023-04-08 15:00 Arthur Zamarin
2023-04-08 14:47 Arthur Zamarin
2023-04-08 10:46 Arthur Zamarin
2023-04-08 9:57 Arthur Zamarin
2023-04-08 9:02 Arthur Zamarin
2023-04-08 6:18 Arthur Zamarin
2023-03-25 2:20 Matt Turner
2023-03-20 14:33 Matt Turner
2023-03-13 20:07 Matt Turner
2023-03-13 19:18 Arthur Zamarin
2023-03-04 13:51 Arthur Zamarin
2023-03-04 7:04 Arthur Zamarin
2023-03-03 18:47 Arthur Zamarin
2023-03-03 18:42 Arthur Zamarin
2023-03-03 5:57 Arthur Zamarin
2023-03-03 5:57 Arthur Zamarin
2023-03-02 19:52 Arthur Zamarin
2023-01-31 18:31 Sam James
2022-12-17 19:28 Arthur Zamarin
2022-12-16 21:16 Arthur Zamarin
2022-12-16 21:16 Arthur Zamarin
2022-12-16 20:21 Arthur Zamarin
2022-12-16 18:31 Arthur Zamarin
2022-12-16 18:31 Arthur Zamarin
2022-12-16 18:26 Arthur Zamarin
2022-10-07 23:08 Matt Turner
2022-05-07 4:28 WANG Xuerui
2022-05-07 4:28 WANG Xuerui
2022-02-26 3:09 Matt Turner
2022-02-26 3:09 Matt Turner
2022-01-02 17:49 David Seifert
2021-10-31 0:19 Sam James
2020-12-21 19:00 Matt Turner
2020-12-17 16:49 Matt Turner
2020-08-09 17:52 Matt Turner
2020-07-31 17:53 Sergei Trofimovich
2020-07-21 9:33 Agostino Sarubbo
2020-07-21 8:48 Agostino Sarubbo
2020-07-19 1:47 Sam James
2020-07-17 20:47 Sam James
2020-07-17 15:15 Agostino Sarubbo
2020-07-17 15:13 Agostino Sarubbo
2020-07-17 15:09 Agostino Sarubbo
2020-07-17 15:07 Agostino Sarubbo
2020-01-14 22:28 Matt Turner
2020-01-14 21:20 Matt Turner
2020-01-13 18:13 Matt Turner
2019-04-09 1:47 Aaron Bauman
2019-04-09 0:05 Aaron Bauman
2019-04-08 23:23 Matt Turner
2019-04-07 21:53 Mikle Kolyada
2019-04-06 9:56 Sergei Trofimovich
2019-04-05 19:03 Sergei Trofimovich
2019-03-31 19:12 Matt Turner
2019-03-31 19:12 Matt Turner
2019-03-30 19:05 Mikle Kolyada
2019-03-30 10:46 Agostino Sarubbo
2019-02-16 7:32 Mikle Kolyada
2019-01-31 18:11 Matt Turner
2019-01-28 5:10 Matt Turner
2019-01-27 14:14 Sergei Trofimovich
2019-01-27 12:18 Sergei Trofimovich
2019-01-24 22:22 Thomas Deutschmann
2019-01-22 10:48 Mart Raudsepp
2019-01-21 23:26 Sergei Trofimovich
2019-01-21 7:42 Mikle Kolyada
2019-01-21 7:39 Mikle Kolyada
2019-01-20 9:53 Sergei Trofimovich
2018-10-31 19:10 Matt Turner
2018-10-31 19:10 Matt Turner
2018-10-30 14:01 Matt Turner
2018-10-19 22:30 Matt Turner
2018-10-19 22:30 Matt Turner
2018-07-31 21:50 Matt Turner
2018-06-14 19:10 Mikle Kolyada
2018-03-22 6:07 Markus Meier
2018-03-20 20:36 Matt Turner
2018-03-12 6:24 Matt Turner
2018-03-12 6:24 Matt Turner
2018-03-03 1:43 Mart Raudsepp
2018-02-14 14:17 Jason Zaman
2018-02-03 10:40 Sergei Trofimovich
2018-02-01 20:37 Thomas Deutschmann
2018-01-29 8:22 Tobias Klausmann
2018-01-28 15:58 Sergei Trofimovich
2017-12-08 22:33 Lars Wendler
2017-08-16 7:16 Michał Górny
2017-06-19 15:13 Manuel Rüger
2017-06-19 13:46 Manuel Rüger
2017-06-18 23:54 Lars Wendler
2017-06-18 23:54 Lars Wendler
2017-03-29 0:01 Michael Weber
2017-03-16 20:37 Matt Turner
2017-03-16 8:15 Jeroen Roovers
2017-03-11 18:59 Agostino Sarubbo
2017-03-10 12:53 Agostino Sarubbo
2017-03-10 9:09 Agostino Sarubbo
2017-03-08 7:44 Michael Weber
2017-03-06 15:50 Tobias Klausmann
2017-02-26 0:15 Matt Turner
2017-02-26 0:15 Matt Turner
2017-02-26 0:15 Matt Turner
2017-01-29 21:11 Fabian Groffen
2016-12-19 17:02 Lars Wendler
2016-12-19 11:03 Lars Wendler
2016-12-19 11:03 Lars Wendler
2016-12-19 11:03 Lars Wendler
2016-06-06 16:15 Agostino Sarubbo
2016-05-31 19:16 Tobias Klausmann
2016-05-28 10:52 Pacho Ramos
2016-05-24 5:55 Jeroen Roovers
2016-05-21 7:57 Markus Meier
2016-01-15 14:59 Fabian Groffen
2015-12-10 7:45 Lars Wendler
2015-11-01 21:10 Manuel Rüger
2015-10-03 9:16 Pacho Ramos
2015-08-24 13:28 Chí-Thanh Christopher Nguyễn
2015-08-23 1:15 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1679733275.62cf35e04c65efdc6b5a8ed2670c9b48451571ea.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox