diff options
author | Lukas Elsner <open@mindrunner.de> | 2013-05-15 13:40:19 +0200 |
---|---|---|
committer | Lukas Elsner <open@mindrunner.de> | 2013-05-15 13:40:19 +0200 |
commit | 3f35a21a33e90fc92390a56e855ea7539701616c (patch) | |
tree | ce559ad97c1e61f957068f9166679734cf13185f /net-misc | |
parent | version bump (diff) | |
download | luman-3f35a21a33e90fc92390a56e855ea7539701616c.tar.gz luman-3f35a21a33e90fc92390a56e855ea7539701616c.tar.bz2 luman-3f35a21a33e90fc92390a56e855ea7539701616c.zip |
..
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/wicd/Manifest | 2 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.9999-delay-daemon-connect.patch | 18 | ||||
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.9999-undefined-LANG.patch | 24 |
3 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/wicd/Manifest b/net-misc/wicd/Manifest index a2275ef..21e895b 100644 --- a/net-misc/wicd/Manifest +++ b/net-misc/wicd/Manifest @@ -1,3 +1,5 @@ +AUX wicd-1.7.9999-delay-daemon-connect.patch 470 SHA256 639895fd9b10536a82c26ed0862bea21267af6263b7af221c5d9b7adb41e6a1f SHA512 12a9aa64624d538d7a71b1a91e875d8761491bad9b81981071b44fc7e834e0aad3e07a5559d3b2515b798a333f57244ff520ef0b3debb0217269477ec70ee6ac WHIRLPOOL f05c0f8962360a99226559363b4eef7258691ba6aadf9d04df142b2fbbb25ce20debd96abaa4c743054f8e730e5d6b6b9ea0a576771c03945374cd0cce470b46 +AUX wicd-1.7.9999-undefined-LANG.patch 946 SHA256 747f5a0b87460148af67c37cb63c563dd0ec68b362a1853836515f4ccfed182e SHA512 c2d197d41a84975bb3caf44de9b05b741b6702c38079ecc917632f9eedcf2be71373416154013690620511f2e9e99fb0d88cee0b22292fe007795cde664e63e5 WHIRLPOOL 0b36b1d1cf4de2ec375f70e8bfbf7d453eb5104bd3aa1b0e4e2ade6b9e211f1d0759cdd7b78a356ce5ef2d8a4cf5017a2529e8f274b41408597d45315e171085 AUX wicd-1.7.9999_p875-delay-daemon-connect.patch 470 SHA256 639895fd9b10536a82c26ed0862bea21267af6263b7af221c5d9b7adb41e6a1f SHA512 12a9aa64624d538d7a71b1a91e875d8761491bad9b81981071b44fc7e834e0aad3e07a5559d3b2515b798a333f57244ff520ef0b3debb0217269477ec70ee6ac WHIRLPOOL f05c0f8962360a99226559363b4eef7258691ba6aadf9d04df142b2fbbb25ce20debd96abaa4c743054f8e730e5d6b6b9ea0a576771c03945374cd0cce470b46 AUX wicd-1.7.9999_p875-undefined-LANG.patch 946 SHA256 747f5a0b87460148af67c37cb63c563dd0ec68b362a1853836515f4ccfed182e SHA512 c2d197d41a84975bb3caf44de9b05b741b6702c38079ecc917632f9eedcf2be71373416154013690620511f2e9e99fb0d88cee0b22292fe007795cde664e63e5 WHIRLPOOL 0b36b1d1cf4de2ec375f70e8bfbf7d453eb5104bd3aa1b0e4e2ade6b9e211f1d0759cdd7b78a356ce5ef2d8a4cf5017a2529e8f274b41408597d45315e171085 AUX wicd-disable-autostart.patch 165 SHA256 00fb46bb62289e8501bace58fe045f955d1957606931e8c0cb07e1fcb0ad83da SHA512 ee74dac0ff379dfa668eaf8d41c5bb39086f442d2705c88c2357e5f712dcba5de29a29a6002a3536f00925b8ab0ce1996a33847d74a94d38df121465c9ff7bee WHIRLPOOL caba44f3c538daedb65cb8f4c6a66f8120c2577c6a13288059f01457bf4ce5a4230927babc7192d71c9b71f436669257f0d9b39107a5a4730ff4f218bf50554a diff --git a/net-misc/wicd/files/wicd-1.7.9999-delay-daemon-connect.patch b/net-misc/wicd/files/wicd-1.7.9999-delay-daemon-connect.patch new file mode 100644 index 0000000..6c4aa38 --- /dev/null +++ b/net-misc/wicd/files/wicd-1.7.9999-delay-daemon-connect.patch @@ -0,0 +1,18 @@ +--- ./gtk/wicd-client.py ++++ ./gtk/wicd-client.py +@@ -43,6 +43,7 @@ + import os + import pango + import atexit ++import time + from dbus import DBusException + + import pygtk +@@ -984,6 +985,7 @@ + print "Can't connect to the daemon, trying to start it " + \ + "automatically..." + misc.PromptToStartDaemon() ++ time.sleep( 0.5 ) + try: + dbusmanager.connect_to_dbus() + except DBusException: diff --git a/net-misc/wicd/files/wicd-1.7.9999-undefined-LANG.patch b/net-misc/wicd/files/wicd-1.7.9999-undefined-LANG.patch new file mode 100644 index 0000000..b854607 --- /dev/null +++ b/net-misc/wicd/files/wicd-1.7.9999-undefined-LANG.patch @@ -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" |