Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wicd/, profiles/, net-misc/wicd/files/
Date: Tue, 05 May 2020 07:24:24
Message-Id: 1588663443.76cd886dac168af05cacd5f6d6aae790583fce27.juippis@gentoo
1 commit: 76cd886dac168af05cacd5f6d6aae790583fce27
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 5 07:18:38 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue May 5 07:24:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76cd886d
7
8 net-misc/wicd: remove package
9
10 Closes: https://bugs.gentoo.org/708316
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 net-misc/wicd/Manifest | 3 -
14 .../wicd-1.7.2.4-fix-desktop-categories.patch | 20 ---
15 ...d-1.7.3-add-missing-gnome-shell-extension.patch | 39 ------
16 .../wicd/files/wicd-1.7.3-bitrate-property.patch | 19 ---
17 .../wicd/files/wicd-1.7.3-undefined-LANG.patch | 24 ----
18 net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch | 15 --
19 net-misc/wicd/files/wicd-init-sve-start.patch | 10 --
20 net-misc/wicd/metadata.xml | 20 ---
21 net-misc/wicd/wicd-1.7.4-r3.ebuild | 153 ---------------------
22 profiles/package.mask | 9 --
23 10 files changed, 312 deletions(-)
24
25 diff --git a/net-misc/wicd/Manifest b/net-misc/wicd/Manifest
26 deleted file mode 100644
27 index b74a6e9c1df..00000000000
28 --- a/net-misc/wicd/Manifest
29 +++ /dev/null
30 @@ -1,3 +0,0 @@
31 -DIST Icone-Wicd-Lucid.tar.gz 9015 BLAKE2B 20c55968fe2be08a6dc5e2b3584f9c4294c69a988789bcaad80bed02daf0cc971344578eac7a69208fabb0c5faefb47891dec0977d04d7bcfcb24c9ba7394385 SHA512 0df0dbdf05b462264dca2dd9955454a82f688b0fbfa7c2ad70a424df57eb27b35561d37819fc88b5746cff8a54de5b7b43ec325d2f98a4a1a30e4d500e86d2f8
32 -DIST wicd-1.7.4.tar.gz 547393 BLAKE2B 045073781eb81a29754a238c0fded5d3225727497ea24c6cea58a1c72b83da76af6fc40a8e7345652c2dc9eb68ed24e0d97e421fd8c9e4d909a2c8f9460881ea SHA512 1e99a45daa858eba634e60e50c22aa2fab3fc4d643979a6741b6164bf500bd6db285d11c12ccd164ab6cf0792284e319e3c3447804088e74b4fc67bb6f431959
33 -DIST wicd-mac4lin-icons.tar.xz 53136 BLAKE2B 5064546c2aebda92ce168847f2821ff11653939c21667f7f48263d3be0a9100dffa1322b9b2842cb92a2ca50dec39114b1246b057663ede8708db17271f16af3 SHA512 98ed3f92ec361aa8651c64efdb5128b8f73068f1cf2423640dafc4b46889ae32c1d1f56f509ad609b2bf98f634f8ada4c501f2294e3a64affd1befd4400498a8
34
35 diff --git a/net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch b/net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch
36 deleted file mode 100644
37 index 0ccbd7833b2..00000000000
38 --- a/net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch
39 +++ /dev/null
40 @@ -1,20 +0,0 @@
41 -diff -U 3 -dHrN wicd-1.7.2.4.orig/other/wicd.desktop wicd-1.7.2.4/other/wicd.desktop
42 ---- wicd-1.7.2.4.orig/other/wicd.desktop 2013-06-24 22:18:00.715578998 +0200
43 -+++ wicd-1.7.2.4/other/wicd.desktop 2013-06-24 22:18:57.672595363 +0200
44 -@@ -1,5 +1,5 @@
45 - [Desktop Entry]
46 --Categories=Application;Network;
47 -+Categories=Network;Settings;Utility;X-GNOME-NetworkSettings;
48 - Exec=wicd-gtk --no-tray
49 - GenericName=Network Manager
50 - Icon=wicd-gtk
51 -diff -U 3 -dHrN wicd-1.7.2.4.orig/other/wicd-tray.desktop wicd-1.7.2.4/other/wicd-tray.desktop
52 ---- wicd-1.7.2.4.orig/other/wicd-tray.desktop 2013-06-24 22:18:00.715578998 +0200
53 -+++ wicd-1.7.2.4/other/wicd-tray.desktop 2013-06-24 22:18:59.864595996 +0200
54 -@@ -1,5 +1,5 @@
55 - [Desktop Entry]
56 --Categories=Application;Network;
57 -+Categories=Network;Settings;Utility;X-GNOME-NetworkSettings;
58 - Exec=wicd-gtk --tray
59 - GenericName=Network Manager
60 - Icon=wicd-gtk
61
62 diff --git a/net-misc/wicd/files/wicd-1.7.3-add-missing-gnome-shell-extension.patch b/net-misc/wicd/files/wicd-1.7.3-add-missing-gnome-shell-extension.patch
63 deleted file mode 100644
64 index 9ea419eb4e7..00000000000
65 --- a/net-misc/wicd/files/wicd-1.7.3-add-missing-gnome-shell-extension.patch
66 +++ /dev/null
67 @@ -1,39 +0,0 @@
68 -diff -U 3 -dHrN wicd-1.7.3.orig/gnome-shell/extension.js wicd-1.7.3/gnome-shell/extension.js
69 ---- wicd-1.7.3.orig/gnome-shell/extension.js 1970-01-01 01:00:00.000000000 +0100
70 -+++ wicd-1.7.3/gnome-shell/extension.js 2015-01-19 14:12:12.962333228 +0100
71 -@@ -0,0 +1,29 @@
72 -+/*
73 -+ * Copyright © 2012, David Paleino <d.paleino@×××××.com>
74 -+ *
75 -+ * This program is free software; you can redistribute it and/or modify
76 -+ * it under the terms of the GNU General Public License Version 2 as
77 -+ * published by the Free Software Foundation.
78 -+ *
79 -+ * This program is distributed in the hope that it will be useful,
80 -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
81 -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82 -+ * GNU General Public License for more details.
83 -+ *
84 -+ * You should have received a copy of the GNU General Public License
85 -+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
86 -+ *
87 -+ */
88 -+
89 -+const StatusIconDispatcher = imports.ui.statusIconDispatcher;
90 -+
91 -+function init(metadata) {
92 -+}
93 -+
94 -+function enable() {
95 -+ StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['wicd-client.py'] = 'wicd-gtk';
96 -+}
97 -+
98 -+function disable() {
99 -+ StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['wicd-client.py'] = '';
100 -+}
101 -diff -U 3 -dHrN wicd-1.7.3.orig/gnome-shell/metadata.json wicd-1.7.3/gnome-shell/metadata.json
102 ---- wicd-1.7.3.orig/gnome-shell/metadata.json 1970-01-01 01:00:00.000000000 +0100
103 -+++ wicd-1.7.3/gnome-shell/metadata.json 2015-01-19 14:12:12.962333228 +0100
104 -@@ -0,0 +1 @@
105 -+{"shell-version": ["3.4.2"], "uuid": "wicd@×××××××××××××××.net", "name": "WICD Network Manager", "description": "Show status of WICD"}
106 -\ No newline at end of file
107
108 diff --git a/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch b/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch
109 deleted file mode 100644
110 index 855a2939b5d..00000000000
111 --- a/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch
112 +++ /dev/null
113 @@ -1,19 +0,0 @@
114 ---- a/curses/netentry_curses.py
115 -+++ b/curses/netentry_curses.py
116 -@@ -538,11 +538,12 @@
117 - self.bitrates = wireless.GetAvailableBitrates()
118 - self.bitrates.append('auto')
119 - self.bitrate_combo.set_list(self.bitrates)
120 -- self.bitrate_combo.set_focus(
121 -- self.bitrates.index(
122 -- wireless.GetWirelessProperty(networkID, 'bitrate')
123 -+ if wireless.GetWirelessProperty(networkID, 'bitrate'):
124 -+ self.bitrate_combo.set_focus(
125 -+ self.bitrates.index(
126 -+ wireless.GetWirelessProperty(networkID, 'bitrate')
127 -+ )
128 - )
129 -- )
130 - self.allow_lower_bitrates_chkbox.set_state(
131 - to_bool(self.format_entry(networkID, 'allow_lower_bitrates'))
132 - )
133
134 diff --git a/net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch b/net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch
135 deleted file mode 100644
136 index b854607d958..00000000000
137 --- a/net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch
138 +++ /dev/null
139 @@ -1,24 +0,0 @@
140 -Fixes compilation errors when os.environ['LANG'] is undefiend
141 ---- ./setup.py
142 -+++ ./setup.py
143 -@@ -621,7 +621,7 @@ class compile_translations(Command):
144 - shutil.rmtree('translations/')
145 - os.makedirs('translations')
146 -
147 -- oldlang = os.environ['LANG']
148 -+ oldlang = os.environ.get('LANG', None)
149 - os.environ['LANG'] = 'C'
150 -
151 - for pofile in sorted(glob('po/*.po')):
152 -@@ -656,7 +656,10 @@ class compile_translations(Command):
153 - os.makedirs('translations/' + lang + '/LC_MESSAGES/')
154 - os.system('pybabel compile -D wicd -i %s -l %s -d translations/' % (pofile, lang))
155 -
156 -- os.environ['LANG'] = oldlang
157 -+ if oldlang is not None:
158 -+ os.environ['LANG'] = oldlang
159 -+ else:
160 -+ del os.environ['LANG']
161 -
162 - class uninstall(Command):
163 - description = "remove Wicd using uninstall.sh and install.log"
164
165 diff --git a/net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch b/net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch
166 deleted file mode 100644
167 index d7f73dca8d5..00000000000
168 --- a/net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch
169 +++ /dev/null
170 @@ -1,15 +0,0 @@
171 ---- a/curses/wicd-curses.py
172 -+++ b/curses/wicd-curses.py
173 -@@ -1153,9 +1153,10 @@
174 - if not ui._started:
175 - return False
176 -
177 -- input_data = ui.get_input_nonblocking()
178 -+ ui.set_input_timeouts(max_wait=0)
179 -+ input_data = ui.get_input()
180 - # Resolve any "alarms" in the waiting
181 -- self.handle_keys(input_data[1])
182 -+ self.handle_keys(input_data)
183 -
184 - # Update the screen
185 - canvas = self.frame.render((self.size), True)
186
187 diff --git a/net-misc/wicd/files/wicd-init-sve-start.patch b/net-misc/wicd/files/wicd-init-sve-start.patch
188 deleted file mode 100644
189 index c6314920d74..00000000000
190 --- a/net-misc/wicd/files/wicd-init-sve-start.patch
191 +++ /dev/null
192 @@ -1,10 +0,0 @@
193 -diff -U 3 -dHrN wicd-1.7.1b2.old/in/init=gentoo=wicd.in wicd-1.7.1b2/in/init=gentoo=wicd.in
194 ---- wicd-1.7.1b2.old/in/init=gentoo=wicd.in 2011-05-07 20:52:13.000000000 +0200
195 -+++ wicd-1.7.1b2/in/init=gentoo=wicd.in 2011-05-07 20:52:43.000000000 +0200
196 -@@ -35,5 +35,5 @@
197 -
198 - restart() {
199 - force_kill
200 -- start
201 -+ sve_start
202 - }
203
204 diff --git a/net-misc/wicd/metadata.xml b/net-misc/wicd/metadata.xml
205 deleted file mode 100644
206 index 8fa97712dc5..00000000000
207 --- a/net-misc/wicd/metadata.xml
208 +++ /dev/null
209 @@ -1,20 +0,0 @@
210 -<?xml version="1.0" encoding="UTF-8"?>
211 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
212 -<pkgmetadata>
213 - <!-- maintainer-needed -->
214 - <use>
215 - <flag name="ambiance">Install icons from Ubuntu's ambiance theme</flag>
216 - <flag name="gtk">Installs a gtk UI. This is enabled by default because it is
217 - intended behavior. Requires <pkg>dev-python/pygtk</pkg></flag>
218 - <flag name="ioctl">Installs additional python libraries to use as a backend.
219 - This will improve speed but is experimental.</flag>
220 - <flag name="mac4lin">Change default icons to mac4lin icon set</flag>
221 - <flag name="ncurses">Installs a ncurses UI</flag>
222 - <flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
223 - requires <pkg>sys-power/pm-utils</pkg></flag>
224 - <flag name="gnome-shell">Install gnome-shell extension</flag>
225 - </use>
226 - <upstream>
227 - <remote-id type="launchpad">wicd</remote-id>
228 - </upstream>
229 -</pkgmetadata>
230
231 diff --git a/net-misc/wicd/wicd-1.7.4-r3.ebuild b/net-misc/wicd/wicd-1.7.4-r3.ebuild
232 deleted file mode 100644
233 index 02aec4da773..00000000000
234 --- a/net-misc/wicd/wicd-1.7.4-r3.ebuild
235 +++ /dev/null
236 @@ -1,153 +0,0 @@
237 -# Copyright 1999-2019 Gentoo Authors
238 -# Distributed under the terms of the GNU General Public License v2
239 -
240 -EAPI=6
241 -
242 -PYTHON_COMPAT=( python2_7 )
243 -PYTHON_REQ_USE="ncurses?,xml"
244 -
245 -inherit eutils distutils-r1 linux-info readme.gentoo-r1 systemd
246 -
247 -DESCRIPTION="A lightweight wired and wireless network manager for Linux"
248 -HOMEPAGE="https://launchpad.net/wicd"
249 -SRC_URI="https://launchpad.net/wicd/1.7/${PV}/+download/${P}.tar.gz
250 - mac4lin? ( https://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz )
251 - ambiance? ( http://freetimesblog.altervista.org/blog/wp-content/uploads/downloads/2010/05/Icone-Wicd-Lucid.tar.gz )"
252 -
253 -LICENSE="GPL-2"
254 -SLOT="0"
255 -KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86"
256 -IUSE="doc X ambiance +gtk ioctl libnotify mac4lin ncurses nls +pm-utils gnome-shell"
257 -
258 -DEPEND="nls? ( dev-python/Babel[${PYTHON_USEDEP}] )"
259 -RDEPEND="${PYTHON_DEPS}
260 - dev-python/dbus-python[${PYTHON_USEDEP}]
261 - X? (
262 - gtk? ( dev-python/pygtk[${PYTHON_USEDEP}] )
263 - || (
264 - x11-misc/ktsuss
265 - kde-plasma/kde-cli-tools[kdesu]
266 - )
267 - )
268 - || (
269 - net-misc/dhcpcd
270 - net-misc/dhcp
271 - net-misc/pump
272 - )
273 - net-wireless/wireless-tools
274 - net-wireless/wpa_supplicant
275 - || (
276 - sys-apps/net-tools
277 - sys-apps/ethtool
278 - )
279 - !gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] )
280 - ioctl? ( dev-python/python-iwscan[${PYTHON_USEDEP}]
281 - dev-python/python-wpactrl[${PYTHON_USEDEP}] )
282 - libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
283 - ncurses? (
284 - dev-python/urwid[${PYTHON_USEDEP}]
285 - dev-python/pygobject:2[${PYTHON_USEDEP}]
286 - )
287 - pm-utils? ( sys-power/pm-utils )
288 - gnome-shell? ( gnome-base/gnome-shell )
289 - || (
290 - >=sys-apps/util-linux-2.31_rc1
291 - net-wireless/rfkill
292 - )
293 - "
294 -PATCHES=(
295 - "${FILESDIR}"/${PN}-init-sve-start.patch
296 - # The Categories entry in the .desktop files is outdated
297 - "${FILESDIR}"/${PN}-1.7.2.4-fix-desktop-categories.patch
298 - # Upstream bug https://bugs.launchpad.net/wicd/+bug/1412413
299 - # Creates files -> give -p
300 - "${FILESDIR}"/${PN}-1.7.3-add-missing-gnome-shell-extension.patch
301 - # If LANG is undefined, build can fail (bug 537202)
302 - "${FILESDIR}"/${PN}-1.7.3-undefined-LANG.patch
303 - # Fix urwid compat again
304 - "${FILESDIR}"/${PN}-1.7.3-urwid-1.3.0.patch
305 - # Another compatibility patch from launchpad bug 1075399
306 - "${FILESDIR}"/${PN}-1.7.3-bitrate-property.patch
307 -)
308 -
309 -src_prepare() {
310 - CONFIG_CHECK="~CFG80211_WEXT"
311 - local WARNING_CFG80211_WEXT="Wireless extensions have not been \
312 - configured in your kernel. Wicd will not work unless CFG80211_WEXT is set."
313 - check_extra_config
314 -
315 - default
316 -
317 - # get rid of opts variable to fix bug 381885
318 - sed -i "/opts/d" "in/init=gentoo=wicd.in" || die
319 - # Need to ensure that generated scripts use Python 2 at run time.
320 - sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \
321 - -i setup.py || die "sed failed"
322 - # Fix misc helper scripts:
323 - sed -e "s:/usr/bin/env python:/usr/bin/env python2:" \
324 - -i wicd/suspend.py wicd/autoconnect.py wicd/monitor.py || die
325 - # fix shebang for openrc init script (bug #573846)
326 - sed 's@/sbin/runscript@/sbin/openrc-run@' \
327 - -i in/init=gentoo=wicd.in || die
328 - if use nls; then
329 - # Asturian is faulty with PyBabel
330 - # (https://bugs.launchpad.net/wicd/+bug/928589)
331 - rm po/ast.po
332 - # zh_CN fails with newer PyBabel (Aug 2013)
333 - rm po/zh_CN.po
334 - else
335 - # nuke translations
336 - rm po/*.po
337 - fi
338 -
339 - DOC_CONTENTS="To start wicd at boot with openRC, add
340 - /etc/init.d/wicd to a runlevel and: (1) Remove all net.*
341 - initscripts (except for net.lo) from all runlevels (2) Add these
342 - scripts to the RC_PLUG_SERVICES line in /etc/rc.conf (For
343 - example, rc_hotplug=\"!net.eth* !net.wlan*\")"
344 -}
345 -
346 -src_configure() {
347 - local myconf
348 - use gtk || myconf="${myconf} --no-install-gtk"
349 - use libnotify || myconf="${myconf} --no-use-notifications"
350 - use ncurses || myconf="${myconf} --no-install-ncurses"
351 - use pm-utils || myconf="${myconf} --no-install-pmutils"
352 - use gnome-shell || myconf="${myconf} --no-install-gnome-shell-extensions"
353 - python_setup
354 - "${EPYTHON}" ./setup.py configure --no-install-docs \
355 - --resume=/usr/share/wicd/scripts/ \
356 - --suspend=/usr/share/wicd/scripts/ \
357 - --verbose ${myconf}
358 -}
359 -
360 -src_install() {
361 - distutils-r1_src_install
362 - keepdir /var/lib/wicd/configurations
363 - keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect}
364 - keepdir /var/log/wicd
365 - use nls || rm -rv "${D}"/usr/share/locale
366 - systemd_dounit "${S}/other/wicd.service"
367 -
368 - if use mac4lin; then
369 - rm -rf "${D}"/usr/share/pixmaps/wicd || die "Failed to remove old icons"
370 - mv "${WORKDIR}"/wicd "${D}"/usr/share/pixmaps/ || die
371 - fi
372 - if use ambiance; then
373 - # Overwrite tray icons with ambiance icon
374 - rm "${WORKDIR}/Icone Wicd Lucid"/signal* || die
375 - cp "${WORKDIR}/Icone Wicd Lucid"/*.png "${D}"/usr/share/pixmaps/wicd/ || die
376 - fi
377 - readme.gentoo_create_doc
378 -}
379 -
380 -pkg_postinst() {
381 - # Maintainer's note: the consolekit use flag short circuits a dbus rule and
382 - # allows the connection. Else, you need to be in the group.
383 - if ! has_version sys-auth/consolekit; then
384 - ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
385 - ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
386 - fi
387 -
388 - readme.gentoo_print_elog
389 -}
390
391 diff --git a/profiles/package.mask b/profiles/package.mask
392 index 7e341e8262e..dd489cb26ea 100644
393 --- a/profiles/package.mask
394 +++ b/profiles/package.mask
395 @@ -876,15 +876,6 @@ net-misc/gnome-remote-desktop
396 # Mask until sys-libs/libxcrypt[system] is unmasked
397 >=virtual/libcrypt-2
398
399 -# Joonas Niilola <juippis@g.o> (2020-02-05)
400 -# Stagnant upstream with latest release from 2016, python2-only, no maintainer
401 -# in Gentoo, no notable ebuild action in years, multiple bugs open. Blocks
402 -# pygtk removal.
403 -# Switch to alternatives such as,
404 -# net-misc/connman, net-misc/dhcpcd, net-misc/netifrc, net-misc/NetworkManager
405 -# and so on. Removal in ~90 days. #708316
406 -net-misc/wicd
407 -
408 # Mart Raudsepp <leio@g.o> (2020-02-03)
409 # Known breakages that need to be handled first, bug 698922
410 >=x11-libs/pango-1.43