meta-agl-profile-graphical: update wayland-ivi-extension for weston 7.0.0 76/23676/1
authorScott Murray <scott.murray@konsulko.com>
Thu, 23 Jan 2020 01:26:42 +0000 (20:26 -0500)
committerScott Murray <scott.murray@konsulko.com>
Thu, 23 Jan 2020 01:26:42 +0000 (20:26 -0500)
Tweak one patch to wayland-ivi-extension to handle switching from weston
6 to 7, and add another to handle the location of the plugin-registry.h
header file having changed in weston 7.

Bug-AGL: SPEC-2932

Change-Id: I6c861c593bbde24d4b18a88f1a42d87ac0450bfd
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension/0002-ivi-id-agent-added-ivi-id-agent.patch
meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension/0006-fix-plugin-registry-include.patch [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension_git.bb

index 7deb01e..d86e1f2 100644 (file)
@@ -73,7 +73,7 @@ index 0000000..7354a7e
 +pkg_check_modules(WAYLAND_SERVER wayland-server REQUIRED)
 +pkg_check_modules(WESTON weston>=5.0.0 REQUIRED)
 +pkg_check_modules(PIXMAN pixman-1 REQUIRED)
-+pkg_check_modules(LIBWESTON_DESKTOP libweston-desktop-6 REQUIRED)
++pkg_check_modules(LIBWESTON_DESKTOP libweston-desktop-7 REQUIRED)
 +
 +find_package(Threads REQUIRED)
 +
@@ -149,8 +149,8 @@ index 0000000..9bc115d
 +#include <limits.h>
 +
 +#include <weston.h>
-+#include <libweston-desktop.h>
-+#include "config-parser.h"
++#include <libweston-desktop/libweston-desktop.h>
++#include "libweston/config-parser.h"
 +#include <weston/ivi-layout-export.h>
 +
 +#ifndef INVALID_ID
diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension/0006-fix-plugin-registry-include.patch b/meta-agl-profile-graphical/recipes-graphics/wayland/wayland-ivi-extension/0006-fix-plugin-registry-include.patch
new file mode 100644 (file)
index 0000000..dddbfd3
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c b/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c
+index a0bfc48..257a1dc 100644
+--- a/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c
++++ b/ivi-input-modules/ivi-input-controller/src/ivi-input-controller.c
+@@ -31,7 +31,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+-#include "plugin-registry.h"
++#include <libweston/plugin-registry.h>
+ #include "ilm_types.h"
+ #include "ivi-input-server-protocol.h"
index 3935929..68fc694 100644 (file)
@@ -12,6 +12,7 @@ SRC_URI = "git://github.com/GENIVI/${BPN}.git;protocol=http \
            file://0002-add-LayerManagerControl-error-status.patch \
            file://0004-ivi-ilmcontrol-added-focus-notification.patch \
            file://0005-disable-EGLWLMockNavigation-example-build.patch \
+           file://0006-fix-plugin-registry-include.patch \
 "
 SRC_URI_append_wandboard = " file://wandboard_fix_build.patch"
 SRCREV = "736fb654ac81230cf4f9e51a5772d3a02d7639bf"