From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../fontconfig/fontconfig/sysroot-arg.patch | 32 +++++++++++++++++ .../fontconfig/fontconfig_2.11.0.bb | 42 ++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch create mode 100644 meta/recipes-graphics/fontconfig/fontconfig_2.11.0.bb (limited to 'meta/recipes-graphics/fontconfig') 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 @@ +Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=72044] +Signed-off-by: Ross Burton + +From f2ade764cc9f009e1fe25b856b24b7695f66a952 Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Tue, 26 Nov 2013 17:18:25 +0000 +Subject: [PATCH] fc-cache: --sysroot option takes an argument + +The getopt_long option definitions say that sysroot doesn't take an argument, +when it in fact does. + +Signed-off-by: Ross Burton +--- + fc-cache/fc-cache.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c +index 27c7513..bf3b6b4 100644 +--- a/fc-cache/fc-cache.c ++++ b/fc-cache/fc-cache.c +@@ -67,7 +67,7 @@ + const struct option longopts[] = { + {"force", 0, 0, 'f'}, + {"really-force", 0, 0, 'r'}, +- {"sysroot", 0, 0, 'y'}, ++ {"sysroot", required_argument, 0, 'y'}, + {"system-only", 0, 0, 's'}, + {"version", 0, 0, 'V'}, + {"verbose", 0, 0, 'v'}, +-- +1.8.4.4 + 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 @@ +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." + +HOMEPAGE = "http://www.fontconfig.org" +BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" + +LICENSE = "MIT-style & MIT & PD" +LIC_FILES_CHKSUM = "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \ + file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \ + file://src/fccache.c;beginline=1131;endline=1146;md5=754c7b855210ee746e5f0b840fad9a9f" + +SECTION = "libs" + +DEPENDS = "expat freetype zlib" + +SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ + file://sysroot-arg.patch" +SRC_URI[md5sum] = "84278204cd7f36adbea7ad8094e039ac" +SRC_URI[sha256sum] = "274c047487b90dacbaa55f4d70b8cdcd556944e7251ce9cf1de442c00a16343b" + +PACKAGES =+ "fontconfig-utils" +FILES_${PN} =+ "${datadir}/xml/*" +FILES_fontconfig-utils = "${bindir}/*" + +# 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" + +inherit autotools pkgconfig + +EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf