2011-02-02 14:43:42 +00:00
|
|
|
SUMMARY = "Generic font configuration library"
|
|
|
|
DESCRIPTION = "Fontconfig is a font configuration and customization library, which \
|
|
|
|
does not depend on the X Window System. It is designed to locate \
|
|
|
|
fonts within the system and select them according to requirements \
|
|
|
|
specified by applications. \
|
|
|
|
Fontconfig is not a rasterization library, nor does it impose a \
|
|
|
|
particular rasterization library on the application. The X-specific \
|
|
|
|
library 'Xft' uses fontconfig along with freetype to specify and \
|
|
|
|
rasterize fonts."
|
|
|
|
|
2010-07-02 08:01:33 +00:00
|
|
|
HOMEPAGE = "http://www.fontconfig.org"
|
|
|
|
BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig"
|
|
|
|
|
2011-05-25 21:05:02 +00:00
|
|
|
LICENSE = "MIT-style & MIT & PD"
|
2013-11-26 19:49:19 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \
|
2012-05-28 05:47:58 +00:00
|
|
|
file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \
|
2016-08-22 12:23:08 +00:00
|
|
|
file://src/fccache.c;beginline=1360;endline=1375;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f"
|
2010-07-02 08:01:33 +00:00
|
|
|
|
|
|
|
SECTION = "libs"
|
|
|
|
|
2008-06-30 15:29:52 +00:00
|
|
|
DEPENDS = "expat freetype zlib"
|
2007-05-27 21:21:56 +00:00
|
|
|
|
2008-04-14 23:25:16 +00:00
|
|
|
SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
|
2015-04-24 03:35:32 +00:00
|
|
|
file://revert-static-pkgconfig.patch \
|
fontconfig: Fix namespace conflicts with glibc
glibc 2.25 will come with TS 18661-1 macro definitions in limits.h which ends with following errors
| ../../fontconfig-2.12.1/src/fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)
| #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
| ^
| ../../fontconfig-2.12.1/src/fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
| FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
| ^~~~~~~~~
| ../../fontconfig-2.12.1/src/fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function)
| #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
| ^
| ../../fontconfig-2.12.1/src/fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
| FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
| ^~~~~~~~~
| make[3]: *** [Makefile:632: fcmatch.lo] Error 1
(From OE-Core rev: 3575826752e7140da493c7f560fb5fcf483fc9b4)
(From OE-Core rev: 7687234ff0f36ae943ca17624da9cdd8da0da83b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-15 00:06:08 +00:00
|
|
|
file://0001-Avoid-conflicts-with-integer-width-macros-from-TS-18.patch \
|
2014-04-28 13:44:27 +00:00
|
|
|
"
|
2016-08-22 12:23:08 +00:00
|
|
|
SRC_URI[md5sum] = "ce55e525c37147eee14cc2de6cc09f6c"
|
|
|
|
SRC_URI[sha256sum] = "a9f42d03949f948a3a4f762287dbc16e53a927c91a07ee64207ebd90a9e5e292"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2013-02-11 16:03:09 +00:00
|
|
|
PACKAGES =+ "fontconfig-utils"
|
2012-11-07 15:34:56 +00:00
|
|
|
FILES_${PN} =+ "${datadir}/xml/*"
|
2013-02-11 16:03:09 +00:00
|
|
|
FILES_fontconfig-utils = "${bindir}/*"
|
2007-05-27 21:21:56 +00:00
|
|
|
|
|
|
|
# Work around past breakage in debian.bbclass
|
|
|
|
RPROVIDES_fontconfig-utils = "libfontconfig-utils"
|
|
|
|
RREPLACES_fontconfig-utils = "libfontconfig-utils"
|
|
|
|
RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
|
|
|
|
DEBIAN_NOAUTONAME_fontconfig-utils = "1"
|
|
|
|
|
2017-02-08 16:10:50 +00:00
|
|
|
inherit autotools pkgconfig relative_symlinks
|
2007-05-27 21:21:56 +00:00
|
|
|
|
2015-04-07 11:21:13 +00:00
|
|
|
FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
|
|
|
|
|
2016-02-23 15:32:07 +00:00
|
|
|
# comma separated list of additional directories
|
|
|
|
# /usr/share/fonts is already included by default (you can change it with --with-default-fonts)
|
|
|
|
FONTCONFIG_FONT_DIRS ?= "no"
|
|
|
|
|
|
|
|
EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts --with-cache-dir=${FONTCONFIG_CACHE_DIR} --with-add-fonts=${FONTCONFIG_FONT_DIRS}"
|
2013-02-11 16:03:10 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|