GNOME Bugzilla – Bug 740065
libnice recipe cannot find gtk-doc
Last modified: 2014-11-13 14:05:56 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.
The question is ... do we need to build docs for libnice on cerbero for now ?
gah, sorry, read too quicly
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