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 348308 - bug-buddy support
bug-buddy support
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Kevin Kubasik
Beagle Bugs
Depends on:
Blocks: 348827
 
 
Reported: 2006-07-22 05:05 UTC by Matthias Clasen
Modified: 2006-09-26 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds entries to .desktop files for bugbuddy integration (1.24 KB, patch)
2006-07-22 15:55 UTC, Kevin Kubasik
reviewed Details | Review
create .desktop.in.in files (4.03 KB, patch)
2006-09-03 04:07 UTC, Kevin Kubasik
none Details | Review
Bug Buddy integration (2.01 KB, patch)
2006-09-22 00:57 UTC, Kevin Kubasik
committed Details | Review

Description Matthias Clasen 2006-07-22 05:05:46 UTC
beagle-search.desktop does not contain the X-GNOME-Bugzilla entries that
are necessary to allow bug-buddy to support it.
Comment 1 Matthias Clasen 2006-07-22 05:06:28 UTC
beagle-settings.desktop too
Comment 2 Kevin Kubasik 2006-07-22 15:54:52 UTC
Unfortunately, because beagle is written in mono, it would not support bug buddy anyways. However, I think that might change with a SoC project or something (read it somewhere, can't remember). But yeah, the bugbuddy folks will be adding mono support and the like soon enough.

Regardless, here is a patch so that bugbuddy will come up, even if it can't get a backtrace....

Hopefully we can do some sort of component system, I'm just thinking Frontend/Daemon, but I'm open to suggestions.
Comment 3 Kevin Kubasik 2006-07-22 15:55:52 UTC
Created attachment 69385 [details] [review]
Adds entries to .desktop files for bugbuddy integration
Comment 4 Joe Shaw 2006-08-02 19:21:19 UTC
Let's just go with the "general" component for right now, and we'll segment it up better a little bit later.

Once that's fixed, please commit.
Comment 5 Olav Vitters 2006-08-02 21:52:14 UTC
IMO this patch shouldn't be committed as-is.

It hard-codes the version within the .desktop file. This should be generated from @VERSION@ (or whatever macro is used within Beagle for that).

Steps usually to do this usually are:
1.- remove .desktop.in file from cvs
2.- add .desktop.in.in with the X-Gnome-Bugzilla-Version=@VERSION@
3.- remove .desktop.in entry from po/POTFILES.in
4.- add .desktop.in.in entry in po/POTFILES.in
5.- replace .desktop entry in AC_OUTPUT in configure.in for .desktop.in entry
Comment 6 Kevin Kubasik 2006-08-03 13:05:20 UTC
Ok, I can play with this later, if Joe's cool with the build system change.

In general, I'm pretty unfamiliar with this type of think (I'm still just figuring out make ;) ) So I'll do my best, but does every file with a .in extension get processed?
Comment 7 Joe Shaw 2006-08-03 18:12:00 UTC
I am; the version number thing didn't even register with me, but Olav is right.

We're already doing these type of version substitutions in some files.  Take a look at how we deal with beagle-0.0.pc.in for an example of how to do it.
Comment 8 Kevin Kubasik 2006-09-03 04:07:37 UTC
Created attachment 72117 [details] [review]
create .desktop.in.in files

Ok, this is a little complicated, but its the only way I could see that got it to work...
Comment 9 Joe Shaw 2006-09-05 19:43:57 UTC
The Makefile.am changes shouldn't be necessary, just add the beagle-search.desktop.in to the files that are output in AC_OUTPUT() in configure.in
Comment 10 Kevin Kubasik 2006-09-22 00:57:14 UTC
Created attachment 73183 [details] [review]
Bug Buddy integration 

Ok, this does just that, let me know what you think.
Comment 11 Joe Shaw 2006-09-26 15:54:02 UTC
The new .in.in files need to be included in EXTRA_DIST in the respective Makefile.am files.  Sorry I didn't make that more clear in my last comment.
Comment 12 Kevin Kubasik 2006-09-26 16:15:19 UTC
No worries, just me overlooking :-/. Added them and committed.