After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 512011 - Desktop file has deprecated items...
Desktop file has deprecated items...
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.8.x
Other All
: Normal minor
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-01-25 10:46 UTC by Marco Rodrigues
Modified: 2008-08-29 12:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marco Rodrigues 2008-01-25 10:46:25 UTC
Please describe the problem:
gnumeric.desktop.in: warning: key "Encoding" in group "Desktop Entry" is deprecated

gnumeric.desktop.in: error: value "gnome-gnumeric.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path

Steps to reproduce:
$ desktop-file-validation gnumeric.desktop.in

Actual results:


Expected results:
Remove the deprecated items.

Does this happen every time?


Other information:
The Encoding is just remove the entry.
The Icon is just remove the extension (.png).
Comment 1 Andreas J. Guelzow 2008-01-25 16:23:23 UTC
One should not that the latest example desktop file in the freedesktop standard for desktop files given at http://standards.freedesktop.org/desktop-entry-spec/latest/apa.html
includes the .png extension for the icon file. So at a minimum there is an inconsistency in the specs for the desktop file that should be resolved first.
Comment 2 Morten Welinder 2008-01-25 16:49:40 UTC
1. Is anything actually broken now?

2. If we were to make these changes, would anything break?
Comment 3 Marco Rodrigues 2008-01-25 17:14:56 UTC
1. That I know, it won't break anything in short-period time.

2. It won't break, otherwise.. it will fix for most modern desktops (gnome/kde) like Ubuntu/Kubuntu.
Comment 4 J.H.M. Dassen (Ray) 2008-08-28 20:36:29 UTC
(In reply to comment #0)
> gnumeric.desktop.in: warning: key "Encoding" in group "Desktop Entry" is
> deprecated

This has been fixed in svn:
http://svn.gnome.org/viewvc/gnumeric?view=revision&revision=16744
and should be fixed in the next development release.

> gnumeric.desktop.in: error: value "gnome-gnumeric.png" for key "Icon" in
> group "Desktop Entry" is an icon name with an extension

This was fixed through
http://svn.gnome.org/viewvc/gnumeric?view=revision&revision=16600
and is fixed in the current development release, 1.9.1.

I believe this report can be marked as resolved.
Comment 5 Morten Welinder 2008-08-28 20:40:35 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 6 Marco Rodrigues 2008-08-28 22:19:33 UTC
Hi!

Another thing to fix.. "Encoding=UTF-8" should be replaced by "Version=1.0". It's deprecated too..

Thanks
Comment 7 J.H.M. Dassen (Ray) 2008-08-29 12:38:21 UTC
"Encoding" was removed already. I've now added "Version=1.0" and made some
other changes:
	http://svn.gnome.org/viewvc/gnumeric?view=revision&revision=16754
The resulting gnumeric.desktop file now validates without warnings, so this
report can be closed again.