On Sat, Jan 02, 2021 at 07:57:01PM +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
> 

Hi Kevin -

just a reminder that 'Recommended' often means "you can avoid using
this by some means or other, but we did not necessarily check that
still works" - I've seen several cases where a recommended
dependency became required, but I know of others where it was
possible to avoid it although the steps were not necessarily shown
in the book.

I have been building cairo for more than 5 years, it seems to be a
generally required part of my builds (git version for a bit over a
year.  OTOH, I used to build it for firefox and that no-longer uses
system cairo, so perhaps I might be able to avoid it.  But without
checking dependencies in the book, that is an unknown and I've got
too much else to look at.

Meanwhile, the latest 1.46-series is 1.46.2, and diffing that
against 1.46.0 three of the hunks in meson.build are:

@@ -341,7 +349,7 @@
   pango_deps += freetype_dep
 endif
 
-xft_dep = dependency('xft', version: xft_req_version, required: false)
+xft_dep = dependency('xft', version: xft_req_version, required: 
get_option('xft'))
 if xft_dep.found() and fontconfig_dep.found() and freetype_dep.found()
   pango_conf.set('HAVE_XFT', 1)
   pango_deps += dependency('xrender', required: false)
@@ -364,7 +372,7 @@
 endif
 
 cairo_found_type = ''
-cairo_dep = dependency('cairo', version: cairo_req_version, required: false)
+cairo_dep = dependency('cairo', version: cairo_req_version, required: 
get_option('cairo'))
 
 if cairo_dep.found()
   cairo_found_type = cairo_dep.type_name()
@@ -379,7 +387,7 @@
 # in a declarative way
 if not cairo_dep.found()
   cairo_dep = dependency('cairo', version: cairo_req_version,
-                         fallback: ['cairo', 'libcairo_dep'])
+                         fallback: ['cairo', 'libcairo_dep'], required: 
get_option('cairo'))
   cairo_found_type = cairo_dep.type_name()
 endif
 
Taken together, those seem to imply that cairo  (and/or xft) needed
to be specified in 1.46.2, and that perhaps the fallback (cairo,
libcairo_dep) was changed to depend on the option.

So, for you maybe 1.46.2 might be better than 1.46.0.  Dunno, I've
still not completely got my head around how meson options can be
specified.

However, asking questions about a 3-month-old version of svn is not
something that many of us will remember ;-)  I just hope you are
keeping up to date with the 10.0 errata for security fixes (not for
pango, but in general).

ĸen


-- 
Lu-Tze had long considered that everything happens for a reason,
except possibly football.      -- The Thief Of Time
-- 
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