.desktop file cleanup for gnome-system-log

Bug #33576 reported by Emmet Hikory
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-utils
Fix Released
Medium
gnome-utils (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

The desktop file provided for gnome-system-log by the package does not validate cleanly with desktop-file-validate. A corrected file will be attached presently.

Related branches

Revision history for this message
Emmet Hikory (persia) wrote : corrected .desktop file

Validation changes only.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Maybe next time you could mail a list or ask on IRC before flooding the bug tracker like that?
- those changes would better go upstream (we can forward them so that's fine)
- better to send a patch that a new .desktop
- having a description of what issues are fixed and what is changed is useful

Changed in gnome-utils:
assignee: nobody → desktop-bugs
Revision history for this message
Emmet Hikory (persia) wrote : Updated 04_menu_changes.dpatch

This updated patch update adds a semicolon the the Categories list for gnome-system-log. This is required to satisfy desktop-file-validate.

Differences from the original patch below:

--- 04_menu_changes.dpatch 2006-03-04 16:36:32.000000000 +0900
+++ 04_menu_changes.dpatch.orig 2006-03-04 16:35:51.000000000 +0900
@@ -24,7 +24,7 @@
  Type=Application
  StartupNotify=true
 -Categories=GTK;GNOME;Application;System;Monitor;X-Red-Hat-Base;
-+Categories=GNOME;Application;System;Settings;
++Categories=GNOME;Application;System;Settings
  X-GNOME-DocPath=gnome-system-log/gnome-system-log.xml
  X-GNOME-Bugzilla-Bugzilla=GNOME
  X-GNOME-Bugzilla-Product=gnome-utils

Revision history for this message
Carthik Sharma (carthik) wrote :

Confirming this. I get the following output when I try to validate:

carthik@umberto:~$ desktop-file-validate /usr/share/applications/gnome-system-log.desktop
/usr/share/applications/gnome-system-log.desktop: error: value of key "Categories" is a list of strings and must end with a semicolon

Changed in gnome-utils:
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

This is at least fixed in Gutsy.

Changed in gnome-utils:
status: Confirmed → Fix Released
Revision history for this message
Emmet Hikory (persia) wrote :

Well, actually, it's not fixed in gutsy (at least for me, today, with gnome-utils 2.18.1-1ubuntu1). To replicate the error, execute `desktop-file-validate /usr/share/applications/gnome-system-log.desktop` on a machine wth gnome-utils installed.

At this point, there have been some changes in the best practices for .desktop files, and the supplied patch is not necessarily correct (or aat least will not cause the above command to have no output). On the other hand, this is such an incrediby minor bug, and requires someone to upload to main (which hasn't happened for over a year now), so I don't see any value in a new patch until there is an intent to upload (at which point it's 2 minutes for the uploader to fix by hand, to then current standards).

Changed in gnome-utils:
status: Fix Released → Confirmed
Changed in rebuntu:
status: Unconfirmed → Rejected
Changed in gnome-utils:
status: Unknown → Unconfirmed
Changed in gnome-utils:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in gnome-utils:
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-utils (2.19.91-0ubuntu1) gutsy; urgency=low

  * New upstream version
    - Second unstable release of the 2.19 cycle
    - Requires GLib >= 2.13.3 and GTK+ >= 2.10.0
    - Remove invalid "Application" category from every desktop entry file
      (LP: #33576)
    Baobab
    - Nothing
    Dictionary
    - Fix bug #414013 - Fix out of tree builds
    - Fix bug #419894 - Handle decomposed strings
    Floppy
    - Nothing
    Screenshot
    - Fix bug #455204 - Use XDG User Directories API to find the
      Desktop directory (LP: #134979)
    Search Tool
    - Nothing
    System Log Viewer
    - Fix bug #413498 - Fix a memory leak
    - Fix bug #442846 - Do not crash when saving the session
  * debian/control.in:
    - updated the libglib requirement
  * debian/patches/02_autoconf.patch:
    - updated
  * debian/patches/04_menu_changes.patch:
    - updated
  * debian/patches/06_fix_logview_crasher.patch:
    - dropped, fixed with the new version

 -- Sebastien Bacher <email address hidden> Mon, 27 Aug 2007 10:52:12 +0200

Changed in gnome-utils:
status: Fix Committed → Fix Released
Changed in gnome-utils:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.