Date: Monday, September 22, 2014 @ 20:06:38 Author: jgc Revision: 222705
upgpkg: zenity 3.14.0-1 Modified: zenity/trunk/PKGBUILD Deleted: zenity/trunk/0001-fix-dialog-size.patch ----------------------------+ 0001-fix-dialog-size.patch | 48 ------------------------------------------- PKGBUILD | 15 +++---------- 2 files changed, 4 insertions(+), 59 deletions(-) Deleted: 0001-fix-dialog-size.patch =================================================================== --- 0001-fix-dialog-size.patch 2014-09-22 18:05:04 UTC (rev 222704) +++ 0001-fix-dialog-size.patch 2014-09-22 18:06:38 UTC (rev 222705) @@ -1,48 +0,0 @@ -From c75c9e877a28e3246eb2f234fea01eb6f1638b6d Mon Sep 17 00:00:00 2001 -From: Jan de Groot <[email protected]> -Date: Tue, 5 Aug 2014 12:10:14 +0000 -Subject: [PATCH] Fix dialog size - -Backport of e5eb127e9779b9a58e53b1a7d268b81284ebd241 ---- - src/msg.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/src/msg.c b/src/msg.c -index f4d5e7a..fe9f1c1 100644 ---- a/src/msg.c -+++ b/src/msg.c -@@ -27,7 +27,7 @@ - #include "util.h" - - static void zenity_msg_dialog_response (GtkWidget *widget, int response, gpointer data); -- -+static void zenity_text_size_allocate (GtkWidget *widget, GtkAllocation *allocation, gpointer data); - static void - zenity_msg_construct_question_dialog (GtkWidget *dialog, ZenityMsgData *msg_data, ZenityData *data) - { -@@ -159,6 +159,8 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) - gtk_label_set_markup (GTK_LABEL (text), g_strcompress (msg_data->dialog_text)); - } - -+ g_signal_connect_after (G_OBJECT (text), "size-allocate", G_CALLBACK (zenity_text_size_allocate), data); -+ - if (msg_data->dialog_icon) - gtk_image_set_from_icon_name (GTK_IMAGE (image), msg_data->dialog_icon, GTK_ICON_SIZE_DIALOG); - -@@ -177,6 +179,12 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) - } - - static void -+zenity_text_size_allocate (GtkWidget *widget, GtkAllocation *allocation, gpointer data) -+{ -+ gtk_widget_set_size_request (widget, allocation->width, -1); -+} -+ -+static void - zenity_msg_dialog_response (GtkWidget *widget, int response, gpointer data) - { - ZenityData *zen_data = data; --- -2.0.4 - Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-09-22 18:05:04 UTC (rev 222704) +++ PKGBUILD 2014-09-22 18:06:38 UTC (rev 222705) @@ -2,8 +2,8 @@ # Maintainer: Jan de Groot <[email protected]> pkgname=zenity -pkgver=3.12.1 -pkgrel=2 +pkgver=3.14.0 +pkgrel=1 pkgdesc="Display graphical dialog boxes from shell scripts" arch=(i686 x86_64) license=(LGPL) @@ -10,16 +10,9 @@ depends=(gtk3 libnotify) makedepends=(intltool gtk-doc itstool docbook-xsl yelp-tools) url="http://www.gnome.org" -source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz - 0001-fix-dialog-size.patch) -sha256sums=('a59705cdd1ea5318fdae3075c1cedcbead479230e9bead204391566d973dae11' - '8978914ecea3a3f643f4aec4c465e12e62ccbfe3384de4fe6a7d0e281ecd43a3') +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) +sha256sums=('6b57ec6c456af17714dc366e63dabb8bbe0577878b61907805f0186d4d2b892f') -prepare() { - cd $pkgname-$pkgver - patch -Np1 -i ../0001-fix-dialog-size.patch -} - build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \
