From 5f6e5e45d565ead19e7072826167b098181871b6 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Thu, 12 May 2016 10:20:33 +0300 Subject: pixman: Upgrade 0.32.8 -> 0.34.0 Remove two patches that are no longer needed. (From OE-Core rev: 7b8a99c2715583b48d1d3a1d9004c0607b99ddd1) Signed-off-by: Jussi Kukkonen Signed-off-by: Richard Purdie --- ...0001-v3-test-add-a-check-for-FE_DIVBYZERO.patch | 65 ---------------------- .../xorg-lib/pixman/mips-export-revert.patch | 22 -------- meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb | 42 -------------- meta/recipes-graphics/xorg-lib/pixman_0.34.0.bb | 40 +++++++++++++ 4 files changed, 40 insertions(+), 129 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib/pixman/0001-v3-test-add-a-check-for-FE_DIVBYZERO.patch delete mode 100644 meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch delete mode 100644 meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb create mode 100644 meta/recipes-graphics/xorg-lib/pixman_0.34.0.bb (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/xorg-lib/pixman/0001-v3-test-add-a-check-for-FE_DIVBYZERO.patch b/meta/recipes-graphics/xorg-lib/pixman/0001-v3-test-add-a-check-for-FE_DIVBYZERO.patch deleted file mode 100644 index 6b7c1e62a2..0000000000 --- a/meta/recipes-graphics/xorg-lib/pixman/0001-v3-test-add-a-check-for-FE_DIVBYZERO.patch +++ /dev/null @@ -1,65 +0,0 @@ -From fcd5eb9bd0e8674a6f4987a8fce7dc1ba8f9320c Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Thu, 17 Sep 2015 03:08:36 +0200 -Subject: [PATCH] [v3] test: add a check for FE_DIVBYZERO - -Some architectures, such as Microblaze and Nios2, currently do not -implement FE_DIVBYZERO, even though they have and -feenableexcept(). This commit adds a configure.ac check to verify -whether FE_DIVBYZERO is defined or not, and if not, disables the -problematic code in test/utils.c. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Marek Vasut -Upstream-Status: Backport [commit 4297e9058] ---- -Changes v1 -> v2: - - * Use the ac_cv_have_decl_FE_DIVBYZERO variable, which is - automatically set by AC_CHECK_DECL, to decide whether or not - HAVE_FEDIVBYZERO should be defined. - -Changes v2 -> v3: - - * Use action-if-yes of AC_CHECK_DECL as suggested in - http://lists.freedesktop.org/archives/pixman/2014-February/003176.html ---- - configure.ac | 5 +++++ - test/utils.c | 2 ++ - 2 files changed, 7 insertions(+) - -diff --git a/configure.ac b/configure.ac -index f93cc30..424bfd3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -891,6 +891,11 @@ if test x$have_feenableexcept = xyes; then - AC_DEFINE(HAVE_FEENABLEEXCEPT, 1, [Whether we have feenableexcept()]) - fi - -+AC_CHECK_DECL([FE_DIVBYZERO], -+ [AC_DEFINE(HAVE_FEDIVBYZERO, 1, [Whether we have FE_DIVBYZERO])], -+ [], -+ [[#include ]]) -+ - AC_CHECK_FUNC(gettimeofday, have_gettimeofday=yes, have_gettimeofday=no) - AC_CHECK_HEADER(sys/time.h, have_sys_time_h=yes, have_sys_time_h=no) - if test x$have_gettimeofday = xyes && test x$have_sys_time_h = xyes; then -diff --git a/test/utils.c b/test/utils.c -index 222d4d5..8657966 100644 ---- a/test/utils.c -+++ b/test/utils.c -@@ -966,9 +966,11 @@ enable_divbyzero_exceptions (void) - { - #ifdef HAVE_FENV_H - #ifdef HAVE_FEENABLEEXCEPT -+#ifdef HAVE_FEDIVBYZERO - feenableexcept (FE_DIVBYZERO); -+#endif - #endif - #endif - } - - void --- -2.1.4 - diff --git a/meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch b/meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch deleted file mode 100644 index 14a5fd209b..0000000000 --- a/meta/recipes-graphics/xorg-lib/pixman/mips-export-revert.patch +++ /dev/null @@ -1,22 +0,0 @@ -Revert a commit in pixman 0.32.6 which breaks compliation on MIPS machines with -errors such as: - -pixman-0.32.6/pixman/pixman-mips-dspr2-asm.S:4267: -Error: invalid operands `mflo $14,$ac3' - -Upstream-Status: Pending -Signed-off-by: Ross Burton - ---- b/pixman/pixman-mips-dspr2-asm.h -+++ a/pixman/pixman-mips-dspr2-asm.h -@@ -72,10 +72,7 @@ - #define LEAF_MIPS32R2(symbol) \ - .globl symbol; \ - .align 2; \ --#ifdef __ELF__ -- .hidden symbol; \ - .type symbol, @function; \ --#endif - .ent symbol, 0; \ - symbol: .frame sp, 0, ra; \ - .set push; \ diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb b/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb deleted file mode 100644 index 553ce369b7..0000000000 --- a/meta/recipes-graphics/xorg-lib/pixman_0.32.8.bb +++ /dev/null @@ -1,42 +0,0 @@ -SUMMARY = "Pixman: Pixel Manipulation library" - -DESCRIPTION = "Pixman provides a library for manipulating pixel regions \ --- a set of Y-X banded rectangles, image compositing using the \ -Porter/Duff model and implicit mask generation for geometric primitives \ -including trapezoids, triangles, and rectangles." - -require xorg-lib-common.inc - -# see http://cairographics.org/releases/ - only even minor versions are stable -UPSTREAM_CHECK_REGEX = "pixman-(?P\d+\.(\d*[02468])+(\.\d+)+)" - -LICENSE = "MIT & MIT-style & PD" -LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \ - file://pixman/pixman-matrix.c;endline=25;md5=ba6e8769bfaaee2c41698755af04c4be \ - file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ - " -DEPENDS += "zlib libpng" -BBCLASSEXTEND = "native nativesdk" - -PE = "1" - -IWMMXT = "--disable-arm-iwmmxt" -LOONGSON_MMI = "--disable-loongson-mmi" -# If target supports neon then disable the 'simd' (ie VFPv2) fallback, otherwise disable neon. -NEON = "${@bb.utils.contains("TUNE_FEATURES", "neon", "--disable-arm-simd", "--disable-arm-neon" ,d)}" - -EXTRA_OECONF = "--disable-gtk ${IWMMXT} ${LOONGSON_MMI} ${NEON}" -EXTRA_OECONF_class-native = "--disable-gtk" -EXTRA_OECONF_class-nativesdk = "--disable-gtk" - -SRC_URI += "\ - file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ - file://mips-export-revert.patch \ - file://asm_include.patch \ - file://0001-v3-test-add-a-check-for-FE_DIVBYZERO.patch \ -" - -SRC_URI[md5sum] = "18d6b62abdb7bc0f8e6b0ddf48986b2c" -SRC_URI[sha256sum] = "5c63dbb3523fc4d86ed4186677815918a941b7cb390d5eec4f55cb5d66b59fb1" - -REQUIRED_DISTRO_FEATURES = "" diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.34.0.bb b/meta/recipes-graphics/xorg-lib/pixman_0.34.0.bb new file mode 100644 index 0000000000..87da5c2abc --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/pixman_0.34.0.bb @@ -0,0 +1,40 @@ +SUMMARY = "Pixman: Pixel Manipulation library" + +DESCRIPTION = "Pixman provides a library for manipulating pixel regions \ +-- a set of Y-X banded rectangles, image compositing using the \ +Porter/Duff model and implicit mask generation for geometric primitives \ +including trapezoids, triangles, and rectangles." + +require xorg-lib-common.inc + +# see http://cairographics.org/releases/ - only even minor versions are stable +UPSTREAM_CHECK_REGEX = "pixman-(?P\d+\.(\d*[02468])+(\.\d+)+)" + +LICENSE = "MIT & MIT-style & PD" +LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \ + file://pixman/pixman-matrix.c;endline=25;md5=ba6e8769bfaaee2c41698755af04c4be \ + file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ + " +DEPENDS += "zlib libpng" +BBCLASSEXTEND = "native nativesdk" + +PE = "1" + +IWMMXT = "--disable-arm-iwmmxt" +LOONGSON_MMI = "--disable-loongson-mmi" +# If target supports neon then disable the 'simd' (ie VFPv2) fallback, otherwise disable neon. +NEON = "${@bb.utils.contains("TUNE_FEATURES", "neon", "--disable-arm-simd", "--disable-arm-neon" ,d)}" + +EXTRA_OECONF = "--disable-gtk ${IWMMXT} ${LOONGSON_MMI} ${NEON}" +EXTRA_OECONF_class-native = "--disable-gtk" +EXTRA_OECONF_class-nativesdk = "--disable-gtk" + +SRC_URI += "\ + file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ + file://asm_include.patch \ +" + +SRC_URI[md5sum] = "002a4fcb644ddfcb4b0e4191576a0d59" +SRC_URI[sha256sum] = "39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0" + +REQUIRED_DISTRO_FEATURES = "" -- cgit v1.2.3-54-g00ecf