[Bug 254654] New: remove "Application" nonsense from .desktop Categories
https://bugzilla.novell.com/show_bug.cgi?id=254654 Summary: remove "Application" nonsense from .desktop Categories Product: openSUSE 10.3 Version: Alpha 2 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome-build@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de "Application" is a nonsense category and should not be used in the "Categories" key of .desktop files. desktop-file-validate from desktop-file-utils-0.11 gave an error about this, unfortunately it was downgraded to a warning in desktop-file-utils-0.12 because it is so widespread, but that does not make it less non-sensical. Whether something is an Application or something else is already specified in the "Type" key, not in "Categories". .desktop files should only use registered or X-prefixed categories; "Application" is not one of them because it is neither registered nor prefixed with "X-". Getting rid of this crap is actually even a GnomeGoal: http://live.gnome.org/GnomeGoals/ApplicationCategory All SUSE patches against .desktop files as well as %suse_update_desktop_file invocations should get their "Application" nonsense removed. This affects many, if not more or less all packages. gnome-power-manager is one of them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2007-03-14 14:01 MST ------- I wonder whether it would make sense to change /usr/lib/rpm/map-desktop-category.sh so that it doesn't accept Application any more. Should be relatively easy to do and is a fast way to fix all packages at once. # rpm -qf /usr/lib/rpm/map-desktop-category.sh update-desktop-files-10.1-74 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2007-03-14 14:13 MST ------- Created an attachment (id=124458) --> (https://bugzilla.novell.com/attachment.cgi?id=124458&action=view) dont-accept-Application-nonsense.patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome- |bnc-team-screening@forge.provo.novell.com |build@forge.provo.novell.com| Component|GNOME |Other ------- Comment #3 from andreas.hanke@gmx-topmail.de 2007-03-14 14:46 MST ------- /usr/lib/rpm/map-desktop-categories.sh belongs to package update-desktop-files, not sure who maintains that -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |coolo@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #4 from coolo@novell.com 2007-03-15 06:14 MST ------- it doesn't do any harm if it's there -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Other |GNOME Resolution|WONTFIX | ------- Comment #5 from andreas.hanke@gmx-topmail.de 2007-03-15 06:28 MST ------- It makes validation utilities complain. Many packages currently get this because SUSE-specific patches and/or spec files are explicitly adding it. It would be nice to get at least those removed. I tend to find it rather embarrassing if GNOME packages are fixed upstream and get it back just because of distribution-specific nonsense. Back to GNOME because it affects esp. GNOME packages and other projects have so far not declared it a goal to get rid of it. # for i in /usr/share/applications/*.desktop; do desktop-file-validate $i; done | grep "The 'Application' category is not defined" | wc -l 64 # ls -1 /usr/share/applications/*.desktop | wc -l 116 => More than 50% of the .desktop files are broken -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|coolo@novell.com |bnc-team-gnome-build@forge.provo.novell.com Status|REOPENED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome- |sbrabec@novell.com |build@forge.provo.novell.com| Status|NEW |ASSIGNED ------- Comment #6 from sbrabec@novell.com 2007-06-07 05:16 MST ------- Just working on it. New desktop-file-utils have a new checker, which also may help in the desktop file quality. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=254654 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |REMIND ------- Comment #7 from sbrabec@novell.com 2007-06-11 07:45 MST ------- Removed "Application" from all desktop files, where it was introduced by SuSE patch or %suse_update_desktop_file. The rest must be done by upstream. This bug may be reopened in future to fix the rest. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com