diff options
Diffstat (limited to 'meta/recipes-graphics/fontconfig')
-rw-r--r-- | meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch | 32 | ||||
-rw-r--r-- | meta/recipes-graphics/fontconfig/fontconfig_2.11.0.bb | 42 |
2 files changed, 74 insertions, 0 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch b/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch new file mode 100644 index 0000000000..abfdbc710d --- /dev/null +++ b/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=72044] | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From f2ade764cc9f009e1fe25b856b24b7695f66a952 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Tue, 26 Nov 2013 17:18:25 +0000 | ||
7 | Subject: [PATCH] fc-cache: --sysroot option takes an argument | ||
8 | |||
9 | The getopt_long option definitions say that sysroot doesn't take an argument, | ||
10 | when it in fact does. | ||
11 | |||
12 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
13 | --- | ||
14 | fc-cache/fc-cache.c | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c | ||
18 | index 27c7513..bf3b6b4 100644 | ||
19 | --- a/fc-cache/fc-cache.c | ||
20 | +++ b/fc-cache/fc-cache.c | ||
21 | @@ -67,7 +67,7 @@ | ||
22 | const struct option longopts[] = { | ||
23 | {"force", 0, 0, 'f'}, | ||
24 | {"really-force", 0, 0, 'r'}, | ||
25 | - {"sysroot", 0, 0, 'y'}, | ||
26 | + {"sysroot", required_argument, 0, 'y'}, | ||
27 | {"system-only", 0, 0, 's'}, | ||
28 | {"version", 0, 0, 'V'}, | ||
29 | {"verbose", 0, 0, 'v'}, | ||
30 | -- | ||
31 | 1.8.4.4 | ||
32 | |||
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.11.0.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.11.0.bb new file mode 100644 index 0000000000..48385a369a --- /dev/null +++ b/meta/recipes-graphics/fontconfig/fontconfig_2.11.0.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Generic font configuration library" | ||
2 | DESCRIPTION = "Fontconfig is a font configuration and customization library, which \ | ||
3 | does not depend on the X Window System. It is designed to locate \ | ||
4 | fonts within the system and select them according to requirements \ | ||
5 | specified by applications. \ | ||
6 | Fontconfig is not a rasterization library, nor does it impose a \ | ||
7 | particular rasterization library on the application. The X-specific \ | ||
8 | library 'Xft' uses fontconfig along with freetype to specify and \ | ||
9 | rasterize fonts." | ||
10 | |||
11 | HOMEPAGE = "http://www.fontconfig.org" | ||
12 | BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" | ||
13 | |||
14 | LICENSE = "MIT-style & MIT & PD" | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \ | ||
16 | file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \ | ||
17 | file://src/fccache.c;beginline=1131;endline=1146;md5=754c7b855210ee746e5f0b840fad9a9f" | ||
18 | |||
19 | SECTION = "libs" | ||
20 | |||
21 | DEPENDS = "expat freetype zlib" | ||
22 | |||
23 | SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ | ||
24 | file://sysroot-arg.patch" | ||
25 | SRC_URI[md5sum] = "84278204cd7f36adbea7ad8094e039ac" | ||
26 | SRC_URI[sha256sum] = "274c047487b90dacbaa55f4d70b8cdcd556944e7251ce9cf1de442c00a16343b" | ||
27 | |||
28 | PACKAGES =+ "fontconfig-utils" | ||
29 | FILES_${PN} =+ "${datadir}/xml/*" | ||
30 | FILES_fontconfig-utils = "${bindir}/*" | ||
31 | |||
32 | # Work around past breakage in debian.bbclass | ||
33 | RPROVIDES_fontconfig-utils = "libfontconfig-utils" | ||
34 | RREPLACES_fontconfig-utils = "libfontconfig-utils" | ||
35 | RCONFLICTS_fontconfig-utils = "libfontconfig-utils" | ||
36 | DEBIAN_NOAUTONAME_fontconfig-utils = "1" | ||
37 | |||
38 | inherit autotools pkgconfig | ||
39 | |||
40 | EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts" | ||
41 | |||
42 | BBCLASSEXTEND = "native" | ||