author | Chris Manchester <cmanchester@mozilla.com> |
Fri, 14 Oct 2016 11:06:31 -0700 | |
changeset 364569 | 4f67a3849c4564496925d36fc212ac2ed5252d6e |
parent 364568 | 32fe0c9940c3ce3152b6fe455a45775b49d3f9ef |
child 364570 | 794ce41590cdaaa6489c72380db04935131dc590 |
push id | 1369 |
push user | jlorenzo@mozilla.com |
push date | Mon, 27 Feb 2017 14:59:41 +0000 |
treeherder | mozilla-release@d75a1dba431f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | glandium |
bugs | 1305145 |
milestone | 52.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
old-configure.in | file | annotate | diff | comparison | revisions | |
toolkit/moz.configure | file | annotate | diff | comparison | revisions |
--- a/old-configure.in +++ b/old-configure.in @@ -64,17 +64,16 @@ GTK3_VERSION=3.4.0 GDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 WINDRES_VERSION=2.14.90 W32API_VERSION=3.14 GNOMEUI_VERSION=2.2.0 GCONF_VERSION=1.2.1 STARTUP_NOTIFICATION_VERSION=0.8 DBUS_VERSION=0.60 SQLITE_VERSION=3.15.0 -FONTCONFIG_VERSION=2.7.0 dnl Set various checks dnl ======================================================== MISSING_X= dnl Initialize the Pthread test variables early so they can be dnl overridden by each platform. dnl ======================================================== @@ -5101,21 +5100,18 @@ if test "$USE_FC_FREETYPE"; then CPPFLAGS="$CPPFLAGS $FT2_CFLAGS $XCFLAGS" MOZ_CHECK_HEADERS([fontconfig/fcfreetype.h], , [AC_MSG_ERROR(Can't find header fontconfig/fcfreetype.h.)], [#include <fontconfig/fontconfig.h>]) CPPFLAGS="$_SAVE_CPPFLAGS" else AC_DEFINE(HAVE_FONTCONFIG_FCFREETYPE_H) fi - PKG_CHECK_MODULES(_FONTCONFIG, fontconfig >= $FONTCONFIG_VERSION, - [ - FT2_CFLAGS="$FT2_CFLAGS $_FONTCONFIG_CFLAGS" - FT2_LIBS="$FT2_LIBS $_FONTCONFIG_LIBS" - ]) + FT2_CFLAGS="$FT2_CFLAGS $_FONTCONFIG_CFLAGS" + FT2_LIBS="$FT2_LIBS $_FONTCONFIG_LIBS" fi dnl ======================================================== dnl Check for pixman and cairo dnl ======================================================== MOZ_TREE_CAIRO=1 MOZ_ARG_ENABLE_BOOL(system-cairo,
--- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -275,16 +275,27 @@ def fc_freetype(value, toolkit): add_old_configure_assignment('USE_FC_FREETYPE', fc_freetype) # Pango # ============================================================== pkg_check_modules('MOZ_PANGO', 'pango >= 1.22.0 pangoft2 >= 1.22.0 pangocairo >= 1.22.0', when=toolkit_gtk) +# Fontconfig +# ============================================================== +fontconfig_info = pkg_check_modules('_FONTCONFIG', 'fontconfig >= 2.7.0', + when=fc_freetype) + +add_old_configure_assignment('_FONTCONFIG_CFLAGS', + delayed_getattr(fontconfig_info, 'cflags')) +add_old_configure_assignment('_FONTCONFIG_LIBS', + delayed_getattr(fontconfig_info, 'libs')) + + # Apple platform decoder support # ============================================================== @depends(toolkit) def applemedia(toolkit): if toolkit in ('cocoa', 'uikit'): return True set_config('MOZ_APPLEMEDIA', applemedia)