diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
commit | deba8115d2c2af26df42966b91ef04ff4dd79cde (patch) | |
tree | 9a48f42594e1a9e6b2020d5535a784314434d7a7 /net-misc/wicd | |
parent | 38423c67c8a23f6a1bc42038193182e2da3116eb (diff) |
gentoo resync : 14.05.2020
Diffstat (limited to 'net-misc/wicd')
-rw-r--r-- | net-misc/wicd/Manifest | 11 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.2.4-fix-desktop-categories.patch | 20 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.3-add-missing-gnome-shell-extension.patch | 39 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch | 19 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch | 24 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch | 15 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-init-sve-start.patch | 10 | ||||
-rw-r--r-- | net-misc/wicd/metadata.xml | 20 | ||||
-rw-r--r-- | net-misc/wicd/wicd-1.7.4-r3.ebuild | 153 |
9 files changed, 0 insertions, 311 deletions
diff --git a/net-misc/wicd/Manifest b/net-misc/wicd/Manifest deleted file mode 100644 index aad1a9921557..000000000000 --- a/net-misc/wicd/Manifest +++ /dev/null @@ -1,11 +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 -DIST Icone-Wicd-Lucid.tar.gz 9015 BLAKE2B 20c55968fe2be08a6dc5e2b3584f9c4294c69a988789bcaad80bed02daf0cc971344578eac7a69208fabb0c5faefb47891dec0977d04d7bcfcb24c9ba7394385 SHA512 0df0dbdf05b462264dca2dd9955454a82f688b0fbfa7c2ad70a424df57eb27b35561d37819fc88b5746cff8a54de5b7b43ec325d2f98a4a1a30e4d500e86d2f8 -DIST wicd-1.7.4.tar.gz 547393 BLAKE2B 045073781eb81a29754a238c0fded5d3225727497ea24c6cea58a1c72b83da76af6fc40a8e7345652c2dc9eb68ed24e0d97e421fd8c9e4d909a2c8f9460881ea SHA512 1e99a45daa858eba634e60e50c22aa2fab3fc4d643979a6741b6164bf500bd6db285d11c12ccd164ab6cf0792284e319e3c3447804088e74b4fc67bb6f431959 -DIST wicd-mac4lin-icons.tar.xz 53136 BLAKE2B 5064546c2aebda92ce168847f2821ff11653939c21667f7f48263d3be0a9100dffa1322b9b2842cb92a2ca50dec39114b1246b057663ede8708db17271f16af3 SHA512 98ed3f92ec361aa8651c64efdb5128b8f73068f1cf2423640dafc4b46889ae32c1d1f56f509ad609b2bf98f634f8ada4c501f2294e3a64affd1befd4400498a8 -EBUILD wicd-1.7.4-r3.ebuild 5063 BLAKE2B 64b0a6b00f68c554b240bfff6572e766d9ea88928896c68dccbcaac37d1bd56328ea032e6a6f4f554400bb301ed8362c735772540751edbbfedd2d2b4a51c2ca SHA512 defa56dc408a9175a0ca806c66056ed97d3972910284887a177e0dc312ec70b434b8b7ecbaf10cdac29b825796b2ca064892925b0f24f0dbd6a1e0e3485c9b7e -MISC metadata.xml 913 BLAKE2B 8e18aa7554e1bafb89f90f6fa27bfbfedf76d3cc63929311d2ad4c87cd13869dcc2cc90c126c9ef61ebba5ff765e59656a5516cb410fb365beaa97dc47d54e11 SHA512 2cc53e7e0f14169b88d26324b071b2078012cc57bd9ddae0b14f18efbe2d1bc1ef0b66122c178b0e3019a48bec2ba87fc09186b4d8a96e8e7d8e51a997c09d69 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 0ccbd7833b23..000000000000 --- 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 9ea419eb4e71..000000000000 --- 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 <d.paleino@gmail.com> -+ * -+ * 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 <http://www.gnu.org/licenses/>. -+ * -+ */ -+ -+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 855a2939b5de..000000000000 --- 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 b854607d9583..000000000000 --- 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 d7f73dca8d59..000000000000 --- 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 c6314920d74a..000000000000 --- 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/metadata.xml b/net-misc/wicd/metadata.xml deleted file mode 100644 index 8fa97712dc59..000000000000 --- a/net-misc/wicd/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="ambiance">Install icons from Ubuntu's ambiance theme</flag> - <flag name="gtk">Installs a gtk UI. This is enabled by default because it is - intended behavior. Requires <pkg>dev-python/pygtk</pkg></flag> - <flag name="ioctl">Installs additional python libraries to use as a backend. - This will improve speed but is experimental.</flag> - <flag name="mac4lin">Change default icons to mac4lin icon set</flag> - <flag name="ncurses">Installs a ncurses UI</flag> - <flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and - requires <pkg>sys-power/pm-utils</pkg></flag> - <flag name="gnome-shell">Install gnome-shell extension</flag> - </use> - <upstream> - <remote-id type="launchpad">wicd</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-misc/wicd/wicd-1.7.4-r3.ebuild b/net-misc/wicd/wicd-1.7.4-r3.ebuild deleted file mode 100644 index 02aec4da7736..000000000000 --- a/net-misc/wicd/wicd-1.7.4-r3.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="ncurses?,xml" - -inherit eutils distutils-r1 linux-info readme.gentoo-r1 systemd - -DESCRIPTION="A lightweight wired and wireless network manager for Linux" -HOMEPAGE="https://launchpad.net/wicd" -SRC_URI="https://launchpad.net/wicd/1.7/${PV}/+download/${P}.tar.gz - mac4lin? ( https://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz ) - ambiance? ( http://freetimesblog.altervista.org/blog/wp-content/uploads/downloads/2010/05/Icone-Wicd-Lucid.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86" -IUSE="doc X ambiance +gtk ioctl libnotify mac4lin ncurses nls +pm-utils gnome-shell" - -DEPEND="nls? ( dev-python/Babel[${PYTHON_USEDEP}] )" -RDEPEND="${PYTHON_DEPS} - dev-python/dbus-python[${PYTHON_USEDEP}] - X? ( - gtk? ( dev-python/pygtk[${PYTHON_USEDEP}] ) - || ( - x11-misc/ktsuss - kde-plasma/kde-cli-tools[kdesu] - ) - ) - || ( - net-misc/dhcpcd - net-misc/dhcp - net-misc/pump - ) - net-wireless/wireless-tools - net-wireless/wpa_supplicant - || ( - sys-apps/net-tools - sys-apps/ethtool - ) - !gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] ) - ioctl? ( dev-python/python-iwscan[${PYTHON_USEDEP}] - dev-python/python-wpactrl[${PYTHON_USEDEP}] ) - libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] ) - ncurses? ( - dev-python/urwid[${PYTHON_USEDEP}] - dev-python/pygobject:2[${PYTHON_USEDEP}] - ) - pm-utils? ( sys-power/pm-utils ) - gnome-shell? ( gnome-base/gnome-shell ) - || ( - >=sys-apps/util-linux-2.31_rc1 - net-wireless/rfkill - ) - " -PATCHES=( - "${FILESDIR}"/${PN}-init-sve-start.patch - # The Categories entry in the .desktop files is outdated - "${FILESDIR}"/${PN}-1.7.2.4-fix-desktop-categories.patch - # Upstream bug https://bugs.launchpad.net/wicd/+bug/1412413 - # Creates files -> give -p - "${FILESDIR}"/${PN}-1.7.3-add-missing-gnome-shell-extension.patch - # If LANG is undefined, build can fail (bug 537202) - "${FILESDIR}"/${PN}-1.7.3-undefined-LANG.patch - # Fix urwid compat again - "${FILESDIR}"/${PN}-1.7.3-urwid-1.3.0.patch - # Another compatibility patch from launchpad bug 1075399 - "${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 - - # get rid of opts variable to fix bug 381885 - sed -i "/opts/d" "in/init=gentoo=wicd.in" || die - # Need to ensure that generated scripts use Python 2 at run time. - sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \ - -i setup.py || die "sed failed" - # Fix misc helper scripts: - sed -e "s:/usr/bin/env python:/usr/bin/env python2:" \ - -i wicd/suspend.py wicd/autoconnect.py wicd/monitor.py || die - # fix shebang for openrc init script (bug #573846) - sed 's@/sbin/runscript@/sbin/openrc-run@' \ - -i in/init=gentoo=wicd.in || die - 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 gtk || myconf="${myconf} --no-install-gtk" - use libnotify || myconf="${myconf} --no-use-notifications" - use ncurses || myconf="${myconf} --no-install-ncurses" - use pm-utils || myconf="${myconf} --no-install-pmutils" - use gnome-shell || myconf="${myconf} --no-install-gnome-shell-extensions" - 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}/other/wicd.service" - - if use mac4lin; then - rm -rf "${D}"/usr/share/pixmaps/wicd || die "Failed to remove old icons" - mv "${WORKDIR}"/wicd "${D}"/usr/share/pixmaps/ || die - fi - if use ambiance; then - # Overwrite tray icons with ambiance icon - rm "${WORKDIR}/Icone Wicd Lucid"/signal* || die - cp "${WORKDIR}/Icone Wicd Lucid"/*.png "${D}"/usr/share/pixmaps/wicd/ || die - fi - 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 -} |