Patchwork [meta-oe] pixman: replace pixman_0.24.0.bb with smaller bbappend with only diff against oe-core version

login
register
mail settings
Submitter Martin Jansa
Date Dec. 1, 2011, 2:56 p.m.
Message ID <1322751365-21171-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/15979/
State Accepted
Commit 4e23fe26669910f27a5fafb1e6d98c6a35815a0c
Headers show

Comments

Martin Jansa - Dec. 1, 2011, 2:56 p.m.
* disable iwmmxt for now, because it breaks build
* neon is not really enabled for people not having FEED_ARCH in OVERRIDES
* maybe this diff should be merged to oe-core recipes instead

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-graphics/xorg-lib/pixman.inc       |   13 -------------
 meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bb |    4 +++-
 .../xorg-lib/pixman_0.24.0.bbappend                |   16 ++++++++++++++++
 3 files changed, 19 insertions(+), 14 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/xorg-lib/pixman.inc
 create mode 100644 meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bbappend

Patch

diff --git a/meta-oe/recipes-graphics/xorg-lib/pixman.inc b/meta-oe/recipes-graphics/xorg-lib/pixman.inc
deleted file mode 100644
index f77c6a8..0000000
--- a/meta-oe/recipes-graphics/xorg-lib/pixman.inc
+++ /dev/null
@@ -1,13 +0,0 @@ 
-SECTION = "libs"
-DESCRIPTION = "Low-level pixel manipulation library."
-LICENSE = "X11"
-
-DEPENDS = "perl-native"
-
-BBCLASSEXTEND = "native"
-
-SRC_URI = "${XORG_MIRROR}/individual/lib/${BPN}-${PV}.tar.gz;name=archive "
-
-INC_PR = "r5"
-
-inherit autotools pkgconfig
diff --git a/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bb b/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bb
index 7037546..258cbf1 100644
--- a/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bb
+++ b/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bb
@@ -18,4 +18,6 @@  SRC_URI[sha256sum] = "a5647c7158f103eedff5fba799018f4169f6b26b573ab7685812ebc9a1
 NEON = " --disable-arm-neon "
 NEON_armv7a = " "
 
-EXTRA_OECONF = "${NEON} --disable-gtk"
+IWMMXT = " --disable-arm-iwmmxt "                                                                                                                             
+                                                                                                                                                              
+EXTRA_OECONF += "${NEON} ${IWMMXT} --disable-gtk"                                                                                                                           
diff --git a/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bbappend b/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bbappend
new file mode 100644
index 0000000..61a9558
--- /dev/null
+++ b/meta-oe/recipes-graphics/xorg-lib/pixman_0.24.0.bbappend
@@ -0,0 +1,16 @@ 
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
+
+DEPENDS += "perl-native"
+BBCLASSEXTEND = "native"
+
+PRINC = "6"
+
+SRC_URI += " file://0008-Generic-C-implementation-of-pixman_blt-with-overlapp.patch"
+
+NEON = " --disable-arm-neon "
+NEON_armv7a = " "
+NEON_armv7a-vfp-neon = " "
+
+IWMMXT = " --disable-arm-iwmmxt "
+
+EXTRA_OECONF += "${NEON} ${IWMMXT}"