aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/scim/files/50_validate-desktop-entry.dpatch
blob: 46a19cb0f139de443591c626a385939f2b59a22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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