Date: Monday, April 21, 2014 @ 17:39:53 Author: jgc Revision: 211590 archrelease: copy trunk to staging-i686, staging-x86_64
Added: gtk3/repos/staging-i686/ gtk3/repos/staging-i686/PKGBUILD (from rev 211589, gtk3/trunk/PKGBUILD) gtk3/repos/staging-i686/gtk3.install (from rev 211589, gtk3/trunk/gtk3.install) gtk3/repos/staging-i686/settings.ini (from rev 211589, gtk3/trunk/settings.ini) gtk3/repos/staging-x86_64/ gtk3/repos/staging-x86_64/PKGBUILD (from rev 211589, gtk3/trunk/PKGBUILD) gtk3/repos/staging-x86_64/gtk3.install (from rev 211589, gtk3/trunk/gtk3.install) gtk3/repos/staging-x86_64/settings.ini (from rev 211589, gtk3/trunk/settings.ini) -----------------------------+ staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++ staging-i686/gtk3.install | 18 ++++++++++++++++ staging-i686/settings.ini | 4 +++ staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/gtk3.install | 18 ++++++++++++++++ staging-x86_64/settings.ini | 4 +++ 6 files changed, 134 insertions(+) Copied: gtk3/repos/staging-i686/PKGBUILD (from rev 211589, gtk3/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-04-21 15:39:53 UTC (rev 211590) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=gtk3 +pkgver=3.12.1 +pkgrel=2 +pkgdesc="GObject-based multi-platform GUI toolkit (v3)" +arch=(i686 x86_64) +url="http://www.gtk.org/" +install=gtk3.install +depends=(atk cairo gtk-update-icon-cache libcups libxcursor libxinerama libxrandr libxi + libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon) +makedepends=(gobject-introspection) +optdepends=('gnome-themes-standard: Default widget theme' + 'gnome-icon-theme: Default icon theme') +license=(LGPL) +source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz + settings.ini) +sha256sums=('719aae5fdb560f64cadb7e968c8c85c0823664de890c9f765ff4c0efeb0277cd' + '14369dfd1d325c393e17c105d5d5cc5501663277bd4047ea04a50abb3cfbd119') + +build() { + cd "gtk+-$pkgver" + + CXX=/bin/false ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-gtk2-dependency \ + --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() { + cd "gtk+-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini" +} Copied: gtk3/repos/staging-i686/gtk3.install (from rev 211589, gtk3/trunk/gtk3.install) =================================================================== --- staging-i686/gtk3.install (rev 0) +++ staging-i686/gtk3.install 2014-04-21 15:39:53 UTC (rev 211590) @@ -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/staging-i686/settings.ini (from rev 211589, gtk3/trunk/settings.ini) =================================================================== --- staging-i686/settings.ini (rev 0) +++ staging-i686/settings.ini 2014-04-21 15:39:53 UTC (rev 211590) @@ -0,0 +1,4 @@ +[Settings] +gtk-icon-theme-name = gnome +gtk-theme-name = Adwaita +gtk-font-name = Cantarell 11 Copied: gtk3/repos/staging-x86_64/PKGBUILD (from rev 211589, gtk3/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2014-04-21 15:39:53 UTC (rev 211590) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=gtk3 +pkgver=3.12.1 +pkgrel=2 +pkgdesc="GObject-based multi-platform GUI toolkit (v3)" +arch=(i686 x86_64) +url="http://www.gtk.org/" +install=gtk3.install +depends=(atk cairo gtk-update-icon-cache libcups libxcursor libxinerama libxrandr libxi + libxcomposite libxdamage pango shared-mime-info colord at-spi2-atk wayland libxkbcommon) +makedepends=(gobject-introspection) +optdepends=('gnome-themes-standard: Default widget theme' + 'gnome-icon-theme: Default icon theme') +license=(LGPL) +source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz + settings.ini) +sha256sums=('719aae5fdb560f64cadb7e968c8c85c0823664de890c9f765ff4c0efeb0277cd' + '14369dfd1d325c393e17c105d5d5cc5501663277bd4047ea04a50abb3cfbd119') + +build() { + cd "gtk+-$pkgver" + + CXX=/bin/false ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-gtk2-dependency \ + --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() { + cd "gtk+-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini" +} Copied: gtk3/repos/staging-x86_64/gtk3.install (from rev 211589, gtk3/trunk/gtk3.install) =================================================================== --- staging-x86_64/gtk3.install (rev 0) +++ staging-x86_64/gtk3.install 2014-04-21 15:39:53 UTC (rev 211590) @@ -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/staging-x86_64/settings.ini (from rev 211589, gtk3/trunk/settings.ini) =================================================================== --- staging-x86_64/settings.ini (rev 0) +++ staging-x86_64/settings.ini 2014-04-21 15:39:53 UTC (rev 211590) @@ -0,0 +1,4 @@ +[Settings] +gtk-icon-theme-name = gnome +gtk-theme-name = Adwaita +gtk-font-name = Cantarell 11