diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-17 06:37:12 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-17 06:37:12 +0800 |
commit | 29ea451e2ede84b78b5cad807652288703c543df (patch) | |
tree | 35d6631f003bff31d3ca44001b3e377ef46e2e60 /x11/gnome-shell/files/patch-src_gnome-shell.in | |
parent | cf7432c51b90a9ba4dc6f9c49bdf8248d1d6d86e (diff) | |
download | marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.tar marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.tar.gz marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.tar.bz2 marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.tar.lz marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.tar.xz marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.tar.zst marcuscom-ports-29ea451e2ede84b78b5cad807652288703c543df.zip |
Add gnome-shell
Submitted by: Pawel Worach <pawel.worach@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12653 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-shell/files/patch-src_gnome-shell.in')
-rw-r--r-- | x11/gnome-shell/files/patch-src_gnome-shell.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11/gnome-shell/files/patch-src_gnome-shell.in b/x11/gnome-shell/files/patch-src_gnome-shell.in new file mode 100644 index 000000000..166354703 --- /dev/null +++ b/x11/gnome-shell/files/patch-src_gnome-shell.in @@ -0,0 +1,33 @@ +--- src/gnome-shell.in.orig 2009-08-08 18:51:01.000000000 +0200 ++++ src/gnome-shell.in 2009-08-16 01:20:20.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import atexit + import optparse +@@ -27,7 +27,7 @@ def find_cmd (cmd_list): + raise SystemExit("None of the commands %s exist" % cmd_list) + + def pidof(command): +- pidof_cmd = find_cmd(["/sbin/pidof", "/bin/pidof", "/usr/bin/pidof"]) ++ pidof_cmd = find_cmd(["/bin/pgrep", "/sbin/pidof", "/bin/pidof", "/usr/bin/pidof"]) + pidof = subprocess.Popen([pidof_cmd, command], stdout=subprocess.PIPE) + pids = pidof.communicate()[0].split() + pidof.wait() +@@ -309,12 +309,12 @@ finally: + if metacity_pid: + if options.verbose: + print "Restarting Metacity" +- subprocess.Popen(["/usr/bin/metacity"]) ++ subprocess.Popen(["%%LOCALBASE%%/bin/metacity"]) + elif compiz_pid: + if options.verbose: + print "Restarting Compiz" +- subprocess.Popen(["/usr/bin/compiz"]) ++ subprocess.Popen(["%%LOCALBASE%%/bin/compiz"]) + if gnome_panel_dbus or gnome_panel_pid: + if options.verbose: + print "Restarting gnome-panel" +- subprocess.Popen(["/usr/bin/gnome-panel"]) ++ subprocess.Popen(["%%LOCALBASE%%/bin/gnome-panel"]) |