[arch-commits] Commit in gtk3/repos (24 files)

Jan Steffens heftig at archlinux.org
Fri Apr 29 22:45:42 UTC 2016


    Date: Saturday, April 30, 2016 @ 00:45:41
  Author: heftig
Revision: 266664

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gtk3/repos/extra-i686/PKGBUILD
    (from rev 266663, gtk3/trunk/PKGBUILD)
  gtk3/repos/extra-i686/gtk-query-immodules-3.0.hook
    (from rev 266663, gtk3/trunk/gtk-query-immodules-3.0.hook)
  gtk3/repos/extra-i686/gtk-update-icon-cache.hook
    (from rev 266663, gtk3/trunk/gtk-update-icon-cache.hook)
  gtk3/repos/extra-i686/gtk-update-icon-cache.script
    (from rev 266663, gtk3/trunk/gtk-update-icon-cache.script)
  gtk3/repos/extra-i686/gtk3.install
    (from rev 266663, gtk3/trunk/gtk3.install)
  gtk3/repos/extra-i686/settings.ini
    (from rev 266663, gtk3/trunk/settings.ini)
  gtk3/repos/extra-x86_64/PKGBUILD
    (from rev 266663, gtk3/trunk/PKGBUILD)
  gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook
    (from rev 266663, gtk3/trunk/gtk-query-immodules-3.0.hook)
  gtk3/repos/extra-x86_64/gtk-update-icon-cache.hook
    (from rev 266663, gtk3/trunk/gtk-update-icon-cache.hook)
  gtk3/repos/extra-x86_64/gtk-update-icon-cache.script
    (from rev 266663, gtk3/trunk/gtk-update-icon-cache.script)
  gtk3/repos/extra-x86_64/gtk3.install
    (from rev 266663, gtk3/trunk/gtk3.install)
  gtk3/repos/extra-x86_64/settings.ini
    (from rev 266663, gtk3/trunk/settings.ini)
Deleted:
  gtk3/repos/extra-i686/PKGBUILD
  gtk3/repos/extra-i686/gtk-update-icon-cache.hook
  gtk3/repos/extra-i686/gtk-update-icon-cache.install
  gtk3/repos/extra-i686/gtk-update-icon-cache.script
  gtk3/repos/extra-i686/gtk3.install
  gtk3/repos/extra-i686/settings.ini
  gtk3/repos/extra-x86_64/PKGBUILD
  gtk3/repos/extra-x86_64/gtk-update-icon-cache.hook
  gtk3/repos/extra-x86_64/gtk-update-icon-cache.install
  gtk3/repos/extra-x86_64/gtk-update-icon-cache.script
  gtk3/repos/extra-x86_64/gtk3.install
  gtk3/repos/extra-x86_64/settings.ini

--------------------------------------------+
 /PKGBUILD                                  |  150 +++++++++++++++++++++++++++
 /gtk-update-icon-cache.hook                |   26 ++++
 /gtk-update-icon-cache.script              |   20 +++
 /gtk3.install                              |    6 +
 /settings.ini                              |    8 +
 extra-i686/PKGBUILD                        |   73 -------------
 extra-i686/gtk-query-immodules-3.0.hook    |   11 +
 extra-i686/gtk-update-icon-cache.hook      |   13 --
 extra-i686/gtk-update-icon-cache.install   |    3 
 extra-i686/gtk-update-icon-cache.script    |   10 -
 extra-i686/gtk3.install                    |   18 ---
 extra-i686/settings.ini                    |    4 
 extra-x86_64/PKGBUILD                      |   73 -------------
 extra-x86_64/gtk-query-immodules-3.0.hook  |   11 +
 extra-x86_64/gtk-update-icon-cache.hook    |   13 --
 extra-x86_64/gtk-update-icon-cache.install |    3 
 extra-x86_64/gtk-update-icon-cache.script  |   10 -
 extra-x86_64/gtk3.install                  |   18 ---
 extra-x86_64/settings.ini                  |    4 
 19 files changed, 232 insertions(+), 242 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-i686/PKGBUILD	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=gtk3
