bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pango


From: Andreas Enge
Subject: Pango
Date: Fri, 14 Jun 2013 23:25:07 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Freitag, 14. Juni 2013 schrieb Ludovic Courtès:
> All this sounds like an indication that we won’t be able to make much
> out of this test suite.  I would disable it

Okay; I just pushed cairo without tests.

Now the problem is pango. It finds cairo, but ends up with

checking for pkg-config... /nix/store/jdr6v3aqsy0bw74rwac8g77a2qag81ra-pkg-
config-0.27.1/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for HARFBUZZ... no
no
checking for CoreText availability... no
checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.

Without saying so, pango seems to depend on harfbuzz on gnu/linux (on 
macosx it uses quartz, for windows there are other tests); but we need 
fontconfig/freetype, which is not even searched for without harfbuzz, 
according to the configure.ac:

#
# Check for fontconfig
#
have_fontconfig=false
if $have_harfbuzz ; then
  PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.10.91, 
have_fontconfig=true, AC_MSG_RESULT([no]))
fi
#
# Checks for FreeType
#
have_freetype=false
if $have_fontconfig ; then
  # The first version of freetype with a .pc file is 2.1.5.  That's recent
  # enough for all the functions we use I guess.  No version check needed.
  PKG_CHECK_MODULES(FREETYPE, freetype2, have_freetype=true, 
AC_MSG_RESULT([no]))
fi

This dependency is new since pango 1.31; I might go back to version 1.30, 
for which there is a recipe in nix.

Or try to compile harfbuzz; but the current version 0.9.18 fails its tests 
with endless error messages such as
test_unicode-test-unicode.o:(.rodata+0x1d0): undefined reference to 
`hb_unicode_script'

Version 0.9.4 (for which there is a recipe in nix) compiles and passes its 
tests. This looks like a need for bisection...

Enough for tonight,

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]