From c2a4fa3669ca8607845347c0c196fa96478156cb Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 22 Jul 2014 19:38:20 +0100 Subject: libxft: upgrade to 2.3.2 Remove patch that has been merged upstream. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../xorg-lib/libxft/freetype.patch | 39 ---------------------- meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb | 35 ------------------- meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb | 33 ++++++++++++++++++ 3 files changed, 33 insertions(+), 74 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib/libxft/freetype.patch delete mode 100644 meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb create mode 100644 meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb diff --git a/meta/recipes-graphics/xorg-lib/libxft/freetype.patch b/meta/recipes-graphics/xorg-lib/libxft/freetype.patch deleted file mode 100644 index 9f1aa21bac..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxft/freetype.patch +++ /dev/null @@ -1,39 +0,0 @@ -Upstream-Status: Submitted -Signed-off-by: Ross Burton - -From f568fa5a8220fd06659c0f26a93adcc81a42917c Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Mon, 2 Dec 2013 13:48:40 +0000 -Subject: [PATCH] xftglyphs: use recommend freetype inclusion - -FreeType recommends to use their special macros to include the headers, because -it gives them the ability to move headers around. They did this in 2.5.1 (yes, -a point release) and this direct inclusion doesn't work anymore. - -Signed-off-by: Ross Burton ---- - src/xftglyphs.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/xftglyphs.c b/src/xftglyphs.c -index 2f3dc5a..53302f0 100644 ---- a/src/xftglyphs.c -+++ b/src/xftglyphs.c -@@ -21,10 +21,10 @@ - */ - - #include "xftint.h" --#include --#include -- --#include -+#include -+#include FT_FREETYPE_H -+#include FT_LCD_FILTER_H -+#include FT_SYNTHESIS_H - - /* - * Validate the memory info for a font --- -1.8.5 - diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb b/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb deleted file mode 100644 index 16838f0eae..0000000000 --- a/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "XFt: X FreeType libary" - -DESCRIPTION = "Xft was designed to provide good support for scalable \ -fonts, and to do so efficiently. Unlike the core fonts system, it \ -supports features such as anti-aliasing and sub-pixel rasterisation. \ -Perhaps more importantly, it gives applications full control over the \ -way glyphs are rendered, making fine typesetting and WYSIWIG display \ -possible. Finally, it allows applications to use fonts that are not \ -installed system-wide for displaying documents with embedded fonts. Xft \ -is not compatible with the core fonts system: usage of Xft requires \ -fairly extensive changes to toolkits (user-interface libraries)." - -require xorg-lib-common.inc - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=90b90b60eb30f65fc9c2673d7cf59e24" - -DEPENDS += "virtual/libx11 libxrender freetype fontconfig" -PROVIDES = "xft" - -PE = "1" - -SRC_URI += "file://freetype.patch" - -SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" -SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd" - -XORG_PN = "libXft" - -BBCLASSEXTEND = "native" - -python () { - if d.getVar('DEBIAN_NAMES', True): - d.setVar('PKG_${PN}', '${MLPREFIX}libxft2') -} diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb b/meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb new file mode 100644 index 0000000000..a967cdc585 --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libxft_2.3.2.bb @@ -0,0 +1,33 @@ +SUMMARY = "XFt: X FreeType libary" + +DESCRIPTION = "Xft was designed to provide good support for scalable \ +fonts, and to do so efficiently. Unlike the core fonts system, it \ +supports features such as anti-aliasing and sub-pixel rasterisation. \ +Perhaps more importantly, it gives applications full control over the \ +way glyphs are rendered, making fine typesetting and WYSIWIG display \ +possible. Finally, it allows applications to use fonts that are not \ +installed system-wide for displaying documents with embedded fonts. Xft \ +is not compatible with the core fonts system: usage of Xft requires \ +fairly extensive changes to toolkits (user-interface libraries)." + +require xorg-lib-common.inc + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=90b90b60eb30f65fc9c2673d7cf59e24" + +DEPENDS += "virtual/libx11 libxrender freetype fontconfig" +PROVIDES = "xft" + +PE = "1" + +SRC_URI[md5sum] = "331b3a2a3a1a78b5b44cfbd43f86fcfe" +SRC_URI[sha256sum] = "f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c" + +XORG_PN = "libXft" + +BBCLASSEXTEND = "native" + +python () { + if d.getVar('DEBIAN_NAMES', True): + d.setVar('PKG_${PN}', '${MLPREFIX}libxft2') +} -- cgit 1.2.3-korg