Package: hardinfo 
Version: 0.4.2.3-1
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

Shirish Agarwal found that the desktop file provided by debian is
invalid:
$ desktop-file-validate hardinfo-0.4.2.3/debian/hardinfo.desktop 
hardinfo-0.4.2.3/debian/hardinfo.desktop: warning: key "Encoding" in
group "Desktop Entry" is deprecated
hardinfo-0.4.2.3/debian/hardinfo.desktop: error: value
"HardwareSettings" for key "Type" in group "Desktop Entry" is not a
registered type value ("Application", "Link" and "Directory")
hardinfo-0.4.2.3/debian/hardinfo.desktop: error: value
"Settings;HardwareSettings" for string list key "Categories" in group
"Desktop Entry" does not have a semicolon (';') as trailing character

I've attached a patch which fixes this issue.

Thank you,
Kjell
diff -u hardinfo-0.4.2.3/debian/hardinfo.desktop hardinfo-0.4.2.3/debian/hardinfo.desktop
--- hardinfo-0.4.2.3/debian/hardinfo.desktop
+++ hardinfo-0.4.2.3/debian/hardinfo.desktop
@@ -2,9 +2,8 @@
-Encoding=UTF-8
 Name=System Profiler and Benchmark
 Name[pt_BR]=Informações e Testes do Sistema
 Exec=/usr/bin/hardinfo
 Icon=/usr/share/hardinfo/pixmaps/logo.png
 Terminal=false
-Type=HardwareSettings
+Type=Application
 StartupNotify=true
-Categories=Settings;HardwareSettings
+Categories=Settings;HardwareSettings;

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to