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 348851 - Errors in .desktop file break bug-buddy support
Errors in .desktop file break bug-buddy support
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: gnome-volume-control
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks: 348827
 
 
Reported: 2006-07-26 20:02 UTC by Olav Vitters
Modified: 2006-09-03 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
this patch adds the version string where relevant (16.37 KB, patch)
2006-09-03 20:22 UTC, Ronald Bultje
accepted-commit_now Details | Review

Description Olav Vitters 2006-07-26 20:02:55 UTC
The  gnome-volume-control desktop/server file has the following problems:
 - Lacks (valid?) X-GNOME-Bugzilla-Component (make sure to get the case exactly
right)
 - Lacks version information

I recommend just renaming the component. Because the '[was: gmix]' is very old.

Full reason why this is needed:

Starting with Bug-Buddy 2.15.0 all programs wanting to make use of Bug-Buddy must have a .desktop file. Also the .desktop file must contain a few Bug-Buddy headers.

These are:
X-GNOME-Bugzilla-Bugzilla=GNOME <-- Mandatory
X-GNOME-Bugzilla-Product=XXX <--Mandatory
X-GNOME-Bugzilla-Component=YYY <-- Mandatory
X-GNOME-Bugzilla-OtherBinaries=ZZZ <-- Optional, only if you
application has several binaries
X-GNOME-Bugzilla-Version=X.Y.Z <-- Optional, but highly recommended. This should need expansion from configure script, so if you want this you need a
application.desktop.in.in to expand here @VERSION@
(application.desktop.in is used by intltool for translations).

This headers have actually been in use since 2002, except that Bug-Buddy 2.15.0 will now require:
a) A .desktop file containing at least the mandatory information
b) Given product and component MUST exist on bugzilla.gnome.org

Having the X-GNOME-Bugzilla-Version is optional, but highly recommended. The server will automatically change versions like 2.15.90 to 2.15.x, so this doesn't have to be changed in the .desktop file. I recommend keeping the real version in the desktop file as I might put this in a comment.

Users will only be able to fill in their email address and a 'What were you doing when the application crashed?'. Version information will not be possible to select anymore. This is why having the X-GNOME-Bugzilla-Version is highly recommended.

If you want Bug-Buddy support, but do not want your application to show up in the menus, use the following .desktop header:
NoDisplay=true
Comment 1 Ronald Bultje 2006-09-03 20:22:16 UTC
Created attachment 72147 [details] [review]
this patch adds the version string where relevant

I'll apply the attached patch as part of 2.16.0.