Sato doesn't use the pcmanfm desktop, so hide the desktop preferences launcher.

Signed-off-by: Ross Burton <ross.bur...@intel.com>
---
 meta/recipes-sato/pcmanfm/files/no-desktop.patch |   15 +++++++++++++++
 meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb       |    3 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-sato/pcmanfm/files/no-desktop.patch

diff --git a/meta/recipes-sato/pcmanfm/files/no-desktop.patch 
b/meta/recipes-sato/pcmanfm/files/no-desktop.patch
new file mode 100644
index 0000000..cb4cae0
--- /dev/null
+++ b/meta/recipes-sato/pcmanfm/files/no-desktop.patch
@@ -0,0 +1,15 @@
+Disable the desktop preferences launcher as we don't use the pcmanfm desktop in
+Sato.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton <ross.bur...@intel.com>
+
+diff --git a/data/pcmanfm-desktop-pref.desktop 
b/data/pcmanfm-desktop-pref.desktop
+index ccf8abb..3f6fc1c 100644
+--- a/data/pcmanfm-desktop-pref.desktop
++++ b/data/pcmanfm-desktop-pref.desktop
+@@ -97,3 +97,4 @@ Exec=pcmanfm --desktop-pref
+ StartupNotify=true
+ Terminal=false
+ NotShowIn=GNOME;XFCE;KDE;
++NoDisplay=true
diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb 
b/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb
index bcfc9db..9a038fe 100644
--- a/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb
+++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.1.0.bb
@@ -20,7 +20,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz 
\
           file://gnome-fs-regular.png \
           file://gnome-mime-text-plain.png \
           file://emblem-symbolic-link.png \
-          file://cross-compile-fix.patch"
+          file://cross-compile-fix.patch \
+          file://no-desktop.patch"
 
 SRC_URI[md5sum] = "af0cff78690e658f3c06ceabf27bc71a"
 SRC_URI[sha256sum] = 
"1f6301f330ad648f3322708ec6c0f680a8695a9453932fe19653bab6731e5582"
-- 
1.7.10.4

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to