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 587293 - sound-juicer links to both musicbrainz and musicbrainz3 if both are installed
sound-juicer links to both musicbrainz and musicbrainz3 if both are installed
Status: RESOLVED NOTABUG
Product: sound-juicer
Classification: Applications
Component: metadata
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-29 11:24 UTC by Rémi Cardona
Modified: 2010-03-10 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to build/link against only one musicbrainz library (1.43 KB, patch)
2009-06-29 11:25 UTC, Rémi Cardona
none Details | Review
patch to build/link against only one musicbrainz library (1.43 KB, patch)
2009-06-29 11:59 UTC, Rémi Cardona
none Details | Review

Description Rémi Cardona 2009-06-29 11:24:30 UTC
On my system where both musicbrainz libraries are installed (not all apps are migrated to MB3), sound-juicer links to both.

$ ldd /usr/bin/sound-juicer | grep musicbrainz
  libmusicbrainz.so.4 => /usr/lib/libmusicbrainz.so.4 (0x00007fa968309000)
  libmusicbrainz3.so.6 => /usr/lib/libmusicbrainz3.so.6 (0x00007fa9680a8000)

This seems useless as MB3 seems to have precedence over MB in lookup_cd() from libjuicer/sj-metadata-getter.c

To follow, a patch against the gnome-2-26 branch to only select "musicbrainz3" even if "musicbrainz" is available.

Thanks
Comment 1 Rémi Cardona 2009-06-29 11:25:39 UTC
Created attachment 137550 [details] [review]
patch to build/link against only one musicbrainz library
Comment 2 Rémi Cardona 2009-06-29 11:59:08 UTC
Created attachment 137552 [details] [review]
patch to build/link against only one musicbrainz library

patch with my correct email address, sorry for the noise
Comment 3 Bastien Nocera 2009-06-29 12:58:46 UTC
That's not a bug, both offer access to different web services.
Comment 4 Rémi Cardona 2009-06-29 13:08:18 UTC
Oh ok.

Would you accept a patch that adds configure switches for both libraries then (--disable-musicbrainz --disable-musicbrainz3) ?

Thanks
Comment 5 Peter Hjalmarsson 2010-03-10 17:54:20 UTC
I must say I like how you mark this as "NOTABUG", at the very least it should turn into a migration bug instead, as:

From http://musicbrainz.org/doc/Web_Service

"If you are using libmusicbrainz version 2.x or earlier or libtunepimp to access MusicBrainz currently, then you are using this old web service. You are strongly encouraged to migrate your existing application over to the new XML Web Service."

Now the timeplan for when they will start using their "Next generation schema" seems to be halting, and thus it may take some time before they scrap the "Old RDF web service", but at the very least if they are planning on removing it, you should plan on stop using it?