After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792363 - build: Only enable freetype if fontconfig is also available
build: Only enable freetype if fontconfig is also available
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2018-01-09 11:07 UTC by Philip Withnall
Modified: 2018-01-10 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Only enable freetype if fontconfig is also available (1.38 KB, patch)
2018-01-09 11:07 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2018-01-09 11:07:01 UTC
Trivial patch to make meson.build match configure.ac.
Comment 1 Philip Withnall 2018-01-09 11:07:05 UTC
Created attachment 366541 [details] [review]
build: Only enable freetype if fontconfig is also available

This changes meson.build to match what configure.ac already does. The
code doesn’t have separate conditions for whether fontconfig and
freetype are available: if freetype compilation is enabled, it assumes
that fontconfig is also available.

Previously, systems with freetype available, but no fontconfig, would
fail to compile Pango due to trying to link against non-existent
fontconfig symbols.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Comment 2 Philip Withnall 2018-01-10 10:59:01 UTC
Reviewed by Emmanuele on IRC.

Attachment 366541 [details] pushed as 1addea2 - build: Only enable freetype if fontconfig is also available