On Sat, 2021-01-02 at 19:57 +0800, Kevin Buckley via blfs-dev wrote: > Been working against the BLFS Version 2020-09-03, so Pango 1.46.0 > but BLFS Version 2021-01-01 with Pango 1.48.0 has the same text. > > I read, > > Pango Dependencies > > Required > > Fontconfig-2.13.1 (must be built with FreeType-2.10.4 using > HarfBuzz-2.7.4), FriBidi-1.0.9, and GLib-2.66.4 > > Recommended > > Cairo-1.17.2+f93fc72c03e, gobject-introspection-1.66.1 (Required if > building GNOME), and Xorg Libraries > > Optional > > Cantarell fonts (for tests), GTK-Doc-1.33.1, help2man, and libthai > > > and whilst, later on, I read about these build switches I might be > able to use > > Command Explanations > > -Denable-docs: Use this switch if gtk-doc is installed and you wish > to > rebuild and install the API documentation. > > -Dgir=false: Use this switch if you do not want to use > gobject-introspection-1.66.1. > > > > however, although I'm not intending to build GNOME, it seems that > Pango's > lovely meson build system (Meson BS?) seems more than capable of > "determining" that I do want to really, and so tells me that cairo is > a run-time > depenedency, and so it's not going any further. > > How do I tell Pango that I don't want to build it with cairo ? > > I tried, well you would, wouldn't you: > > -Dcairo=false > > but no joy there. > > The NEWS file in the source tarball suggests that, once upon a time, > there > may have been a > > --with-cairo > > switch in the build system but, presumably something that obvious > didn't make > it out of Autotools-land when the python fan-boys took control? > > Any clues? > > I'm sure i can install Cairo, but the BLFS Book's suggestion that it > should not be needed got my hopes up !
Well, looks like it is not optional in pango-1.46, but it is in pango- 1.48. Normally, you should look at meson_options.txt to determine which options are available. Note that "boolean" type is "true" or "false", but "feature" type is "enabled" or "disabled". In pango-1.48, disabling cairo is obtained with "-Dcairo=disabled" (note that the default is "auto", so disabling shouldn't be needed if cairo is not present). Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
