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 577863 - empathy pkg-config file missing libcanberra-gtk requires
empathy pkg-config file missing libcanberra-gtk requires
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-03 16:16 UTC by Brian Pepple
Modified: 2009-11-13 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds libcanberra-gtk to the requires list (545 bytes, patch)
2009-04-05 14:33 UTC, Adam Schreiber
reviewed Details | Review

Description Brian Pepple 2009-04-03 16:16:04 UTC
Trying to build nautilus-sendto at
http://koji.fedoraproject.org/koji/taskinfo?taskID=1275208

In file included from empathy.c:38:
/usr/include/libempathy-gtk/empathy-ui-utils.h:38:26: error: canberra-gtk.h: No
such file or directory
In file included from empathy.c:38:
/usr/include/libempathy-gtk/empathy-ui-utils.h:142: error: expected declaration
specifiers or '...' before 'ca_finish_callback_t'

The pkg-config file needs to have a requires on libcanberra-gtk.
Comment 1 Brian Pepple 2009-04-03 16:40:40 UTC
After taking to hadess, it appears that it needs to have a non-private requires on libcanberra-gtk, since libcanberra-gtk header is exposed in public headers.
Comment 2 Adam Schreiber 2009-04-05 14:33:14 UTC
Created attachment 132127 [details] [review]
Adds libcanberra-gtk to the requires list

This is a trivial patch to add libcanberra-gtk to the requires list in the libempathy-gtk.pc file.
Comment 3 Xavier Claessens 2009-04-13 12:43:28 UTC
We also expose glib/mc/etc API but it is in Requires.private... I don't remember what was the reason...
Comment 4 Xavier Claessens 2009-04-13 14:58:41 UTC
I added to Require.private, it seems to be the right place. Thanks for the patch!
Comment 5 Bastien Nocera 2009-04-13 16:02:35 UTC
Requires.private is for libraries that are needed for linking, but not compilation. Given that libcanberra-gtk is used from public headers, it needs to be in the Requires.
Comment 6 Xavier Claessens 2009-04-13 17:51:19 UTC
I don't think that's true, see http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/953

We changed .pc files in empathy to always use Require.private for other libraries exposed in empathy's API.
Comment 7 Guillaume Desmottes 2009-11-13 17:20:42 UTC
libempathy and libempathy-gtk have been dropped in master; closing this bug.