Gentoo Archives: gentoo-commits

From: "Peter Weller (welp)" <welp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/gajim: ChangeLog gajim-0.11.2-r1.ebuild
Date: Tue, 23 Oct 2007 10:45:51
Message-Id: E1IkHGb-0003a2-Sn@stork.gentoo.org
1 welp 07/10/23 10:45:45
2
3 Modified: ChangeLog
4 Added: gajim-0.11.2-r1.ebuild
5 Log:
6 Revbump to RDEPEND on pyopenssl
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.57 net-im/gajim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 10 Oct 2007 06:19:38 -0000 1.56
23 +++ ChangeLog 23 Oct 2007 10:45:45 -0000 1.57
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-im/gajim
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.56 2007/10/10 06:19:38 welp Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.57 2007/10/23 10:45:45 welp Exp $
29 +
30 +*gajim-0.11.2-r1 (23 Oct 2007)
31 +
32 + 23 Oct 2007; <welp@g.o> +gajim-0.11.2-r1.ebuild:
33 + Revbump to RDEPEND on pyopenssl due to potential security concerns related
34 + to python's ssl implementation
35
36 *gajim-0.11.2 (10 Oct 2007)
37
38
39
40
41 1.1 net-im/gajim/gajim-0.11.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.11.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.11.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gajim-0.11.2-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.11.2-r1.ebuild,v 1.1 2007/10/23 10:45:45 welp Exp $
51
52 inherit multilib python eutils
53
54 DESCRIPTION="Jabber client written in PyGTK"
55 HOMEPAGE="http://www.gajim.org/"
56 SRC_URI="http://www.gajim.org/downloads/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
61 IUSE="avahi dbus gnome idle libnotify nls spell srv trayicon X xhtml"
62
63 DEPEND="|| (
64 ( <dev-lang/python-2.5 dev-python/pysqlite )
65 >=dev-lang/python-2.5
66 )
67 dev-python/pygtk
68 sys-devel/gettext
69 dev-util/intltool
70 dev-util/pkgconfig"
71
72 RDEPEND="gnome? ( dev-python/gnome-python-extras
73 dev-python/gnome-python-desktop
74 )
75 dbus? ( dev-python/dbus-python dev-libs/dbus-glib )
76 libnotify? ( x11-libs/libnotify )
77 xhtml? ( dev-python/docutils )
78 srv? ( net-dns/bind-tools )
79 idle? ( x11-libs/libXScrnSaver )
80 spell? ( app-text/gtkspell )
81 avahi? ( net-dns/avahi )
82 dev-python/pyopenssl"
83
84 pkg_setup() {
85 if ! use dbus; then
86 if use libnotify; then
87 eerror "The dbus USE flag is required for libnotify support"
88 die "USE=\"dbus\" needed for libnotify support"
89 fi
90 if use avahi; then
91 eerror "The dbus USE flag is required for avahi support"
92 die "USE=\"dbus\" needed for avahi support"
93 fi
94 else
95 if has_version "<sys-apps/dbus-0.90" && ! built_with_use sys-apps/dbus python; then
96 eerror "Please rebuild dbus with USE=\"python\""
97 die "USE=\"python\" needed for dbus"
98 fi
99 fi
100
101 if use avahi; then
102 if ! built_with_use net-dns/avahi dbus gtk python; then
103 eerror "The following USE flags are required for correct avahi"
104 eerror "support: dbus gtk python"
105 die "Please rebuild avahi with these use flags enabled."
106 fi
107 fi
108
109 if has_version ">=dev-lang/python-2.5" && ! built_with_use dev-lang/python sqlite; then
110 eerror "Please rebuild python with USE=\"sqlite\""
111 die "USE=\"sqlite\" needed for python"
112 fi
113 }
114
115 src_compile() {
116 local myconf
117
118 if ! use gnome; then
119 myconf="${myconf} $(use_enable trayicon)"
120 myconf="${myconf} $(use_enable idle)"
121 fi
122
123 econf $(use_enable nls) \
124 $(use_enable spell gtkspell) \
125 $(use_enable dbus remote) \
126 $(use_with X x) \
127 --docdir="/usr/share/doc/${PF}" \
128 --prefix="/usr" \
129 --libdir="/usr/$(get_libdir)" \
130 ${myconf} || die "econf failed"
131
132 emake || die "emake failed"
133 }
134
135 src_install() {
136 emake DESTDIR="${D}" install || die "emake install failed"
137
138 rm "${D}/usr/share/doc/${PF}/README.html"
139 dohtml README.html
140 }
141
142 pkg_postinst() {
143 python_mod_optimize /usr/share/gajim/
144 }
145
146 pkg_postrm() {
147 python_mod_cleanup /usr/share/gajim/
148 }
149
150
151
152 --
153 gentoo-commits@g.o mailing list