Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/xchat: ChangeLog xchat-2.8.6-r2.ebuild xchat-2.8.4-r3.ebuild
Date: Thu, 27 Nov 2008 20:50:02
Message-Id: E1L5noF-0003fM-Pn@stork.gentoo.org
1 armin76 08/11/27 20:49:59
2
3 Modified: ChangeLog
4 Added: xchat-2.8.6-r2.ebuild
5 Removed: xchat-2.8.4-r3.ebuild
6 Log:
7 Don't use included libsexy, bug #246138, make shm pixmaps optional, bug #241902
8 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.26-gentoo-r2 i686)
9
10 Revision Changes Path
11 1.274 net-irc/xchat/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/xchat/ChangeLog?rev=1.274&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/xchat/ChangeLog?rev=1.274&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/xchat/ChangeLog?r1=1.273&r2=1.274
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v
20 retrieving revision 1.273
21 retrieving revision 1.274
22 diff -u -r1.273 -r1.274
23 --- ChangeLog 28 Sep 2008 06:29:46 -0000 1.273
24 +++ ChangeLog 27 Nov 2008 20:49:59 -0000 1.274
25 @@ -1,6 +1,15 @@
26 # ChangeLog for net-irc/xchat
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.273 2008/09/28 06:29:46 leio Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.274 2008/11/27 20:49:59 armin76 Exp $
30 +
31 +*xchat-2.8.6-r2 (27 Nov 2008)
32 +
33 + 27 Nov 2008; Raúl Porcel <armin76@g.o>
34 + -files/xc284-fix-scrollbfdleak.diff, -files/xc284-scrollbmkdir.diff,
35 + +files/xchat-2.8.6-shm-pixmaps.patch, -files/xc284-improvescrollback.diff,
36 + -files/xchat-fix-uk_UA-locale.diff, -xchat-2.8.4-r3.ebuild,
37 + +xchat-2.8.6-r2.ebuild:
38 + Don't use included libsexy, bug #246138, make shm pixmaps optional, bug #241902
39
40 28 Sep 2008; Mart Raudsepp <leio@g.o> xchat-2.8.6-r1.ebuild:
41 Fix compile against gtk+-2.14 by being forwards compatible, bug 234458
42
43
44
45 1.1 net-irc/xchat/xchat-2.8.6-r2.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/xchat/xchat-2.8.6-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/xchat/xchat-2.8.6-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: xchat-2.8.6-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.6-r2.ebuild,v 1.1 2008/11/27 20:49:59 armin76 Exp $
55
56 inherit eutils versionator gnome2
57
58 DESCRIPTION="Graphical IRC client"
59 SRC_URI="http://www.xchat.org/files/source/$(get_version_component_range 1-2)/${P}.tar.bz2
60 mirror://sourceforge/${PN}/${P}.tar.bz2
61 xchatdccserver? ( mirror://gentoo/${PN}-dccserver-0.6.patch.bz2 )"
62 HOMEPAGE="http://www.xchat.org/"
63
64 LICENSE="GPL-2"
65 SLOT="2"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67 IUSE="perl dbus tcl python ssl mmx ipv6 libnotify nls spell xchatnogtk xchatdccserver xft"
68
69 RDEPEND=">=dev-libs/glib-2.6.0
70 !xchatnogtk? ( >=x11-libs/gtk+-2.10.0 )
71 ssl? ( >=dev-libs/openssl-0.9.6d )
72 perl? ( >=dev-lang/perl-5.6.1 )
73 python? ( >=dev-lang/python-2.2 )
74 tcl? ( dev-lang/tcl )
75 dbus? ( >=dev-libs/dbus-glib-0.71 )
76 spell? ( app-text/gtkspell )
77 libnotify? ( x11-libs/libnotify )
78 !<net-irc/xchat-gnome-0.9"
79
80 DEPEND="${RDEPEND}
81 >=dev-util/pkgconfig-0.7
82 nls? ( sys-devel/gettext )"
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87
88 use xchatdccserver && epatch "${DISTDIR}"/xchat-dccserver-0.6.patch.bz2
89
90 # use libdir/xchat/plugins as the plugin directory
91 if [ $(get_libdir) != "lib" ] ; then
92 sed -i -e 's:${prefix}/lib/xchat:${libdir}/xchat:' \
93 "${S}"/configure{,.in} || die
94 fi
95
96 epatch "${FILESDIR}"/xc286-smallfixes.diff
97 epatch "${FILESDIR}"/${P}-shm-pixmaps.patch
98
99 # don't disable deprecated gtk+ symbols, it's not forwards compatible, bug 234458
100 sed -i -e '/define GTK_DISABLE_DEPRECATED/d' src/fe-gtk/*.c
101 }
102
103 src_compile() {
104 # Added for to fix a sparc seg fault issue by Jason Wever <weeve@g.o>
105 if [[ ${ARCH} = sparc ]] ; then
106 replace-flags "-O[3-9]" "-O2"
107 fi
108
109 # xchat's configure script uses sys.path to find library path
110 # instead of python-config (#25943)
111 unset PYTHONPATH
112
113 econf \
114 --enable-shm \
115 $(use_enable ssl openssl) \
116 $(use_enable perl) \
117 $(use_enable python) \
118 $(use_enable tcl) \
119 $(use_enable mmx) \
120 $(use_enable ipv6) \
121 $(use_enable nls) \
122 $(use_enable dbus) \
123 $(use_enable xft) \
124 $(use_enable spell spell gtkspell) \
125 $(use_enable !xchatnogtk gtkfe) \
126 || die "econf failed"
127
128 emake || die "emake failed"
129 }
130
131 src_install() {
132 USE_DESTDIR=1 gnome2_src_install || die "make install failed"
133
134 # install plugin development header
135 insinto /usr/include/xchat
136 doins src/common/xchat-plugin.h || die "doins failed"
137
138 dodoc ChangeLog README* || die "dodoc failed"
139 }
140
141 pkg_postinst() {
142 elog
143 elog "XChat binary has been renamed from xchat-2 to xchat."
144 elog
145
146 if has_version net-irc/xchat-systray
147 then
148 elog "XChat now includes it's own systray icon, you may want to remove net-irc/xchat-systray."
149 elog
150 fi
151 }