Package: gnome-chess
Version: 0.4.0-1
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy
Tags: patch

When trying to validate the desktop file with desktop-file-validate,
the result is:

Paquets/gnome-chess/gnome-chess-0.4.0.orig/gnome-chess.desktop:
warning: key "Encoding" in group "Desktop Entry" is deprecated
Paquets/gnome-chess/gnome-chess-0.4.0.orig/gnome-chess.desktop:
warning: value "GNOME;Application;Game;BoardGame;" for key
"Categories" in group "Desktop Entry" contains a deprecated value
"Application"

The first error is solved by a patch in the debian package, the second
is still here.

I'm attaching an updated patch which solves this.

Thanks.
diff -urN gnome-chess-0.4.0.orig/gnome-chess.desktop gnome-chess-0.4.0/gnome-chess.desktop
--- gnome-chess-0.4.0.orig/gnome-chess.desktop  2006-11-03 07:43:24.000000000 +0100
+++ gnome-chess-0.4.0/gnome-chess.desktop       2008-02-07 11:07:18.000000000 +0100
@@ -1,5 +1,4 @@
 [Desktop Entry]
-Encoding=UTF-8
 Name=Chess
 Name[az]=Şahmat
 Name[cs]=Å achy
@@ -47,7 +46,7 @@
 Icon=gnome-chess.png
 Terminal=false
 Type=Application
-Categories=GNOME;Application;Game;BoardGame;
+Categories=GNOME;Game;BoardGame;
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-chess
 X-GNOME-Bugzilla-Component=General

diff -urN gnome-chess-0.4.0.orig/gnome-chess.desktop.in gnome-chess-0.4.0/gnome-chess.desktop.in
--- gnome-chess-0.4.0.orig/gnome-chess.desktop.in       2003-08-22 00:26:16.000000000 +0200
+++ gnome-chess-0.4.0/gnome-chess.desktop.in    2008-02-07 11:07:36.000000000 +0100
@@ -1,12 +1,11 @@
 [Desktop Entry]
-Encoding=UTF-8
 _Name=Chess
 _Comment=Play Chess
 Exec=gnome-chess
 Icon=gnome-chess.png
 Terminal=false
 Type=Application
-Categories=GNOME;Application;Game;BoardGame;
+Categories=GNOME;Game;BoardGame;
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=gnome-chess
 X-GNOME-Bugzilla-Component=General
_______________________________________________
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel

Reply via email to