summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-03-22 09:54:15 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-03-22 09:54:15 +0000
commit2b9719748c7e8682ead84f928aafac04e19d5205 (patch)
treefdb89a7df59a6f12528f3321e407b59499e39242 /net-irc/xchat
parentVersion bump. Bug #356479 (diff)
downloadgentoo-2-2b9719748c7e8682ead84f928aafac04e19d5205.tar.gz
gentoo-2-2b9719748c7e8682ead84f928aafac04e19d5205.tar.bz2
gentoo-2-2b9719748c7e8682ead84f928aafac04e19d5205.zip
Add optional hires icons, and fix slot-deps on gnome libs
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/xchat')
-rw-r--r--net-irc/xchat/ChangeLog6
-rw-r--r--net-irc/xchat/metadata.xml1
-rw-r--r--net-irc/xchat/xchat-2.8.8-r1.ebuild8
-rw-r--r--net-irc/xchat/xchat-2.8.8-r2.ebuild25
4 files changed, 29 insertions, 11 deletions
diff --git a/net-irc/xchat/ChangeLog b/net-irc/xchat/ChangeLog
index ed2c8230aeef..81ee3f2c255f 100644
--- a/net-irc/xchat/ChangeLog
+++ b/net-irc/xchat/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-irc/xchat
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.295 2011/01/30 17:34:09 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.296 2011/03/22 09:54:15 nirbheek Exp $
+
+ 22 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> xchat-2.8.8-r1.ebuild,
+ xchat-2.8.8-r2.ebuild, metadata.xml:
+ Add optional hires icons, and fix slot-deps on gnome libs
30 Jan 2011; Lars Wendler <polynomial-c@gentoo.org> xchat-2.8.8-r1.ebuild,
xchat-2.8.8-r2.ebuild:
diff --git a/net-irc/xchat/metadata.xml b/net-irc/xchat/metadata.xml
index 545154386d71..fe04a65ee56e 100644
--- a/net-irc/xchat/metadata.xml
+++ b/net-irc/xchat/metadata.xml
@@ -9,6 +9,7 @@
<use>
<flag name='fastscroll'>Make scrolling of large text buffers faster by
circumventing some of pango's overhead</flag>
+<flag name='hires-icons'>Install custom high-resolution icons instead of the default one</flag>
<flag name='ntlm'>Enable NTLM authentication</flag>
<flag name='xchatdccserver'>Enables support for the /dccserver command via a patch</flag>
<flag name='xchatnogtk'>Disables building the GTK front end to XChat</flag>
diff --git a/net-irc/xchat/xchat-2.8.8-r1.ebuild b/net-irc/xchat/xchat-2.8.8-r1.ebuild
index 7a357bd3fe1a..7c7da28ad5ab 100644
--- a/net-irc/xchat/xchat-2.8.8-r1.ebuild
+++ b/net-irc/xchat/xchat-2.8.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild,v 1.6 2011/01/30 17:34:09 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild,v 1.7 2011/03/22 09:54:15 nirbheek Exp $
EAPI=2
@@ -17,11 +17,11 @@ SLOT="2"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
IUSE="dbus fastscroll +gtk ipv6 libnotify mmx nls ntlm perl python spell ssl tcl xchatdccserver"
-RDEPEND=">=dev-libs/glib-2.6.0
- gtk? ( >=x11-libs/gtk+-2.10.0 )
+RDEPEND=">=dev-libs/glib-2.6.0:2
+ gtk? ( >=x11-libs/gtk+-2.10.0:2 )
ssl? ( >=dev-libs/openssl-0.9.6d )
perl? ( >=dev-lang/perl-5.8.0 )
- python? ( >=dev-lang/python-2.2 )
+ python? ( =dev-lang/python-2* )
tcl? ( dev-lang/tcl )
dbus? ( >=dev-libs/dbus-glib-0.71 )
spell? ( app-text/gtkspell )
diff --git a/net-irc/xchat/xchat-2.8.8-r2.ebuild b/net-irc/xchat/xchat-2.8.8-r2.ebuild
index 3dc1cdf0d36b..5b6ba9a4b299 100644
--- a/net-irc/xchat/xchat-2.8.8-r2.ebuild
+++ b/net-irc/xchat/xchat-2.8.8-r2.ebuild
@@ -1,27 +1,29 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v 1.2 2011/01/30 17:34:09 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v 1.3 2011/03/22 09:54:15 nirbheek Exp $
EAPI=2
inherit eutils versionator gnome2 autotools
DESCRIPTION="Graphical IRC client"
+# Icons are from http://half-left.deviantart.com/art/XChat-IRC-Icon-200804640
SRC_URI="http://www.xchat.org/files/source/$(get_version_component_range 1-2)/${P}.tar.bz2
mirror://sourceforge/${PN}/${P}.tar.bz2
+ hires-icons? ( http://dev.gentoo.org/~nirbheek/dist/xchat_irc_icon_by_half_left-d3bjxuo.zip )
xchatdccserver? ( mirror://gentoo/${PN}-dccserver-0.6.patch.bz2 )"
HOMEPAGE="http://www.xchat.org/"
-LICENSE="GPL-2"
+LICENSE="GPL-2 hires-icons? ( GPL-3 )"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="dbus fastscroll +gtk ipv6 libnotify mmx nls ntlm perl python spell ssl tcl xchatdccserver"
+IUSE="dbus fastscroll +gtk hires-icons ipv6 libnotify mmx nls ntlm perl python spell ssl tcl xchatdccserver"
-RDEPEND=">=dev-libs/glib-2.6.0
- gtk? ( >=x11-libs/gtk+-2.10.0 )
+RDEPEND=">=dev-libs/glib-2.6.0:2
+ gtk? ( >=x11-libs/gtk+-2.10.0:2 )
ssl? ( >=dev-libs/openssl-0.9.6d )
perl? ( >=dev-lang/perl-5.8.0 )
- python? ( >=dev-lang/python-2.2 )
+ python? ( =dev-lang/python-2* )
tcl? ( dev-lang/tcl )
dbus? ( >=dev-libs/dbus-glib-0.71 )
spell? ( app-text/gtkspell )
@@ -90,6 +92,16 @@ src_install() {
doins src/common/xchat-plugin.h || die "doins failed"
dodoc ChangeLog README* || die "dodoc failed"
+
+ if use hires-icons; then
+ cd "${WORKDIR}/XChat-Icon/apps"
+ for i in *; do
+ insinto "/usr/share/icons/hicolor/${i}/apps"
+ doins "${i}/xchat.png"
+ done
+ # Replace default pixmap icon
+ cp "48x48/xchat.png" "${D}/usr/share/pixmaps" || die
+ fi
}
pkg_postinst() {
@@ -102,4 +114,5 @@ pkg_postinst() {
elog "XChat now includes it's own systray icon, you may want to remove net-irc/xchat-systray."
elog
fi
+ gnome2_icon_cache_update
}