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 740065 - libnice recipe cannot find gtk-doc
libnice recipe cannot find gtk-doc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-13 13:55 UTC by Nirbheek Chauhan
Modified: 2014-11-13 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Disable gtk-doc unconditionally, and disable static by default (2.81 KB, patch)
2014-11-13 13:55 UTC, Nirbheek Chauhan
committed Details | Review

Description Nirbheek Chauhan 2014-11-13 13:55:36 UTC
Created attachment 290635 [details] [review]
Disable gtk-doc unconditionally, and disable static by default

libnice cannot find gtk-doc on Platform.LINUX because it searches for gtk-doc.pc in configure, which Cerbero's pkg-config cannot find because it doesn't search the system path (for good reasons). There are three solutions to this:

1) Disable gtk-doc in libnice
2) Make pkg-config look inside /usr/share/pkgconfig for arch-independent pkg-config files (this goes against the purpose of bug 738916)
3) Build gtk-doc as part of build-tools on Linux

Easiest is (1) since we don't ship documentation anyway. The attached patch does this. It also fixes another bug where libnice was installing a useless static plugin into lib/gstreamer-1.0 which confuses libtool during static linking.
Comment 1 Edward Hervey 2014-11-13 13:57:27 UTC
The question is ... do we need to build docs for libnice on cerbero for now ?
Comment 2 Edward Hervey 2014-11-13 13:58:48 UTC
gah, sorry, read too quicly
Comment 3 Edward Hervey 2014-11-13 14:05:52 UTC
commit 06e7b28857e0709b50b167bc77c906e182dc5a7b
Author: Nirbheek Chauhan <nirbheek@centricular.com>
Date:   Wed Nov 12 22:03:13 2014 +0530

    libnice: Disable gtk-doc unconditionally, and disable static by default
    
    gtk-doc support needs the .pc file, which isn't inside Cerbero and causes
    a build failure.
    
    Static plugin libraries should only be installed by the -static recipe.
    libnice.a is still needed inside libnice.recipe, though.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740065