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 agree that the way we handle dependencies differs whether the requirement is required or not. If it is in the direct required chain, then it doesn't need anything special. However if a package is optional and another package does require it, then a note of some kind needs to be present. I think the way gobject-introspection is presented in Cairo is a good approach. Our approach to this has not been 100% consistent in the past. See for instance the Clutter page with optional dependencies to build documentation or the method used in gdk-pixbuf. It may be hard to standardize, but the important thing is to present the information. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
