You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path...

43 lines
1.5 KiB

diff -Naur usr.orig/bin/xplanetFX usr/bin/xplanetFX
--- usr.orig/bin/xplanetFX 2015-03-05 19:58:41.000000000 +0100
+++ usr/bin/xplanetFX 2015-03-16 14:28:28.235256123 +0100
@@ -115,7 +115,7 @@
WGETPROXY="-e use_proxy=on -e http_proxy="$PROXY
fi
-if which gsed; then
+if which gsed > /dev/null 2>&1; then
SEDEXE='gsed'
else
SEDEXE='sed'
diff -Naur usr.orig/share/xplanetFX/xplanetFX_gtk usr/share/xplanetFX/xplanetFX_gtk
--- usr.orig/share/xplanetFX/xplanetFX_gtk 2015-02-17 16:55:12.000000000 +0100
+++ usr/share/xplanetFX/xplanetFX_gtk 2015-03-16 14:28:53.147271051 +0100
@@ -44,10 +44,7 @@
gobject.threads_init()
-basedir = os.path.dirname(os.path.realpath(__file__))
-if not os.path.exists(os.path.join(basedir, "xplanetFX_gtk.py")):
- if os.path.exists(os.path.join(os.getcwd(), "xplanetFX_gtk.py")):
- basedir = os.getcwd()
+basedir = "/usr/share/xplanetFX"
sys.path.insert(0, basedir)
class GUI():
diff -Naur usr.orig/share/xplanetFX/xplanetFX_tray usr/share/xplanetFX/xplanetFX_tray
--- usr.orig/share/xplanetFX/xplanetFX_tray 2014-05-08 01:46:44.000000000 +0200
+++ usr/share/xplanetFX/xplanetFX_tray 2015-03-16 14:29:20.634287466 +0100
@@ -27,10 +27,7 @@
gobject.threads_init()
-basedir = os.path.dirname(os.path.realpath(__file__))
-if not os.path.exists(os.path.join(basedir, "xplanetFX_gtk.py")):
- if os.path.exists(os.path.join(os.getcwd(), "xplanetFX_gtk.py")):
- basedir = os.getcwd()
+basedir = "/usr/share/xplanetFX"
sys.path.insert(0, basedir)