[arch-commits] Commit in gtk3/repos (10 files)
Jan de Groot
jgc at archlinux.org
Wed Sep 23 09:01:07 UTC 2015
Date: Wednesday, September 23, 2015 @ 11:01:07
Author: jgc
Revision: 247126
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gtk3/repos/gnome-unstable-i686/
gtk3/repos/gnome-unstable-i686/PKGBUILD
(from rev 247125, gtk3/trunk/PKGBUILD)
gtk3/repos/gnome-unstable-i686/gtk-update-icon-cache.install
(from rev 247125, gtk3/trunk/gtk-update-icon-cache.install)
gtk3/repos/gnome-unstable-i686/gtk3.install
(from rev 247125, gtk3/trunk/gtk3.install)
gtk3/repos/gnome-unstable-i686/settings.ini
(from rev 247125, gtk3/trunk/settings.ini)
gtk3/repos/gnome-unstable-x86_64/
gtk3/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 247125, gtk3/trunk/PKGBUILD)
gtk3/repos/gnome-unstable-x86_64/gtk-update-icon-cache.install
(from rev 247125, gtk3/trunk/gtk-update-icon-cache.install)
gtk3/repos/gnome-unstable-x86_64/gtk3.install
(from rev 247125, gtk3/trunk/gtk3.install)
gtk3/repos/gnome-unstable-x86_64/settings.ini
(from rev 247125, gtk3/trunk/settings.ini)
-----------------------------------------------------+
gnome-unstable-i686/PKGBUILD | 65 ++++++++++++++++++
gnome-unstable-i686/gtk-update-icon-cache.install | 3
gnome-unstable-i686/gtk3.install | 18 ++++
gnome-unstable-i686/settings.ini | 4 +
gnome-unstable-x86_64/PKGBUILD | 65 ++++++++++++++++++
gnome-unstable-x86_64/gtk-update-icon-cache.install | 3
gnome-unstable-x86_64/gtk3.install | 18 ++++
gnome-unstable-x86_64/settings.ini | 4 +
8 files changed, 180 insertions(+)
Copied: gtk3/repos/gnome-unstable-i686/PKGBUILD (from rev 247125, gtk3/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,65 @@
+# $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.18.0
+pkgrel=1
+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)
+makedepends=(gobject-introspection libcanberra)
+license=(LGPL)
+source=(https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
+ settings.ini)
+sha256sums=('7fb8ae257403317d3852bad28d064d35f67e978b1fed8b71d5997e87204271b9'
+ '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202')
+
+prepare() {
+ cd gtk+-$pkgver
+}
+
+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"
+}
+
+# vim:set et sw=4:
Copied: gtk3/repos/gnome-unstable-i686/gtk-update-icon-cache.install (from rev 247125, gtk3/trunk/gtk-update-icon-cache.install)
===================================================================
--- gnome-unstable-i686/gtk-update-icon-cache.install (rev 0)
+++ gnome-unstable-i686/gtk-update-icon-cache.install 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,3 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
Copied: gtk3/repos/gnome-unstable-i686/gtk3.install (from rev 247125, gtk3/trunk/gtk3.install)
===================================================================
--- gnome-unstable-i686/gtk3.install (rev 0)
+++ gnome-unstable-i686/gtk3.install 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,18 @@
+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/gnome-unstable-i686/settings.ini (from rev 247125, gtk3/trunk/settings.ini)
===================================================================
--- gnome-unstable-i686/settings.ini (rev 0)
+++ gnome-unstable-i686/settings.ini 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,4 @@
+[Settings]
+gtk-icon-theme-name = Adwaita
+gtk-theme-name = Adwaita
+gtk-font-name = Cantarell 11
Copied: gtk3/repos/gnome-unstable-x86_64/PKGBUILD (from rev 247125, gtk3/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,65 @@
+# $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.18.0
+pkgrel=1
+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)
+makedepends=(gobject-introspection libcanberra)
+license=(LGPL)
+source=(https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz
+ settings.ini)
+sha256sums=('7fb8ae257403317d3852bad28d064d35f67e978b1fed8b71d5997e87204271b9'
+ '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202')
+
+prepare() {
+ cd gtk+-$pkgver
+}
+
+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"
+}
+
+# vim:set et sw=4:
Copied: gtk3/repos/gnome-unstable-x86_64/gtk-update-icon-cache.install (from rev 247125, gtk3/trunk/gtk-update-icon-cache.install)
===================================================================
--- gnome-unstable-x86_64/gtk-update-icon-cache.install (rev 0)
+++ gnome-unstable-x86_64/gtk-update-icon-cache.install 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,3 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
Copied: gtk3/repos/gnome-unstable-x86_64/gtk3.install (from rev 247125, gtk3/trunk/gtk3.install)
===================================================================
--- gnome-unstable-x86_64/gtk3.install (rev 0)
+++ gnome-unstable-x86_64/gtk3.install 2015-09-23 09:01:07 UTC (rev 247126)
@@ -0,0 +1,18 @@
+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/gnome-unstable-x86_64/settings.ini (from rev 247125, gtk3/trunk/settings.ini)
===================================================================
--- gnome-unstable-x86_64/settings.ini (rev 0)
+++ gnome-unstable-x86_64/settings.ini 2015-09-23 09:01:07 UTC (rev 247126)
@@ -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