-pkgname=(gtk3 gtk-update-icon-cache)
-pkgver=3.20.3
-pkgrel=3
-pkgdesc="GObject-based multi-platform GUI toolkit"
-arch=(i686 x86_64)
-url="http://www.gtk.org/"
-depends=(atk cairo libcups libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2
-         libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon
-         adwaita-icon-theme json-glib rest librsvg wayland-protocols)
-makedepends=(gobject-introspection libcanberra gtk-doc)
-license=(LGPL)
-source=(https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
-        settings.ini
-        gtk-update-icon-cache.hook
-        gtk-update-icon-cache.script)
-sha256sums=('3834f3bf23b260b3e5ebfea41102e2026a8af29e36c3620edf4a5cf05e82f694'
-            '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
-            '496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
-            'bbe06e1b4e1ad5d61a4e703445a2bb93c6be918964d6dd76c0420c6667fa11eb')
-
-prepare() {
-    cd gtk+-$pkgver
-    NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-    cd "gtk+-$pkgver"
-
-    CXX=/bin/false ./configure --prefix=/usr \
-        --sysconfdir=/etc \
-        --localstatedir=/var \
-        --disable-schemas-compile \
-        --enable-x11-backend \
-        --enable-broadway-backend \
-        --enable-wayland-backend
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=655517
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    make
-}
-
-package_gtk3() {
-    depends+=(gtk-update-icon-cache)
-    optdepends=('libcanberra: gtk3-widget-factory demo')
-    install=gtk3.install
-
-    cd "gtk+-$pkgver"
-    make DESTDIR="$pkgdir" install
-    install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini"
-
-    # split this out to use with gtk2 too
-    rm "$pkgdir/usr/bin/gtk-update-icon-cache"
-}
-
-package_gtk-update-icon-cache() {
-    pkgdesc="GTK+ icon cache updater"
-    depends=(gdk-pixbuf2 hicolor-icon-theme)
-    install=gtk-update-icon-cache.install
-
-    cd gtk+-$pkgver/gtk
-    install -Dm755 gtk-update-icon-cache "$pkgdir/usr/bin/gtk-update-icon-cache"
-
-    install -Dm644 "$srcdir"/gtk-update-icon-cache.hook "$pkgdir"/usr/share/libalpm/hooks/gtk-update-icon-cache.hook
-    install -Dm755 "$srcdir"/gtk-update-icon-cache.script "$pkgdir"/usr/share/libalpm/scripts/gtk-update-icon-cache
-}
-
-# vim:set et sw=4:

