Package: libfcft-dev
Version: 2.3.1-1
Severity: serious
Tags: ftbfs
Control: affects -1 src:fuzzel src:foot src:yambar

$ pkg-config --cflags fcft
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'fcft', not found
Package 'freetype2', required by 'fcft', not found
Package 'harfbuzz', required by 'fcft', not found
Package 'libutf8proc', required by 'fcft', not found
Package 'pixman-1', required by 'fcft', not found
Package 'tllist', required by 'fcft', not found

$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/fcft.pc
...
Requires.private: fontconfig, freetype2, harfbuzz, libutf8proc, pixman-1, 
tllist >= 1.0.1
...
$



These dependencies are an implementation detail of libfcft-dev
that must be expressed in the package dependencies, not something
every user has to copy and update all the time (like when libutf8proc
usage was enabled in fcft).

As of 3.1.5-2 the missing dependencies are:
 libpixman-1-dev, libfreetype6-dev, libfontconfig-dev,
 libtllist-dev, libharfbuzz-dev, libutf8proc-dev

Adding the dependencies to libfcft-dev fixes this bug.


Only pixman.h is used in the headers in libfcft-dev,
an alternative fix would be to add only a dependency
on libpixman-1-dev and reduce Requires.private in fcft.pc to:
  Requires.private: pixman-1

Reply via email to