<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/d2450a3bf034ed8a8fcff40cfe811aaccd61f9f3">https://github.com/macports/macports-ports/commit/d2450a3bf034ed8a8fcff40cfe811aaccd61f9f3</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 d2450a3bf03 glade: allow build on < 10.7
</span>d2450a3bf03 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d2450a3bf034ed8a8fcff40cfe811aaccd61f9f3
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Thu Mar 21 04:29:57 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> glade: allow build on < 10.7
</span>---
devel/glade/Portfile | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glade/Portfile b/devel/glade/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 54f9715cc16..1a8009d4a3b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/glade/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glade/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup app 1.1
</span>
name glade
version 3.40.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
categories devel gnome
license LGPL-2+ GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,7 +38,6 @@ depends_build-append \
</span>
depends_lib-append \
path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/gjs-1.0.pc:gjs \
</span> path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \
path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,9 +46,13 @@ depends_lib-append \
</span> depends_run-append \
port:desktop-file-utils
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: redefinition of typedef ‘GladeWidgetAdaptor’
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *gcc-4.0 *gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
-Dgladeui=true \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dgjs=enabled \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dgjs=disabled \
</span> -Dpython=disabled \
-Dwebkit2gtk=disabled
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,13 +101,22 @@ if {![variant_isset python39] && \
</span> default_variants +python311
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant gjs description {Enable GJS support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dgjs=disabled -Dgjs=enabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:lib/pkgconfig/gjs-1.0.pc:gjs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant webkit2gtk description {Enable WebKit widgets catalog} {
configure.args-replace -Dwebkit2gtk=disabled -Dwebkit2gtk=enabled
depends_lib-append path:lib/pkgconfig/webkit2gtk-4.0.pc:webkit2-gtk
depends_run-append port:devhelp
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +webkit2gtk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See: https://github.com/macports/macports-ports/pull/23137
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {(${os.platform} eq "darwin" && ${os.major} > 19) ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +gjs +webkit2gtk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
notes "
To view the Glade Interface Designer Manual (GTK+ 3 version), use
</pre><pre style='margin:0'>
</pre>