openbsd-ports/x11/openbox/patches/patch-data_autostart_sh_in

23 lines
999 B
Plaintext
Raw Normal View History

$OpenBSD: patch-data_autostart_sh_in,v 1.3 2010/05/02 09:10:56 benoit Exp $
--- data/autostart.sh.in.orig Sun Mar 14 15:40:37 2010
+++ data/autostart.sh.in Sat Apr 17 10:53:22 2010
@@ -17,13 +17,13 @@
test -z $BG || $BG -solid "#303030"
# D-bus
-if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
- eval `dbus-launch --sh-syntax --exit-with-session`
-fi
+#if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
+# eval `dbus-launch --sh-syntax --exit-with-session`
+#fi
2008-04-16 03:41:35 -04:00
# Make GTK apps look and behave how they were set up in the gnome config tools
-if test -x @libexecdir@/gnome-settings-daemon >/dev/null; then
- @libexecdir@/gnome-settings-daemon &
2008-04-16 03:41:35 -04:00
+if test -x !!LOCALBASE!!/libexec/gnome-settings-daemon >/dev/null; then
+ !!LOCALBASE!!/libexec/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null; then
gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools