<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/869cd4d48e19f1daf92ca01919c7b38a2230ecc9">https://github.com/macports/macports-ports/commit/869cd4d48e19f1daf92ca01919c7b38a2230ecc9</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 869cd4d48e1 libpeas: update to version 1.26.0
</span>869cd4d48e1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 869cd4d48e19f1daf92ca01919c7b38a2230ecc9
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun Jun 21 21:23:13 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> libpeas: update to version 1.26.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * add +python38 variant as default
</span><span style='display:block; white-space:pre;color:#404040;'> * port build configuration from autotools to meson
</span><span style='display:block; white-space:pre;color:#404040;'> * amend python configuration for meson
</span><span style='display:block; white-space:pre;color:#404040;'> * add g-ir-scanner boilerplate
</span><span style='display:block; white-space:pre;color:#404040;'> * add .so symlink to peas-demo plugin modules built as .dylib
</span>---
gnome/libpeas/Portfile | 122 ++++++++++++++--------------
gnome/libpeas/files/autogen.sh | 23 ------
gnome/libpeas/files/patch-configure.ac.diff | 14 ----
3 files changed, 60 insertions(+), 99 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libpeas/Portfile b/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0e49deb3703..431ee2817db 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,11 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup gobject_introspection 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup meson 1.0
</span>
name libpeas
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.22.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.26.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> license LGPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description libpeas is a GObject-based plugins engine
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,42 +18,39 @@ master_sites gnome:sources/${name}/${branch}/
</span>
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 510bab4d3a460ee12ca9444f3edd9fa22b969bc9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5b2fc0f53962b25bca131a5ec0139e6fef8e254481b6e777975f7a1d2702a962
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</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:intltool \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gtk-doc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gnome-common \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:autoconf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:automake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:gtk3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gobject_introspection yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 09c901a2c52ddd64c3b7b5a3d98470e737c8c91e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a976d77e20496479a8e955e6a38fb0e5c5de89cf64d9f44e75c2213ee14f7376 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 191708
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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:gtk-doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:gobject-introspection \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:vala
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args -Dglade_catalog=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dlua51=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dpython2=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dpython3=false \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dvapi=true \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dgtk_doc=true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# gobject-introspection uses g-ir-scanner, which uses $CC from env
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend merger_build_env(${arch}) "CC=${configure.cc} -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend merger_destroot_env(${arch}) "CC=${configure.cc} -arch ${arch}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append "CC=${configure.cc} ${configure.cc_archflags}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.env-append "CC=${configure.cc} ${configure.cc_archflags}"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --enable-gtk \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-glade-catalog \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-lua5.1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-luajit \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-python2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-python3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant glade description {Enable glade catalog support} {
depends_lib-append port:glade
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-glade-catalog --enable-glade-catalog
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dglade_catalog=false -Dglade_catalog=true
</span> }
# supports one version each of python2 python3 in parallel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,57 +58,58 @@ variant glade description {Enable glade catalog support} {
</span> variant python27 description {Enable Python 2.7 plugin support} {
depends_lib-append port:py27-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PYTHON2=${prefix}/bin/python2.7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PYTHON2_CONFIG=${python_prefix}/bin/python-config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-python2 --enable-python2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dpython2=false -Dpython2=true
</span> }
default_variants +python27
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# python3 minimum version is 3.2.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 python37 description {Enable Python 3.5 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python36 python37 python38 description {Enable Python 3.5 plugin support} {
</span> depends_lib-append port:py35-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.5
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.python ${prefix}/bin/python3.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PYTHON3_CONFIG=${prefix}/bin/python3.5-config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append -L${python_prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-python3 --enable-python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dpython3=false -Dpython3=true
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 python37 description {Enable Python 3.6 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python35 python37 python38 description {Enable Python 3.6 plugin support} {
</span> depends_lib-append port:py36-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.python ${prefix}/bin/python3.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PYTHON3_CONFIG=${prefix}/bin/python3.6-config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append -L${python_prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-python3 --enable-python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dpython3=false -Dpython3=true
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python35 python36 description {Enable Python 3.7 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python35 python36 python38 description {Enable Python 3.7 plugin support} {
</span> depends_lib-append port:py37-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.pkg_config_path ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.python ${prefix}/bin/python3.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PYTHON3_CONFIG=${prefix}/bin/python3.7-config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append -L${python_prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-python3 --enable-python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dpython3=false -Dpython3=true
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35] && ![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python35 python36 python37 description {Enable Python 3.8 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py38-gobject3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_prefix ${frameworks_dir}/Python.framework/Versions/3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -Dpython3=false -Dpython3=true
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# glade expects catalog modules and libraries to have a .so suffix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python35] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python36] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python37] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python38] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# glade expects catalog modules and libraries to have a .so suffix
</span> if {[variant_isset glade]} {
set libdir ${prefix}/lib
ln -s ${libdir}/libpeas-gtk-1.0.dylib ${destroot}${libdir}/libpeas-gtk-1.0.so
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# same for libpeas demo plugin modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set plugindir ${prefix}/lib/peas-demo/plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach plugin {helloworld secondtime} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${plugindir}/$plugin/lib$plugin.dylib ${destroot}${plugindir}/$plugin/lib$plugin.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
post-activate {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libpeas/files/autogen.sh b/gnome/libpeas/files/autogen.sh
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 557f0087640..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libpeas/files/autogen.sh
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,23 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#!/bin/sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Run this to generate all the initial makefiles, etc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-srcdir=`dirname $0`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test -z "$srcdir" && srcdir=.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PKG_NAME="libpeas"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(test -f $srcdir/configure.ac \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && test -f $srcdir/README \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && test -d $srcdir/libpeas) || {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo " top-level $PKG_NAME directory"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exit 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-which gnome-autogen.sh || {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "You need to install gnome-common from GNOME Git (or from"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "your OS vendor's package manager)."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exit 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-REQUIRED_MACROS=python.m4 USE_GNOME2_MACROS=1 . gnome-autogen.sh
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libpeas/files/patch-configure.ac.diff b/gnome/libpeas/files/patch-configure.ac.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0ddfc4856bf..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libpeas/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.ac.orig 2015-06-25 08:09:27.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure.ac 2015-06-25 08:12:46.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -305,9 +305,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "x$found_lua51" != "xyes"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PKG_CHECK_EXISTS([lua5.1 >= $LUA51_REQUIRED], [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PKG_CHECK_EXISTS([lua-5.1 >= $LUA51_REQUIRED], [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- found_lua51=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- with_lua51=lua5.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ with_lua51=lua-5.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ], [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- found_lua51=no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span></pre><pre style='margin:0'>
</pre>