diff options
author | Ross Burton <ross.burton@intel.com> | 2019-12-19 21:19:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:42 +0000 |
commit | 9fd5fb85468dac57d3b7f9d872ad9cea21ca9e77 (patch) | |
tree | f4a684534d30da51d60ce7e469b7279d62bd33e6 | |
parent | b5db8073c61e872430b9671b022a4dfa0c64079c (diff) | |
download | poky-9fd5fb85468dac57d3b7f9d872ad9cea21ca9e77.tar.gz |
pixman: port to meson
Disable libpng as that's only used in the tests and demos, that we don't build.
Drop iwmmxt disabling, we can add this back again if it fails. Loongsoon
remains disabled as the build fails for edgerouter.
Drop the Neon/VFP2 mojo, this is a micro-optimisation. If the size improvement
is significant then this can be added back.
(From OE-Core rev: dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/pixman_0.38.4.bb | 17 |
2 files changed, 8 insertions, 11 deletions
diff --git a/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch b/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch index 782c1db022..23cbf53a41 100644 --- a/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch +++ b/meta/recipes-graphics/xorg-lib/pixman/0001-test-utils-Check-for-FE_INVALID-definition-before-us.patch | |||
@@ -7,7 +7,7 @@ Some architectures e.g. nios2 do not support all exceptions | |||
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | --- | 9 | --- |
10 | Upstream-Status: Submitted | 10 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/pixman/pixman/merge_requests/24] |
11 | 11 | ||
12 | test/utils.c | 2 ++ | 12 | test/utils.c | 2 ++ |
13 | 1 file changed, 2 insertions(+) | 13 | 1 file changed, 2 insertions(+) |
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.38.4.bb b/meta/recipes-graphics/xorg-lib/pixman_0.38.4.bb index 8588e5f16b..22e19ba069 100644 --- a/meta/recipes-graphics/xorg-lib/pixman_0.38.4.bb +++ b/meta/recipes-graphics/xorg-lib/pixman_0.38.4.bb | |||
@@ -5,7 +5,7 @@ Porter/Duff model and implicit mask generation for geometric primitives \ | |||
5 | including trapezoids, triangles, and rectangles." | 5 | including trapezoids, triangles, and rectangles." |
6 | HOMEPAGE = "http://www.pixman.org" | 6 | HOMEPAGE = "http://www.pixman.org" |
7 | SECTION = "x11/libs" | 7 | SECTION = "x11/libs" |
8 | DEPENDS = "zlib libpng" | 8 | DEPENDS = "zlib" |
9 | 9 | ||
10 | SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \ | 10 | SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.gz \ |
11 | file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ | 11 | file://0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch \ |
@@ -25,15 +25,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \ | |||
25 | file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ | 25 | file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \ |
26 | " | 26 | " |
27 | 27 | ||
28 | inherit autotools pkgconfig | 28 | inherit meson pkgconfig |
29 | 29 | ||
30 | IWMMXT = "--disable-arm-iwmmxt" | 30 | # These are for the tests and demos, which we don't install |
31 | LOONGSON_MMI = "--disable-loongson-mmi" | 31 | EXTRA_OEMESON = "-Dgtk=disabled -Dlibpng=disabled" |
32 | # If target supports neon then disable the 'simd' (ie VFPv2) fallback, otherwise disable neon. | 32 | # ld: pixman/libpixman-mmx.a(pixman-mmx.c.o): |
33 | NEON = "${@bb.utils.contains("TUNE_FEATURES", "neon", "--disable-arm-simd", "--disable-arm-neon" ,d)}" | 33 | # linking mips:loongson_2f module with previous mips:isa64 modules |
34 | 34 | EXTRA_OEMESON += "-Dloongson-mmi=disabled" | |
35 | EXTRA_OECONF = "--disable-gtk ${IWMMXT} ${LOONGSON_MMI} ${NEON}" | ||
36 | EXTRA_OECONF_class-native = "--disable-gtk" | ||
37 | EXTRA_OECONF_class-nativesdk = "--disable-gtk" | ||
38 | 35 | ||
39 | BBCLASSEXTEND = "native nativesdk" | 36 | BBCLASSEXTEND = "native nativesdk" |