summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/fontconfig
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/fontconfig')
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch32
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig_2.11.0.bb42
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 @@
1Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=72044]
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From f2ade764cc9f009e1fe25b856b24b7695f66a952 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 26 Nov 2013 17:18:25 +0000
7Subject: [PATCH] fc-cache: --sysroot option takes an argument
8
9The getopt_long option definitions say that sysroot doesn't take an argument,
10when it in fact does.
11
12Signed-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
17diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
18index 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--
311.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 @@
1SUMMARY = "Generic font configuration library"
2DESCRIPTION = "Fontconfig is a font configuration and customization library, which \
3does not depend on the X Window System. It is designed to locate \
4fonts within the system and select them according to requirements \
5specified by applications. \
6Fontconfig is not a rasterization library, nor does it impose a \
7particular rasterization library on the application. The X-specific \
8library 'Xft' uses fontconfig along with freetype to specify and \
9rasterize fonts."
10
11HOMEPAGE = "http://www.fontconfig.org"
12BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig"
13
14LICENSE = "MIT-style & MIT & PD"
15LIC_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
19SECTION = "libs"
20
21DEPENDS = "expat freetype zlib"
22
23SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
24 file://sysroot-arg.patch"
25SRC_URI[md5sum] = "84278204cd7f36adbea7ad8094e039ac"
26SRC_URI[sha256sum] = "274c047487b90dacbaa55f4d70b8cdcd556944e7251ce9cf1de442c00a16343b"
27
28PACKAGES =+ "fontconfig-utils"
29FILES_${PN} =+ "${datadir}/xml/*"
30FILES_fontconfig-utils = "${bindir}/*"
31
32# Work around past breakage in debian.bbclass
33RPROVIDES_fontconfig-utils = "libfontconfig-utils"
34RREPLACES_fontconfig-utils = "libfontconfig-utils"
35RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
36DEBIAN_NOAUTONAME_fontconfig-utils = "1"
37
38inherit autotools pkgconfig
39
40EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts"
41
42BBCLASSEXTEND = "native"