1 |
jlec 11/10/29 19:55:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gajim-0.14.4-r2.ebuild |
5 |
Log: |
6 |
Try debian solution for the unicode problem, #383463 |
7 |
|
8 |
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.129 net-im/gajim/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/ChangeLog?rev=1.129&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/ChangeLog?rev=1.129&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/ChangeLog?r1=1.128&r2=1.129 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v |
20 |
retrieving revision 1.128 |
21 |
retrieving revision 1.129 |
22 |
diff -u -r1.128 -r1.129 |
23 |
--- ChangeLog 27 Oct 2011 06:35:47 -0000 1.128 |
24 |
+++ ChangeLog 29 Oct 2011 19:55:46 -0000 1.129 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-im/gajim |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.128 2011/10/27 06:35:47 tetromino Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.129 2011/10/29 19:55:46 jlec Exp $ |
30 |
+ |
31 |
+*gajim-0.14.4-r2 (29 Oct 2011) |
32 |
+ |
33 |
+ 29 Oct 2011; Justin Lecher <jlec@g.o> +gajim-0.14.4-r2.ebuild, |
34 |
+ +files/gajim-0.14.4-debian_patches_unicode.patch: |
35 |
+ Try debian solution for the unicode problem, #383463 |
36 |
|
37 |
27 Oct 2011; Alexandre Rostovtsev <tetromino@g.o> |
38 |
gajim-0.14.1-r2.ebuild, gajim-0.14.4.ebuild, gajim-0.14.4-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-im/gajim/gajim-0.14.4-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/gajim-0.14.4-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/gajim/gajim-0.14.4-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gajim-0.14.4-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.14.4-r2.ebuild,v 1.1 2011/10/29 19:55:46 jlec Exp $ |
52 |
|
53 |
EAPI=3 |
54 |
|
55 |
PYTHON_DEPEND="2" |
56 |
PYTHON_USE_WITH="sqlite xml" |
57 |
|
58 |
inherit eutils python versionator |
59 |
|
60 |
DESCRIPTION="Jabber client written in PyGTK" |
61 |
HOMEPAGE="http://www.gajim.org/" |
62 |
SRC_URI="http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-3" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="avahi crypt dbus gmail gnome idle jingle libnotify networkmanager nls spell srv X xhtml" |
68 |
|
69 |
# needs EAPI=4 |
70 |
#REQUIRED_USE=" |
71 |
# libnotify? ( dbus ) |
72 |
# avahi? ( dbus )" |
73 |
|
74 |
COMMON_DEPEND=" |
75 |
dev-python/pygtk:2 |
76 |
x11-libs/gtk+:2" |
77 |
DEPEND="${COMMON_DEPEND} |
78 |
>=dev-util/intltool-0.40.1 |
79 |
dev-util/pkgconfig |
80 |
>=sys-devel/gettext-0.17-r1" |
81 |
RDEPEND="${COMMON_DEPEND} |
82 |
dev-python/pyopenssl |
83 |
crypt? ( |
84 |
app-crypt/gnupg |
85 |
dev-python/pycrypto |
86 |
) |
87 |
dbus? ( |
88 |
dev-python/dbus-python |
89 |
dev-libs/dbus-glib |
90 |
libnotify? ( dev-python/notify-python ) |
91 |
avahi? ( net-dns/avahi[dbus,gtk,python] ) |
92 |
) |
93 |
gmail? ( net-dns/bind-tools ) |
94 |
gnome? ( |
95 |
dev-python/libgnome-python |
96 |
dev-python/gnome-keyring-python |
97 |
dev-python/egg-python |
98 |
) |
99 |
idle? ( x11-libs/libXScrnSaver ) |
100 |
jingle? ( net-libs/farsight2[python] ) |
101 |
networkmanager? ( |
102 |
dev-python/dbus-python |
103 |
net-misc/networkmanager |
104 |
) |
105 |
srv? ( |
106 |
|| ( |
107 |
dev-python/libasyncns-python |
108 |
net-dns/bind-tools ) |
109 |
) |
110 |
spell? ( app-text/gtkspell:2 ) |
111 |
xhtml? ( dev-python/docutils )" |
112 |
|
113 |
pkg_setup() { |
114 |
if ! use dbus; then |
115 |
if use libnotify; then |
116 |
eerror "The dbus USE flag is required for libnotify support" |
117 |
die "USE=\"dbus\" needed for libnotify support" |
118 |
fi |
119 |
if use avahi; then |
120 |
eerror "The dbus USE flag is required for avahi support" |
121 |
die "USE=\"dbus\" needed for avahi support" |
122 |
fi |
123 |
fi |
124 |
python_set_active_version 2 |
125 |
python_pkg_setup |
126 |
} |
127 |
|
128 |
src_prepare() { |
129 |
epatch \ |
130 |
"${FILESDIR}"/0.14-python-version.patch \ |
131 |
"${FILESDIR}"/0.14.1-testing.patch \ |
132 |
"${FILESDIR}"/${P}-debian_patches_unicode.patch |
133 |
echo '#!/bin/sh' > config/py-compile |
134 |
} |
135 |
|
136 |
src_configure() { |
137 |
econf \ |
138 |
$(use_enable nls) \ |
139 |
$(use_with X x) \ |
140 |
--docdir="/usr/share/doc/${PF}" \ |
141 |
--libdir="$(python_get_sitedir)" \ |
142 |
--enable-site-packages |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
emake DESTDIR="${D}" install || die "emake install failed" |
147 |
|
148 |
rm "${D}/usr/share/doc/${PF}/"{README.html,COPYING} || die |
149 |
dohtml README.html || die |
150 |
} |
151 |
|
152 |
pkg_postinst() { |
153 |
python_mod_optimize ${PN} |
154 |
} |
155 |
|
156 |
pkg_postrm() { |
157 |
python_mod_cleanup ${PN} |
158 |
} |