On 06/06/2013 06:20 PM, Igor Živković wrote: > On 06/06/2013 06:08 PM, Armin K. wrote: >> On 06/06/2013 06:02 PM, Igor Živković wrote: >>> On 06/06/2013 05:53 PM, Armin K. wrote: >>>> On 06/06/2013 05:44 PM, Igor Živković wrote: >>>>> >>>>> I'm aware of dependency chain. If the big red note on Harfbuzz page is >>>>> not enough we can simply add GLib to Pango's required dependencies. >>>>> >>>>> Is there any other setup I should be aware of before I continue with >>>>> editing? >>>>> >>>> >>>> I forgot to note that dependency chain only applies to the Required >>>> dependencies. On the Harfbuzz page, GLib is recommended. And GLib is >>>> required for Cairo for libcairo-gobject.so library. >>> >>> Ok, since libcairo-gobject.so is optional and GObject Introspection >>> requires GLib, do you agree to move GLib to Pango's required dependencies? >>> >> >> As I said in the commit message - the package might optionaly depend on >> something, but in our setup that optional dep is required - not without >> a reason. >> >> $ ldd /usr/lib/libgtk-3.so | grep cairo >> libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7181000) >> libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0xb702b000) >> libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6ef3000) >> > > That should be noted in the book, the same way we note if > gobject-introspection is required for GNOME. IMHO, it's just not correct > to state that something is required with no explanation to the reader. I > was under impression that LFS/BLFS is an instruction manual and not a > distro. >
I don't care if the package is listed as required or recommeded dependency following a big note how "required" is it as long as it is listed properly. You removed the dependency at all, which meant that Cairo doesn't even depend at Glib 2 at all, plus Pango didn't list it but it is strictly required for it. For me it was never important for the Cairo case. GTK+ and friends are only packages depend on Cairo (if you take out g-i which uses it in its testsuite - which I find useless) and because of that, Glib 2 is required for Cairo. I treat dependencies as required as long as they have not to be disabled - do note that cairo can be built without png but you have to explicitly disable it - that's a required dep *for me* and it deserves to be listed as one. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
