[arch-commits] Commit in gthumb/trunk (PKGBUILD gtk310.patch)

Jan Steffens heftig at nymeria.archlinux.org
Sat Sep 28 04:25:23 UTC 2013


    Date: Saturday, September 28, 2013 @ 06:25:23
  Author: heftig
Revision: 195221

add patch for gtk 3.10

Added:
  gthumb/trunk/gtk310.patch
Modified:
  gthumb/trunk/PKGBUILD

--------------+
 PKGBUILD     |   13 ++++++++++---
 gtk310.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-28 02:25:49 UTC (rev 195220)
+++ PKGBUILD	2013-09-28 04:25:23 UTC (rev 195221)
@@ -5,7 +5,7 @@
 
 pkgname=gthumb
 pkgver=3.2.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Image browser and viewer for the GNOME Desktop"
 arch=(i686 x86_64)
 license=(GPL)
@@ -21,9 +21,16 @@
             'liboauth: web albums')
 options=('!libtool' '!emptydirs')
 install=gthumb.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9f596b6e59b70bbdf177930f6b2cbc6aabdfc1a281db527e3515946c5ca4e70a')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        gtk310.patch)
+sha256sums=('9f596b6e59b70bbdf177930f6b2cbc6aabdfc1a281db527e3515946c5ca4e70a'
+            'dcbfad2eb7047c1ea4210dc0af1054dc2ec863331f12fcd59c05021570d38bfe')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../gtk310.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   

Added: gtk310.patch
===================================================================
--- gtk310.patch	                        (rev 0)
+++ gtk310.patch	2013-09-28 04:25:23 UTC (rev 195221)
@@ -0,0 +1,29 @@
+From 36ba0c99c1780ca9f23f220ced70a76b97ce8260 Mon Sep 17 00:00:00 2001
+From: Paolo Bacchilega <paobac at src.gnome.org>
+Date: Fri, 27 Sep 2013 15:40:33 +0000
+Subject: Fixed broken window layout with gtk+ 3.10
+
+[bug #708800]
+---
+diff --git a/gthumb/gth-window.c b/gthumb/gth-window.c
+index a2960bc..a2cce99 100644
+--- a/gthumb/gth-window.c
++++ b/gthumb/gth-window.c
+@@ -324,6 +324,7 @@ gth_window_attach (GthWindow     *window,
+ 		return;
+ 	}
+ 
++	gtk_widget_set_vexpand (child, FALSE);
+ 	gtk_grid_attach (GTK_GRID (window->priv->grid),
+ 			  child,
+ 			  0, position,
+@@ -362,6 +363,7 @@ gth_window_attach_content (GthWindow *window,
+ 
+ 	_gtk_container_remove_children (GTK_CONTAINER (window->priv->contents[page]), NULL, NULL);
+ 	gtk_widget_set_hexpand (child, TRUE);
++	gtk_widget_set_vexpand (child, TRUE);
+ 	gtk_container_add (GTK_CONTAINER (window->priv->contents[page]), child);
+ }
+ 
+--
+cgit v0.9.2




More information about the arch-commits mailing list