[arch-commits] Commit in xchat-gnome/trunk (2 files)

Eric Bélanger eric at archlinux.org
Mon Mar 7 10:29:02 UTC 2011


    Date: Monday, March 7, 2011 @ 05:29:01
  Author: eric
Revision: 112861

upgpkg: xchat-gnome 0.26.1-5
Rebuilt against libnotify 0.7

Added:
  xchat-gnome/trunk/xchat-gnome-0.26.1-deprecated-symbol.patch
Modified:
  xchat-gnome/trunk/PKGBUILD

--------------------------------------------+
 PKGBUILD                                   |   19 ++++++++++++-------
 xchat-gnome-0.26.1-deprecated-symbol.patch |   22 ++++++++++++++++++++++
 2 files changed, 34 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-07 09:47:23 UTC (rev 112860)
+++ PKGBUILD	2011-03-07 10:29:01 UTC (rev 112861)
@@ -4,7 +4,7 @@
 
 pkgname=xchat-gnome
 pkgver=0.26.1
-pkgrel=4
+pkgrel=5
 pkgdesc="GNOME frontend to the popular X-Chat IRC client."
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,20 +12,25 @@
 depends=('libgnomeui>=2.18.1-2' 'libsexy>=0.1.11' 'gconf>=2.18.0.1-4'
          'hicolor-icon-theme' 'desktop-file-utils' 'libcanberra' 'libsm')
 makedepends=('gettext' 'perlxml' 'python2' 'tcl' 'libnotify' 'gnome-doc-utils>=0.10.3'
-             'intltool' 'pkgconfig')
+             'intltool' 'pkg-config')
 optdepends=('libnotify: notifications'
             'python2: plugin'
             'tcl: plugin')
+options=('!libtool')
 install=xchat-gnome.install
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.26/${pkgname}-${pkgver}.tar.gz
-        gtk2-2.20.patch)
-md5sums=('e355d71d76cd97a0764e37bfacf09101'
-         'dafc2536a0c5ee3f8015af81fce69656')
-options=('!libtool')
+        gtk2-2.20.patch xchat-gnome-0.26.1-deprecated-symbol.patch)
+md5sums=('e355d71d76cd97a0764e37bfacf09101' 'dafc2536a0c5ee3f8015af81fce69656'\
+         'f82417277f0b5e83334147c4bf63d531')
+sha1sums=('303bfbf2f1bda83fbc4edab148df4764cb4b8998' 'f1bfc5af50be7c10a9db96be20185325636d8da9'\
+         '9aa0abc4b7999e09cafdeb8da1ad4641552a421b')
 
 build() {
   cd "$srcdir/${pkgname}-${pkgver}"
-  patch -Np1 -i $srcdir/gtk2-2.20.patch
+  patch -Np1 -i "$srcdir/gtk2-2.20.patch"
+  patch -Np1 -i "$srcdir/xchat-gnome-0.26.1-deprecated-symbol.patch"
+  sed -i 's/notify_notification_new (summary, escaped, NULL, NULL);/notify_notification_new (summary, escaped, NULL);/' plugins/notify-osd/notify-osd.c
+  sed -i -e "s/       /\t/" src/common/dbus/Makefile.in
 
   ./configure --prefix=/usr --sysconfdir=/etc \
               --localstatedir=/var --disable-static \

Added: xchat-gnome-0.26.1-deprecated-symbol.patch
===================================================================
--- xchat-gnome-0.26.1-deprecated-symbol.patch	                        (rev 0)
+++ xchat-gnome-0.26.1-deprecated-symbol.patch	2011-03-07 10:29:01 UTC (rev 112861)
@@ -0,0 +1,22 @@
+From 8d35b36baa8204b68c9520ec92327e34c1d7c580 Mon Sep 17 00:00:00 2001
+From: Ritesh Khadgaray <khadgaray at gmail.com>
+Date: Sun, 04 Jul 2010 09:52:07 +0000
+Subject: remove deprecated GTK+ symbols, GTK_WIDGET_SET_FLAGS.
+
+---
+diff --git a/src/fe-gnome/xtext.c b/src/fe-gnome/xtext.c
+index 92562a3..51503f8 100644
+--- a/src/fe-gnome/xtext.c
++++ b/src/fe-gnome/xtext.c
+@@ -963,7 +963,7 @@ gtk_xtext_realize (GtkWidget * widget)
+ 	GdkColor col;
+ 	GdkColormap *cmap;
+ 
+-	GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
++	gtk_widget_set_realized (widget, TRUE);
+ 	xtext = GTK_XTEXT (widget);
+ 
+ 	attributes.x = widget->allocation.x;
+--
+cgit v0.8.3.1
+




More information about the arch-commits mailing list