<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/62d0a05d6dea4af263f42d498ac194af03113c71">https://github.com/macports/macports-ports/commit/62d0a05d6dea4af263f42d498ac194af03113c71</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 62d0a05d6de gjs: update to 1.76.0
</span>62d0a05d6de is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 62d0a05d6dea4af263f42d498ac194af03113c71
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 13 11:41:59 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> gjs: update to 1.76.0
</span>---
gnome/gjs/Portfile | 11 +++++---
gnome/gjs/files/patch-gjs-skip-gtk-tests.diff | 36 +++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gjs/Portfile b/gnome/gjs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2808aeec9c..b71216dd964 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gjs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gjs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ name gjs
</span> conflicts gjs-devel
set my_name gjs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.74.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.76.0
</span> revision 0
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,9 +25,9 @@ distname ${my_name}-${version}
</span> dist_subdir ${my_name}
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8caa5573a7e8d3401a6e9cb7e5a02a9391821cad \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a406fd6a1652cf66dcab228062bd16a75f5b3378248dfbbbe016b212744a30b6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 639012
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f880322e738dc63c2366b98cf70b559187daa890 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a63f156964b136053eab51ea013114e7d7c193b7518d28c040b6b02c3c933a6d\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 645364
</span>
set py_ver 3.11
set py_ver_nodot [string map {. {}} ${py_ver}]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,6 +54,9 @@ patchfiles-append patch-gjs-test.diff
</span> # The gobject_introspection PG needs an 'introspection' option
patchfiles-append patch-gjs-meson_options.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://gitlab.gnome.org/GNOME/gjs/-/issues/532
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-gjs-skip-gtk-tests.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace "s|^#!/usr/bin/env python3|#!${configure.python}|" \
build/compile-gschemas.py \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gjs/files/patch-gjs-skip-gtk-tests.diff b/gnome/gjs/files/patch-gjs-skip-gtk-tests.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2b29d588a83
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gjs/files/patch-gjs-skip-gtk-tests.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Upstream PR:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/830
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- installed-tests/js/meson.build.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ installed-tests/js/meson.build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -203,9 +203,13 @@ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # during build should be run using dbus-run-session
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dbus_tests = ['GDBus']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if have_gtk4 and not get_option('skip_gtk_tests')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # FIXME: find out why GTK4 tries to acquire a message bus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- dbus_tests += 'Gtk4'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if not get_option('skip_gtk_tests')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ have_gtk4 = dependency('gtk4', required: false).found()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if have_gtk4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # FIXME: find out why GTK4 tries to acquire a message bus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dbus_tests += 'Gtk4'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bus_config = files('../../test/test-bus.conf')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -679,10 +679,6 @@ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ### Tests and test setups ######################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if not get_option('skip_gtk_tests')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- have_gtk4 = dependency('gtk4', required: false).found()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subdir('installed-tests')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Note: The test program in test/ needs to be ported
</span></pre><pre style='margin:0'>
</pre>