diff options
author | markd <markd@pkgsrc.org> | 2013-03-17 19:56:43 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2013-03-17 19:56:43 +0000 |
commit | d1ee446700b698a79385658f878d20d31c39df3b (patch) | |
tree | b510d5de82f9d216abc32a1a50329a8f55f82c4b /misc/xdg-utils/patches/patch-scripts_xdg-mime | |
parent | 4cd3bb019b7d6c02318b58773d9f1ca86ba55197 (diff) | |
download | pkgsrc-d1ee446700b698a79385658f878d20d31c39df3b.tar.gz |
Update to version 1.1.0rc1 (from 2010)
adds support for kde4 and lxde.
Diffstat (limited to 'misc/xdg-utils/patches/patch-scripts_xdg-mime')
-rw-r--r-- | misc/xdg-utils/patches/patch-scripts_xdg-mime | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/xdg-utils/patches/patch-scripts_xdg-mime b/misc/xdg-utils/patches/patch-scripts_xdg-mime new file mode 100644 index 00000000000..a3453521398 --- /dev/null +++ b/misc/xdg-utils/patches/patch-scripts_xdg-mime @@ -0,0 +1,13 @@ +$NetBSD: patch-scripts_xdg-mime,v 1.1 2013/03/17 19:56:43 markd Exp $ + +--- scripts/xdg-mime.orig 2011-01-01 10:03:14.000000000 +0000 ++++ scripts/xdg-mime +@@ -430,7 +430,7 @@ detectDE() + elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; + elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; + elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; +- elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde; ++ elif [ x"$DESKTOP_SESSION" = x"LXDE" ]; then DE=lxde; + else DE="" + fi + } |