Version bump, bug #105463.
authorSven Wegener <swegener@gentoo.org>
Mon, 12 Sep 2005 00:22:04 +0000 (00:22 +0000)
committerSven Wegener <swegener@gentoo.org>
Mon, 12 Sep 2005 00:22:04 +0000 (00:22 +0000)
Package-Manager: portage-2.0.52-r1

net-irc/xchat/ChangeLog
net-irc/xchat/Manifest
net-irc/xchat/files/digest-xchat-2.4.5 [new file with mode: 0644]
net-irc/xchat/files/xc245-fix-te-notify.diff [new file with mode: 0644]
net-irc/xchat/xchat-2.4.5.ebuild [new file with mode: 0644]

index f1bc9f6376f01b2db4edafacc935f67fb8862341..108b810f08a56a71d6443633854f23ccc5af1e96 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-irc/xchat
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.169 2005/08/27 17:02:02 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.170 2005/09/12 00:22:04 swegener Exp $
+
+*xchat-2.4.5 (12 Sep 2005)
+
+  12 Sep 2005; Sven Wegener <swegener@gentoo.org>
+  +files/xc245-fix-te-notify.diff, +xchat-2.4.5.ebuild:
+  Version bump, bug #105463.
 
   27 Aug 2005; Sven Wegener <swegener@gentoo.org>
   -files/2.4.1-fe-text.patch, -files/2.4.1-close-fds-on-exec.patch,
index 05834ba884c491c791a2bc9b58c86815f370f3c5..22c955e3da993b7a876dadd51e73bb9500c69638 100644 (file)
@@ -1,22 +1,25 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 ffbfe9f8f548673073619ab9a6513b75 ChangeLog 25435
+MD5 bd376642ae985629f764e5e51834131d ChangeLog 25599
 MD5 323192908f52dfb3288ffc92c0efc091 files/2.4.4-plugin-fixes.patch 1351
 MD5 e2b99b2d2dfc54ba96e560c0ed8392df files/digest-xchat-1.8.11-r1 65
 MD5 21bc6820aa6d0c8722509a74c7fccb3d files/digest-xchat-2.4.3 134
 MD5 9ad4dba7e07a9c38f4515bf2acbb9a66 files/digest-xchat-2.4.4-r2 150
+MD5 c5d53c24b3ebfec1f168930213f55fea files/digest-xchat-2.4.5 65
 MD5 a8f607d224408d4a27777d2ffce8beac files/xc1811fixststint.diff 422
 MD5 31de685eff3d16d9466416434c9fd6c3 files/xc208-fixsocks5.diff 688
+MD5 17073299c8c2c65062ad2e77cd03b841 files/xc245-fix-te-notify.diff 403
 MD5 ee98eba7f1061680d8d0582a10d72cb7 files/xchat-dccserver-0.5.patch 11776
 MD5 fb5772136a872c08434566d4f0bcdc7f metadata.xml 179
 MD5 4634f562e01b219d3bcfb0ae6acb8397 xchat-1.8.11-r1.ebuild 2264
 MD5 f70fee92ab2e258ea7be208d0ddfa4b6 xchat-2.4.3.ebuild 2266
 MD5 c591165fd310fdeac6d0176bfe68d777 xchat-2.4.4-r2.ebuild 2452
+MD5 89e57e546fe0b1ffa905b08f20da69a3 xchat-2.4.5.ebuild 2301
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDJDixI1lqEGTUzyQRAiEiAKClU+NmddQ21k8TQFu3djKNFU/JyQCgyra1
-DfQZZPcQWcRwRlreEltqUSY=
-=App6
+iD8DBQFDJMo6I1lqEGTUzyQRAlYwAJsGTdCe1BLtGLM76nF3FMy6OFlWSQCgyUHu
+YwN0whMDC6OjtzYdDJe9dqI=
+=GiUq
 -----END PGP SIGNATURE-----
