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 682484 - grilo plugin in latest git r214fe12 uses obsolete grilo 0.1 items not defined in grilo 0.2
grilo plugin in latest git r214fe12 uses obsolete grilo 0.1 items not defined...
Status: RESOLVED DUPLICATE of bug 682404
Product: rhythmbox
Classification: Other
Component: Plugins (other)
HEAD
Other Linux
: Normal critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-22 16:15 UTC by Greg Miller
Modified: 2012-08-22 21:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Greg Miller 2012-08-22 16:15:34 UTC
The latest git r214fe12 version of rhythmbox requires library grilo version 0.2

However, in the grilo plugin, the function grl_media_plugin_get_name
is used in three places --

rb-grilo-plugin.c:			  grl_media_plugin_get_name (grilo_plugin));
rb-grilo-plugin.c:				  grl_media_plugin_get_name (grilo_plugin));
rb-grilo-plugin.c:	rb_debug ("new grilo source: %s", grl_media_plugin_get_name (grilo_plugin));


The function grl_media_plugin_get_name is defined in grilo version 0.1

egrep   grl_media_plugin_get_name      /usr/include/grilo-0.1/*
/usr/include/grilo-0.1/grl-media-plugin.h:const gchar *grl_media_plugin_get_name (GrlMediaPlugin *plugin);
egrep: /usr/include/grilo-0.1/net: Is a directory

but is not defined in grilo version 0.2

 egrep   grl_media_plugin_get_name      /usr/local/stow/grilo-0.2.0/include/grilo-0.2/*
egrep: /usr/local/stow/grilo-0.2.0/include/grilo-0.2/net: Is a directory

It appears to have been replaced by

egrep  _plugin_get_name      /usr/local/include/grilo-0.2/*
/usr/local/include/grilo-0.2/grl-plugin.h:const gchar *grl_plugin_get_name (GrlPlugin *plugin);
egrep: /usr/local/include/grilo-0.2/net: Is a directory


Also there is use of the object in the rb-grilo plugin GRL_METADATA_SOURCE which is not defined in libgrilo v0.2 and I see no equivalent object in v0.2

As the grilo plugin cannot be loaded because of undefined symbols errors, all standard shared media functionality (including the all important upnp client) is absent from rhythmbox.

This does raise the obvious question, why was the version of grilo changed to version 0.2 if the code was not first modified to comply with version 0.2
and did anybody bother to test that the plugin was still working with the changed requirement of version 0.2
Comment 1 Jonathan Matthew 2012-08-22 21:01:35 UTC

*** This bug has been marked as a duplicate of bug 682404 ***