Copied: gtk3/repos/extra-i686/PKGBUILD (from rev 266663, gtk3/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=gtk3
+pkgname=(gtk3 gtk-update-icon-cache)
+pkgver=3.20.3
+pkgrel=4
+pkgdesc="GObject-based multi-platform GUI toolkit"
+arch=(i686 x86_64)
+url="http://www.gtk.org/"
+depends=(atk cairo libcups libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2
+         libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon
+         adwaita-icon-theme json-glib rest librsvg wayland-protocols desktop-file-utils)
+makedepends=(gobject-introspection libcanberra gtk-doc)
+license=(LGPL)
+source=(https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
+        settings.ini
+        gtk-query-immodules-3.0.hook
+        gtk-update-icon-cache.hook
+        gtk-update-icon-cache.script)
+sha256sums=('3834f3bf23b260b3e5ebfea41102e2026a8af29e36c3620edf4a5cf05e82f694'
+            '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
+            'de46e5514ff39a7a65e01e485e874775ab1c0ad20b8e94ada43f4a6af1370845'
+            '496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
+            'bbe06e1b4e1ad5d61a4e703445a2bb93c6be918964d6dd76c0420c6667fa11eb')
+
+prepare() {
+    cd gtk+-$pkgver
+    NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+    cd "gtk+-$pkgver"
+
+    CXX=/bin/false ./configure --prefix=/usr \
+        --sysconfdir=/etc \
+        --localstatedir=/var \
+        --disable-schemas-compile \
+        --enable-x11-backend \
+        --enable-broadway-backend \
+        --enable-wayland-backend
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package_gtk3() {
+    depends+=(gtk-update-icon-cache)
+    optdepends=('libcanberra: gtk3-widget-factory demo')
+    install=gtk3.install
+
+    cd "gtk+-$pkgver"
+    make DESTDIR="$pkgdir" install
+
+    install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini"
+    install -Dm644 ../gtk-query-immodules-3.0.hook "$pkgdir/usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook"
+
+    # split this out to use with gtk2 too
+    rm "$pkgdir/usr/bin/gtk-update-icon-cache"
+}
+
+package_gtk-update-icon-cache() {
+    pkgdesc="GTK+ icon cache updater"
+    depends=(gdk-pixbuf2 hicolor-icon-theme)
+
+    cd gtk+-$pkgver
+    install -D gtk/gtk-update-icon-cache "$pkgdir/usr/bin/gtk-update-icon-cache"
+    install -Dm644 ../gtk-update-icon-cache.hook "$pkgdir/usr/share/libalpm/hooks/gtk-update-icon-cache.hook"
+    install -D ../gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache"
+}
+
+# vim:set et sw=4:

Copied: gtk3/repos/extra-i686/gtk-query-immodules-3.0.hook (from rev 266663, gtk3/trunk/gtk-query-immodules-3.0.hook)
===================================================================
--- extra-i686/gtk-query-immodules-3.0.hook	                        (rev 0)
+++ extra-i686/gtk-query-immodules-3.0.hook	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gtk-3.0/3.0.0/immodules/*.so
+
+[Action]
+Description = Probing GTK3 input method modules...
+When = PostTransaction
+Exec = /usr/bin/gtk-query-immodules-3.0 --update-cache

Deleted: extra-i686/gtk-update-icon-cache.hook
===================================================================
--- extra-i686/gtk-update-icon-cache.hook	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-i686/gtk-update-icon-cache.hook	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,13 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/icons/*/
-Target = !usr/share/icons/*/?*
-
-[Action]
-Description = Updating icon theme caches...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
-NeedsTargets

Copied: gtk3/repos/extra-i686/gtk-update-icon-cache.hook (from rev 266663, gtk3/trunk/gtk-update-icon-cache.hook)
===================================================================
--- extra-i686/gtk-update-icon-cache.hook	                        (rev 0)
+++ extra-i686/gtk-update-icon-cache.hook	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,13 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/icons/*/
+Target = !usr/share/icons/*/?*
+
+[Action]
+Description = Updating icon theme caches...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
+NeedsTargets

Deleted: extra-i686/gtk-update-icon-cache.install
===================================================================
--- extra-i686/gtk-update-icon-cache.install	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-i686/gtk-update-icon-cache.install	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,3 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}

Deleted: extra-i686/gtk-update-icon-cache.script
===================================================================
--- extra-i686/gtk-update-icon-cache.script	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-i686/gtk-update-icon-cache.script	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-while read -r f; do
-  if [[ -e ${f}index.theme ]]; then
-    gtk-update-icon-cache -q "$f"
-  else
-    rm -f "${f}icon-theme.cache"
-    rmdir --ignore-fail-on-non-empty "$f"
-  fi
-done

Copied: gtk3/repos/extra-i686/gtk-update-icon-cache.script (from rev 266663, gtk3/trunk/gtk-update-icon-cache.script)
===================================================================
--- extra-i686/gtk-update-icon-cache.script	                        (rev 0)
+++ extra-i686/gtk-update-icon-cache.script	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+while read -r f; do
+  if [[ -e ${f}index.theme ]]; then
+    gtk-update-icon-cache -q "$f"
+  else
+    rm -f "${f}icon-theme.cache"
+    rmdir --ignore-fail-on-non-empty "$f"
+  fi
+done

Deleted: extra-i686/gtk3.install
===================================================================
--- extra-i686/gtk3.install	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-i686/gtk3.install	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,18 +0,0 @@
-post_install() {
-    /usr/bin/gtk-query-immodules-3.0 --update-cache
-    /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
-    /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-post_upgrade() {
-    post_install
-}
-
-pre_remove() {
-    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
-}
-
-post_remove() {
-    /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
-    /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}

Copied: gtk3/repos/extra-i686/gtk3.install (from rev 266663, gtk3/trunk/gtk3.install)
===================================================================
--- extra-i686/gtk3.install	                        (rev 0)
+++ extra-i686/gtk3.install	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,3 @@
+pre_remove() {
+    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
+}

Deleted: extra-i686/settings.ini
===================================================================
--- extra-i686/settings.ini	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-i686/settings.ini	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,4 +0,0 @@
-[Settings]
-gtk-icon-theme-name = Adwaita
-gtk-theme-name = Adwaita
-gtk-font-name = Cantarell 11

Copied: gtk3/repos/extra-i686/settings.ini (from rev 266663, gtk3/trunk/settings.ini)
===================================================================
--- extra-i686/settings.ini	                        (rev 0)
+++ extra-i686/settings.ini	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,4 @@
+[Settings]
+gtk-icon-theme-name = Adwaita
+gtk-theme-name = Adwaita
+gtk-font-name = Cantarell 11

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-x86_64/PKGBUILD	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=gtk3
-pkgname=(gtk3 gtk-update-icon-cache)
-pkgver=3.20.3
-pkgrel=3
-pkgdesc="GObject-based multi-platform GUI toolkit"
-arch=(i686 x86_64)
-url="http://www.gtk.org/"
-depends=(atk cairo libcups libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2
-         libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon
-         adwaita-icon-theme json-glib rest librsvg wayland-protocols)
-makedepends=(gobject-introspection libcanberra gtk-doc)
-license=(LGPL)
-source=(https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
-        settings.ini
-        gtk-update-icon-cache.hook
-        gtk-update-icon-cache.script)
-sha256sums=('3834f3bf23b260b3e5ebfea41102e2026a8af29e36c3620edf4a5cf05e82f694'
-            '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
-            '496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
-            'bbe06e1b4e1ad5d61a4e703445a2bb93c6be918964d6dd76c0420c6667fa11eb')
-
-prepare() {
-    cd gtk+-$pkgver
-    NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-    cd "gtk+-$pkgver"
-
-    CXX=/bin/false ./configure --prefix=/usr \
-        --sysconfdir=/etc \
-        --localstatedir=/var \
-        --disable-schemas-compile \
-        --enable-x11-backend \
-        --enable-broadway-backend \
-        --enable-wayland-backend
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=655517
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    make
-}
-
-package_gtk3() {
-    depends+=(gtk-update-icon-cache)
-    optdepends=('libcanberra: gtk3-widget-factory demo')
-    install=gtk3.install
-
-    cd "gtk+-$pkgver"
-    make DESTDIR="$pkgdir" install
-    install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini"
-
-    # split this out to use with gtk2 too
-    rm "$pkgdir/usr/bin/gtk-update-icon-cache"
-}
-
-package_gtk-update-icon-cache() {
-    pkgdesc="GTK+ icon cache updater"
-    depends=(gdk-pixbuf2 hicolor-icon-theme)
-    install=gtk-update-icon-cache.install
-
-    cd gtk+-$pkgver/gtk
-    install -Dm755 gtk-update-icon-cache "$pkgdir/usr/bin/gtk-update-icon-cache"
-
-    install -Dm644 "$srcdir"/gtk-update-icon-cache.hook "$pkgdir"/usr/share/libalpm/hooks/gtk-update-icon-cache.hook
-    install -Dm755 "$srcdir"/gtk-update-icon-cache.script "$pkgdir"/usr/share/libalpm/scripts/gtk-update-icon-cache
-}
-
-# vim:set et sw=4:

Copied: gtk3/repos/extra-x86_64/PKGBUILD (from rev 266663, gtk3/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=gtk3
+pkgname=(gtk3 gtk-update-icon-cache)
+pkgver=3.20.3
+pkgrel=4
+pkgdesc="GObject-based multi-platform GUI toolkit"
+arch=(i686 x86_64)
+url="http://www.gtk.org/"
+depends=(atk cairo libcups libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2
+         libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon
+         adwaita-icon-theme json-glib rest librsvg wayland-protocols desktop-file-utils)
+makedepends=(gobject-introspection libcanberra gtk-doc)
+license=(LGPL)
+source=(https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
+        settings.ini
+        gtk-query-immodules-3.0.hook
+        gtk-update-icon-cache.hook
+        gtk-update-icon-cache.script)
+sha256sums=('3834f3bf23b260b3e5ebfea41102e2026a8af29e36c3620edf4a5cf05e82f694'
+            '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
+            'de46e5514ff39a7a65e01e485e874775ab1c0ad20b8e94ada43f4a6af1370845'
+            '496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
+            'bbe06e1b4e1ad5d61a4e703445a2bb93c6be918964d6dd76c0420c6667fa11eb')
+
+prepare() {
+    cd gtk+-$pkgver
+    NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+    cd "gtk+-$pkgver"
+
+    CXX=/bin/false ./configure --prefix=/usr \
+        --sysconfdir=/etc \
+        --localstatedir=/var \
+        --disable-schemas-compile \
+        --enable-x11-backend \
+        --enable-broadway-backend \
+        --enable-wayland-backend
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package_gtk3() {
+    depends+=(gtk-update-icon-cache)
+    optdepends=('libcanberra: gtk3-widget-factory demo')
+    install=gtk3.install
+
+    cd "gtk+-$pkgver"
+    make DESTDIR="$pkgdir" install
+
+    install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini"
+    install -Dm644 ../gtk-query-immodules-3.0.hook "$pkgdir/usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook"
+
+    # split this out to use with gtk2 too
+    rm "$pkgdir/usr/bin/gtk-update-icon-cache"
+}
+
+package_gtk-update-icon-cache() {
+    pkgdesc="GTK+ icon cache updater"
+    depends=(gdk-pixbuf2 hicolor-icon-theme)
+
+    cd gtk+-$pkgver
+    install -D gtk/gtk-update-icon-cache "$pkgdir/usr/bin/gtk-update-icon-cache"
+    install -Dm644 ../gtk-update-icon-cache.hook "$pkgdir/usr/share/libalpm/hooks/gtk-update-icon-cache.hook"
+    install -D ../gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache"
+}
+
+# vim:set et sw=4:

Copied: gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook (from rev 266663, gtk3/trunk/gtk-query-immodules-3.0.hook)
===================================================================
--- extra-x86_64/gtk-query-immodules-3.0.hook	                        (rev 0)
+++ extra-x86_64/gtk-query-immodules-3.0.hook	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gtk-3.0/3.0.0/immodules/*.so
+
+[Action]
+Description = Probing GTK3 input method modules...
+When = PostTransaction
+Exec = /usr/bin/gtk-query-immodules-3.0 --update-cache

Deleted: extra-x86_64/gtk-update-icon-cache.hook
===================================================================
--- extra-x86_64/gtk-update-icon-cache.hook	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-x86_64/gtk-update-icon-cache.hook	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,13 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/icons/*/
-Target = !usr/share/icons/*/?*
-
-[Action]
-Description = Updating icon theme caches...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
-NeedsTargets

Copied: gtk3/repos/extra-x86_64/gtk-update-icon-cache.hook (from rev 266663, gtk3/trunk/gtk-update-icon-cache.hook)
===================================================================
--- extra-x86_64/gtk-update-icon-cache.hook	                        (rev 0)
+++ extra-x86_64/gtk-update-icon-cache.hook	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,13 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/icons/*/
+Target = !usr/share/icons/*/?*
+
+[Action]
+Description = Updating icon theme caches...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
+NeedsTargets

Deleted: extra-x86_64/gtk-update-icon-cache.install
===================================================================
--- extra-x86_64/gtk-update-icon-cache.install	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-x86_64/gtk-update-icon-cache.install	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,3 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}

Deleted: extra-x86_64/gtk-update-icon-cache.script
===================================================================
--- extra-x86_64/gtk-update-icon-cache.script	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-x86_64/gtk-update-icon-cache.script	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-while read -r f; do
-  if [[ -e ${f}index.theme ]]; then
-    gtk-update-icon-cache -q "$f"
-  else
-    rm -f "${f}icon-theme.cache"
-    rmdir --ignore-fail-on-non-empty "$f"
-  fi
-done

Copied: gtk3/repos/extra-x86_64/gtk-update-icon-cache.script (from rev 266663, gtk3/trunk/gtk-update-icon-cache.script)
===================================================================
--- extra-x86_64/gtk-update-icon-cache.script	                        (rev 0)
+++ extra-x86_64/gtk-update-icon-cache.script	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+while read -r f; do
+  if [[ -e ${f}index.theme ]]; then
+    gtk-update-icon-cache -q "$f"
+  else
+    rm -f "${f}icon-theme.cache"
+    rmdir --ignore-fail-on-non-empty "$f"
+  fi
+done

Deleted: extra-x86_64/gtk3.install
===================================================================
--- extra-x86_64/gtk3.install	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-x86_64/gtk3.install	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,18 +0,0 @@
-post_install() {
-    /usr/bin/gtk-query-immodules-3.0 --update-cache
-    /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
-    /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-post_upgrade() {
-    post_install
-}
-
-pre_remove() {
-    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
-}
-
-post_remove() {
-    /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
-    /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}

Copied: gtk3/repos/extra-x86_64/gtk3.install (from rev 266663, gtk3/trunk/gtk3.install)
===================================================================
--- extra-x86_64/gtk3.install	                        (rev 0)
+++ extra-x86_64/gtk3.install	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,3 @@
+pre_remove() {
+    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
+}

Deleted: extra-x86_64/settings.ini
===================================================================
--- extra-x86_64/settings.ini	2016-04-29 22:40:54 UTC (rev 266663)
+++ extra-x86_64/settings.ini	2016-04-29 22:45:41 UTC (rev 266664)
@@ -1,4 +0,0 @@
-[Settings]
-gtk-icon-theme-name = Adwaita
-gtk-theme-name = Adwaita
-gtk-font-name = Cantarell 11

Copied: gtk3/repos/extra-x86_64/settings.ini (from rev 266663, gtk3/trunk/settings.ini)
===================================================================
--- extra-x86_64/settings.ini	                        (rev 0)
+++ extra-x86_64/settings.ini	2016-04-29 22:45:41 UTC (rev 266664)
@@ -0,0 +1,4 @@
+[Settings]
+gtk-icon-theme-name = Adwaita
+gtk-theme-name = Adwaita
+gtk-font-name = Cantarell 11



More information about the arch-commits mailing list