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