diff options
author | Sven Wegener <swegener@gentoo.org> | 2004-07-31 12:32:33 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2004-07-31 12:32:33 +0000 |
commit | db21fad5da672341f07aa10c4f2a6c45705d1c17 (patch) | |
tree | 97b15b593262ccfc00389bdaf3f9f0c9a494ec93 /net-irc/xchat | |
parent | Added app-emulation/emul-linux-x86-glibc (diff) | |
download | historical-db21fad5da672341f07aa10c4f2a6c45705d1c17.tar.gz historical-db21fad5da672341f07aa10c4f2a6c45705d1c17.tar.bz2 historical-db21fad5da672341f07aa10c4f2a6c45705d1c17.zip |
Another revision bump for an updated tab completion patch. This should close bug #58666 (Tab completion is quirky in XChat) by David Lloyd <dmlloyd@tds.net>. Added backported patch from upstream CVS which fixes bug #56324 (xchat 2.0.10 cjk preedit string bug) by Jung Tae-young <master@mytears.org>.
Diffstat (limited to 'net-irc/xchat')
-rw-r--r-- | net-irc/xchat/ChangeLog | 14 | ||||
-rw-r--r-- | net-irc/xchat/Manifest | 21 | ||||
-rw-r--r-- | net-irc/xchat/files/2.0.10-preeditstring.patch | 23 | ||||
-rw-r--r-- | net-irc/xchat/files/digest-xchat-2.0.10-r3 (renamed from net-irc/xchat/files/digest-xchat-2.0.10-r2) | 0 | ||||
-rw-r--r-- | net-irc/xchat/files/xc2010-fixtabcomp2.diff | 24 | ||||
-rw-r--r-- | net-irc/xchat/files/xc2010-fixtabcomp3.diff | 25 | ||||
-rw-r--r-- | net-irc/xchat/xchat-2.0.10-r3.ebuild (renamed from net-irc/xchat/xchat-2.0.10-r2.ebuild) | 5 |
7 files changed, 80 insertions, 32 deletions
diff --git a/net-irc/xchat/ChangeLog b/net-irc/xchat/ChangeLog index d924fec005fc..524f48ca6b25 100644 --- a/net-irc/xchat/ChangeLog +++ b/net-irc/xchat/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for net-irc/xchat # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.115 2004/07/31 02:22:43 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.116 2004/07/31 12:32:33 swegener Exp $ + +*xchat-2.0.10-r3 (31 Jul 2004) + + 31 Jul 2004; Sven Wegener <swegener@gentoo.org> + +files/2.0.10-preeditstring.patch, -files/xc2010-fixtabcomp2.diff, + +files/xc2010-fixtabcomp3.diff, -xchat-2.0.10-r2.ebuild, + +xchat-2.0.10-r3.ebuild: + Another revision bump for an updated tab completion patch. This should close + bug #58666 (Tab completion is quirky in XChat) by David Lloyd + <dmlloyd@tds.net>. Added backported patch from upstream CVS which fixes bug + #56324 (xchat 2.0.10 cjk preedit string bug) by Jung Tae-young + <master@mytears.org>. 31 Jul 2004; Tom Gall <tgall@gentoo.org> xchat-2.0.10-r2.ebuild: stable on ppc64, bug #57121 diff --git a/net-irc/xchat/Manifest b/net-irc/xchat/Manifest index 54b3e9e3b1d7..03e0925adb6b 100644 --- a/net-irc/xchat/Manifest +++ b/net-irc/xchat/Manifest @@ -1,18 +1,29 @@ -MD5 4f9079265fe9c5da31a5b6d7cfee79ab ChangeLog 17636 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 fb5772136a872c08434566d4f0bcdc7f metadata.xml 179 MD5 e862cd62853b7ae38fc97f1fcedfcab8 xchat-1.8.11-r1.ebuild 2267 -MD5 35b5dc489f26ec360fbb559f51c213a3 xchat-2.0.10-r2.ebuild 2489 MD5 f289ed2366a298f3116d32d37f05c880 xchat-2.0.7-r1.ebuild 2072 MD5 7e4082c7073373ded4fb1aeb399fdc87 xchat-2.0.8-r1.ebuild 2072 MD5 29da1c8a91a21c33d062cf63cabeb705 xchat-2.0.9.ebuild 2130 MD5 457421279f0f901c0c1e6397b54dbeb6 xchat-2.1.0.ebuild 2149 +MD5 701b6821a7318100bac450d2e9851df4 xchat-2.0.10-r3.ebuild 2538 +MD5 d1bd4b39008a3206cfa270d5be65bf3a ChangeLog 18187 MD5 e2b99b2d2dfc54ba96e560c0ed8392df files/digest-xchat-1.8.11-r1 65 -MD5 28706a4c0068f4066e78bc9f93945fc2 files/digest-xchat-2.0.10-r2 135 MD5 15dadb9b77f7536f6c7769689fc883c9 files/digest-xchat-2.0.7-r1 64 MD5 aac7b6be8968c5e6e1bdf580546a18fd files/digest-xchat-2.0.8-r1 64 MD5 2effc9c4c2a5454c5abba3817894e865 files/digest-xchat-2.0.9 126 -MD5 fb01dde3d2df1732a975f9f73cbe8516 files/digest-xchat-2.1.0 134 MD5 a8f607d224408d4a27777d2ffce8beac files/xc1811fixststint.diff 422 MD5 ce08cfd7b93fbb37e1d9b510747a58d5 files/xc2010-fixfocus.diff 676 -MD5 cce105d96f5155e6454cd0b961038b24 files/xc2010-fixtabcomp2.diff 712 MD5 31de685eff3d16d9466416434c9fd6c3 files/xc208-fixsocks5.diff 688 +MD5 fb01dde3d2df1732a975f9f73cbe8516 files/digest-xchat-2.1.0 134 +MD5 bef9c7a09196ed8da457ee9fb36e8fe9 files/xc2010-fixtabcomp3.diff 828 +MD5 28706a4c0068f4066e78bc9f93945fc2 files/digest-xchat-2.0.10-r3 135 +MD5 3d228dd6bbf6d081f6888dd7b3d2a6af files/2.0.10-preeditstring.patch 820 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.4 (GNU/Linux) + +iD8DBQFBC5GwAXomK8S72HoRAlwTAJ9kieEM+m2GBIoik6nh10ad/fYMPwCfTHN8 +u5hVLh6S5I8Iw+gzO+KdYxo= +=OO/6 +-----END PGP SIGNATURE----- diff --git a/net-irc/xchat/files/2.0.10-preeditstring.patch b/net-irc/xchat/files/2.0.10-preeditstring.patch new file mode 100644 index 000000000000..04e57d051cbc --- /dev/null +++ b/net-irc/xchat/files/2.0.10-preeditstring.patch @@ -0,0 +1,23 @@ +=================================================================== +RCS file: /cvsroot/xchat/xchat2/src/fe-gtk/fkeys.c,v +retrieving revision 1.37 +retrieving revision 1.38 +diff -u -r1.37 -r1.38 +--- xchat/xchat2/src/fe-gtk/fkeys.c 2004/07/30 16:06:16 1.37 ++++ xchat/xchat2/src/fe-gtk/fkeys.c 2004/07/31 05:19:52 1.38 +@@ -1368,9 +1368,14 @@ + prefix_len, skip_len = 0, is_nick, is_cmd = 0; + char buf[COMP_BUF], ent[CHANLEN], *postfix = NULL, *result, *ch; + GList *list = NULL, *tmp_list = NULL; +- const char *text = gtk_entry_get_text (GTK_ENTRY (t)); ++ const char *text; + GCompletion *gcomp = NULL; + ++ /* force the IM Context to reset */ ++ gtk_editable_set_editable (GTK_EDITABLE (t), FALSE); ++ gtk_editable_set_editable (GTK_EDITABLE (t), TRUE); ++ ++ text = GTK_ENTRY (t)->text; + if (text[0] == 0) + return 1; + diff --git a/net-irc/xchat/files/digest-xchat-2.0.10-r2 b/net-irc/xchat/files/digest-xchat-2.0.10-r3 index b794a900c455..b794a900c455 100644 --- a/net-irc/xchat/files/digest-xchat-2.0.10-r2 +++ b/net-irc/xchat/files/digest-xchat-2.0.10-r3 diff --git a/net-irc/xchat/files/xc2010-fixtabcomp2.diff b/net-irc/xchat/files/xc2010-fixtabcomp2.diff deleted file mode 100644 index 2d4d885aa46b..000000000000 --- a/net-irc/xchat/files/xc2010-fixtabcomp2.diff +++ /dev/null @@ -1,24 +0,0 @@ -# Fixes two tab-nick-completion bugs: -# 1. Crash when you type space-tab -# 2. Critical glib warning when completion in a dialog-tab. ---- xchat-2.0.10/src/fe-gtk/fkeys.c 2004-07-02 02:28:43.000000000 +1000 -+++ xchat-2.0.10p1/src/fe-gtk/fkeys.c 2004-07-10 01:16:29.000000000 +1000 -@@ -1393,8 +1393,6 @@ - { - skip_len++; - } -- else -- cursor_pos = g_utf8_pointer_to_offset(text, g_utf8_offset_to_pointer(ch, 1)); - } - - comp = skip_len; -@@ -1599,7 +1597,8 @@ - gtk_entry_set_text (GTK_ENTRY (t), buf); - gtk_editable_set_position (GTK_EDITABLE (t), g_utf8_pointer_to_offset(buf, buf + cursor_pos)); - } -- g_completion_free(gcomp); -+ if (gcomp) -+ g_completion_free(gcomp); - return 2; - } - #undef COMP_BUF diff --git a/net-irc/xchat/files/xc2010-fixtabcomp3.diff b/net-irc/xchat/files/xc2010-fixtabcomp3.diff new file mode 100644 index 000000000000..47930de6cfba --- /dev/null +++ b/net-irc/xchat/files/xc2010-fixtabcomp3.diff @@ -0,0 +1,25 @@ +# Fixes two tab-nick-completion bugs: +# 1. Crash when you type space-tab +# 2. Critical glib warning when completing in a dialog-tab. +--- xchat-2.0.10/src/fe-gtk/fkeys.c 2004-07-02 02:28:43.000000000 +1000 ++++ xchat-2.0.10p3/src/fe-gtk/fkeys.c 2004-07-31 01:55:16.543471104 +1000 +@@ -1386,6 +1386,9 @@ + { + skip_len++; + ch = g_utf8_find_prev_char(text, ch); ++ if (!ch) ++ return 2; ++ + cursor_pos = g_utf8_pointer_to_offset(text, ch); + if (cursor_pos && (g_utf8_get_char_validated(ch, -1) == ':' || + g_utf8_get_char_validated(ch, -1) == ',' || +@@ -1599,7 +1602,8 @@ + gtk_entry_set_text (GTK_ENTRY (t), buf); + gtk_editable_set_position (GTK_EDITABLE (t), g_utf8_pointer_to_offset(buf, buf + cursor_pos)); + } +- g_completion_free(gcomp); ++ if (gcomp) ++ g_completion_free(gcomp); + return 2; + } + #undef COMP_BUF diff --git a/net-irc/xchat/xchat-2.0.10-r2.ebuild b/net-irc/xchat/xchat-2.0.10-r3.ebuild index 79b9b2b17d99..fd1bec0cf5a8 100644 --- a/net-irc/xchat/xchat-2.0.10-r2.ebuild +++ b/net-irc/xchat/xchat-2.0.10-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.10-r2.ebuild,v 1.4 2004/07/31 02:22:43 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.10-r3.ebuild,v 1.1 2004/07/31 12:32:33 swegener Exp $ inherit flag-o-matic eutils @@ -38,8 +38,9 @@ src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/xc2010-fixtabcomp2.diff + epatch ${FILESDIR}/xc2010-fixtabcomp3.diff epatch ${FILESDIR}/xc2010-fixfocus.diff + epatch ${FILESDIR}/${PV}-preeditstring.patch use xchatdccserver && epatch ${DISTDIR}/xchat-dccserver-0.4.patch } |