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 677665 - Again: External native plugins FTBTS due to header that is not shipped
Again: External native plugins FTBTS due to header that is not shipped
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: Plugins (other)
HEAD
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-08 01:19 UTC by Sean McNamara
Modified: 2018-05-24 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sean McNamara 2012-06-08 01:19:13 UTC
Nearly identical to bug 676860 except that it's a different header this time. I promise this is the last one; after this my plugin builds.

In /usr/include/rhythmbox/sources/rb-source.h (the shipped external plugin
headers that are provided after a `make install') we have the line

    #include <widgets/rb-search-entry.h>

This header is not shipped, because in widgets/Makefile.am we have

widgetinclude_HEADERS =                                 \
        rb-alert-dialog.h                               \
        rb-entry-view.h                                 \
        rb-property-view.h                              \
        rb-dialog.h                                     \
        rb-cell-renderer-pixbuf.h                       \
        rb-cell-renderer-rating.h                       \
        rb-rating.h                                     \
        rb-library-browser.h                            \
        rb-segmented-bar.h                              \
        rb-song-info.h                                  \
        rb-source-toolbar.h                             \
        rb-uri-dialog.h                                 \
        rb-fading-image.h                               \
        rb-object-property-editor.h


The widgetinclude_HEADERS is a list of files in the widgets/ directory that
are shipped in includedir. As you can see, rb-search-entry.h is not in the list.

Therefore, the following trivial C program will not compile:

#include <sources/rb-source.h>
int main() { return 0; }

with the command

gcc `pkg-config --cflags rhythmbox` -o test test.c


This prevents building third-party native plugins (C, C++, Vala, etc.) as add-ons in distros that ship recent Rhythmbox.

Thanks in advance.
Comment 1 GNOME Infrastructure Team 2018-05-24 17:29:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1186.