mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-30 01:33:34 +02:00
Save wicd ebuild for later
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
@@ -0,0 +1,39 @@
|
||||
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
|
||||
19
net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch
Normal file
19
net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- 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'))
|
||||
)
|
||||
24
net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch
Normal file
24
net-misc/wicd/files/wicd-1.7.3-undefined-LANG.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
15
net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch
Normal file
15
net-misc/wicd/files/wicd-1.7.3-urwid-1.3.0.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- 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)
|
||||
10
net-misc/wicd/files/wicd-init-sve-start.patch
Normal file
10
net-misc/wicd/files/wicd-init-sve-start.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user