[arch-commits] Commit in gobject-introspection/repos/gnome-unstable-x86_64 (3 files)

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


    Date: Tuesday, September 4, 2018 @ 21:13:49
  Author: heftig
Revision: 333351

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 333350, gobject-introspection/trunk/PKGBUILD)
  gobject-introspection/repos/gnome-unstable-x86_64/warnlib.diff
    (from rev 333350, gobject-introspection/trunk/warnlib.diff)
Deleted:
  gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD

--------------+
 PKGBUILD     |  112 +++++++++++++++++++++++++++++----------------------------
 warnlib.diff |   13 ++++++
 2 files changed, 71 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-04 21:13:12 UTC (rev 333350)
+++ PKGBUILD	2018-09-04 21:13:49 UTC (rev 333351)
@@ -1,54 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=gobject-introspection
-pkgname=(gobject-introspection gobject-introspection-runtime)
-pkgver=1.58.0
-pkgrel=1
-pkgdesc="Introspection system for GObject-based libraries"
-url="https://wiki.gnome.org/Projects/GObjectIntrospection"
-arch=(x86_64)
-license=(LGPL GPL)
-depends=(python python-mako)
-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')
-
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-}
-  
-build() {
-  arch-meson $pkgbase build -D cairo=true -D gtk-doc=true
-  ninja -C build
-}
-
-check() {
-  meson test -C build
-}
-
-package_gobject-introspection() {
-  depends+=("gobject-introspection-runtime=$pkgver-$pkgrel")
-
-  DESTDIR="$pkgdir" meson install -C build
-  python -m compileall "$pkgdir/usr/lib/gobject-introspection"
-  python -O -m compileall "$pkgdir/usr/lib/gobject-introspection"
-
-### Split runtime
-  mkdir -p "$srcdir/runtime/lib"
-  mv "$pkgdir"/usr/lib/{lib*,girepository-*} "$srcdir/runtime/lib"
-}
-
-package_gobject-introspection-runtime() {
-  pkgdesc+=" (runtime library)"
-  depends=(glib2)
-
-  mv "$srcdir/runtime" "$pkgdir/usr"
-}

Copied: gobject-introspection/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333350, gobject-introspection/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-04 21:13:49 UTC (rev 333351)
@@ -0,0 +1,58 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gobject-introspection
+pkgname=(gobject-introspection gobject-introspection-runtime)
+pkgver=1.58.0
+pkgrel=2
+pkgdesc="Introspection system for GObject-based libraries"
+url="https://wiki.gnome.org/Projects/GObjectIntrospection"
+arch=(x86_64)
+license=(LGPL GPL)
+depends=(python python-mako)
+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"
+        warnlib.diff)
+sha512sums=('SKIP'
+            'f9cf08b83a6f220923f7b5666638877a152ab90bebb6703e5026badc9852a69131b9c17e1d4dda89f9f5b6d8fb58a17780bd87d9c3bf66f5b8a9260f4f6debf4')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+  # GJS needs warnlib to build
+  patch -Np1 -i ../warnlib.diff
+}
+  
+build() {
+  arch-meson $pkgbase build -D cairo=true -D gtk-doc=true
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package_gobject-introspection() {
+  depends+=("gobject-introspection-runtime=$pkgver-$pkgrel")
+
+  DESTDIR="$pkgdir" meson install -C build
+  python -m compileall "$pkgdir/usr/lib/gobject-introspection"
+  python -O -m compileall "$pkgdir/usr/lib/gobject-introspection"
+
+### Split runtime
+  mkdir -p "$srcdir/runtime/lib"
+  mv "$pkgdir"/usr/lib/{lib*,girepository-*} "$srcdir/runtime/lib"
+}
+
+package_gobject-introspection-runtime() {
+  pkgdesc+=" (runtime library)"
+  depends=(glib2)
+
+  mv "$srcdir/runtime" "$pkgdir/usr"
+}

Copied: gobject-introspection/repos/gnome-unstable-x86_64/warnlib.diff (from rev 333350, gobject-introspection/trunk/warnlib.diff)
===================================================================
--- warnlib.diff	                        (rev 0)
+++ warnlib.diff	2018-09-04 21:13:49 UTC (rev 333351)
@@ -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