From 41b1b9c3b917b2950b33f03d9d3ac9c267cfa050 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 1 Mar 2020 17:21:35 +0000 Subject: [PATCH] core/glib2 to 2.64.0-1 --- ...y_monitor_tests-under-installed_test.patch | 52 +++++++++++++++++++ core/glib2/PKGBUILD | 13 +++-- core/glib2/gio-querymodules.hook | 2 +- core/glib2/glib-compile-schemas.hook | 2 +- 4 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 core/glib2/0001-tests-Move-memory_monitor_tests-under-installed_test.patch diff --git a/core/glib2/0001-tests-Move-memory_monitor_tests-under-installed_test.patch b/core/glib2/0001-tests-Move-memory_monitor_tests-under-installed_test.patch new file mode 100644 index 000000000..b87b1dea7 --- /dev/null +++ b/core/glib2/0001-tests-Move-memory_monitor_tests-under-installed_test.patch @@ -0,0 +1,52 @@ +From 9be108136dc5e7ef0143a3ae4338476ffa6377e9 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Thu, 27 Feb 2020 21:13:19 +0100 +Subject: [PATCH] tests: Move memory_monitor_tests under + installed_tests_enabled + +So they're not installed when the latter is disabled. +--- + gio/tests/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gio/tests/meson.build b/gio/tests/meson.build +index 695ad1f8f..76e28fc76 100644 +--- a/gio/tests/meson.build ++++ b/gio/tests/meson.build +@@ -521,32 +521,32 @@ if installed_tests_enabled + ) + install_subdir('static-link', install_dir : installed_tests_execdir) + install_data('static-link.py', install_dir : installed_tests_execdir) +-endif + + memory_monitor_tests = [ + 'memory-monitor-dbus', + 'memory-monitor-portal', + ] + + foreach memory_monitor_test : memory_monitor_tests + cdata = configuration_data() + cdata.set('installed_tests_dir', installed_tests_execdir) + cdata.set('program', memory_monitor_test + '.py') + configure_file( + input: installed_tests_template, + output: memory_monitor_test + '.test', + install_dir: installed_tests_metadir, + configuration: cdata + ) + cdata = configuration_data() + cdata.set('libexecdir', join_paths(glib_prefix, get_option('libexecdir'))) + configure_file( + input: memory_monitor_test + '.py.in', + output: memory_monitor_test + '.py', + install_dir : installed_tests_execdir, + configuration: cdata, + ) + endforeach ++endif + + if not meson.is_cross_build() or meson.has_exe_wrapper() + +-- +2.25.1 + diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD index 70bbb2262..525dfc6b5 100644 --- a/core/glib2/PKGBUILD +++ b/core/glib2/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=glib2 pkgname=(glib2 glib2-docs) -pkgver=2.62.5 +pkgver=2.64.0 pkgrel=1 pkgdesc="Low level core library" url="https://wiki.gnome.org/Projects/GLib" @@ -17,15 +17,17 @@ depends=(pcre libffi libutil-linux zlib) makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux meson dbus) checkdepends=(desktop-file-utils) -_commit=86c2832f950c389e230ec09c8bf0b92b475f0ee3 # tags/2.62.5^0 +_commit=369626e3105d688afaa316d89d34e8927a8a0171 # tags/2.64.0^0 source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit" noisy-glib-compile-schemas.diff + 0001-tests-Move-memory_monitor_tests-under-installed_test.patch glib-compile-schemas.hook gio-querymodules.hook 0001-arm-atomic.patch) sha256sums=('SKIP' '81a4df0b638730cffb7fa263c04841f7ca6b9c9578ee5045db6f30ff0c3fc531' - 'e1123a5d85d2445faac33f6dae1085fdd620d83279a4e130a83fe38db52b62b3' - '5ba204a2686304b1454d401a39a9d27d09dd25e4529664e3fd565be3d439f8b6' + '3f7f20c817ef970f9d1bc6606023eca44df5c31dd2334847bc8df2dbcf8e0e43' + '64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25' + '557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8' 'fdd5e589e3c38903cfae63eaf37cd9c51304ce971c97553ca1f2c9083a0d61b0') pkgver() { @@ -39,6 +41,9 @@ prepare() { # Suppress noise from glib-compile-schemas.hook git apply -3 ../noisy-glib-compile-schemas.diff + # Clean installed tests + git apply -3 ../0001-tests-Move-memory_monitor_tests-under-installed_test.patch + if [[ $CARCH == "arm" ]]; then patch -Np1 -i ../0001-arm-atomic.patch fi diff --git a/core/glib2/gio-querymodules.hook b/core/glib2/gio-querymodules.hook index 193233398..857814791 100644 --- a/core/glib2/gio-querymodules.hook +++ b/core/glib2/gio-querymodules.hook @@ -1,5 +1,5 @@ [Trigger] -Type = File +Type = Path Operation = Install Operation = Upgrade Operation = Remove diff --git a/core/glib2/glib-compile-schemas.hook b/core/glib2/glib-compile-schemas.hook index 04dc59b1a..974549d76 100644 --- a/core/glib2/glib-compile-schemas.hook +++ b/core/glib2/glib-compile-schemas.hook @@ -1,5 +1,5 @@ [Trigger] -Type = File +Type = Path Operation = Install Operation = Upgrade Operation = Remove