silnrsi / smith

font development, testing and release
Other
14 stars 5 forks source link

Harfbuzz dependency chafa not found #67

Closed bobh0303 closed 3 years ago

bobh0303 commented 3 years ago

Have configured my provision.sh to install Graphite and Harfbuzz from source. I'm getting this error during Harfbuzz build:

    default: Run-time dependency cairo-ft found: YES 1.16.0
    default: Found CMake: /usr/bin/cmake (3.16.3)
    default: Run-time dependency chafa found: NO (tried pkgconfig and cmake)
    default:
    default: meson.build:157:0: ERROR: Dependency "chafa" not found, tried pkgconfig and cmake
    default:
    default: A full log can be found at /home/vagrant/srcbuilds/harfbuzz/build/meson-logs/meson-log.txt

BdV says chafa is a relatively new dependency for Harfbuzz

n7s commented 3 years ago

Chafa is for displaying images on the terminal, my assumption was that is was not a key feature for us and that it wasn't holding up the build, but looks like I was wrong for the latter. The version in focal is older than what current Harfbuzz main requires. Before trying to do a backport I'd ask if this component is necessary or can simply be turned off with -Dchafa=disabled.

devosb commented 3 years ago

I disabled chafa as @n7s suggested and the build (from the most recent git sources) seemed to work.

bobh0303 commented 3 years ago

I can confirm that -Dchafa=disabled fixes the problem in my newly-spun-up VM, and that hb-vew still works.