pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/gaim Add a workaround for a GTK+ bug (GNOME bugzi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17674727ec2b
branches:  trunk
changeset: 476110:17674727ec2b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jun 03 19:13:02 2004 +0000

description:
Add a workaround for a GTK+ bug (GNOME bugzilla #62948).  Patch
borrowed from Gentoo Portage.  OK'ed by jmmv@.

Bump PKGREVISION.

diffstat:

 chat/gaim/Makefile         |   3 ++-
 chat/gaim/distinfo         |   3 ++-
 chat/gaim/patches/patch-aa |  18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 7568e254b521 -r 17674727ec2b chat/gaim/Makefile
--- a/chat/gaim/Makefile        Thu Jun 03 18:48:48 2004 +0000
+++ b/chat/gaim/Makefile        Thu Jun 03 19:13:02 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.61 2004/06/01 21:00:59 jmmv Exp $
+# $NetBSD: Makefile,v 1.62 2004/06/03 19:13:02 minskim Exp $
 #
 
 DISTNAME=      gaim-0.78
+PKGREVISION=   1
 CATEGORIES=    chat x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gaim/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 7568e254b521 -r 17674727ec2b chat/gaim/distinfo
--- a/chat/gaim/distinfo        Thu Jun 03 18:48:48 2004 +0000
+++ b/chat/gaim/distinfo        Thu Jun 03 19:13:02 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.42 2004/06/01 21:00:59 jmmv Exp $
+$NetBSD: distinfo,v 1.43 2004/06/03 19:13:02 minskim Exp $
 
 SHA1 (gaim-0.78.tar.bz2) = 017b596f2a8618fe7e6c5800f2c2589dce18ba19
 Size (gaim-0.78.tar.bz2) = 4219726 bytes
+SHA1 (patch-aa) = 24f1b21042df5c7706dcf3def37e10943acdd39e
diff -r 7568e254b521 -r 17674727ec2b chat/gaim/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/gaim/patches/patch-aa        Thu Jun 03 19:13:02 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.22 2004/06/03 19:13:02 minskim Exp $
+
+Workaround for http://bugzilla.gnome.org/show_bug.cgi?id=62948
+
+--- src/gtkconv.c.orig 2004-05-30 11:44:45.000000000 -0500
++++ src/gtkconv.c
+@@ -1478,6 +1478,11 @@ entry_key_press_cb(GtkWidget *entry, Gdk
+                               if (!(event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) &&
+                                       gaim_prefs_get_bool("/gaim/gtk/conversations/enter_sends"))
+                               {
++                                      if (gtk_im_context_filter_keypress (GTK_TEXT_VIEW (entry)->im_context, event))
++                                      {
++                                              GTK_TEXT_VIEW (entry)->need_im_reset = TRUE;
++                                              return TRUE;
++                                      }
+                                       send_cb(NULL, conv);
+                                       return TRUE;
+                               }



Home | Main Index | Thread Index | Old Index