summaryrefslogtreecommitdiff
path: root/recipes/scim/files/50_validate-desktop-entry.dpatch
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2010-01-17 17:09:48 +0100
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2010-01-17 18:57:40 +0100
commit2d3315393289290d009884649c2a76e41c3b7c87 (patch)
tree4203a150e213c99f6894d0180f5ed922e84aaee3 /recipes/scim/files/50_validate-desktop-entry.dpatch
parent08008989b6fbd7e6227f5f5b8425bac77c87b025 (diff)
scim: add a couple of patches from Ubuntu, Debian and Gentoo.
* all relevant patches have been pushed to and committed upstream only relevant patch for the next release will be the generic, OE-only "configure.patch"
Diffstat (limited to 'recipes/scim/files/50_validate-desktop-entry.dpatch')
-rw-r--r--recipes/scim/files/50_validate-desktop-entry.dpatch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/scim/files/50_validate-desktop-entry.dpatch b/recipes/scim/files/50_validate-desktop-entry.dpatch
new file mode 100644
index 0000000000..46a19cb0f1
--- /dev/null
+++ b/recipes/scim/files/50_validate-desktop-entry.dpatch
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_validate-desktop-entry.dpatch by Ming Hua <minghua-guest@users.alioth.debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+##
+## DP: Update to conform Desktop Entry Specification version 1.0. The "Icon"
+## DP: key uses a hardcoded path because scim-setup.desktop is generated
+## DP: without any variable substitution. Maybe it can use a name without
+## DP: path or extension instead, needs more investigation.
+
+@DPATCH@
+diff -urNad scim-1.4.7~/extras/setup/scim-setup.desktop.in scim-1.4.7/extras/setup/scim-setup.desktop.in
+--- scim-1.4.7~/extras/setup/scim-setup.desktop.in 2007-06-26 09:31:50.000000000 -0500
++++ scim-1.4.7/extras/setup/scim-setup.desktop.in 2008-01-28 09:33:48.000000000 -0600
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=SCIM Input Method Setup
+ _Comment=Setup utility for Smart Common Input Method platform
+ Exec=scim-setup
+-Icon=scim-setup.png
++Icon=scim-setup
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-Categories=Applications;Settings;
++Categories=Settings;
++NotShowIn=KDE;
++X-Ubuntu-Gettext-Domain=scim