[Pkg-xfce-devel] Bug#870464: Bug#870464: tumbler FTCBFS: fails to find freetype2

Yves-Alexis Perez corsac at debian.org
Wed Aug 2 13:39:14 UTC 2017


On Wed, 2017-08-02 at 11:32 +0200, Helmut Grohne wrote:
> tumbler fails to cross build from source. Its configure detects the
> availability of freetype-conf, which happens to be a thin wrapper around
> pkg-config. Unfortunately, freetype-config does not work with cross
> compilation so it emits empty CFLAGS and LIBS. The tumbler build fails
> hard when it tries to include a freetype header.

So the real issue is that freetype-config does not work with cross
compilation?
> 
> The solution is to swap out the freetype-config usage for pkg-config.
> That actually makes the code simpler as PKG_CHECK_MODULES happens to
> provide the variables exactly in the way tumbler needs them.
> 
> Unfortunately, changes to acinlude.m4 are not considered in the build,
> see #870420, so the change isn't that simple. Together with the help of
> Unit 193 I've come up with the attached patch.

Can you push such patches to the build system directly upstream? I'm not
against applying it but I'd rather have the upstream point of view on this
before. There might be drawbacks to ditching freetype-config.

>  Admittedly, it doesn't
> make tumbler cross build as there is another bug in dbus-binding-tool.
> Still it resolves that issue around freetype-config without breaking
> native builds. Can you apply it?

See above :)

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20170802/41d74df5/attachment.sig>


More information about the Pkg-xfce-devel mailing list