diff options
author | Marinus Schraal <foser@gentoo.org> | 2002-10-20 22:51:56 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2002-10-20 22:51:56 +0000 |
commit | 04dbd56474e354d6dd764243e4110bff1a4f2202 (patch) | |
tree | 18988b07fd72b7bb9b7cef6437cf0aa10d3477a2 /net-irc | |
parent | fix space/tab issue (diff) | |
download | gentoo-2-04dbd56474e354d6dd764243e4110bff1a4f2202.tar.gz gentoo-2-04dbd56474e354d6dd764243e4110bff1a4f2202.tar.bz2 gentoo-2-04dbd56474e354d6dd764243e4110bff1a4f2202.zip |
bugfix revision
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/xchat/ChangeLog | 8 | ||||
-rw-r--r-- | net-irc/xchat/files/digest-xchat-1.9.2-r1 | 1 | ||||
-rw-r--r-- | net-irc/xchat/files/digest-xchat-1.9.3-r1 | 1 | ||||
-rw-r--r-- | net-irc/xchat/files/digest-xchat-1.9.3-r2 (renamed from net-irc/xchat/files/digest-xchat-1.9.3) | 0 | ||||
-rw-r--r-- | net-irc/xchat/files/xchat-1.9.3-tolowertab.patch | 105 | ||||
-rw-r--r-- | net-irc/xchat/xchat-1.9.2-r1.ebuild | 94 | ||||
-rw-r--r-- | net-irc/xchat/xchat-1.9.3-r1.ebuild | 99 | ||||
-rw-r--r-- | net-irc/xchat/xchat-1.9.3-r2.ebuild (renamed from net-irc/xchat/xchat-1.9.3.ebuild) | 16 |
8 files changed, 122 insertions, 202 deletions
diff --git a/net-irc/xchat/ChangeLog b/net-irc/xchat/ChangeLog index 184b1b8c53e7..dc5cb06aa345 100644 --- a/net-irc/xchat/ChangeLog +++ b/net-irc/xchat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/xchat # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.23 2002/10/11 15:46:43 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.24 2002/10/20 22:51:56 foser Exp $ + +*xchat-1.9.3-r2.ebuild (20 Oct 2002) + + 20 Oct 2002; foser <foser@gentoo.org> xchat-1.9.3-r2.ebuild : + Now really fixing plugins + Added a patch to prevent problems with gnome2.1 and up *xchat-1.9.3-r1.ebuild (11 Oct 2002) diff --git a/net-irc/xchat/files/digest-xchat-1.9.2-r1 b/net-irc/xchat/files/digest-xchat-1.9.2-r1 deleted file mode 100644 index 7ac71960843d..000000000000 --- a/net-irc/xchat/files/digest-xchat-1.9.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 c7f0b4bd82622c280299ddf6c415b281 xchat-1.9.2.tar.bz2 706790 diff --git a/net-irc/xchat/files/digest-xchat-1.9.3-r1 b/net-irc/xchat/files/digest-xchat-1.9.3-r1 deleted file mode 100644 index 634374dec87b..000000000000 --- a/net-irc/xchat/files/digest-xchat-1.9.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 7fbb3d96ab4b288343a6d9cf9e597d25 xchat-1.9.3.tar.bz2 701422 diff --git a/net-irc/xchat/files/digest-xchat-1.9.3 b/net-irc/xchat/files/digest-xchat-1.9.3-r2 index 634374dec87b..634374dec87b 100644 --- a/net-irc/xchat/files/digest-xchat-1.9.3 +++ b/net-irc/xchat/files/digest-xchat-1.9.3-r2 diff --git a/net-irc/xchat/files/xchat-1.9.3-tolowertab.patch b/net-irc/xchat/files/xchat-1.9.3-tolowertab.patch new file mode 100644 index 000000000000..3c64d403b370 --- /dev/null +++ b/net-irc/xchat/files/xchat-1.9.3-tolowertab.patch @@ -0,0 +1,105 @@ +diff -ru --exclude=po --exclude=Makefile.in xchat-1.9.3/src/common/util.c xchat-1.9.4/src/common/util.c +--- xchat-1.9.3/src/common/util.c Wed Aug 21 19:47:38 2002 ++++ xchat-1.9.4/src/common/util.c Sat Oct 5 02:18:36 2002 +@@ -266,7 +266,7 @@ + + if (len == 0) + return (char *)s; +- while (tolower(*s) != tolower(*wanted) || strncasecmp (s, wanted, len)) ++ while (rfc_tolower(*s) != rfc_tolower(*wanted) || strncasecmp (s, wanted, len)) + if (*s++ == '\0') + return (char *)NULL; + return (char *)s; +@@ -574,7 +574,7 @@ + if (*m == '?' || *m == '*') + ch = *m++; + default: +- if (tolower(*s) != tolower(ch)) ++ if (rfc_tolower(*s) != rfc_tolower(ch)) + return 0; + case '?': + if (!*s++) +@@ -604,8 +604,8 @@ + break_while: + if (!ch) + return 1; /* mask ends with '*', we got it */ +- ch = tolower(ch); +- while (tolower(*s++) != ch) ++ ch = rfc_tolower(ch); ++ while (rfc_tolower(*s++) != ch) + if (!*s) + return 0; + bs = s; /* Next try start from here */ +@@ -621,7 +621,7 @@ + if (*m == '?' || *m == '*') + ch = *m++; + default: +- if (tolower(*s) != tolower(ch)) ++ if (rfc_tolower(*s) != rfc_tolower(ch)) + { + m = bm; + s = bs; +@@ -676,7 +676,7 @@ + { + while (*str) + { +- *str = tolower (*str); ++ *str = rfc_tolower (*str); + str++; + } + } +@@ -1122,7 +1122,7 @@ + register unsigned char *str2 = (unsigned char *) s2; + register int res; + +- while ((res = tolower (*str1) - tolower (*str2)) == 0) ++ while ((res = rfc_tolower (*str1) - rfc_tolower (*str2)) == 0) + { + if (*str1 == '\0') + return 0; +@@ -1139,7 +1139,7 @@ + register unsigned char *s2 = (unsigned char *) str2; + register int res; + +- while ((res = tolower (*s1) - tolower (*s2)) == 0) ++ while ((res = rfc_tolower (*s1) - rfc_tolower (*s2)) == 0) + { + s1++; + s2++; +@@ -1150,7 +1150,7 @@ + return (res); + } + +-const unsigned char tolowertab[] = ++const unsigned char rfc_tolowertab[] = + { 0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, + 0xb, 0xc, 0xd, 0xe, 0xf, 0x10, 0x11, 0x12, 0x13, 0x14, + 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, +diff -ru --exclude=po --exclude=Makefile.in xchat-1.9.3/src/common/util.h xchat-1.9.4/src/common/util.h +--- xchat-1.9.3/src/common/util.h Wed Aug 21 19:47:44 2002 ++++ xchat-1.9.4/src/common/util.h Sat Oct 5 02:17:39 2002 +@@ -11,10 +11,9 @@ + * --+ Dagmar d'Surreal + */ + +-#undef tolower +-#define tolower(c) (tolowertab[(unsigned char)(c)]) ++#define rfc_tolower(c) (rfc_tolowertab[(unsigned char)(c)]) + +-extern const unsigned char tolowertab[]; ++extern const unsigned char rfc_tolowertab[]; + + int my_poptParseArgvString(const char * s, int * argcPtr, char *** argvPtr); + char *expand_homedir (char *file); +diff -ru --exclude=po --exclude=Makefile.in xchat-1.9.3/src/fe-gtk/fkeys.c xchat-1.9.4/src/fe-gtk/fkeys.c +--- xchat-1.9.3/src/fe-gtk/fkeys.c Wed Jun 26 01:01:42 2002 ++++ xchat-1.9.4/src/fe-gtk/fkeys.c Sat Oct 5 02:19:13 2002 +@@ -1808,7 +1808,7 @@ + if (match_char == 0xff) + { + match_char = current_nick[match_pos]; +- } else if (tolower (current_nick[match_pos]) != tolower (match_char)) ++ } else if (rfc_tolower (current_nick[match_pos]) != rfc_tolower (match_char)) + { + match_text = malloc (match_pos + 1); + memcpy (match_text, current_nick, match_pos); diff --git a/net-irc/xchat/xchat-1.9.2-r1.ebuild b/net-irc/xchat/xchat-1.9.2-r1.ebuild deleted file mode 100644 index db1362ab5a26..000000000000 --- a/net-irc/xchat/xchat-1.9.2-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.9.2-r1.ebuild,v 1.5 2002/10/05 05:39:22 drobbins Exp $ - -IUSE="ssl nls gnome ipv6 mmx python gtk perl" - -S=${WORKDIR}/${P} -DESCRIPTION="X-Chat is a graphical IRC client for UNIX operating systems." -SRC_URI="http://www.xchat.org/files/source/1.9/${P}.tar.bz2" -HOMEPAGE="http://www.xchat.org/" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="x86 ppc sparc sparc64" - -RDEPEND=">=dev-libs/glib-2.0.4 - >=x11-libs/gtk+-2.0.5 - perl? ( >=sys-devel/perl-5.6.1 ) - gnome? ( >=x11-libs/libzvt-2.0.1 - >=gnome-base/libgnome-2.0.1 - >=gnome-base/gnome-applets-2.0.0 - >=gnome-base/gnome-panel-2.0.1 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" - -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.10.38 )" - - -src_unpack() { - unpack ${A} - cd ${S} -} - - -# From the xchat 1.9.2 README_FIRST file: -# (one of the) REMAINING PROBLEMS: -# * can't compile with gnome, panel and zvt support * -# stroke - -src_compile() { - - local myopts myflags - - if [ ! `use perl` ] ; then - use gnome \ - && myopts="${myopts} --enable-gnome --enable-panel" \ - || myopts="${myopts} --enable-gtkfe --disable-gnome --disable-zvt" - - use gnome \ - && CFLAGS="${CFLAGS} -I/usr/include/orbit-2.0" \ - || myopts="${myopts} --disable-gnome" - fi - - use gtk \ - || myopts="${myopts} --disable-gtkfe" - - use ssl \ - && myopts="${myopts} --enable-openssl" - - use perl \ - || myopts="${myopts} --disable-perl" - - use python \ - || myopts="${myopts} --disable-python" - - use nls \ - && myopts="${myopts} --enable-hebrew --enable-japanese-conv" \ - || myopts="${myopts} --disable-nls" - - use mmx \ - && myopts="${myopts} --enable-mmx" \ - || myopts="${myopts} --disable-mmx" - - use ipv6 \ - && myopts="${myopts} --enable-ipv6" - - - econf \ - --program-suffix=-2 \ - ${myopts} || die "Configure failed" - - MAKEOPTS="-j1" emake || die "Compile failed" -} - -src_install() { - - einstall utildir=${D}${KDEDIR}/share/applnk/Internet install || die "Install failed" - - use gnome && - ( insinto /usr/share/gnome/apps/Internet - doins xchat.desktop ) - - dodoc AUTHORS COPYING ChangeLog README -} diff --git a/net-irc/xchat/xchat-1.9.3-r1.ebuild b/net-irc/xchat/xchat-1.9.3-r1.ebuild deleted file mode 100644 index b45cfc766057..000000000000 --- a/net-irc/xchat/xchat-1.9.3-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.9.3-r1.ebuild,v 1.1 2002/10/11 15:46:43 lostlogic Exp $ - -IUSE="ssl nls gnome ipv6 mmx python gtk perl" - -S=${WORKDIR}/${P} -DESCRIPTION="X-Chat is a graphical IRC client for UNIX operating systems." -SRC_URI="http://www.xchat.org/files/source/1.9/${P}.tar.bz2" -HOMEPAGE="http://www.xchat.org/" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="x86 ppc sparc sparc64" - -RDEPEND=">=dev-libs/glib-2.0.4 - >=x11-libs/gtk+-2.0.5 - perl? ( >=sys-devel/perl-5.6.1 ) - gnome? ( >=x11-libs/libzvt-2.0.1 - >=gnome-base/libgnome-2.0.1 - >=gnome-base/gnome-applets-2.0.0 - >=gnome-base/gnome-panel-2.0.1 ) - ssl? ( >=dev-libs/openssl-0.9.6d )" - -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.10.38 )" - - -src_unpack() { - unpack ${A} - cd ${S} -} - - -# From the xchat 1.9.2 README_FIRST file: -# (one of the) REMAINING PROBLEMS: -# * can't compile with gnome, panel and zvt support * -# stroke - -src_compile() { - - local myopts myflags - - if [ ! `use perl` ] ; then - use gnome \ - && myopts="${myopts} --enable-gnome --enable-panel" \ - || myopts="${myopts} --enable-gtkfe --disable-gnome --disable-zvt" - - use gnome \ - && CFLAGS="${CFLAGS} -I/usr/include/orbit-2.0" \ - || myopts="${myopts} --disable-gnome" - fi - - use gtk \ - || myopts="${myopts} --disable-gtkfe" - - use ssl \ - && myopts="${myopts} --enable-openssl" - - use perl \ - || myopts="${myopts} --disable-perl" - - use python \ - || myopts="${myopts} --disable-python" - - use nls \ - && myopts="${myopts} --enable-hebrew --enable-japanese-conv" \ - || myopts="${myopts} --disable-nls" - - use mmx \ - && myopts="${myopts} --enable-mmx" \ - || myopts="${myopts} --disable-mmx" - - use ipv6 \ - && myopts="${myopts} --enable-ipv6" - - - econf \ - --program-suffix=-2 \ - ${myopts} || die "Configure failed" - - MAKEOPTS="-j1" emake || die "Compile failed" -} - -src_install() { - - einstall utildir=${D}${KDEDIR}/share/applnk/Internet install || die "Install failed" - - mv ${D}usr/lib/xchat ${D}usr/lib/xchat-2 || die - for file in ${D}usr/lib/xchat-2/plugins/* ;do - mv ${file} ${file/.so-2/}.so || die - done - - use gnome && - ( insinto /usr/share/gnome/apps/Internet - doins xchat.desktop ) - - dodoc AUTHORS COPYING ChangeLog README -} diff --git a/net-irc/xchat/xchat-1.9.3.ebuild b/net-irc/xchat/xchat-1.9.3-r2.ebuild index c87193c8cd97..5fbbcd94dfc4 100644 --- a/net-irc/xchat/xchat-1.9.3.ebuild +++ b/net-irc/xchat/xchat-1.9.3-r2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.9.3.ebuild,v 1.1 2002/10/11 15:01:47 lostlogic Exp $ +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.9.3-r2.ebuild,v 1.1 2002/10/20 22:51:56 foser Exp $ -IUSE="ssl nls gnome ipv6 mmx python gtk perl" +IUSE="perl gnome ssl gtk python mmx ipv6 nls" S=${WORKDIR}/${P} DESCRIPTION="X-Chat is a graphical IRC client for UNIX operating systems." @@ -28,11 +28,12 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} - cd ${S} + patch -d ${S} -p1 < ${FILESDIR}/xchat-1.9.3-tolowertab.patch + } -# From the xchat 1.9.2 README_FIRST file: +# From the xchat 1.9.3 README_FIRST file: # (one of the) REMAINING PROBLEMS: # * can't compile with gnome, panel and zvt support * # stroke @@ -89,6 +90,9 @@ src_install() { use gnome && ( insinto /usr/share/gnome/apps/Internet doins xchat.desktop ) - + use python && + ( dosym /usr/lib/xchat/plugins/python.so-2 /usr/lib/xchat/plugins/python.so ) + use perl && + ( dosym /usr/lib/xchat/plugins/perl.so-2 /usr/lib/xchat/plugins/perl.so ) dodoc AUTHORS COPYING ChangeLog README } |