1 |
commit: 2c58128ee88e4869b802230e341c0645cf1e07c0 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 13 15:01:33 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 13 15:10:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c58128e |
7 |
|
8 |
dev-perl/Cairo: Bump to version 1.107.0 |
9 |
|
10 |
- EAPI7 |
11 |
- Add USE="examples" |
12 |
- Replace sed invocation with a patch |
13 |
- Enable parallel tests |
14 |
- I see no evidence of bug #663478 or bug #641494, which may be the same |
15 |
bug in differing presentations. Affected users are encouraged to |
16 |
reproduce and give information about their installed cairo and |
17 |
libpng's and applicable USE flags. |
18 |
|
19 |
Upstream: |
20 |
- Add bindings for cairo_tag_begin and cairo_tag_end |
21 |
- Add binding for cairo_pdf_surface_set_metadata |
22 |
|
23 |
Bug: https://bugs.gentoo.org/641494 |
24 |
Bug: https://bugs.gentoo.org/663478 |
25 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
26 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
27 |
|
28 |
dev-perl/Cairo/Cairo-1.107.0.ebuild | 32 +++++++++++++++++++++++ |
29 |
dev-perl/Cairo/Manifest | 1 + |
30 |
dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch | 25 ++++++++++++++++++ |
31 |
3 files changed, 58 insertions(+) |
32 |
|
33 |
diff --git a/dev-perl/Cairo/Cairo-1.107.0.ebuild b/dev-perl/Cairo/Cairo-1.107.0.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..ca2d059a349 |
36 |
--- /dev/null |
37 |
+++ b/dev-perl/Cairo/Cairo-1.107.0.ebuild |
38 |
@@ -0,0 +1,32 @@ |
39 |
+# Copyright 1999-2020 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+DIST_AUTHOR=XAOC |
45 |
+DIST_VERSION=1.107 |
46 |
+DIST_EXAMPLES=("examples/*") |
47 |
+inherit perl-module |
48 |
+ |
49 |
+DESCRIPTION="Perl interface to the cairo library" |
50 |
+ |
51 |
+LICENSE="LGPL-2.1" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=x11-libs/cairo-1.0.0 |
59 |
+" |
60 |
+BDEPEND="${RDEPEND} |
61 |
+ virtual/perl-ExtUtils-MakeMaker |
62 |
+ >=dev-perl/ExtUtils-Depends-0.200.0 |
63 |
+ >=dev-perl/ExtUtils-PkgConfig-1.0.0 |
64 |
+ test? ( |
65 |
+ dev-perl/Test-Number-Delta |
66 |
+ ) |
67 |
+" |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}/${PN}-1.107-fatal-exit.patch" |
70 |
+) |
71 |
|
72 |
diff --git a/dev-perl/Cairo/Manifest b/dev-perl/Cairo/Manifest |
73 |
index dac3b87668c..ae413017ffa 100644 |
74 |
--- a/dev-perl/Cairo/Manifest |
75 |
+++ b/dev-perl/Cairo/Manifest |
76 |
@@ -1 +1,2 @@ |
77 |
DIST Cairo-1.106.tar.gz 108779 BLAKE2B 9658623bf83952066f2a3a4741130c41bb79ca95c57e9c32dd0e63bec2801610d3c3fea72b844edcff213ff864021188e15803cbc80e6065ef48a0c386af37d9 SHA512 190435f99e4c7a8f5e8d48834639b9e12c6bc4d5dfe721a2820de3479dd3f2144e1fc1ea74e7796fd7b219a45591b55c7648488e6dd276106bc5e51b0467fee7 |
78 |
+DIST Cairo-1.107.tar.gz 111203 BLAKE2B 17093ee7058ecf27848042d3f49a841b6d6b4be9327adb959ee0d93a10f03de9caecd172b31775847b3561470aaf0f3c72b458fe0b37d2a451df47833e0df622 SHA512 613ba59ee3bd1adc2f33be60b395148f23d1de793fde888fd417f0b0cb6631a35429ee696172e9292b7d3fecab93de8ca958c96f803b9f5a16747a6d1fc7e9cb |
79 |
|
80 |
diff --git a/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch b/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch |
81 |
new file mode 100644 |
82 |
index 00000000000..cc1274af4eb |
83 |
--- /dev/null |
84 |
+++ b/dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch |
85 |
@@ -0,0 +1,25 @@ |
86 |
+From 96dd5b512e7761626b6924df471bfec50983eeb7 Mon Sep 17 00:00:00 2001 |
87 |
+From: Kent Fredric <kentnl@g.o> |
88 |
+Date: Thu, 14 May 2020 02:39:16 +1200 |
89 |
+Subject: Abort with a non-zero exit code |
90 |
+ |
91 |
+--- |
92 |
+ Makefile.PL | 2 +- |
93 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
94 |
+ |
95 |
+diff --git a/Makefile.PL b/Makefile.PL |
96 |
+index d7a6d49..8960261 100644 |
97 |
+--- a/Makefile.PL |
98 |
++++ b/Makefile.PL |
99 |
+@@ -99,7 +99,7 @@ my %cairo_cfg; |
100 |
+ eval { %cairo_cfg = ExtUtils::PkgConfig->find ("cairo >= $extreqs{cairo}"); }; |
101 |
+ if ($@ ne '') { |
102 |
+ warn $@; |
103 |
+- exit 0; |
104 |
++ exit 1; |
105 |
+ } |
106 |
+ |
107 |
+ my %objects = ( |
108 |
+-- |
109 |
+2.26.2 |
110 |
+ |