[arch-commits] Commit in gobject-introspection/trunk (PKGBUILD warnlib.diff)

Jan Steffens heftig at archlinux.org
Tue Sep 4 21:13:13 UTC 2018


    Date: Tuesday, September 4, 2018 @ 21:13:12
  Author: heftig
Revision: 333350

1.58.0-2

Added:
  gobject-introspection/trunk/warnlib.diff
Modified:
  gobject-introspection/trunk/PKGBUILD

--------------+
 PKGBUILD     |   10 +++++++---
 warnlib.diff |   13 +++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-04 21:01:54 UTC (rev 333349)
+++ PKGBUILD	2018-09-04 21:13:12 UTC (rev 333350)
@@ -4,7 +4,7 @@
 pkgbase=gobject-introspection
 pkgname=(gobject-introspection gobject-introspection-runtime)
 pkgver=1.58.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Introspection system for GObject-based libraries"
 url="https://wiki.gnome.org/Projects/GObjectIntrospection"
 arch=(x86_64)
@@ -13,8 +13,10 @@
 makedepends=(cairo git gtk-doc python-sphinx meson)
 options=(!emptydirs)
 _commit=01bf21f398d5ece9ac2d78c00b4b362091f8e05c  # tags/1.58.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit")
-sha512sums=('SKIP')
+source=("git+https://gitlab.gnome.org/GNOME/gobject-introspection.git#commit=$_commit"
+        warnlib.diff)
+sha512sums=('SKIP'
+            'f9cf08b83a6f220923f7b5666638877a152ab90bebb6703e5026badc9852a69131b9c17e1d4dda89f9f5b6d8fb58a17780bd87d9c3bf66f5b8a9260f4f6debf4')
 
 pkgver() {
   cd $pkgbase
@@ -23,6 +25,8 @@
 
 prepare() {
   cd $pkgbase
+  # GJS needs warnlib to build
+  patch -Np1 -i ../warnlib.diff
 }
   
 build() {

Added: warnlib.diff
===================================================================
--- warnlib.diff	                        (rev 0)
+++ warnlib.diff	2018-09-04 21:13:12 UTC (rev 333350)
@@ -0,0 +1,13 @@
+diff --git i/tests/meson.build w/tests/meson.build
+index 71cd97fe..18cc0807 100644
+--- i/tests/meson.build
++++ w/tests/meson.build
+@@ -8,6 +8,8 @@ test_regress_incdirs = include_directories(['.', 'scanner'])
+ installed_sources = [
+   'scanner/regress.c',
+   'scanner/regress.h',
++  'scanner/warnlib.c',
++  'scanner/warnlib.h',
+   'gimarshallingtests.c',
+   'gimarshallingtests.h',
+   'gitestmacros.h',



More information about the arch-commits mailing list