On Sun, 3 Jan 2021 at 02:00, Pierre Labastie via blfs-dev
<blfs-dev@lists.linuxfromscratch.org> wrote:
>
> >
> > 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

Thanks for that Pierre.

Interesting that something a simple as a boolean, so

--with-X=[yes|no]
or
--disable-X=[yes|no]

would be complicated by presenting it as non-boolean.

Will ceratinly give 1.48 a go.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to