On 17/02/2019 17:06, Bruce Dubbs via blfs-dev wrote: > On 2/17/19 7:35 AM, Pierre Labastie via blfs-dev wrote: >> >> >> >> >> >> On 17/02/2019 00:16, bdubbs--- via blfs-book wrote: >>> Author: bdubbs >>> Date: Sat Feb 16 15:16:14 2019 >>> New Revision: 21178 >>> >>> Log: >>> Add harfbuzz as an optional (circular) dependency of cairo. >>> [...] >>> Modified: trunk/BOOK/x/lib/cairo.xml >>> ============================================================================== >>> --- trunk/BOOK/x/lib/cairo.xml Sat Feb 16 14:03:30 2019 (r21177) >>> +++ trunk/BOOK/x/lib/cairo.xml Sat Feb 16 15:16:14 2019 (r21178) >>> @@ -104,6 +104,7 @@ >>> <xref linkend="gs"/>, >>> <xref linkend="gtk3"/> and <xref linkend="gtk2"/>, >>> <xref linkend="gtk-doc"/>, >>> + <xref linkend="harfbuzz"/>, >>> <xref linkend="libdrm"/>, >>> <xref linkend="librsvg"/>, >>> <xref linkend="lzo"/>, >>> @@ -117,6 +118,10 @@ >>> <ulink url="http://download.qt.io/archive/qt/4.8/">Qt4</ulink>. >>> </para> >>> + <note><para>There is a circular dependency between cairo and harfbuzz. >>> + If cairo is built before harbuzz, it is necessary to rebuild cairo >>> + after harfbuzz in order to build pango.</para></note> >>> + >>> <para condition="html" role="usernotes"> >>> User Notes: <ulink url="&blfs-wiki;/cairo"/> >>> </para> >> >> Well, I'm not sure it has to be done this way: actually harfbuz is in the >> "recommended" dependency chain of cairo: cairo recommends fontconfig, which >> recommends freetype, which recommends harfbuzz... >> >> I do not know whether you use jhalfs. If cairo got built before harfbuzz >> using >> jhalfs, this is most probably a bug in jhalfs, so please tell me. > > I do not use jhalfs for BLFS (but it's critical for me in LFS). As I build > for a release I try to get most of the optional dependencies as sell as the > required and recommended. That does create some circular dependencies and it > bit me when I tried to build pango. >
But that shouldn't happen, since harfbuzz is recommended (not directly, but it is) for cairo. I'll do the following: - on the harfbuzz page: note that the optional dep on cairo is circular, and that it is recommended to build harfbuzz first - on the cairo page: remove the optional dep on harfbuzz (it is already in the recommended chain), which can only add confusion. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
