1 |
commit: 6ec6cf8f2b5d80b8be41a92d892797ec8fd28aef |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 13 11:05:05 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 13 11:05:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec6cf8f |
7 |
|
8 |
net-im/gajim: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
net-im/gajim/Manifest | 2 - |
14 |
...01-Add-config-option-to-activate-XEP-0146.patch | 45 -------- |
15 |
net-im/gajim/gajim-0.16.6-r1.ebuild | 126 --------------------- |
16 |
net-im/gajim/gajim-0.16.9.ebuild | 125 -------------------- |
17 |
net-im/gajim/metadata.xml | 5 - |
18 |
5 files changed, 303 deletions(-) |
19 |
|
20 |
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest |
21 |
index 8055cbb9a9d..471c77bebd0 100644 |
22 |
--- a/net-im/gajim/Manifest |
23 |
+++ b/net-im/gajim/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST gajim-0.16.6.tar.bz2 4564505 BLAKE2B 0446d826afc782ceba4fe67d6c7173d60264ec1b5a227f0da62285ea1d083143b4895e4472c2df499de419f9a34c59d9afa1ac2348052defb100438782a3df46 SHA512 6c8c2a38429468a1e6f02aae730ff947c649960e8cc672457c1e1733ab2dad6534b1e5ac2e1c0c385e331a6ba817c6e67c1a27443632b9fd43e7ab76ad66c935 |
26 |
-DIST gajim-0.16.9.tar.bz2 4469275 BLAKE2B 451f09cde9d177932429b9ece900e09c58ac43b5f97cd64cf70e75d13f2261ab52ee35e02e8680c83a5d81d7574bca561532dd1327f1109b0cc872956b1a05f7 SHA512 d8ddae3826bbcd4458b016b3cf6b0472b41db4b9026b300b058d9cef403195e38423ff950fcbf6fed0cdbbb485a274905a9a5945028c4cbb24d1a38c72bf4cbb |
27 |
DIST gajim-1.0.3.tar.bz2 5964743 BLAKE2B af4bf2206a962eb68c4df09359fa3a0ccaca1e886d4fad67d9839f5fd4c1fd359c7ee7933d39d8c1ae7dcbde6b72548fef3564a467653064d4d37aa1db234c04 SHA512 a6d7f92a22a9dddc8a4b07eda0aae0b6fb4db57c73133ee19937f7e2a2a82c5351051d1f3627c94a44434276ed001b83d375f708f177962125af66cda8579ec8 |
28 |
|
29 |
diff --git a/net-im/gajim/files/0.16.6-0001-Add-config-option-to-activate-XEP-0146.patch b/net-im/gajim/files/0.16.6-0001-Add-config-option-to-activate-XEP-0146.patch |
30 |
deleted file mode 100644 |
31 |
index 046c72c0ca2..00000000000 |
32 |
--- a/net-im/gajim/files/0.16.6-0001-Add-config-option-to-activate-XEP-0146.patch |
33 |
+++ /dev/null |
34 |
@@ -1,45 +0,0 @@ |
35 |
-From 285392b27db7cb01b0566b4bda3920e6559b75e4 Mon Sep 17 00:00:00 2001 |
36 |
-From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <forenjunkie@××××××.at> |
37 |
-Date: Fri, 26 May 2017 23:10:05 +0200 |
38 |
-Subject: [PATCH] Add config option to activate XEP-0146 commands |
39 |
- |
40 |
-Some of the Commands have security implications, thats why we disable them per default |
41 |
-Fixes #8378 |
42 |
---- |
43 |
- src/common/commands.py | 7 ++++--- |
44 |
- src/common/config.py | 1 + |
45 |
- 2 files changed, 5 insertions(+), 3 deletions(-) |
46 |
- |
47 |
-diff --git a/src/common/commands.py b/src/common/commands.py |
48 |
-index 40d700710..46d6947f8 100644 |
49 |
---- a/src/common/commands.py |
50 |
-+++ b/src/common/commands.py |
51 |
-@@ -345,9 +345,10 @@ class ConnectionCommands: |
52 |
- def __init__(self): |
53 |
- # a list of all commands exposed: node -> command class |
54 |
- self.__commands = {} |
55 |
-- for cmdobj in (ChangeStatusCommand, ForwardMessagesCommand, |
56 |
-- LeaveGroupchatsCommand, FwdMsgThenDisconnectCommand): |
57 |
-- self.__commands[cmdobj.commandnode] = cmdobj |
58 |
-+ if gajim.config.get('remote_commands'): |
59 |
-+ for cmdobj in (ChangeStatusCommand, ForwardMessagesCommand, |
60 |
-+ LeaveGroupchatsCommand, FwdMsgThenDisconnectCommand): |
61 |
-+ self.__commands[cmdobj.commandnode] = cmdobj |
62 |
- |
63 |
- # a list of sessions; keys are tuples (jid, sessionid, node) |
64 |
- self.__sessions = {} |
65 |
-diff --git a/src/common/config.py b/src/common/config.py |
66 |
-index 3884d9e1d..7c1313fc4 100644 |
67 |
---- a/src/common/config.py |
68 |
-+++ b/src/common/config.py |
69 |
-@@ -313,6 +313,7 @@ class Config: |
70 |
- 'ignore_incoming_attention': [opt_bool, False, _('If True, Gajim will ignore incoming attention requestd ("wizz").')], |
71 |
- 'remember_opened_chat_controls': [ opt_bool, True, _('If enabled, Gajim will reopen chat windows that were opened last time Gajim was closed.')], |
72 |
- 'positive_184_ack': [ opt_bool, False, _('If enabled, Gajim will show an icon to show that sent message has been received by your contact')], |
73 |
-+ 'remote_commands': [opt_bool, False, _('If True, Gajim will execute XEP-0146 Commands.')], |
74 |
- }, {}) |
75 |
- |
76 |
- __options_per_key = { |
77 |
--- |
78 |
-2.12.2 |
79 |
- |
80 |
|
81 |
diff --git a/net-im/gajim/gajim-0.16.6-r1.ebuild b/net-im/gajim/gajim-0.16.6-r1.ebuild |
82 |
deleted file mode 100644 |
83 |
index f8bda52c421..00000000000 |
84 |
--- a/net-im/gajim/gajim-0.16.6-r1.ebuild |
85 |
+++ /dev/null |
86 |
@@ -1,126 +0,0 @@ |
87 |
-# Copyright 1999-2018 Gentoo Authors |
88 |
-# Distributed under the terms of the GNU General Public License v2 |
89 |
- |
90 |
-EAPI=5 |
91 |
- |
92 |
-PYTHON_COMPAT=( python2_7 ) |
93 |
-PYTHON_REQ_USE="sqlite,xml" |
94 |
- |
95 |
-AUTOTOOLS_AUTORECONF=true |
96 |
- |
97 |
-inherit autotools-utils python-r1 versionator |
98 |
- |
99 |
-MY_PV=${PV/_/-} |
100 |
-MY_P="${PN}-${MY_PV}" |
101 |
- |
102 |
-DESCRIPTION="Jabber client written in PyGTK" |
103 |
-HOMEPAGE="https://www.gajim.org/" |
104 |
-SRC_URI=" |
105 |
- https://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" |
106 |
-# test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )" |
107 |
- |
108 |
-LICENSE="GPL-3" |
109 |
-SLOT="0" |
110 |
-KEYWORDS="amd64 x86 ~x86-fbsd" |
111 |
-IUSE="crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml zeroconf" |
112 |
- |
113 |
-REQUIRED_USE=" |
114 |
- ${PYTHON_REQUIRED_USE} |
115 |
- libnotify? ( dbus ) |
116 |
- gnome? ( gnome-keyring ) |
117 |
- zeroconf? ( dbus )" |
118 |
- |
119 |
-COMMON_DEPEND=" |
120 |
- ${PYTHON_DEPS} |
121 |
- dev-python/pygtk:2[${PYTHON_USEDEP}] |
122 |
- x11-libs/gtk+:2" |
123 |
-DEPEND="${COMMON_DEPEND} |
124 |
- >=dev-util/intltool-0.40.1 |
125 |
- virtual/pkgconfig |
126 |
- >=sys-devel/gettext-0.17-r1" |
127 |
-RDEPEND="${COMMON_DEPEND} |
128 |
- dev-python/pyasn1[${PYTHON_USEDEP}] |
129 |
- >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] |
130 |
- !>=dev-python/pyopenssl-17.4.0[${PYTHON_USEDEP}] |
131 |
- >=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}] |
132 |
- crypt? ( |
133 |
- app-crypt/gnupg |
134 |
- dev-python/pycrypto[${PYTHON_USEDEP}] |
135 |
- ) |
136 |
- dbus? ( |
137 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
138 |
- dev-libs/dbus-glib |
139 |
- libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] ) |
140 |
- zeroconf? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] ) |
141 |
- ) |
142 |
- gnome? ( |
143 |
- dev-python/libgnome-python[${PYTHON_USEDEP}] |
144 |
- dev-python/egg-python[${PYTHON_USEDEP}] |
145 |
- ) |
146 |
- gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] ) |
147 |
- idle? ( x11-libs/libXScrnSaver ) |
148 |
- jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] ) |
149 |
- kde? ( kde-apps/kwalletmanager ) |
150 |
- networkmanager? ( |
151 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
152 |
- net-misc/networkmanager |
153 |
- ) |
154 |
- spell? ( app-text/gtkspell:2 ) |
155 |
- srv? ( |
156 |
- || ( |
157 |
- dev-python/libasyncns-python[${PYTHON_USEDEP}] |
158 |
- net-dns/bind-tools |
159 |
- ) |
160 |
- ) |
161 |
- xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )" |
162 |
- |
163 |
-RESTRICT="test" |
164 |
- |
165 |
-PATCHES=( |
166 |
- "${FILESDIR}/${PV}-0001-Add-config-option-to-activate-XEP-0146.patch" ) |
167 |
- |
168 |
-S="${WORKDIR}"/${MY_P} |
169 |
- |
170 |
-src_prepare() { |
171 |
- autotools-utils_src_prepare |
172 |
- python_copy_sources |
173 |
-} |
174 |
- |
175 |
-src_configure() { |
176 |
- configuration() { |
177 |
- local myeconfargs=( |
178 |
- $(use_enable nls) |
179 |
- $(use_with X x) |
180 |
- --docdir="/usr/share/doc/${PF}" |
181 |
- --libdir="$(python_get_sitedir)" |
182 |
- --enable-site-packages |
183 |
- ) |
184 |
- run_in_build_dir autotools-utils_src_configure |
185 |
- } |
186 |
- python_foreach_impl configuration |
187 |
-} |
188 |
- |
189 |
-src_compile() { |
190 |
- compilation() { |
191 |
- run_in_build_dir autotools-utils_src_compile |
192 |
- } |
193 |
- python_foreach_impl compilation |
194 |
-} |
195 |
- |
196 |
-src_test() { |
197 |
- testing() { |
198 |
- run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die |
199 |
- } |
200 |
- python_foreach_impl testing |
201 |
-} |
202 |
- |
203 |
-src_install() { |
204 |
- installation() { |
205 |
- run_in_build_dir autotools-utils_src_install |
206 |
- python_optimize |
207 |
- } |
208 |
- python_foreach_impl installation |
209 |
- |
210 |
- rm "${ED}/usr/share/doc/${PF}/README.html" || die |
211 |
- dohtml README.html |
212 |
-} |
213 |
|
214 |
diff --git a/net-im/gajim/gajim-0.16.9.ebuild b/net-im/gajim/gajim-0.16.9.ebuild |
215 |
deleted file mode 100644 |
216 |
index 2285e709078..00000000000 |
217 |
--- a/net-im/gajim/gajim-0.16.9.ebuild |
218 |
+++ /dev/null |
219 |
@@ -1,125 +0,0 @@ |
220 |
-# Copyright 1999-2018 Gentoo Authors |
221 |
-# Distributed under the terms of the GNU General Public License v2 |
222 |
- |
223 |
-EAPI=5 |
224 |
- |
225 |
-PYTHON_COMPAT=( python2_7 ) |
226 |
-PYTHON_REQ_USE="sqlite,xml" |
227 |
- |
228 |
-AUTOTOOLS_AUTORECONF=true |
229 |
- |
230 |
-inherit autotools-utils gnome2-utils python-r1 versionator xdg-utils |
231 |
- |
232 |
-MY_PV=${PV/_/-} |
233 |
-MY_P="${PN}-${MY_PV}" |
234 |
- |
235 |
-DESCRIPTION="Jabber client written in PyGTK" |
236 |
-HOMEPAGE="https://www.gajim.org/" |
237 |
-SRC_URI=" |
238 |
- https://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" |
239 |
-# test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )" |
240 |
- |
241 |
-LICENSE="GPL-3" |
242 |
-SLOT="0" |
243 |
-KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
244 |
-IUSE="crypt dbus gnome gnome-keyring idle jingle libnotify networkmanager nls spell +srv test X xhtml zeroconf" |
245 |
- |
246 |
-REQUIRED_USE=" |
247 |
- ${PYTHON_REQUIRED_USE} |
248 |
- libnotify? ( dbus ) |
249 |
- gnome? ( gnome-keyring ) |
250 |
- zeroconf? ( dbus )" |
251 |
- |
252 |
-COMMON_DEPEND=" |
253 |
- ${PYTHON_DEPS} |
254 |
- dev-python/pygtk:2[${PYTHON_USEDEP}] |
255 |
- x11-libs/gtk+:2" |
256 |
-DEPEND="${COMMON_DEPEND} |
257 |
- >=dev-util/intltool-0.40.1 |
258 |
- virtual/pkgconfig |
259 |
- >=sys-devel/gettext-0.17-r1" |
260 |
-RDEPEND="${COMMON_DEPEND} |
261 |
- dev-python/pyasn1[${PYTHON_USEDEP}] |
262 |
- >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] |
263 |
- >=dev-python/python-nbxmpp-0.6.1[${PYTHON_USEDEP}] |
264 |
- crypt? ( >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] ) |
265 |
- dbus? ( |
266 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
267 |
- dev-libs/dbus-glib |
268 |
- libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] ) |
269 |
- zeroconf? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] ) |
270 |
- ) |
271 |
- gnome? ( |
272 |
- dev-python/libgnome-python[${PYTHON_USEDEP}] |
273 |
- dev-python/egg-python[${PYTHON_USEDEP}] |
274 |
- ) |
275 |
- gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] ) |
276 |
- idle? ( x11-libs/libXScrnSaver ) |
277 |
- jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] ) |
278 |
- networkmanager? ( |
279 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
280 |
- net-misc/networkmanager |
281 |
- ) |
282 |
- spell? ( app-text/gtkspell:2 ) |
283 |
- srv? ( |
284 |
- || ( |
285 |
- dev-python/libasyncns-python[${PYTHON_USEDEP}] |
286 |
- net-dns/bind-tools |
287 |
- ) |
288 |
- ) |
289 |
- xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )" |
290 |
- |
291 |
-RESTRICT="test" |
292 |
- |
293 |
-S="${WORKDIR}"/${MY_P} |
294 |
- |
295 |
-src_prepare() { |
296 |
- autotools-utils_src_prepare |
297 |
- python_copy_sources |
298 |
-} |
299 |
- |
300 |
-src_configure() { |
301 |
- configuration() { |
302 |
- local myeconfargs=( |
303 |
- $(use_enable nls) |
304 |
- $(use_with X x) |
305 |
- --docdir="/usr/share/doc/${PF}" |
306 |
- --libdir="$(python_get_sitedir)" |
307 |
- --enable-site-packages |
308 |
- ) |
309 |
- run_in_build_dir autotools-utils_src_configure |
310 |
- } |
311 |
- python_foreach_impl configuration |
312 |
-} |
313 |
- |
314 |
-src_compile() { |
315 |
- compilation() { |
316 |
- run_in_build_dir autotools-utils_src_compile |
317 |
- } |
318 |
- python_foreach_impl compilation |
319 |
-} |
320 |
- |
321 |
-src_test() { |
322 |
- testing() { |
323 |
- run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die |
324 |
- } |
325 |
- python_foreach_impl testing |
326 |
-} |
327 |
- |
328 |
-src_install() { |
329 |
- installation() { |
330 |
- run_in_build_dir autotools-utils_src_install |
331 |
- python_optimize |
332 |
- } |
333 |
- python_foreach_impl installation |
334 |
-} |
335 |
- |
336 |
-pkg_postinst() { |
337 |
- gnome2_icon_cache_update |
338 |
- xdg_desktop_database_update |
339 |
-} |
340 |
- |
341 |
-pkg_postrm() { |
342 |
- gnome2_icon_cache_update |
343 |
- xdg_desktop_database_update |
344 |
-} |
345 |
|
346 |
diff --git a/net-im/gajim/metadata.xml b/net-im/gajim/metadata.xml |
347 |
index 007a414c6fa..67b5f800350 100644 |
348 |
--- a/net-im/gajim/metadata.xml |
349 |
+++ b/net-im/gajim/metadata.xml |
350 |
@@ -18,10 +18,5 @@ |
351 |
<flag name="spell">Spellchecking of composed messages</flag> |
352 |
<flag name="upnp">Ability to request your router to forward port for file transfer</flag> |
353 |
<flag name="webp">Support WebP avatars</flag> |
354 |
- <flag name="zeroconf">Serverless chatting with autodetected clients in a local network</flag> |
355 |
- |
356 |
- <flag name="idle">Enable idle module</flag> |
357 |
- <flag name="srv">SRV capabilities</flag> |
358 |
- <flag name="xhtml">Enable XHTML support</flag> |
359 |
</use> |
360 |
</pkgmetadata> |