[arch-commits] Commit in lib32-glib2/repos (4 files)
Jan Steffens
heftig at archlinux.org
Tue May 21 22:00:00 UTC 2019
Date: Tuesday, May 21, 2019 @ 21:59:58
Author: heftig
Revision: 468248
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-glib2/repos/multilib-testing-x86_64/
lib32-glib2/repos/multilib-testing-x86_64/PKGBUILD
(from rev 468247, lib32-glib2/trunk/PKGBUILD)
lib32-glib2/repos/multilib-testing-x86_64/gio-querymodules-32.hook
(from rev 468247, lib32-glib2/trunk/gio-querymodules-32.hook)
lib32-glib2/repos/multilib-testing-x86_64/multilib.diff
(from rev 468247, lib32-glib2/trunk/multilib.diff)
--------------------------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++
gio-querymodules-32.hook | 11 ++++++++
multilib.diff | 25 +++++++++++++++++++
3 files changed, 95 insertions(+)
Copied: lib32-glib2/repos/multilib-testing-x86_64/PKGBUILD (from rev 468247, lib32-glib2/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2019-05-21 21:59:58 UTC (rev 468248)
@@ -0,0 +1,59 @@
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
+
+pkgname=lib32-glib2
+pkgver=2.60.3
+pkgrel=1
+pkgdesc="Low level core library (32-bit)"
+url="https://wiki.gnome.org/Projects/GLib"
+license=(LGPL2.1)
+arch=(x86_64)
+depends=(lib32-pcre lib32-libffi lib32-util-linux lib32-zlib glib2)
+makedepends=(gettext gtk-doc shared-mime-info python lib32-libelf git util-linux meson lib32-dbus)
+checkdepends=(desktop-file-utils lib32-glib2)
+options=(!emptydirs)
+_commit=0f6191d02a8e1ca7b08ffe0ccc4def88855baeae # tags/2.60.3^0
+source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
+ multilib.diff
+ gio-querymodules-32.hook)
+sha256sums=('SKIP'
+ 'a0292252363f32324d03486fee0b84a79781bdcb51ad913a2bf37530d74c3b24'
+ '73b6791b58180e2a02fe908938e6c547ee1b263f8c387262f9a8c4105ffa999a')
+
+pkgver() {
+ cd glib
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd glib
+ patch -Np1 -i ../multilib.diff
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ arch-meson glib build \
+ -D selinux=disabled \
+ --libdir=/usr/lib32
+ ninja -C build
+}
+
+check() {
+ meson test -C build --no-suite flaky --no-suite slow --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+
+ rm -r "$pkgdir"/usr/{share,include}
+ find "$pkgdir/usr/bin" -type f -not -name gio-querymodules -printf 'Removing %P\n' -delete
+ mv "$pkgdir"/usr/bin/gio-querymodules{,-32}
+
+ install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
+}
+
+# vim:set sw=2 et:
Copied: lib32-glib2/repos/multilib-testing-x86_64/gio-querymodules-32.hook (from rev 468247, lib32-glib2/trunk/gio-querymodules-32.hook)
===================================================================
--- multilib-testing-x86_64/gio-querymodules-32.hook (rev 0)
+++ multilib-testing-x86_64/gio-querymodules-32.hook 2019-05-21 21:59:58 UTC (rev 468248)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib32/gio/modules/*.so
+
+[Action]
+Description = Updating 32-bit GIO module cache...
+When = PostTransaction
+Exec = /usr/bin/gio-querymodules-32 /usr/lib32/gio/modules
Copied: lib32-glib2/repos/multilib-testing-x86_64/multilib.diff (from rev 468247, lib32-glib2/trunk/multilib.diff)
===================================================================
--- multilib-testing-x86_64/multilib.diff (rev 0)
+++ multilib-testing-x86_64/multilib.diff 2019-05-21 21:59:58 UTC (rev 468248)
@@ -0,0 +1,25 @@
+diff --git i/gio/tests/meson.build w/gio/tests/meson.build
+index 65f43e267..3bd66bf60 100644
+--- i/gio/tests/meson.build
++++ w/gio/tests/meson.build
+@@ -598,6 +598,7 @@ if not meson.is_cross_build() or meson.has_exe_wrapper()
+ '-r',
+ '-b','binary',
+ '@INPUT@',
++ '--oformat', 'elf32-i386',
+ '-o','@OUTPUT@'])
+
+ # Rename symbol to match the one in the C file
+diff --git i/glib/tests/meson.build w/glib/tests/meson.build
+index d54fc41fa..ad5511ca5 100644
+--- i/glib/tests/meson.build
++++ w/glib/tests/meson.build
+@@ -92,7 +92,7 @@ glib_tests = {
+ 'test-printf' : {},
+ 'thread' : {},
+ 'timeout' : {},
+- 'timer' : {},
++ 'timer' : {'suite': ['flaky']},
+ 'tree' : {},
+ 'utf8-performance' : {},
+ 'utf8-pointer' : {},
More information about the arch-commits
mailing list