about summary refs log tree commit diff
path: root/pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2012-06-18 15:37:35 +0000
committerVladimír Čunát <vcunat@gmail.com>2012-06-18 15:37:35 +0000
commit1a33b4b654903ec597fcdb743e649466bc563304 (patch)
tree7102a1590b686191e73d3c1347ae9a9b41ed6d1f /pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch
parentfc496faab07e16558ebb13aab9d931bb01f8fe87 (diff)
downloadnixlib-1a33b4b654903ec597fcdb743e649466bc563304.tar
nixlib-1a33b4b654903ec597fcdb743e649466bc563304.tar.gz
nixlib-1a33b4b654903ec597fcdb743e649466bc563304.tar.bz2
nixlib-1a33b4b654903ec597fcdb743e649466bc563304.tar.lz
nixlib-1a33b4b654903ec597fcdb743e649466bc563304.tar.xz
nixlib-1a33b4b654903ec597fcdb743e649466bc563304.tar.zst
nixlib-1a33b4b654903ec597fcdb743e649466bc563304.zip
Fixing stardict broken by my mistake.
svn path=/nixpkgs/trunk/; revision=34549
Diffstat (limited to 'pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch')
-rw-r--r--pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch b/pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch
new file mode 100644
index 000000000000..38182b0c8e0b
--- /dev/null
+++ b/pkgs/applications/misc/stardict/stardict-3.0.3-entry.patch
@@ -0,0 +1,20 @@
+warning: key "Encoding" in group "Desktop Entry" is deprecated
+error: value "stardict.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension
+error: value "Dictionary" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Office;TextTools
+
+--- dict/data/stardict.desktop.in
++++ dict/data/stardict.desktop.in
+@@ -1,11 +1,10 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=StarDict
+ _Comment=Lookup words
+ Exec=stardict
+ Terminal=false
+ Type=Application
+-Icon=stardict.png
++Icon=stardict
+ StartupNotify=true
+-Categories=Utility;Dictionary;
++Categories=Utility;Office;TextTools;Dictionary;
+ X-GNOME-DocPath=stardict/stardict.xml