<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8ad3283451b806b99846911b0a3552fbb8244918">https://github.com/macports/macports-ports/commit/8ad3283451b806b99846911b0a3552fbb8244918</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8ad3283 p5-cairo: update to version 1.107, dependencies
</span>8ad3283 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8ad3283451b806b99846911b0a3552fbb8244918
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Oct 7 18:01:30 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-cairo: update to version 1.107, dependencies
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Enable CairoFT support and test.
</span>---
perl/p5-cairo/Portfile | 18 +++++++++++++++---
perl/p5-cairo/files/patch-CairoFT-test-fonts.diff | 13 +++++++++++++
2 files changed, 28 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-cairo/Portfile b/perl/p5-cairo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ac6d5e0..4047f58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-cairo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-cairo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup perl5 1.0
perl5.branches 5.26 5.28
<span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup Cairo 1.106 ../../authors/id/X/XA/XAOC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.setup Cairo 1.107 ../../authors/id/X/XA/XAOC
</span> license LGPL-2.1+
maintainers nomaintainer
description Perl bindings to the cairo library
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,13 +16,25 @@ long_description Perl bindings to the 2.x series of the Gtk+ graphical user i
</span>
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6a6532fff334dfd638de63972c1ffbea4d3eea79 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e64803018bc7cba49e73e258547f5378cc4249797beafec524852140f49c45c4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0b93c6e0ea9857d9c4e2e5c9db70f9cd65813010 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5e1de126ddf93bd5b13f13a52f50d7f7af1157265b7f10e53d585ee1827be169 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 111203
</span>
if {${perl5.major} != ""} {
depends_lib-append \
path:lib/pkgconfig/cairo.pc:cairo \
port:p${perl5.major}-extutils-depends \
port:p${perl5.major}-extutils-pkgconfig \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-font-freetype \
</span> port:p${perl5.major}-glib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bitstream-vera \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dejavu-fonts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-CairoFT-test-fonts.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/t/CairoFT.t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-cairo/files/patch-CairoFT-test-fonts.diff b/perl/p5-cairo/files/patch-CairoFT-test-fonts.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fcbc778
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-cairo/files/patch-CairoFT-test-fonts.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- t/CairoFt.t.orig 2019-10-07 17:38:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ t/CairoFt.t 2019-10-07 17:43:13.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,8 +19,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @files_to_try = qw(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @@MP_PREFIX@@/share/fonts/Vera.ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @@MP_PREFIX@@/share/fonts/dejavu-fonts/DejaVuSerif.ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my @files_found = grep { -r $_ } @files_to_try;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ my $file = $files_found[0];
</span></pre><pre style='margin:0'>
</pre>