diff --git a/net-irc/xchat/files/digest-xchat-2.4.5 b/net-irc/xchat/files/digest-xchat-2.4.5
new file mode 100644 (file)
index 0000000..f968fef
--- /dev/null
@@ -0,0 +1 @@
+MD5 9107a92693e6c62ff2008030e698b92b xchat-2.4.5.tar.bz2 1324626
diff --git a/net-irc/xchat/files/xc245-fix-te-notify.diff b/net-irc/xchat/files/xc245-fix-te-notify.diff
new file mode 100644 (file)
index 0000000..a718ecb
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# Clicking on "Notify Offline" in Settings > Advanced > Text Events
+# causes a crash. This patch fixes it.
+#
+--- xchat-2.4.5/src/common/text.c      29 Jul 2005 05:36:33 -0000      1.66
++++ xchat-2.4.5p1/src/common/text.c    11 Sep 2005 09:58:24 -0000
+@@ -726,6 +726,7 @@
+ 
+ static char * const pevt_generic_nick_help[] = {
+       N_("Nickname"),
++      N_("Server Name")
+ };
+ 
+ static char * const pevt_chanmodes_help[] = {
diff --git a/net-irc/xchat/xchat-2.4.5.ebuild b/net-irc/xchat/xchat-2.4.5.ebuild
new file mode 100644 (file)
index 0000000..5011cd5
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.4.5.ebuild,v 1.1 2005/09/12 00:22:04 swegener Exp $
+
+inherit flag-o-matic eutils versionator
+
+DESCRIPTION="Graphical IRC client"
+SRC_URI="http://www.xchat.org/files/source/$(get_version_component_range 1-2)/${P}.tar.bz2
+       mirror://sourceforge/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.xchat.org/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="perl tcltk python ssl mmx ipv6 nls xchattext xchatnogtk xchatdccserver"
+
+# Added for to fix a sparc seg fault issue by Jason Wever <weeve@gentoo.org>
+if [ ${ARCH} = "sparc" ]
+then
+       replace-flags "-O[3-9]" "-O2"
+fi
+
+RDEPEND=">=dev-libs/glib-2.0.3
+       !xchatnogtk? ( >=x11-libs/gtk+-2.0.3 )
+       ssl? ( >=dev-libs/openssl-0.9.6d )
+       perl? ( >=dev-lang/perl-5.6.1 )
+       python? ( dev-lang/python )
+       tcltk? ( dev-lang/tcl )
+       !net-irc/xchat-gnome"
+
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.7
+       >=sys-apps/sed-4
+       nls? ( sys-devel/gettext )"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       epatch "${FILESDIR}"/xc245-fix-te-notify.diff
+
+       use xchatdccserver && epatch "${FILESDIR}"/xchat-dccserver-0.5.patch
+
+       # use libdir/xchat/plugins as the plugin directory
+       if [ $(get_libdir) != "lib" ] ; then
+               sed -i -e 's:${prefix}/lib/xchat:${libdir}/xchat:' \
+                       "${S}"/configure{,.in} || die
+       fi
+}
+
+src_compile() {
+       # xchat's configure script uses sys.path to find library path
+       # instead of python-config (#25943)
+       unset PYTHONPATH
+
+       econf \
+               $(use_enable ssl openssl) \
+               $(use_enable perl) \
+               $(use_enable python) \
+               $(use_enable tcltk tcl) \
+               $(use_enable mmx) \
+               $(use_enable ipv6) \
+               $(use_enable nls) \
+               $(use_enable xchattext textfe) \
+               $(use_enable !xchatnogtk gtkfe) \
+               --program-suffix=-2 \
+               || die "Configure failed"
+
+       emake || die "Compile failed"
+}
+
+src_install() {
+       # some magic to create a menu entry for xchat 2
+       sed -i \
+               -e "s:^Exec=xchat$:Exec=xchat-2:" \
+               -e "s:Name=XChat IRC:Name=XChat 2 IRC:" \
+               xchat.desktop
+
+       make DESTDIR="${D}" install || die "Install failed"
+
+       # install plugin development header
+       insinto /usr/include/xchat
+       doins src/common/xchat-plugin.h || die "doins failed"
+
+       dodoc ChangeLog README* || die "dodoc failed"
+}