pango: upgrade to 1.36.1
PATCH 1/5 pango: upgrade to 1.36.1
---
meta/recipes-graphics/pango/{pango_1.32.6.bb => pango_1.36.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/pango/{pango_1.32.6.bb => pango_1.36.1.bb} (56%)meta/recipes-graphics/pango/pango_1.36.1.bb renamed from meta/recipes-graphics/pango/pango_1.32.6.bb +2 -2
@@ -8,5 +8,5 @@ SRC_URI += "file://no-tests.patch \ file://multilib-fix-clean.patch \ " -SRC_URI[archive.md5sum] = "1af2e3a0ac5a258eff5ceddb6ed60ebd" -SRC_URI[archive.sha256sum] = "8e9a3eadebf30a31640f2b3ae0fb455cf92d10d1cad246d0ffe72ec595905174" +SRC_URI[archive.md5sum] = "9e0d3a1ea395172f8c39ba98a4d2081a" +SRC_URI[archive.sha256sum] = "42e4b51cdc99e6878a9ea2a5ef2b31b79c1033f8518726df738a3c54c90e59f8"
Signature · 1 line
1.7.10.4
PATCH 2/5 libxft: fix Freetype header inclusion
Freetype 2.5.1 changes the location of the header files but as directly including the files isn't recommended they don't see this as a problem. Change libxft to use the recommended macros instead of direct inclusion, to fix the compilation.
--- .../xorg-lib/libxft/freetype.patch | 39 ++++++++++++++++++++ meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb | 8 ++-- 2 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libxft/freetype.patch
meta/recipes-graphics/xorg-lib/libxft/freetype.patch new file +39 -0
@@ -0,0 +1,39 @@ +Upstream-Status: Submitted +Signed-off-by: Ross Burton <[email protected]> + +From f568fa5a8220fd06659c0f26a93adcc81a42917c Mon Sep 17 00:00:00 2001 +From: Ross Burton <[email protected]> +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 <[email protected]> +--- + 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 <freetype/ftoutln.h> +-#include <freetype/ftlcdfil.h> +- +-#include <freetype/ftsynth.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H ++#include FT_LCD_FILTER_H ++#include FT_SYNTHESIS_H + + /* + * Validate the memory info for a font +-- +1.8.5 +
meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb +5 -3
@@ -20,6 +20,11 @@ PROVIDES = "xft" PE = "1" +SRC_URI += "file://freetype.patch" + +SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" +SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd" + XORG_PN = "libXft" BBCLASSEXTEND = "native"
@@ -28,6 +33,3 @@ python () { if d.getVar('DEBIAN_NAMES', True): d.setVar('PKG_${PN}', '${MLPREFIX}libxft2') } - -SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" -SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd"
Signature · 1 line
1.7.10.4
PATCH 3/5 freetype: upgrade to 2.5.1
In reply to Ross BurtonFrom: Upgrade Helper <[email protected]>
---
.../freetype/{freetype_2.5.0.1.bb => freetype_2.5.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/freetype/{freetype_2.5.0.1.bb => freetype_2.5.1.bb} (91%)meta/recipes-graphics/freetype/freetype_2.5.1.bb renamed from meta/recipes-graphics/freetype/freetype_2.5.0.1.bb +2 -2
@@ -16,8 +16,8 @@ SECTION = "libs" SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ " -SRC_URI[md5sum] = "c72e9010b1d986d556fc0b2b5fcbf31a" -SRC_URI[sha256sum] = "57bce5b37989577aa8b4a588426839f6bf39bcc3869748cb18f6827df251f4e5" +SRC_URI[md5sum] = "93eba7854094f46d7d98a9a2370af4d6" +SRC_URI[sha256sum] = "d715faa92b37980280c857ce9d356fff4361c5a7bd9b5c3f867fc24f598d8f45" S = "${WORKDIR}/freetype-${PV}"
Signature · 1 line
1.7.10.4
PATCH 4/5 pixman: upgrade to 0.32.4
In reply to Ross BurtonDrop the generic C implementation of pixman_blt patch, upstream refuses to accept generic implementations as the policy is that the caller provides generic paths, and this patch was only used in conjunction with a matching patch in xserver-xorg which we don't carry anymore.
---
...mplementation-of-pixman_blt-with-overlapp.patch | 124 --------------------
.../{pixman_0.30.2.bb => pixman_0.32.4.bb} | 5 +-
2 files changed, 2 insertions(+), 127 deletions(-)
delete mode 100644 meta/recipes-graphics/xorg-lib/pixman/Generic-C-implementation-of-pixman_blt-with-overlapp.patch
rename meta/recipes-graphics/xorg-lib/{pixman_0.30.2.bb => pixman_0.32.4.bb} (83%)meta/recipes-graphics/xorg-lib/pixman/Generic-C-implementation-of-pixman_blt-with-overlapp.patch deleted +0 -124
@@ -1,124 +0,0 @@ -Generic C implementation of pixman_blt with overlapping support - -This was ported from meta-oe's patch [1]: -Uses memcpy/memmove functions to copy pixels, can handle the -case when both source and destination areas are in the same -image (this is useful for scrolling). - -It is assumed that copying direction is only important when -using the same image for both source and destination (and -src_stride == dst_stride). Copying direction is undefined -for the images with different source and destination stride -which happen to be in the overlapped areas (but this is an -unrealistic case anyway). - -[1] http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/xorg-lib/pixman-0.26.2/0008-Generic-C-implementation-of-pixman_blt-with-overlapp.patch - -Upstream-Status: Pending -Signed-off-by: Andreas Müller <[email protected]> -Signed-off-by: Constantin Musca <[email protected]> - -Index: pixman-0.28.0/pixman/pixman-general.c -=================================================================== ---- pixman-0.28.0.orig/pixman/pixman-general.c -+++ pixman-0.28.0/pixman/pixman-general.c -@@ -214,6 +214,41 @@ static const pixman_fast_path_t general_ - { PIXMAN_OP_NONE } - }; - -+static pixman_bool_t -+general_blt (pixman_implementation_t *imp, -+ uint32_t * src_bits, -+ uint32_t * dst_bits, -+ int src_stride, -+ int dst_stride, -+ int src_bpp, -+ int dst_bpp, -+ int src_x, -+ int src_y, -+ int dest_x, -+ int dest_y, -+ int width, -+ int height) -+{ -+ uint8_t *dst_bytes = (uint8_t *)dst_bits; -+ uint8_t *src_bytes = (uint8_t *)src_bits; -+ int bpp; -+ -+ if (src_bpp != dst_bpp || src_bpp & 7) -+ return FALSE; -+ -+ bpp = src_bpp >> 3; -+ width *= bpp; -+ src_stride *= 4; -+ dst_stride *= 4; -+ pixman_blt_helper (src_bytes + src_y * src_stride + src_x * bpp, -+ dst_bytes + dest_y * dst_stride + dest_x * bpp, -+ src_stride, -+ dst_stride, -+ width, -+ height); -+ return TRUE; -+} -+ - pixman_implementation_t * - _pixman_implementation_create_general (void) - { -@@ -222,6 +257,7 @@ _pixman_implementation_create_general (v - _pixman_setup_combiner_functions_32 (imp); - _pixman_setup_combiner_functions_float (imp); - -+ imp->blt = general_blt; - imp->src_iter_init = general_src_iter_init; - imp->dest_iter_init = general_dest_iter_init; - -Index: pixman-0.28.0/pixman/pixman-private.h -=================================================================== ---- pixman-0.28.0.orig/pixman/pixman-private.h -+++ pixman-0.28.0/pixman/pixman-private.h -@@ -1109,6 +1109,45 @@ void pixman_timer_register (pixman_timer - - #endif /* PIXMAN_TIMERS */ - -+/* a helper function, can blit 8-bit images with src/dst overlapping support */ -+static inline void -+pixman_blt_helper (uint8_t *src_bytes, -+ uint8_t *dst_bytes, -+ int src_stride, -+ int dst_stride, -+ int width, -+ int height) -+{ -+ /* -+ * The second part of this check is not strictly needed, but it prevents -+ * unnecessary upside-down processing of areas which belong to different -+ * images. Upside-down processing can be slower with fixed-distance-ahead -+ * prefetch and perceived as having more tearing. -+ */ -+ if (src_bytes < dst_bytes + width && -+ src_bytes + src_stride * height > dst_bytes) { -+ src_bytes += src_stride * height - src_stride; -+ dst_bytes += dst_stride * height - dst_stride; -+ dst_stride = -dst_stride; -+ src_stride = -src_stride; -+ -+ /* Horizontal scrolling to the left needs memmove */ -+ if (src_bytes + width > dst_bytes) { -+ while (--height >= 0) { -+ memmove (dst_bytes, src_bytes, width); -+ dst_bytes += dst_stride; -+ src_bytes += src_stride; -+ } -+ return; -+ } -+ } -+ while (--height >= 0) { -+ memcpy (dst_bytes, src_bytes, width); -+ dst_bytes += dst_stride; -+ src_bytes += src_stride; -+ } -+} -+ - #endif /* __ASSEMBLER__ */ - - #endif /* PIXMAN_PRIVATE_H */
meta/recipes-graphics/xorg-lib/pixman_0.32.4.bb renamed from meta/recipes-graphics/xorg-lib/pixman_0.30.2.bb +2 -3
@@ -29,8 +29,7 @@ EXTRA_OECONF_class-native = "--disable-gtk" SRC_URI += "\ file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ - file://Generic-C-implementation-of-pixman_blt-with-overlapp.patch \ " -SRC_URI[md5sum] = "2d0588e20dc1308b29b2fca68dad9a9c" -SRC_URI[sha256sum] = "4fbb51788fe7cbd8abb5f80aed95ec878704e57a06328f7bebe0306e3822c96c" +SRC_URI[md5sum] = "cdb566504fe9daf6728c7b03cc7ea228" +SRC_URI[sha256sum] = "ae2bd664057e330d41b40336ed296d3512318ce7f2401cc42601f2613d371e4c"
Signature · 1 line
1.7.10.4
PATCH 5/5 xserver: remove unrecognised options
In reply to Ross Burton--disable-xorgcfg was removed in 2008.
--with-fontdir was renamed to --with-fontrootdir in 2009 and the default value is good.
--disable-xf86misc was removed in 2008.
--disable-acfb, -ccfb and -mcfb should have been --disable-afb, -cfb, -mfb, and were removed in 2008.
--- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 6 ------ 1 file changed, 6 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +0 -6
@@ -102,12 +102,7 @@ EXTRA_OECONF += "--with-fop=no \ --without-xmlto \ --with-pic \ --disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ --disable-record \ --disable-dmx \ --disable-xnest \
@@ -117,7 +112,6 @@ EXTRA_OECONF += "--with-fop=no \ --with-int10=x86emu \ --sysconfdir=/etc/X11 \ --localstatedir=/var \ - --with-fontdir=${datadir}/fonts/X11 \ --with-xkb-output=/var/lib/xkb \ ac_cv_file__usr_share_sgml_X11_defs_ent=no \ "
Signature · 1 line
1.7.10.4