mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
userland: Update to 20190501
Forward port the patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
aaa0d0b708
commit
041cdd8040
|
@ -1,4 +1,4 @@
|
|||
From 829dff626d423ad34c8e710cd10d5fc9a4ea80b3 Mon Sep 17 00:00:00 2001
|
||||
From e94675aa943c114ff801167c69bdd2d366d01665 Mon Sep 17 00:00:00 2001
|
||||
From: Dom Cobley <dc4@broadcom.com>
|
||||
Date: Tue, 9 Jul 2013 09:26:26 -0400
|
||||
Subject: [PATCH 01/18] Allow applications to set next resource handle
|
||||
|
@ -204,5 +204,5 @@ index 8a5734c..51b3580 100644
|
|||
|
||||
FN(void, eglIntGetColorData_impl, (EGL_SURFACE_ID_T s, KHRN_IMAGE_FORMAT_T format, uint32_t width, uint32_t height, int32_t stride, uint32_t y_offset, void *data))
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 469840d211beb22085e57934bda3caabb71a4695 Mon Sep 17 00:00:00 2001
|
||||
From ad6f485d9eb809b67398ce0948844dd30ea1c8e3 Mon Sep 17 00:00:00 2001
|
||||
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
|
||||
Date: Tue, 1 Oct 2013 13:19:20 +0200
|
||||
Subject: [PATCH 02/18] wayland: Add support for the Wayland winsys
|
||||
|
@ -91,11 +91,11 @@ index cfc8ae5..673a5ad 100644
|
|||
|
||||
# Global include paths
|
||||
diff --git a/README.md b/README.md
|
||||
index de5754d..2097036 100644
|
||||
index 404e4d4..97a6b8f 100644
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -6,3 +6,7 @@ Use buildme to build. It requires cmake to be installed and an arm cross compile
|
||||
https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian
|
||||
@@ -8,3 +8,7 @@ https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linu
|
||||
Whilst 64-bit userspace is not officially supported, some of the libraries will work for it. To cross compile, install gcc-aarch64-linux-gnu and g++-aarch64-linux-gnu first. For both native and cross compiles, add the option ```--aarch64``` to the buildme command.
|
||||
|
||||
Note that this repository does not contain the source for the edidparser and vcdbg binaries due to licensing restrictions.
|
||||
+
|
||||
|
@ -103,10 +103,10 @@ index de5754d..2097036 100644
|
|||
+
|
||||
+$ BUILD_WAYLAND=1 ./buildme.
|
||||
diff --git a/buildme b/buildme
|
||||
index b8fd440..a780bb6 100755
|
||||
index cee90a6..d1d76a7 100755
|
||||
--- a/buildme
|
||||
+++ b/buildme
|
||||
@@ -8,6 +8,10 @@ fi
|
||||
@@ -17,6 +17,10 @@ fi
|
||||
|
||||
BUILDSUBDIR=`echo $BUILDTYPE | tr '[A-Z]' '[a-z]'`;
|
||||
|
||||
|
@ -114,10 +114,10 @@ index b8fd440..a780bb6 100755
|
|||
+ WAYLAND_VARS="-DBUILD_WAYLAND=TRUE"
|
||||
+fi
|
||||
+
|
||||
if [ "armv6l" = `arch` ] || [ "armv7l" = `arch` ]; then
|
||||
if [ $ARCH = "armv6l" ] || [ $ARCH = "armv7l" ] || [ $ARCH = "aarch64" ]; then
|
||||
# Native compile on the Raspberry Pi
|
||||
mkdir -p build/raspberry/$BUILDSUBDIR
|
||||
@@ -32,9 +36,13 @@ elif [ "$1" = "--native" ]; then
|
||||
@@ -41,9 +45,13 @@ elif [ "$1" = "--native" ]; then
|
||||
make -j `nproc` $*
|
||||
else
|
||||
# Cross compile on a more capable machine
|
||||
|
@ -127,8 +127,8 @@ index b8fd440..a780bb6 100755
|
|||
+ fi
|
||||
mkdir -p build/arm-linux/$BUILDSUBDIR
|
||||
pushd build/arm-linux/$BUILDSUBDIR
|
||||
- cmake -DCMAKE_TOOLCHAIN_FILE=../../../makefiles/cmake/toolchains/arm-linux-gnueabihf.cmake -DCMAKE_BUILD_TYPE=$BUILDTYPE ../../..
|
||||
+ cmake -DCMAKE_TOOLCHAIN_FILE=../../../makefiles/cmake/toolchains/arm-linux-gnueabihf.cmake -DCMAKE_BUILD_TYPE=$BUILDTYPE $WAYLAND_VARS ../../..
|
||||
- cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=$BUILDTYPE -DARM64=$ARM64 ../../..
|
||||
+ cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=$BUILDTYPE -DARM64=$ARM64 $WAYLAND_VARS ../../..
|
||||
make -j `nproc`
|
||||
|
||||
if [ "$1" != "" ]; then
|
||||
|
@ -1894,5 +1894,5 @@ index 0000000..ad90d30
|
|||
+ set(${_sources} ${${_sources}} PARENT_SCOPE)
|
||||
+endfunction()
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 2391bba64116135369147e930fb14b5824a9cef0 Mon Sep 17 00:00:00 2001
|
||||
From 642110bbc9ebcb9ad497f4f1c1ccbc5a9afda753 Mon Sep 17 00:00:00 2001
|
||||
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
|
||||
Date: Tue, 1 Oct 2013 13:19:20 +0200
|
||||
Subject: [PATCH 03/18] wayland: Add Wayland example
|
||||
|
@ -862,5 +862,5 @@ index 8225dd5..0be6ce7 100755
|
|||
-
|
||||
+make -C hello_wayland
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 3d1d046281b90d6777864b0d9a032657fad78d76 Mon Sep 17 00:00:00 2001
|
||||
From 33374e6b19a28d52a0089aa7b9af9b698fb98a86 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 10 Aug 2015 02:38:27 -0700
|
||||
Subject: [PATCH 04/18] wayland-egl: Add bcm_host to dependencies
|
||||
|
@ -24,5 +24,5 @@ index 8bafc15..fd259c9 100644
|
|||
Libs: -L${libdir} -lwayland-egl
|
||||
Cflags: -I${includedir}
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From d17e5b9285635dcbe1c6e5a7398f6e5b1560a0c0 Mon Sep 17 00:00:00 2001
|
||||
From e2d13265a34519364bd7d27d54a860967b320504 Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sat, 24 Jan 2015 22:07:19 +0100
|
||||
Subject: [PATCH 05/18] interface: remove faulty assert() to make weston happy
|
||||
|
@ -25,5 +25,5 @@ index eab146e..29e0dee 100755
|
|||
}
|
||||
} else {
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 7d4559c2418f4997dfdddefa9281250d0d8082db Mon Sep 17 00:00:00 2001
|
||||
From 0c64a21bd90b9dea9916dcdc7c8c23b93518ccb8 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:10:47 -0800
|
||||
Subject: [PATCH 06/18] zero-out wl buffers in egl_surface_free
|
||||
|
@ -29,5 +29,5 @@ index 42350bf..1f923d9 100644
|
|||
#endif
|
||||
}
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 19e63107670bb15833744402d68c8fcae9e53a12 Mon Sep 17 00:00:00 2001
|
||||
From 4e0f83d815461d501fef788236dab356c9b60ea5 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:11:41 -0800
|
||||
Subject: [PATCH 07/18] initialize front back wayland buffers
|
||||
|
@ -30,5 +30,5 @@ index 1f923d9..9a9582c 100644
|
|||
}
|
||||
#endif
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 4312ce4f9320b25f513c4d8fa163f9d8faebfd97 Mon Sep 17 00:00:00 2001
|
||||
From 67384449b85e65661558b9ebe059792cdd737fc7 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 11:09:18 -0800
|
||||
Subject: [PATCH 08/18] Remove RPC_FLUSH
|
||||
|
@ -23,5 +23,5 @@ index f9b7287..b04ffef 100644
|
|||
}
|
||||
#endif
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From cb454ad44fcb35fc28b823f05f3538c1f997e89e Mon Sep 17 00:00:00 2001
|
||||
From a4a31696bddb72f3bf58f6b5303816fd31081566 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 6 Feb 2016 13:12:47 -0800
|
||||
Subject: [PATCH 09/18] fix cmake dependency race
|
||||
|
@ -74,5 +74,5 @@ index f0bae30..8c44c58 100644
|
|||
struct wl_resource *resource;
|
||||
struct wl_dispmanx *dispmanx;
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 2f0b25266d0b4b04ef78b8950f5bd9749857b4f0 Mon Sep 17 00:00:00 2001
|
||||
From c7acd48a9044e24d64ef453ff35202d6a697eb5d Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 29 Mar 2016 20:38:30 -0700
|
||||
Subject: [PATCH 10/18] Fix for framerate with nested composition
|
||||
|
@ -56,5 +56,5 @@ index 03fe67b..13a110c 100644
|
|||
#ifdef ANDROID
|
||||
CLIENT_UNLOCK();
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 5bc4118e7861f35ead6565530cb4213987296fb9 Mon Sep 17 00:00:00 2001
|
||||
From a49fbbc6abc3d57d45011a3410d3b8f04349e424 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 2 Apr 2016 10:37:24 -0700
|
||||
Subject: [PATCH 11/18] build shared library for vchostif
|
||||
|
@ -24,5 +24,5 @@ index c415176..d0cca1a 100755
|
|||
#add_library(bufman vc_vchi_bufman.c )
|
||||
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 27194bc05a7a488827590208285a8757164edcef Mon Sep 17 00:00:00 2001
|
||||
From 70c5c684fbfbc8ebd890b0aafb2bb5c13d6cfb11 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 2 Apr 2016 10:54:59 -0700
|
||||
Subject: [PATCH 12/18] implement buffer wrapping interface for dispmanx
|
||||
|
@ -88,5 +88,5 @@ index c18626d..11ed1ef 100644
|
|||
|
||||
</protocol>
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From e99b2eafba5260b8087fc1a85830b08ea3228292 Mon Sep 17 00:00:00 2001
|
||||
From 789d16a9d5aa57b201e9d6be9427671f48fec5e4 Mon Sep 17 00:00:00 2001
|
||||
From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com>
|
||||
Date: Thu, 19 Jan 2017 18:56:07 +0000
|
||||
Subject: [PATCH 13/18] Implement triple buffering for wayland
|
||||
|
@ -86,5 +86,5 @@ index e328b77..58a3184 100644
|
|||
back_wl_buffer
|
||||
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From a9726c7fdcd386bd104b13c494d261f693dde792 Mon Sep 17 00:00:00 2001
|
||||
From 49604e158b8171033bc8a9db5d8893887fb98557 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 10 May 2017 06:39:34 +0000
|
||||
Subject: [PATCH 14/18] GLES2/gl2ext.h: Define GL_R8_EXT and GL_RG8_EXT
|
||||
|
@ -31,5 +31,5 @@ index 4eacf7f..b1acc9f 100644
|
|||
#ifndef GL_EXT_texture_type_2_10_10_10_REV
|
||||
#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 3ba79e86cdec88440885fefc7aadf793b301b000 Mon Sep 17 00:00:00 2001
|
||||
From 90f6ebc04c688720f45c7009d12d524d33f51781 Mon Sep 17 00:00:00 2001
|
||||
From: Andrea Galbusera <gizero@gmail.com>
|
||||
Date: Fri, 14 Jul 2017 09:52:54 +0200
|
||||
Subject: [PATCH 15/18] EGL/glplatform.h: define EGL_CAST
|
||||
|
@ -28,5 +28,5 @@ index 1f7c930..c39d425 100644
|
|||
+
|
||||
#endif /* __eglplatform_h */
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 5c53b2ff4d14b988ae9ab453fb2ef97b6a277ded Mon Sep 17 00:00:00 2001
|
||||
From b8a1516fd1d8c8a5f2400a7fb7bd6b9e05d33a55 Mon Sep 17 00:00:00 2001
|
||||
From: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com>
|
||||
Date: Sat, 27 Jan 2018 12:28:31 -0500
|
||||
Subject: [PATCH 16/18] Allow multiple wayland compositor state data per
|
||||
|
@ -141,5 +141,5 @@ index 9ef89cd..abd5ab3 100644
|
|||
CLIENT_UNLOCK();
|
||||
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 0d3c6b7ca5d352cc00d9501b9d5576c4ece70a83 Mon Sep 17 00:00:00 2001
|
||||
From d65939b5bdc6cfddb68803e87efffac13182ae46 Mon Sep 17 00:00:00 2001
|
||||
From: Hugo Hromic <hhromic@gmail.com>
|
||||
Date: Sun, 13 May 2018 10:49:04 +0100
|
||||
Subject: [PATCH 17/18] khronos: backport typedef for
|
||||
|
@ -34,5 +34,5 @@ index d7e5ba7..dcc90ce 100755
|
|||
#ifndef EGL_WL_bind_wayland_display
|
||||
#define EGL_WL_bind_wayland_display 1
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 0f98ccac128265b85af3c5e310413fc9fce9f78c Mon Sep 17 00:00:00 2001
|
||||
From e5fcfe7af2c7f75b66356680bb641f4f6555d0c5 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sun, 15 Jul 2018 00:48:38 -0700
|
||||
Subject: [PATCH 18/18] Add EGL_IMG_context_priority related defines
|
||||
|
@ -31,5 +31,5 @@ index dcc90ce..6842bf9 100755
|
|||
#define EGL_KHR_vg_parent_image 1
|
||||
#define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */
|
||||
--
|
||||
2.20.1
|
||||
2.21.0
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@ COMPATIBLE_MACHINE = "^rpi$"
|
|||
|
||||
SRCBRANCH = "master"
|
||||
SRCFORK = "raspberrypi"
|
||||
SRCREV = "e5803f2c986cbf8c919c60278b3231dcdf4271a6"
|
||||
SRCREV = "517cdc30da167d81a485e7a994e02cec2390a269"
|
||||
|
||||
# Use the date of the above commit as the package version. Update this when
|
||||
# SRCREV is changed.
|
||||
PV = "20190114"
|
||||
PV = "20190501"
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user