From 3f1470845ac17168fa991fc2afee65e81b54c3f0 Mon Sep 17 00:00:00 2001 From: gryf Date: Sun, 6 Oct 2024 18:27:11 +0200 Subject: [PATCH] Removed unused wicd ebuild --- net-misc/wicd/Manifest | 7 - .../wicd-1.7.2.4-fix-desktop-categories.patch | 20 --- ....3-add-missing-gnome-shell-extension.patch | 39 ------ .../files/wicd-1.7.3-bitrate-property.patch | 19 --- .../files/wicd-1.7.3-undefined-LANG.patch | 24 ---- .../wicd/files/wicd-1.7.3-urwid-1.3.0.patch | 15 --- net-misc/wicd/files/wicd-init-sve-start.patch | 10 -- net-misc/wicd/wicd-9999.ebuild | 120 ------------------ 8 files changed, 254 deletions(-) delete mode 100644 net-misc/wicd/Manifest delete mode 100644 net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch delete mode 100644 net-misc/wicd/files/wicd-1.7.3-add-missing-gnome-shell-extension.patch delete mode 100644 net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch delete mode 100644 net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch delete mode 100644 net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch delete mode 100644 net-misc/wicd/files/wicd-init-sve-start.patch delete mode 100644 net-misc/wicd/wicd-9999.ebuild diff --git a/net-misc/wicd/Manifest b/net-misc/wicd/Manifest deleted file mode 100644 index 552531a..0000000 --- a/net-misc/wicd/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX wicd-1.7.2.4-fix-desktop-categories.patch 879 BLAKE2B a953dde95d641fb98510834d52d01321b9d5b7e9118be656421daa11cad459b85f32ddbe57eb66267826e45cd308bdde566f819ebc7e355dac58c88bc8fbd14a SHA512 f67dd4bbe84dd145e25718185b6c50e5b2a99e77787ca536d1cc1844b0ed70d1d3acff3f660d94299479bc4d4ce685ebb43f7afd7565682b05d99e14d657ed9e -AUX wicd-1.7.3-add-missing-gnome-shell-extension.patch 1695 BLAKE2B 225744c17cefea9d5f844991624f98df5467ea074ae5d498330c373baab1c94a650cd77972cf6276693e11fd78dcd1c05ccf5f20151debb28a5080dbc28aaabf SHA512 4a08360d192f040983e782a81f8a57b8407726531551f512f5ea8537c18c3abf8934a1c597e73945637e15c96ba0f26cfc63525d00981a7ab6897ef0ab4ed2e5 -AUX wicd-1.7.3-bitrate-property.patch 775 BLAKE2B d1897f86293f11ea3cab807500eb080294a4a2d6f3fc0bfabf75896355a2c9e69d2f235f4656e896b6420726f53d90ddcf214bb4171db4fb0e406718b2499444 SHA512 02a4e219b62b5ba36371aac75c89adf0e2c05d57d472ab39f7bca0f500140ff78cab94db292f793dc2398933d26c2e18e1c806940b339e120afbd617d83e67a8 -AUX wicd-1.7.3-undefined-LANG.patch 946 BLAKE2B 8f9cbebc5acb32d36c7335083f13e76ba46424bc0069d057770c94f7fbd64039c8d00d8323bd737ec39079554bb607723ca7ed3886da8bc1fdeaa59f63f545c1 SHA512 c2d197d41a84975bb3caf44de9b05b741b6702c38079ecc917632f9eedcf2be71373416154013690620511f2e9e99fb0d88cee0b22292fe007795cde664e63e5 -AUX wicd-1.7.3-urwid-1.3.0.patch 477 BLAKE2B b573ad0b47e1cf5ec0b78d0beff0c2791f5d918a59190afe48fc3f7cd1920c45e27818dcf88ece610d5187ee5ba5f2a014e290c625c0c586b5a78490879ed9fc SHA512 f5904e9fd082fb77d6b930285d6f1662d603d11c348068ec29820683aee319adf4ff0ddd28f7da80dc3c5b5834d9f9a0649d4077aed09d6c8ce8e24d8791d5c6 -AUX wicd-init-sve-start.patch 317 BLAKE2B 12fbe09fc6649b24b9f5c11dd867a8f1c5f88c39ea82381a4d5b063324493895963435ec1d874d7ce25783cdc4bf1f4eff3637a45ad407e073063ebe4e047782 SHA512 d62db40a156aa9e7b97b23b3ebceded77bcae18ae513c39b8e4ef8733c30429059a83f932c83b3cf0b90fd0aeeeadc6249a71498c569630df057037acf43f3fc -EBUILD wicd-9999.ebuild 3789 BLAKE2B a8a92ba74d7f641da2f24c9991a2b397457731008288564ed34feb24cf9c9b22da082b8eb0d852ce97ac11d5a18c1038c7640cc34e060db67432f0e8f30fc68f SHA512 99f930ce04daa420ee71bf96cf79cf6ee3dd17be1ce4e0af1ec2dc101cc29e9c343dad761878fdeb30d0ce09bf3a224c4e38b9839a9e23c3c276527ee6b8f737 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 deleted file mode 100644 index 0ccbd78..0000000 --- a/net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -U 3 -dHrN wicd-1.7.2.4.orig/other/wicd.desktop wicd-1.7.2.4/other/wicd.desktop ---- wicd-1.7.2.4.orig/other/wicd.desktop 2013-06-24 22:18:00.715578998 +0200 -+++ wicd-1.7.2.4/other/wicd.desktop 2013-06-24 22:18:57.672595363 +0200 -@@ -1,5 +1,5 @@ - [Desktop Entry] --Categories=Application;Network; -+Categories=Network;Settings;Utility;X-GNOME-NetworkSettings; - Exec=wicd-gtk --no-tray - GenericName=Network Manager - Icon=wicd-gtk -diff -U 3 -dHrN wicd-1.7.2.4.orig/other/wicd-tray.desktop wicd-1.7.2.4/other/wicd-tray.desktop ---- wicd-1.7.2.4.orig/other/wicd-tray.desktop 2013-06-24 22:18:00.715578998 +0200 -+++ wicd-1.7.2.4/other/wicd-tray.desktop 2013-06-24 22:18:59.864595996 +0200 -@@ -1,5 +1,5 @@ - [Desktop Entry] --Categories=Application;Network; -+Categories=Network;Settings;Utility;X-GNOME-NetworkSettings; - Exec=wicd-gtk --tray - GenericName=Network Manager - Icon=wicd-gtk 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 deleted file mode 100644 index 9ea419e..0000000 --- a/net-misc/wicd/files/wicd-1.7.3-add-missing-gnome-shell-extension.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -U 3 -dHrN wicd-1.7.3.orig/gnome-shell/extension.js wicd-1.7.3/gnome-shell/extension.js ---- wicd-1.7.3.orig/gnome-shell/extension.js 1970-01-01 01:00:00.000000000 +0100 -+++ wicd-1.7.3/gnome-shell/extension.js 2015-01-19 14:12:12.962333228 +0100 -@@ -0,0 +1,29 @@ -+/* -+ * Copyright © 2012, David Paleino -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License Version 2 as -+ * published by the Free Software Foundation. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program. If not, see . -+ * -+ */ -+ -+const StatusIconDispatcher = imports.ui.statusIconDispatcher; -+ -+function init(metadata) { -+} -+ -+function enable() { -+ StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['wicd-client.py'] = 'wicd-gtk'; -+} -+ -+function disable() { -+ StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['wicd-client.py'] = ''; -+} -diff -U 3 -dHrN wicd-1.7.3.orig/gnome-shell/metadata.json wicd-1.7.3/gnome-shell/metadata.json ---- wicd-1.7.3.orig/gnome-shell/metadata.json 1970-01-01 01:00:00.000000000 +0100 -+++ wicd-1.7.3/gnome-shell/metadata.json 2015-01-19 14:12:12.962333228 +0100 -@@ -0,0 +1 @@ -+{"shell-version": ["3.4.2"], "uuid": "wicd@code.hanskalabs.net", "name": "WICD Network Manager", "description": "Show status of WICD"} -\ No newline at end of file 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 deleted file mode 100644 index 855a293..0000000 --- a/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/curses/netentry_curses.py -+++ b/curses/netentry_curses.py -@@ -538,11 +538,12 @@ - self.bitrates = wireless.GetAvailableBitrates() - self.bitrates.append('auto') - self.bitrate_combo.set_list(self.bitrates) -- self.bitrate_combo.set_focus( -- self.bitrates.index( -- wireless.GetWirelessProperty(networkID, 'bitrate') -+ if wireless.GetWirelessProperty(networkID, 'bitrate'): -+ self.bitrate_combo.set_focus( -+ self.bitrates.index( -+ wireless.GetWirelessProperty(networkID, 'bitrate') -+ ) - ) -- ) - self.allow_lower_bitrates_chkbox.set_state( - to_bool(self.format_entry(networkID, 'allow_lower_bitrates')) - ) 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 deleted file mode 100644 index b854607..0000000 --- a/net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch +++ /dev/null @@ -1,24 +0,0 @@ -Fixes compilation errors when os.environ['LANG'] is undefiend ---- ./setup.py -+++ ./setup.py -@@ -621,7 +621,7 @@ class compile_translations(Command): - shutil.rmtree('translations/') - os.makedirs('translations') - -- oldlang = os.environ['LANG'] -+ oldlang = os.environ.get('LANG', None) - os.environ['LANG'] = 'C' - - for pofile in sorted(glob('po/*.po')): -@@ -656,7 +656,10 @@ class compile_translations(Command): - os.makedirs('translations/' + lang + '/LC_MESSAGES/') - os.system('pybabel compile -D wicd -i %s -l %s -d translations/' % (pofile, lang)) - -- os.environ['LANG'] = oldlang -+ if oldlang is not None: -+ os.environ['LANG'] = oldlang -+ else: -+ del os.environ['LANG'] - - class uninstall(Command): - description = "remove Wicd using uninstall.sh and install.log" 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 deleted file mode 100644 index d7f73dc..0000000 --- a/net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/curses/wicd-curses.py -+++ b/curses/wicd-curses.py -@@ -1153,9 +1153,10 @@ - if not ui._started: - return False - -- input_data = ui.get_input_nonblocking() -+ ui.set_input_timeouts(max_wait=0) -+ input_data = ui.get_input() - # Resolve any "alarms" in the waiting -- self.handle_keys(input_data[1]) -+ self.handle_keys(input_data) - - # Update the screen - canvas = self.frame.render((self.size), True) diff --git a/net-misc/wicd/files/wicd-init-sve-start.patch b/net-misc/wicd/files/wicd-init-sve-start.patch deleted file mode 100644 index c631492..0000000 --- a/net-misc/wicd/files/wicd-init-sve-start.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -U 3 -dHrN wicd-1.7.1b2.old/in/init=gentoo=wicd.in wicd-1.7.1b2/in/init=gentoo=wicd.in ---- wicd-1.7.1b2.old/in/init=gentoo=wicd.in 2011-05-07 20:52:13.000000000 +0200 -+++ wicd-1.7.1b2/in/init=gentoo=wicd.in 2011-05-07 20:52:43.000000000 +0200 -@@ -35,5 +35,5 @@ - - restart() { - force_kill -- start -+ sve_start - } diff --git a/net-misc/wicd/wicd-9999.ebuild b/net-misc/wicd/wicd-9999.ebuild deleted file mode 100644 index 8fd20bd..0000000 --- a/net-misc/wicd/wicd-9999.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# NOTE: WICD is still broken, although there was some work done with porting -# it to Python3 and make it work again. See https://git.launchpad.net/wicd for -# latest commits. - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -PYTHON_REQ_USE="ncurses,xml" - -inherit distutils-r1 linux-info readme.gentoo-r1 systemd git-r3 - -DISTUTILS_USE_PEP517=setuptools -DESCRIPTION="A lightweight wired and wireless network manager for Linux" -HOMEPAGE="https://launchpad.net/wicd" -EGIT_REPO_URI='https://git.launchpad.net/wicd' -#EGIT_COMMIT='63812468bec3ee94c2dd6c8268f9e7b341273be5' -#EGIT_REPO_URI='https://github.com/gryf/wicd' -#EGIT_REPO_URI='file:///home/gryf/Devel/Python/wicd' - -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" - -KEYWORDS="" -IUSE="doc nls +pm-utils" - -DEPEND="nls? ( dev-python/Babel[${PYTHON_USEDEP}] )" -RDEPEND="${PYTHON_DEPS} - dev-python/dbus-python[${PYTHON_USEDEP}] - || ( - net-misc/dhcpcd - net-misc/dhcp - net-misc/pump - ) - net-wireless/wireless-tools - net-wireless/wpa_supplicant - || ( - sys-apps/net-tools - sys-apps/ethtool - ) - dev-python/urwid[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - pm-utils? ( sys-power/pm-utils ) - " -PATCHES=( - # This one is probably not needed: "${FILESDIR}"/${PN}-init-sve-start.patch - # The Categories entry in the .desktop files is outdated. Valid. - "${FILESDIR}"/${PN}-1.7.2.4-fix-desktop-categories.patch - # Upstream bug https://bugs.launchpad.net/wicd/+bug/1412413 - # Creates files -> give -p - # This one is probably outdated now: "${FILESDIR}"/${PN}-1.7.3-add-missing-gnome-shell-extension.patch - # If LANG is undefined, build can fail (bug 537202) - # Outdated, setup.py is totally rewroten: "${FILESDIR}"/${PN}-1.7.3-undefined-LANG.patch - # Fix urwid compat again - # This one might be not needed, as currently urwid is in version 2.1.x: "${FILESDIR}"/${PN}-1.7.3-urwid-1.3.0.patch - # Another compatibility patch from launchpad bug 1075399. This one is - # valid. - "${FILESDIR}"/${PN}-1.7.3-bitrate-property.patch -) - -src_prepare() { - CONFIG_CHECK="~CFG80211_WEXT" - local WARNING_CFG80211_WEXT="Wireless extensions have not been \ - configured in your kernel. Wicd will not work unless CFG80211_WEXT is set." - check_extra_config - - default - - if use nls; then - # Asturian is faulty with PyBabel - # (https://bugs.launchpad.net/wicd/+bug/928589) - rm po/ast.po - # zh_CN fails with newer PyBabel (Aug 2013) - rm po/zh_CN.po - else - # nuke translations - rm po/*.po - fi - - DOC_CONTENTS="To start wicd at boot with openRC, add - /etc/init.d/wicd to a runlevel and: (1) Remove all net.* - initscripts (except for net.lo) from all runlevels (2) Add these - scripts to the RC_PLUG_SERVICES line in /etc/rc.conf (For - example, rc_hotplug=\"!net.eth* !net.wlan*\")" -} - -src_configure() { - local myconf - use pm-utils || myconf="${myconf} --no-install-pmutils" - python_setup - "${EPYTHON}" ./setup.py configure --no-install-docs \ - --resume=/usr/share/wicd/scripts/ \ - --suspend=/usr/share/wicd/scripts/ \ - --verbose ${myconf} -} - -src_install() { - distutils-r1_src_install - keepdir /var/lib/wicd/configurations - keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} - keepdir /var/log/wicd - use nls || rm -rv "${D}"/usr/share/locale - systemd_dounit "${S}/data/systemd/wicd.service" - - readme.gentoo_create_doc -} - -pkg_postinst() { - # Maintainer's note: the consolekit use flag short circuits a dbus rule and - # allows the connection. Else, you need to be in the group. - if ! has_version sys-auth/consolekit; then - ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If" - ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf" - fi - - readme.gentoo_print_elog -}