Bug#1051375: libcairo2-dev: missing-pkgconfig-dependency cairo-script-interpreter => lzo2

Jeremy Bícha jeremy.bicha at canonical.com
Mon Sep 11 02:43:22 BST 2023


On Wed, Sep 6, 2023 at 8:45 PM Paul Wise <pabs at debian.org> wrote:
> The libcairo2-dev package is missing some sort of relationship with the
> liblzo2-dev package because the cairo-script-interpreter.pc file
> references the lzo2.pc file in Requires.private. Most uses of the
> cairo-script-interpreter.pc file probably aren't for static linking
> in Debian so probably Recommends or Suggests would be enough.

I believe we need to use a Depends for things listed in either
Requires or Requires.private for the pkgconfig file to work.

Currently, it looks like nothing in Debian is using that particular
pkgconfig file.
gtk4 looks for it but it fails because the lzo2-dev dependency is not
installed. However, gtk4 then falls back to just using the library
directly without needing the pkgconfig file and that works fine.

Thank you,
Jeremy Bícha



More information about the pkg-gnome-maintainers mailing list