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 348275 - gnome-games needs to update .desktop files for new bug-buddy
gnome-games needs to update .desktop files for new bug-buddy
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: general
2.15.x
Other All
: High critical
: gnome-2-20
Assigned To: Jason Clinton
GNOME Games maintainers
Depends on:
Blocks: 348827
 
 
Reported: 2006-07-21 18:37 UTC by Jason Clinton
Modified: 2007-06-18 20:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
add gnome-games version to the desktop files for bugzilla integration (18.30 KB, patch)
2007-06-02 13:16 UTC, Christian Persch
committed Details | Review

Description Jason Clinton 2006-07-21 18:37:52 UTC
Bug-buddy has changed its behavior in 2.15 and now requires special .desktop file considerations. I am still waiting for specifics and will post them here when I get them.
Comment 1 Jason Clinton 2006-07-21 19:46:35 UTC
[example for gnome-calculator .desktop file]

X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gcalctool
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-OtherBinaries=gnome-calculator
Comment 2 Jason Clinton 2006-07-21 20:36:02 UTC
(info from the bug-buddy maintainer:)

> What is it?

Metainformation about the application used to report bugs on out BTS
      
> Which parts are mandatory? Optional?
        
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, and 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).

> How long has it been there?

circa 2002

> Is it going to change again?

No and yes. If you refer at the field names, they haven't changed
since 2002 (X-GNOME-Bugzilla-Version was added on 2003). If you mean
the values, bugzilla product/component could be changed if the
maintainer ask the bugmaster to do it and should update the info in
the desktop file after the change. As I mentioned on a previous email,
afer this product/component renaming would break any old instalation
of the application for submiting bugs, but we are working on a server
side fallback to solve it.
Comment 3 Jason Clinton 2006-07-21 22:35:09 UTC
As this bug applies to Aisleriot, I think the problem we are seeing is related to a new level of strictness that wasn't there before. I am building the latest set with jhbuild and will test my theory by adding OtherBinaries=sol - hopefully that will fix it.
Comment 4 Andreas Røsdal 2006-07-24 08:12:08 UTC
Jason, what's the progress on this bug so far?
Comment 5 Jason Clinton 2006-07-24 15:23:28 UTC
jhbuild has been broken. I am trying to rebuild it now. As far as I can tell everything but Aisleriot (sol) still works with bug-buddy because the bugzilla name is the same as the binary name.
Comment 6 Olav Vitters 2006-07-24 16:15:55 UTC
Please also add the X-GNOME-Bugzilla-Version in all .desktop files. Such information will not be asked anymore and having the version will be very useful (I'm sure you will agree). It can be in the form of 2.15.x or 2.15.1 (server will silently assume both are 2.15.x). Product+component information must be incorrect. If not, bug-buddy will not work (it will only allow the user to save the report somewhere for manual reporting).
Comment 7 Jason Clinton 2006-07-25 03:02:50 UTC
Unfortunately, 8 hours of attempting to get GNOME to build resulted in nothing. 

There are bugs in dbus-glib, libglade, hal, libvolume-id, jhbuild and most recently gnome-icon-theme which prevent a jhbuild from working. I got tired of fighting with it, filing bugs, and tracking down developers.

I will wait for a Debian Unstable upload of bug-buddy 2.15.0 and then build gnome-games against that and test the new .desktop modifications.

If someone has a successful build before then let me know and I'll pull CVS immediately so that I can try it too.
Comment 8 Andreas Røsdal 2006-07-25 09:36:18 UTC
Unfortunately, I haven't been able to build GNOME either yet.
Comment 9 Jose M. daLuz 2006-07-25 11:26:31 UTC
If you could post a patch here, or the .desktop file if that's the only thing that changed, I would be glad to test it out.
Comment 10 Andreas Røsdal 2006-08-04 06:44:03 UTC
Jason, I think that the build problems for GNOME have been resolved, so you could give it a try again now.   :)
Comment 11 Jason Clinton 2006-10-04 17:24:26 UTC
I was never able to get a working built our of jhbuild; as soon as 2.16.x hits Debian, I'll fix this bug.
Comment 12 Elijah Newren 2006-10-22 03:37:34 UTC
(In reply to comment #7)
> Unfortunately, 8 hours of attempting to get GNOME to build resulted in nothing. 
> 
> There are bugs in dbus-glib, libglade, hal, libvolume-id, jhbuild and most
> recently gnome-icon-theme which prevent a jhbuild from working. I got tired of
> fighting with it, filing bugs, and tracking down developers.

Wow, I wish I would have been aware of this example earlier.  I had told people on the lists that build problems were cutting into developer time; I hadn't been aware of a case of it preventing a maintainer from working on his module.  That *really* sucks.  I hope the changes we're making with external dependencies and such kill most of these problems.

Jason, about the gnome-target field: gnome-target is meant to be used on bugs severe enough to possibly require delaying GNOME releases.  The target milestone is the field you want for bugs you'd like to remember to fix by a certain release.  You can add target milestones for your product by clicking on the "Edit this product" link in the lower-right hand corner of the browse.cgi ("product overview") page.  See also the "Target Milestone" and "GNOME Target Milestone" sections of http://bugzilla.gnome.org/page.cgi?id=bug-status.html.  :-)
Comment 13 Jason Clinton 2006-10-22 03:45:59 UTC
Thanks for the attention. Yes, it was disheartening. I haven't tried jhbuild since then. I have garnome on my to-do list.

In the mean time, bug-buddy >= 2.15 is about to hit Debian Unstable so it should be only 1 week more, at the most, before this bug is fixed.
Comment 14 Jason Clinton 2006-11-17 07:27:06 UTC
The following games do not work with Bug Buddy 2.16:

Aisleriot (sol) -- FreeCell by extension
Blackjack
Comment 15 Kjartan Maraas 2007-01-07 15:46:05 UTC
I just fixed gnome-sudoku and glchess and the rest looks ok. Time to close this?
Comment 16 Jason Clinton 2007-01-07 21:30:05 UTC
Comment #14 is still applicable. You can try it yourself by sending sig 7 to a running game and watching bug-buddy claim that it doesn't know anything about the crashed application.
Comment 17 Thomas Andersen 2007-01-08 00:02:28 UTC
We really should get X-GNOME-Bugzilla-Version set too. Should that be in a separate bug or do we just unblock #348827 when aisleriot and blackjack are done?
Comment 18 Christian Persch 2007-06-02 13:16:05 UTC
Created attachment 89235 [details] [review]
add gnome-games version to the desktop files for bugzilla integration
Comment 19 Andreas Røsdal 2007-06-18 18:26:02 UTC
Christian, why do you modify configure.in and po/POTFILES.in in the patch of comment #18?
Comment 20 Christian Persch 2007-06-18 19:00:04 UTC
Because the .desktop.in.in files are the master files, and the .desktop.in files generated from the .in.in files at configure time.
Comment 21 Christian Persch 2007-06-18 19:06:34 UTC
Note that this is a git diff; applying it with the standard patch command will _not_ do the right thing (it doesn't recognise the moved files).
Comment 22 Andreas Røsdal 2007-06-18 19:30:10 UTC
I see, (don't know why I didn't realize that...)  Then the patch looks good.
Comment 23 Christian Persch 2007-06-18 20:28:32 UTC
Committed.