<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/c90391cb2b64c71ee4b2aaf99e2cf3f1bd0744d8">https://github.com/macports/macports-ports/commit/c90391cb2b64c71ee4b2aaf99e2cf3f1bd0744d8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c90391cb2b64c71ee4b2aaf99e2cf3f1bd0744d8
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 6 15:14:43 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> gjs: update to 1.74.2
</span>---
gnome/gjs/Portfile | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 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 7848e89deca..a2808aeec9c 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,36 +8,41 @@ name gjs
</span> conflicts gjs-devel
set my_name gjs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.72.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.74.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
</span> categories gnome
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
</span>
description GNOME JavaScript/Spidermonkey bindings
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> homepage https://wiki.gnome.org/Projects/Gjs
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> master_sites gnome:sources/${my_name}/${branch}/
distname ${my_name}-${version}
dist_subdir ${my_name}
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3b03b8b41f50088bd4182cb015585c10809e034c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ddee379bdc5a7d303a5d894be2b281beb8ac54508604e7d3f20781a869da3977 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 620380
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8caa5573a7e8d3401a6e9cb7e5a02a9391821cad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a406fd6a1652cf66dcab228062bd16a75f5b3378248dfbbbe016b212744a30b6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 639012
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_nodot [string map {. {}} ${py_ver}]
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${py_ver_nodot}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
</span> path:lib/pkgconfig/glib-2.0.pc:glib2 \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dbus \
</span> port:libffi \
path:lib/pkgconfig/cairo.pc:cairo \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mozjs91 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mozjs102 \
</span> port:readline
compiler.cxx_standard \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,7 +60,7 @@ post-patch {
</span> build/symlink-gjs.py
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python ${prefix}/bin/python3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/python${py_ver}
</span>
# profiler currently only supported on Linux
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,9 +71,9 @@ configure.args-append \
</span>
gobject_introspection yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Note that a few tests will fail because the "macports" user
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# does not have permission to open a display, issuing warnings like:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Gtk-WARNING **: 07:57:17.013: cannot open display: /tmp/launch-vBCmUl/org.macports:0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Note that a few tests in the "Scripts / CommandLine" category may fail as the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# typelib (gobject-introspection) expects libgjs.0.dylib to be installed at the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# system level during testing
</span> test.run yes
test.target test
</pre><pre style='margin:0'>
</pre>