<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6409005bc7500373bf1f73016fb3599bf0b24b17">https://github.com/macports/macports-ports/commit/6409005bc7500373bf1f73016fb3599bf0b24b17</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6409005bc7500373bf1f73016fb3599bf0b24b17
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Apr 17 14:49:00 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> pangomm-devel: new port for testing
</span>---
x11/{pangomm => pangomm-devel}/Portfile | 29 +++++++++++++++---------
x11/pangomm-devel/files/patch-pango-include.diff | 12 ++++++++++
x11/pangomm/Portfile | 1 +
3 files changed, 31 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/pangomm/Portfile b/x11/pangomm-devel/Portfile
</span>similarity index 74%
copy from x11/pangomm/Portfile
copy to x11/pangomm-devel/Portfile
<span style='display:block; white-space:pre;color:#808080;'>index ff46a4c5a8e..68d5afa9d7c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/pangomm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/pangomm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,15 +4,16 @@ PortSystem 1.0
</span> PortGroup active_variants 1.1
PortGroup meson 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name pangomm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name pangomm-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts pangomm
</span> set my_name pangomm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.50.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.52.0
</span> revision 0
# some build files are GPL-2+ but they are not installed
license LGPL-2.1+
categories x11 devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {mascguy @mascguy} openmaintainer
</span>
description C++ interface to Pango.
long_description pangomm is the official \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,25 +26,31 @@ distname ${my_name}-${version}
</span> dist_subdir ${my_name}
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d51955a45175c117f0331efc01e9abd856d710a3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ccc9923413e408c2bff637df663248327d72822f11e394b423e1c5652b7d9214 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 754608
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 647f4f641e781e2b5ad711e4840b2afc9652f5fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 34a134126a6484ff12f774358c36ecc44d0e9df094e1b83796d9774bb7d24947 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 778312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Disable unexpected download of subprojects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+meson.wrap_mode nodownload
</span>
depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mm-common
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mm-common \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig
</span>
# Pull in legacy bindings via 'pangomm-1.4', so that dependents don't have to be changed
depends_lib-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pangomm-1.4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/pango.pc:pango \
</span> path:lib/pkgconfig/cairomm-1.16.pc:cairomm \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
</span> port:glibmm \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pango-devel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pangomm-1.4 \
</span> port:libsigcxx2
compiler.cxx_standard 2017
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild-documentation=false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # dummy variants to ensure that this port gets rebuilt if
# the corresponding variants for pango change
variant x11 {}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/pangomm-devel/files/patch-pango-include.diff b/x11/pangomm-devel/files/patch-pango-include.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c777013a540
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/pangomm-devel/files/patch-pango-include.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.gnome.org/GNOME/pangomm/-/commit/f065a2967e22658565f4228b73b1511d291e343f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pango/pangomm/attributes.h.orig 2022-01-25 14:42:31.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pango/pangomm/attributes.h 2022-01-25 14:40:44.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,7 +21,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pangomm/rectangle.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pangomm/color.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pangomm/fontdescription.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <pango/pango-attributes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <pango/pango.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <glibmm/slisthandle.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _DEFS(pangomm,pango)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/pangomm/Portfile b/x11/pangomm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ff46a4c5a8e..8ff787b73c9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/pangomm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/pangomm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup active_variants 1.1
</span> PortGroup meson 1.0
name pangomm
<span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts pangomm-devel
</span> set my_name pangomm
version 2.50.1
revision 0
</pre><pre style='margin:0'>
</pre>