[arch-commits] Commit in gtk3/trunk (PKGBUILD settings.ini)

Jan Steffens heftig at nymeria.archlinux.org
Mon Sep 30 17:16:14 UTC 2013


    Date: Monday, September 30, 2013 @ 19:16:14
  Author: heftig
Revision: 195469

Add proper default theme settings

Added:
  gtk3/trunk/settings.ini
Modified:
  gtk3/trunk/PKGBUILD

--------------+
 PKGBUILD     |   14 ++++++++++----
 settings.ini |    4 ++++
 2 files changed, 14 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-30 17:16:08 UTC (rev 195468)
+++ PKGBUILD	2013-09-30 17:16:14 UTC (rev 195469)
@@ -3,17 +3,22 @@
 
 pkgname=gtk3
 pkgver=3.10.0
-pkgrel=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)
+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')
 options=('!libtool')
 license=(LGPL)
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.xz)
-sha256sums=('6559feb360cd935d341cd7a0b69a72f8f4346ed6ee9b7c4040c02b73b75c53fe')
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.xz
+        settings.ini)
+sha256sums=('6559feb360cd935d341cd7a0b69a72f8f4346ed6ee9b7c4040c02b73b75c53fe'
+            '14369dfd1d325c393e17c105d5d5cc5501663277bd4047ea04a50abb3cfbd119')
 
 build() {
     cd "gtk+-$pkgver"
@@ -36,4 +41,5 @@
 package() {
     cd "gtk+-$pkgver"
     make DESTDIR="$pkgdir" install
+    install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini"
 }

Added: settings.ini
===================================================================
--- settings.ini	                        (rev 0)
+++ settings.ini	2013-09-30 17:16:14 UTC (rev 195469)
@@ -0,0 +1,4 @@
+[Settings]
+gtk-icon-theme-name = gnome
+gtk-theme-name = Adwaita
+gtk-font-name = Cantarell 11




More information about the arch-commits mailing list