[arch-commits] Commit in gdk-pixbuf2/repos (8 files)

Jan Steffens heftig at archlinux.org
Wed Mar 29 19:50:47 UTC 2017


    Date: Wednesday, March 29, 2017 @ 19:50:46
  Author: heftig
Revision: 291807

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gdk-pixbuf2/repos/gnome-unstable-i686/
  gdk-pixbuf2/repos/gnome-unstable-i686/PKGBUILD
    (from rev 291806, gdk-pixbuf2/trunk/PKGBUILD)
  gdk-pixbuf2/repos/gnome-unstable-i686/gdk-pixbuf2-query-loaders.hook
    (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2-query-loaders.hook)
  gdk-pixbuf2/repos/gnome-unstable-i686/gdk-pixbuf2.install
    (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2.install)
  gdk-pixbuf2/repos/gnome-unstable-x86_64/
  gdk-pixbuf2/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 291806, gdk-pixbuf2/trunk/PKGBUILD)
  gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf2-query-loaders.hook
    (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2-query-loaders.hook)
  gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf2.install
    (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2.install)

------------------------------------------------------+
 gnome-unstable-i686/PKGBUILD                         |   58 +++++++++++++++++
 gnome-unstable-i686/gdk-pixbuf2-query-loaders.hook   |   11 +++
 gnome-unstable-i686/gdk-pixbuf2.install              |    3 
 gnome-unstable-x86_64/PKGBUILD                       |   58 +++++++++++++++++
 gnome-unstable-x86_64/gdk-pixbuf2-query-loaders.hook |   11 +++
 gnome-unstable-x86_64/gdk-pixbuf2.install            |    3 
 6 files changed, 144 insertions(+)

Copied: gdk-pixbuf2/repos/gnome-unstable-i686/PKGBUILD (from rev 291806, gdk-pixbuf2/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-03-29 19:50:46 UTC (rev 291807)
@@ -0,0 +1,58 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gdk-pixbuf2
+pkgver=2.36.6
+pkgrel=1
+pkgdesc="An image loading library"
+arch=(i686 x86_64)
+url="https://wiki.gnome.org/Projects/GdkPixbuf"
+license=(LGPL2.1)
+depends=(glib2 libpng libtiff libjpeg libx11 jasper shared-mime-info)
+makedepends=(gtk-doc gobject-introspection git docbook-utils)
+install=gdk-pixbuf2.install
+_commit=d8ae54bc5e3e31d43acf410a6689be2d40567b03  # tags/2.36.6^0
+source=("git+https://git.gnome.org/browse/gdk-pixbuf#commit=$_commit"
+        gdk-pixbuf2-query-loaders.hook)
+sha256sums=('SKIP'
+            '132ab65d339c83b958410605347ed5d73186c6660de92bde5741e58f3a1ad8be')
+
+pkgver() {
+  cd gdk-pixbuf
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gdk-pixbuf
+
+  # Jasper sometimes runs into this limit
+  sed -i 's/ifdef HAVE_SETRLIMIT/if 0/' tests/pixbuf-randomly-modified.c
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd gdk-pixbuf
+  ./configure --prefix=/usr \
+    --with-x11 \
+    --with-libjasper \
+    --with-included-loaders=png \
+    --enable-gtk-doc \
+    --enable-man
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd gdk-pixbuf
+  make check
+}
+
+package() {
+  cd gdk-pixbuf
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../gdk-pixbuf2-query-loaders.hook \
+    "$pkgdir/usr/share/libalpm/hooks/gdk-pixbuf2-query-loaders.hook"
+}
+
+# vim:set et sw=2:

Copied: gdk-pixbuf2/repos/gnome-unstable-i686/gdk-pixbuf2-query-loaders.hook (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2-query-loaders.hook)
===================================================================
--- gnome-unstable-i686/gdk-pixbuf2-query-loaders.hook	                        (rev 0)
+++ gnome-unstable-i686/gdk-pixbuf2-query-loaders.hook	2017-03-29 19:50:46 UTC (rev 291807)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so
+
+[Action]
+Description = Probing GDK-Pixbuf 2 loader modules...
+When = PostTransaction
+Exec = /usr/bin/gdk-pixbuf-query-loaders --update-cache

Copied: gdk-pixbuf2/repos/gnome-unstable-i686/gdk-pixbuf2.install (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2.install)
===================================================================
--- gnome-unstable-i686/gdk-pixbuf2.install	                        (rev 0)
+++ gnome-unstable-i686/gdk-pixbuf2.install	2017-03-29 19:50:46 UTC (rev 291807)
@@ -0,0 +1,3 @@
+pre_remove() {
+    rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+}

Copied: gdk-pixbuf2/repos/gnome-unstable-x86_64/PKGBUILD (from rev 291806, gdk-pixbuf2/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-03-29 19:50:46 UTC (rev 291807)
@@ -0,0 +1,58 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gdk-pixbuf2
+pkgver=2.36.6
+pkgrel=1
+pkgdesc="An image loading library"
+arch=(i686 x86_64)
+url="https://wiki.gnome.org/Projects/GdkPixbuf"
+license=(LGPL2.1)
+depends=(glib2 libpng libtiff libjpeg libx11 jasper shared-mime-info)
+makedepends=(gtk-doc gobject-introspection git docbook-utils)
+install=gdk-pixbuf2.install
+_commit=d8ae54bc5e3e31d43acf410a6689be2d40567b03  # tags/2.36.6^0
+source=("git+https://git.gnome.org/browse/gdk-pixbuf#commit=$_commit"
+        gdk-pixbuf2-query-loaders.hook)
+sha256sums=('SKIP'
+            '132ab65d339c83b958410605347ed5d73186c6660de92bde5741e58f3a1ad8be')
+
+pkgver() {
+  cd gdk-pixbuf
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gdk-pixbuf
+
+  # Jasper sometimes runs into this limit
+  sed -i 's/ifdef HAVE_SETRLIMIT/if 0/' tests/pixbuf-randomly-modified.c
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd gdk-pixbuf
+  ./configure --prefix=/usr \
+    --with-x11 \
+    --with-libjasper \
+    --with-included-loaders=png \
+    --enable-gtk-doc \
+    --enable-man
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd gdk-pixbuf
+  make check
+}
+
+package() {
+  cd gdk-pixbuf
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../gdk-pixbuf2-query-loaders.hook \
+    "$pkgdir/usr/share/libalpm/hooks/gdk-pixbuf2-query-loaders.hook"
+}
+
+# vim:set et sw=2:

Copied: gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf2-query-loaders.hook (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2-query-loaders.hook)
===================================================================
--- gnome-unstable-x86_64/gdk-pixbuf2-query-loaders.hook	                        (rev 0)
+++ gnome-unstable-x86_64/gdk-pixbuf2-query-loaders.hook	2017-03-29 19:50:46 UTC (rev 291807)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so
+
+[Action]
+Description = Probing GDK-Pixbuf 2 loader modules...
+When = PostTransaction
+Exec = /usr/bin/gdk-pixbuf-query-loaders --update-cache

Copied: gdk-pixbuf2/repos/gnome-unstable-x86_64/gdk-pixbuf2.install (from rev 291806, gdk-pixbuf2/trunk/gdk-pixbuf2.install)
===================================================================
--- gnome-unstable-x86_64/gdk-pixbuf2.install	                        (rev 0)
+++ gnome-unstable-x86_64/gdk-pixbuf2.install	2017-03-29 19:50:46 UTC (rev 291807)
@@ -0,0 +1,3 @@
+pre_remove() {
+    rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+}


More information about the arch-commits mailing list