diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxft/freetype.patch | 39 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb | 8 |
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 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From f568fa5a8220fd06659c0f26a93adcc81a42917c Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Mon, 2 Dec 2013 13:48:40 +0000 | ||
7 | Subject: [PATCH] xftglyphs: use recommend freetype inclusion | ||
8 | |||
9 | FreeType recommends to use their special macros to include the headers, because | ||
10 | it gives them the ability to move headers around. They did this in 2.5.1 (yes, | ||
11 | a point release) and this direct inclusion doesn't work anymore. | ||
12 | |||
13 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
14 | --- | ||
15 | src/xftglyphs.c | 8 ++++---- | ||
16 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
17 | |||
18 | diff --git a/src/xftglyphs.c b/src/xftglyphs.c | ||
19 | index 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 | -- | ||
38 | 1.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 | ||
21 | PE = "1" | 21 | PE = "1" |
22 | 22 | ||
23 | SRC_URI += "file://freetype.patch" | ||
24 | |||
25 | SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" | ||
26 | SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd" | ||
27 | |||
23 | XORG_PN = "libXft" | 28 | XORG_PN = "libXft" |
24 | 29 | ||
25 | BBCLASSEXTEND = "native" | 30 | BBCLASSEXTEND = "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 | |||
32 | SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" | ||
33 | SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd" | ||