Jim,

> % ls -lF /Users/gtkdeveloper/gnucash/lib/pkgconfig/*        
> zsh: no matches found: /Users/gtkdeveloper/gnucash/lib/pkgconfig/*
> 
> But that file does exist elsewhere on the path:
> 

Sorry, forgot the 'inst/' when typing the path. 
/Users/gtkdeveloper/gnucash/inst/lib/pkgconfig/* is where it belongs.

> On Nov 4, 2022, at 12:27 AM, Jim DeLaHunt <list+gnuc...@jdlh.com> wrote:
> 
> % pkg-config --print-errors --exists freetype2
> Package libbrotlidec was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libbrotlidec.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'libbrotlidec', required by 'freetype2', not found
> 

Aha! Another gtk-osx user experienced that failure a couple of weeks ago [1]. 
You have libbrotli installed somewhere outside of /Users/gtkdeveloper/gnucash 
that Cmake can find it and pkg-config can't. That makes meson decide that it 
can't use that freetype to build harfbuzz so it ignores it and builds harfbuzz 
without freetype.

Add
  module_cmakeargs['freetype']="-DFT_DISABLE_BROTLI=YES"
  module_cmakeargs['freetype-no-harfbuzz']="-DFT_DISABLE_BROTLI=YES"

to /Users/gtkdeveloper/.config/jhbuildrc-custom and run
  jhbuild buildone -fc freetype-no-harfbuzz
  jhbuild build

I just pushed a commit to gtk-osx to make Harfbuzz fail immediately if it's 
unhappy with Freetype for some reason. That should make troubleshooting this 
kind of problem a little quicker.

Regards,
John Ralls

[1] https://gitlab.gnome.org/GNOME/gtk-osx/-/issues/62 
<https://gitlab.gnome.org/GNOME/gtk-osx/-/issues/62>

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to