! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfburn.desktop doesn't validate properly
Status:
RESOLVED: FIXED

Comments

Description Christoph Wickert editbugs 2010-09-09 09:01:45 CEST
$ desktop-file-validate xfburn-0.4.3/xfburn.desktop
xfburn-0.4.3/xfburn.desktop: error: value "application/x-cd-image" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character
xfburn-0.4.3/xfburn.desktop: error: (will be fatal in the future): value "Archiving" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Utility


$ diff -u xfburn.desktop.in.orig xfburn.desktop.in
--- xfburn.desktop.in.orig	2010-09-09 10:44:23.000000000 +0200
+++ xfburn.desktop.in	2010-09-09 10:55:35.000000000 +0200
@@ -6,9 +6,9 @@
 Exec=xfburn
 TryExec=xfburn
 Icon=media-cdrom
-MimeType=application/x-cd-image
+MimeType=application/x-cd-image;
 Terminal=false
-Categories=X-XFCE;GTK;DiscBurning;Archiving;AudioVideo;
+Categories=X-XFCE;GTK;AudioVideo;DiscBurning;Utility;Archiving;
 StartupNotify=true
 
 Actions=BurnImage;
Comment 1 Christoph Wickert editbugs 2010-09-09 09:35:36 CEST
I forgot to mention that this happens with desktop-file-utils 0.16.
Comment 2 Samuli Suominen 2011-05-20 06:47:17 CEST
*** Bug 6918 has been marked as a duplicate of this bug. ***
Comment 3 Samuli Suominen 2011-05-20 06:49:35 CEST
Bug 7374 is related and should be handled at the same time with this one.
Comment 4 Samuli Suominen 2012-03-10 11:03:18 CET
Created attachment 4252 
Gentoo patch for the .desktop entry problems

This is what we carry in Gentoo for the issues
Comment 5 David Mohr 2012-04-15 23:57:50 CEST
Fixored, and thanks for reporting.

commit 2ddcfbc7e770b95240299fa700ea3139bb74f6bb
Author: David Mohr <david@mcbf.net>
Date:   Sun Apr 15 15:57:04 2012 -0600

    Bugfix: Thanks Samuli Suominen

commit 7145737e0e08297aba63ddcf63b4d7945fe18b64
Author: David Mohr <david@mcbf.net>
Date:   Sun Apr 15 15:55:05 2012 -0600

    Update POTFILES, xfburn.desktop to validate properly

Bug #6691

Reported by:
Christoph Wickert
Reported on: 2010-09-09
Last modified on: 2012-04-15
Duplicates (1):
  • 6918 xfburn-0.4.3 doesn't have valid .desktop entry (checked with desktop-file-validate from desktop-file-utils)

People

Assignee:
Xfburn Bug Triage
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information