On Mon, Nov 21, 2011 at 10:06:50PM +0000, Ken Moffat wrote: > Sixteen months ago, pkg-config was part of LFS. Going even further > back (looking at 6.2.0 in the museum), pkg-config was identified as > a required dependency for glib. > > Now we work around that to build current pkg-config, so identifying > where to add pkg-config as a required dependency will need some thought. > It needs to be added only to those packages where it isn't already > pulled in as a required dependency. > Looking at trunk, the following packages have, or had, references to pkgconfig :
alsa-plugins.xml alsa-tools.xml apache.xml avifile.xml cairo.xml cups.xml curl.xml dbus.xml fontconfig.xml gdk-pixbuf.xml glib2.xml gnome-vfs1.xml graphviz.xml imagemagick.xml kdemultimedia.xml libcapplet.xml libdv.xml libidn.xml libquicktime.xml libtheora.xml libusb-compat.xml nfs-utils.xml pdl.xml php.xml poppler.xml transcode.xml w3m.xml wireshark.xml xine-lib.xml xine-ui.xml Some of these looked to be current, others were in old svn changes. Because of how we now build glib2, that dependency fails to be effective as a common ancestor. I'm guessing that adding it to cairo will pull this in for many packages. For a *desktop*, pulling it in somewhere for xorg is probably the easiest solution - looks as if it was in LFS before modular Xorg arrived in the book. At a guess, adding it as recommended for xorg-libraries might be the way to go ? (I don't see any conclusive evidence that earlier Xorg packages and dependencies test for it before there). That might reduce the list too, but probably some of what I think of as desktop packages can also be built without X. There may also be other packages that were added while pkg-config was part of LFS. Certainly, Andy's addition of gdk-pixbuf should remove a lot of the problem from the current book, but I presume that's too new to have affected the OP. I got the list using the following on the book's sources - find | xargs egrep linkend=.pkgconfig | grep -v /tmp | \ sed -e 's%.*text-base/%%' -e 's%\(xml\).*%\1%' -e 's%^.*/%%' | \ sort | uniq ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
