summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxft/freetype.patch39
-rw-r--r--meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb8
2 files changed, 44 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxft/freetype.patch b/meta/recipes-graphics/xorg-lib/libxft/freetype.patch
new file mode 100644
index 0000000000..9f1aa21bac
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxft/freetype.patch
@@ -0,0 +1,39 @@
1Upstream-Status: Submitted
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From f568fa5a8220fd06659c0f26a93adcc81a42917c Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Mon, 2 Dec 2013 13:48:40 +0000
7Subject: [PATCH] xftglyphs: use recommend freetype inclusion
8
9FreeType recommends to use their special macros to include the headers, because
10it gives them the ability to move headers around. They did this in 2.5.1 (yes,
11a point release) and this direct inclusion doesn't work anymore.
12
13Signed-off-by: Ross Burton <ross.burton@intel.com>
14---
15 src/xftglyphs.c | 8 ++++----
16 1 file changed, 4 insertions(+), 4 deletions(-)
17
18diff --git a/src/xftglyphs.c b/src/xftglyphs.c
19index 2f3dc5a..53302f0 100644
20--- a/src/xftglyphs.c
21+++ b/src/xftglyphs.c
22@@ -21,10 +21,10 @@
23 */
24
25 #include "xftint.h"
26-#include <freetype/ftoutln.h>
27-#include <freetype/ftlcdfil.h>
28-
29-#include <freetype/ftsynth.h>
30+#include <ft2build.h>
31+#include FT_FREETYPE_H
32+#include FT_LCD_FILTER_H
33+#include FT_SYNTHESIS_H
34
35 /*
36 * Validate the memory info for a font
37--
381.8.5
39
diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb b/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb
index 627a6d3d3c..16838f0eae 100644
--- a/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb
@@ -20,6 +20,11 @@ PROVIDES = "xft"
20 20
21PE = "1" 21PE = "1"
22 22
23SRC_URI += "file://freetype.patch"
24
25SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0"
26SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd"
27
23XORG_PN = "libXft" 28XORG_PN = "libXft"
24 29
25BBCLASSEXTEND = "native" 30BBCLASSEXTEND = "native"
@@ -28,6 +33,3 @@ python () {
28 if d.getVar('DEBIAN_NAMES', True): 33 if d.getVar('DEBIAN_NAMES', True):
29 d.setVar('PKG_${PN}', '${MLPREFIX}libxft2') 34 d.setVar('PKG_${PN}', '${MLPREFIX}libxft2')
30} 35}
31
32SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0"
33SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd"