summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-irc/xchat/ChangeLog7
-rw-r--r--net-irc/xchat/Manifest5
-rw-r--r--net-irc/xchat/files/digest-xchat-2.0.31
-rw-r--r--net-irc/xchat/files/xchat-2.0.3-fix_tint.patch22
-rw-r--r--net-irc/xchat/xchat-2.0.3.ebuild80
5 files changed, 112 insertions, 3 deletions
diff --git a/net-irc/xchat/ChangeLog b/net-irc/xchat/ChangeLog
index 032308fc9f68..efc394eec70b 100644
--- a/net-irc/xchat/ChangeLog
+++ b/net-irc/xchat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/xchat
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.54 2003/06/08 13:22:56 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.55 2003/06/29 14:43:00 foser Exp $
+
+*xchat-2.0.3 (29 Jun 2003)
+
+ 29 Jun 2003; foser <foser@gentoo.org> xchat-2.0.3.ebuild :
+ New version, removed nls use dep, added patch to fix mmx segfault
*xchat-2.0.2-r2 (26 May 2003)
diff --git a/net-irc/xchat/Manifest b/net-irc/xchat/Manifest
index 61b75d962d58..132ad65c3a21 100644
--- a/net-irc/xchat/Manifest
+++ b/net-irc/xchat/Manifest
@@ -1,10 +1,10 @@
MD5 e533d379622f911ced2832e22263f31b xchat-2.0.1.ebuild 1982
-MD5 74c55770e2a3aa7e16dc6f431d6485e9 xchat-2.0.3.ebuild 2019
+MD5 34616906669d508783738853a01d374b xchat-2.0.3.ebuild 2098
MD5 5e5d21a6b4e47c04f504c69b4272b029 xchat-1.8.11.ebuild 2285
MD5 d4b23b8ff3dd54a2ca5560884c64bf7f xchat-2.0.0.ebuild 1909
MD5 38c72021ed0c065d4973a36211d31e19 xchat-2.0.2-r2.ebuild 2130
MD5 d6896c2421454aab5a0cefef7bed9946 xchat-1.8.10-r1.ebuild 2307
-MD5 8e80fa1afdfe4876e6c1d9f549bc76b4 ChangeLog 7958
+MD5 ac0c7ca7eaab5d7b2c9cd68b9df36c66 ChangeLog 8116
MD5 acbd4afdd7d00bceb3816147eb508e4b files/digest-xchat-2.0.0 64
MD5 1ee812a2b3e28e3866413e75a80ff983 files/digest-xchat-2.0.1 64
MD5 f5c539e05a29071298f3d580fb1a3c72 files/digest-xchat-2.0.3 64
@@ -14,5 +14,6 @@ MD5 011b499714e85d4177185aabaeb1db15 files/00_all_tabs-leftright-and-gtk-icons.p
MD5 be3a6832adcb4e41de90396ae3f741dc files/xc202-fixdetach.diff 269
MD5 9636578d0e88ec0185c97a30edb81ce5 files/xc1810fixme3.diff 1025
MD5 7c2450584076659603dc908ffc53b537 files/digest-xchat-1.8.10-r1 65
+MD5 ecfeedae2da4ba7867a2f62227db355b files/xchat-2.0.3-fix_tint.patch 558
MD5 e2b99b2d2dfc54ba96e560c0ed8392df files/digest-xchat-1.8.11 65
MD5 fb93538acf146307088f7e6707ae3150 files/digest-xchat-2.0.2-r2 64
diff --git a/net-irc/xchat/files/digest-xchat-2.0.3 b/net-irc/xchat/files/digest-xchat-2.0.3
new file mode 100644
index 000000000000..52de16838138
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-2.0.3
@@ -0,0 +1 @@
+MD5 8a7a981bf2401e09efdfe278713a2c6c xchat-2.0.3.tar.bz2 812511
diff --git a/net-irc/xchat/files/xchat-2.0.3-fix_tint.patch b/net-irc/xchat/files/xchat-2.0.3-fix_tint.patch
new file mode 100644
index 000000000000..ea8f315299bd
--- /dev/null
+++ b/net-irc/xchat/files/xchat-2.0.3-fix_tint.patch
@@ -0,0 +1,22 @@
+--- xchat-2.0.3/src/fe-gtk/xtext.c 18 Jun 2003 08:01:23 -0000
++++ xchat-2.0.3p1/src/fe-gtk/xtext.c 29 Jun 2003 11:38:04 -0000
+@@ -910,6 +910,9 @@
+ xtext_set_bg (xtext, xtext->fgc, 19);
+ xtext_set_fg (xtext, xtext->bgc, 19);
+
++ /* draw directly to window */
++ xtext->draw_buf = widget->window;
++
+ #if defined(USE_XLIB) || defined(WIN32)
+ if (xtext->transparent)
+ {
+@@ -930,9 +933,6 @@
+ #endif
+
+ gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
+-
+- /* draw directly to window */
+- xtext->draw_buf = widget->window;
+
+ backend_init (xtext);
+ }
diff --git a/net-irc/xchat/xchat-2.0.3.ebuild b/net-irc/xchat/xchat-2.0.3.ebuild
new file mode 100644
index 000000000000..46aeae109067
--- /dev/null
+++ b/net-irc/xchat/xchat-2.0.3.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.0.3.ebuild,v 1.1 2003/06/29 14:43:00 foser Exp $
+
+inherit eutils
+
+IUSE="perl tcltk python ssl gtk mmx ipv6"
+
+DESCRIPTION="X-Chat is a graphical IRC client for UNIX operating systems."
+SRC_URI="http://www.xchat.org/files/source/2.0/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+RDEPEND=">=dev-libs/glib-2.0.3
+ gtk? ( >=x11-libs/gtk+-2.0.3 )
+ perl? ( >=dev-lang/perl-5.6.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6d )
+ python? ( dev-lang/python )
+ tcltk? ( dev-lang/tcl )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.7"
+
+src_unpack() {
+
+ unpack ${A}
+
+ # fixes mmx problem
+ epatch ${FILESDIR}/${P}-fix_tint.patch
+
+}
+
+src_compile() {
+ local myopts
+
+ use gtk \
+ && myopts="${myopts} --enable-gtkfe" \
+ || myopts="${myopts} --disable-gtkfe"
+ use ssl \
+ && myopts="${myopts} --enable-openssl" \
+ || myopts="${myopts} --disable-openssl"
+ use perl \
+ && myopts="${myopts} --enable-perl" \
+ || myopts="${myopts} --disable-perl"
+ use python \
+ && myopts="${myopts} --enable-python" \
+ || myopts="${myopts} --disable-python"
+ use tcltk \
+ && myopts="${myopts} --enable-tcl" \
+ || myopts="${myopts} --disable-tcl"
+ use mmx \
+ && myopts="${myopts} --enable-mmx" \
+ || myopts="${myopts} --disable-mmx"
+ use ipv6 \
+ && myopts="${myopts} --enable-ipv6" \
+ || myopts="${myopts} --disable-ipv6"
+
+ econf \
+ --program-suffix=-2 \
+ ${myopts} || die "Configure failed"
+
+ MAKEOPTS="-j1" emake || die "Compile failed"
+}
+
+src_install() {
+ # some magic to create a menu entry for xchat 2
+ mv xchat.desktop xchat.desktop.old
+ sed -e "s:Exec=xchat:Exec=xchat-2:" -e "s:Name=XChat IRC:Name=XChat 2 IRC:" xchat.desktop.old > xchat.desktop
+
+ einstall install || die "Install failed"
+
+ # install plugin development header
+ insinto /usr/include/xchat
+ doins src/common/xchat-plugin.h
+
+ dodoc AUTHORS COPYING ChangeLog README*
+}