Skip to contentSkip to conversation

wayland: upgrade to 1.15.0

PATCH In review Denys Dmytriyenko 6 participants 21 messages Apr 10, 2018 – May 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 wayland: upgrade to 1.15.0

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html

| libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
 meta/recipes-graphics/mesa/mesa.inc                                | 7 ++++---
 .../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb}               | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb} (92%)
meta/recipes-graphics/mesa/mesa.inc +4 -3
index b501b7e..c3a8e76 100644
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used 
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
 }
 
 # For the packages that make up the OpenGL interfaces, inject variables so that
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/p
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc"
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
                           ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
                           ${libdir}/pkgconfig/xatracker.pc"
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -2
similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb
rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb
index 1a9ff98..788105b 100644
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
 	   file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aabfc1ec9a13c86c98bbe2b812f008da27ab8"
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0"
 
 inherit autotools pkgconfig
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 weston: upgrade to 4.0.0

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037768.html

Dropped previously backported fix-missing-header.patch and weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch

Refresh remaining local patches.

Modify 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch with changes to apply against the new code base.

Support for libunwind was dropped in bb707dc0fe331c9af112a0552b7aa6fde755dd83:
https://cgit.freedesktop.org/wayland/weston/commit/?id=bb707dc0fe331c9af112a0552b7aa6fde755dd83

Extract major version for referring to libweston-4 helper libraries.

---
 .../wayland/weston/0001-make-error-portable.patch  | 42 ++++++++---------
 ...ch-Provide-a-default-version-that-doesn-t.patch | 47 +++++++++---------
 .../wayland/weston/fix-missing-header.patch        | 30 ------------
 ...t-pitch-correctly-for-subsampled-textures.patch | 55 ----------------------
 .../wayland/{weston_3.0.0.bb => weston_4.0.0.bb}   | 20 ++++----
 5 files changed, 54 insertions(+), 140 deletions(-)
 delete mode 100644 meta/recipes-graphics/wayland/weston/fix-missing-header.patch
 delete mode 100644 meta/recipes-graphics/wayland/weston/weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch
 rename meta/recipes-graphics/wayland/{weston_3.0.0.bb => weston_4.0.0.bb} (87%)
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +21 -21
index 0671a45..6799254 100644
@@ -1,26 +1,25 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
 error() is not posix but gnu extension so may not be available on all
 kind of systemsi e.g. musl.
 
 Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Submitted
 
- configure.ac              |    2 ++
- libweston/weston-error.h  |   20 ++++++++++++++++++++
- libweston/weston-launch.c |    2 +-
+---
+ configure.ac              |  2 ++
+ libweston/weston-error.h  | 20 ++++++++++++++++++++
+ libweston/weston-launch.c |  2 +-
  3 files changed, 23 insertions(+), 1 deletion(-)
- create mode 100644 src/weston-error.h
+ create mode 100644 libweston/weston-error.h
 
-Index: weston-3.0.0/configure.ac
-===================================================================
---- weston-3.0.0.orig/configure.ac
-+++ weston-3.0.0/configure.ac
-@@ -103,6 +103,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
+diff --git a/configure.ac b/configure.ac
+index 7aebbdb..dc9c802 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -109,6 +109,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
  	      [[#include <time.h>]])
  AC_CHECK_HEADERS([execinfo.h])
  
@@ -29,10 +28,11 @@ Index: weston-3.0.0/configure.ac
  AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
  
  # check for libdrm as a build-time dependency only
-Index: weston-3.0.0/libweston/weston-error.h
-===================================================================
+diff --git a/libweston/weston-error.h b/libweston/weston-error.h
+new file mode 100644
+index 0000000..2089d02
 --- /dev/null
-+++ weston-3.0.0/libweston/weston-error.h
++++ b/libweston/weston-error.h
 @@ -0,0 +1,20 @@
 +#ifndef _WESTON_ERROR_H
 +#define _WESTON_ERROR_H
@@ -54,10 +54,10 @@ Index: weston-3.0.0/libweston/weston-error.h
 +
 +#endif
 +
-Index: weston-3.0.0/libweston/weston-launch.c
-===================================================================
---- weston-3.0.0.orig/libweston/weston-launch.c
-+++ weston-3.0.0/libweston/weston-launch.c
+diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c
+index 1adcf21..166bf3b 100644
+--- a/libweston/weston-launch.c
++++ b/libweston/weston-launch.c
 @@ -33,7 +33,6 @@
  #include <poll.h>
  #include <errno.h>
@@ -66,7 +66,7 @@ Index: weston-3.0.0/libweston/weston-launch.c
  #include <getopt.h>
  
  #include <sys/types.h>
-@@ -60,6 +59,7 @@
+@@ -59,6 +58,7 @@
  #endif
  
  #include "weston-launch.h"
meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch +24 -23

148 lines not on this page · raw message

meta/recipes-graphics/wayland/weston/fix-missing-header.patch deleted +0 -30
deleted file mode 100644
index 55c0d4f..0000000
@@ -1,30 +0,0 @@
-On the musl C library, tests/timespec-text.c does not build, with the
-following error:
-
-    In file included from tests/timespec-test.c:36:0:
-    ./shared/timespec-util.h:41:21: warning: ‘struct timespec’ declared
-    inside parameter list will not be visible outside of this definition
-    or declaration
-     timespec_sub(struct timespec *r,
-                         ^~~~~~~~
-   [...]
-
-Indeed, struct timespec is defined in time.h, so we must include it.
-
-Upstream-Status: Backport [fa41bdfbc0b962fd73b89f01aab1a5370c9c28eb]
-
-Signed-off-by: "Yann E. MORIN" <[email protected]>
-Reviewed-by: Pekka Paalanen <[email protected]>
-
-Index: weston-3.0.0/shared/timespec-util.h
-===================================================================
---- weston-3.0.0.orig/shared/timespec-util.h
-+++ weston-3.0.0/shared/timespec-util.h
-@@ -28,6 +28,7 @@
- 
- #include <stdint.h>
- #include <assert.h>
-+#include <time.h>
- 
- #define NSEC_PER_SEC 1000000000
- 
meta/recipes-graphics/wayland/weston/weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch deleted +0 -55

55 lines not on this page · raw message

meta/recipes-graphics/wayland/weston_4.0.0.bb renamed from meta/recipes-graphics/wayland/weston_3.0.0.bb +9 -11
similarity index 87%
rename from meta/recipes-graphics/wayland/weston_3.0.0.bb
rename to meta/recipes-graphics/wayland/weston_4.0.0.bb
index ad0cdc2..7dfca7f 100644
@@ -11,11 +11,9 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
            file://0001-make-error-portable.patch \
            file://xwayland.weston-start \
            file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
-	   file://weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch \
-	   file://fix-missing-header.patch \
 "
-SRC_URI[md5sum] = "9c42a4c51a1b9f35d040fa9d45ada36d"
-SRC_URI[sha256sum] = "cde1d55e8dd70c3cbb3d1ec72f60e60000041579caa1d6a262bd9c35e93723a5"
+SRC_URI[md5sum] = "33709aa4d5916f89643fca0fc0064b39"
+SRC_URI[sha256sum] = "a0fc0ae7ef83dfbed12abfe9b8096a24a7dd00705e86fa0db1e619ded18b4b58"
 
 inherit autotools pkgconfig useradd distro_features_check
 # depends on virtual/egl
@@ -24,6 +22,8 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
 DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native"
 
+WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}"
+
 EXTRA_OECONF = "--enable-setuid-install \
                 --disable-rdp-compositor \
                 "
@@ -62,8 +62,6 @@ PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
 PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
 # Weston with webp support
 PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
-# Weston with unwinding support
-PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
 # Weston with systemd-login support
 PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus"
 # Weston with Xwayland support (requires X11 and Wayland)
@@ -77,7 +75,7 @@ PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
 
 do_install_append() {
 	# Weston doesn't need the .la files to load modules, so wipe them
-	rm -f ${D}/${libdir}/libweston-3/*.la
+	rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la
 
 	# If X11, ship a desktop file to launch it
 	if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then
@@ -94,16 +92,16 @@ do_install_append() {
 }
 
 PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \
-             libweston-3 ${PN}-examples"
+             libweston-${WESTON_MAJOR_VERSION} ${PN}-examples"
 
 FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
 
-FILES_libweston-3 = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-3/*.so"
-SUMMARY_libweston-3 = "Helper library for implementing 'wayland window managers'."
+FILES_libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so"
+SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'."
 
 FILES_${PN}-examples = "${bindir}/*"
 
-FILES_${PN}-xwayland = "${libdir}/libweston-3/xwayland.so"
+FILES_${PN}-xwayland = "${libdir}/libweston-${WESTON_MAJOR_VERSION}/xwayland.so"
 RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
 
 RDEPENDS_${PN} += "xkeyboard-config"
Signature · 1 line
2.7.4
#2 lore raw

Re: [PATCH 2/2] weston: upgrade to 4.0.0

Quoted 8 lines · Denys Dmytriyenko
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -1
index 0671a45..6799254 100644
@@ -1,26 +1,25 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch line 11

Quoted 10 lines
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -3
 Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
 error() is not posix but gnu extension so may not be available on all
 kind of systemsi e.g. musl.
 
 Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Submitted

Ah, I've seen this before and was wondering if it was a genuine mistake or devtool being bad.

devtool refresh is doing A Bad Thing and for some reason dropping the Upstream-Status tag. Alex, can you see why this is? Denys, can you edit it back in?

Ross

#3 lore raw

Re: [PATCH 2/2] weston: upgrade to 4.0.0

Ah presumably this is because the U-S is after the scissors. Denys, when you add it back, can you put it above the ---?

Ross

Quoted 28 lines · Ross
Quoted 8 lines · Denys Dmytriyenko
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -1
index 0671a45..6799254 100644
@@ -1,26 +1,25 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch line 11

Quoted 10 lines
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -3
 Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
 error() is not posix but gnu extension so may not be available on all
 kind of systemsi e.g. musl.
 
 Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Submitted

Ah, I've seen this before and was wondering if it was a genuine mistake or devtool being bad.

devtool refresh is doing A Bad Thing and for some reason dropping the Upstream-Status tag. Alex, can you see why this is? Denys, can you edit it back in?

Ross

#4 lore raw

Re: [PATCH 2/2] weston: upgrade to 4.0.0

Quoted 2 lines · Ross

Ah presumably this is because the U-S is after the scissors. Denys, when you add it back, can you put it above the ---?

Sure, will do.

Quoted 30 lines · Ross
Quoted 28 lines · Denys Dmytriyenko
Quoted 8 lines
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -1
index 0671a45..6799254 100644
@@ -1,26 +1,25 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch line 11

Quoted 10 lines
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -3
 Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
 error() is not posix but gnu extension so may not be available on all
 kind of systemsi e.g. musl.
 
 Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Submitted

Ah, I've seen this before and was wondering if it was a genuine mistake or devtool being bad.

devtool refresh is doing A Bad Thing and for some reason dropping the Upstream-Status tag. Alex, can you see why this is? Denys, can you edit it back in?

Ross

#7 lore raw

PATCH v2 2/2 weston: upgrade to 4.0.0

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037768.html

Dropped previously backported fix-missing-header.patch and weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch

Refresh remaining local patches.

Modify 0001-weston-launch-Provide-a-default-version-that-doesn-t.patch with changes to apply against the new code base.

Support for libunwind was dropped in bb707dc0fe331c9af112a0552b7aa6fde755dd83:
https://cgit.freedesktop.org/wayland/weston/commit/?id=bb707dc0fe331c9af112a0552b7aa6fde755dd83

Extract major version for referring to libweston-4 helper libraries.

---
v2 - restore lost Upstream-Status line in error() patch

 .../wayland/weston/0001-make-error-portable.patch  | 44 ++++++++---------
 ...ch-Provide-a-default-version-that-doesn-t.patch | 49 ++++++++++---------
 .../wayland/weston/fix-missing-header.patch        | 30 ------------
 ...t-pitch-correctly-for-subsampled-textures.patch | 55 ----------------------
 .../wayland/{weston_3.0.0.bb => weston_4.0.0.bb}   | 20 ++++----
 5 files changed, 56 insertions(+), 142 deletions(-)
 delete mode 100644 meta/recipes-graphics/wayland/weston/fix-missing-header.patch
 delete mode 100644 meta/recipes-graphics/wayland/weston/weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch
 rename meta/recipes-graphics/wayland/{weston_3.0.0.bb => weston_4.0.0.bb} (87%)
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +23 -21
index 0671a45..09ec155 100644
@@ -1,26 +1,27 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
 error() is not posix but gnu extension so may not be available on all
 kind of systemsi e.g. musl.
 
-Signed-off-by: Khem Raj <[email protected]>
----
 Upstream-Status: Submitted
 
- configure.ac              |    2 ++
- libweston/weston-error.h  |   20 ++++++++++++++++++++
- libweston/weston-launch.c |    2 +-
+Signed-off-by: Khem Raj <[email protected]>
+
+---
+ configure.ac              |  2 ++
+ libweston/weston-error.h  | 20 ++++++++++++++++++++
+ libweston/weston-launch.c |  2 +-
  3 files changed, 23 insertions(+), 1 deletion(-)
- create mode 100644 src/weston-error.h
+ create mode 100644 libweston/weston-error.h
 
-Index: weston-3.0.0/configure.ac
-===================================================================
---- weston-3.0.0.orig/configure.ac
-+++ weston-3.0.0/configure.ac
-@@ -103,6 +103,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
+diff --git a/configure.ac b/configure.ac
+index 7aebbdb..dc9c802 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -109,6 +109,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
  	      [[#include <time.h>]])
  AC_CHECK_HEADERS([execinfo.h])
  
@@ -29,10 +30,11 @@ Index: weston-3.0.0/configure.ac
  AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
  
  # check for libdrm as a build-time dependency only
-Index: weston-3.0.0/libweston/weston-error.h
-===================================================================
+diff --git a/libweston/weston-error.h b/libweston/weston-error.h
+new file mode 100644
+index 0000000..2089d02
 --- /dev/null
-+++ weston-3.0.0/libweston/weston-error.h
++++ b/libweston/weston-error.h
 @@ -0,0 +1,20 @@
 +#ifndef _WESTON_ERROR_H
 +#define _WESTON_ERROR_H
@@ -54,10 +56,10 @@ Index: weston-3.0.0/libweston/weston-error.h
 +
 +#endif
 +
-Index: weston-3.0.0/libweston/weston-launch.c
-===================================================================
---- weston-3.0.0.orig/libweston/weston-launch.c
-+++ weston-3.0.0/libweston/weston-launch.c
+diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c
+index 1adcf21..166bf3b 100644
+--- a/libweston/weston-launch.c
++++ b/libweston/weston-launch.c
 @@ -33,7 +33,6 @@
  #include <poll.h>
  #include <errno.h>
@@ -66,7 +68,7 @@ Index: weston-3.0.0/libweston/weston-launch.c
  #include <getopt.h>
  
  #include <sys/types.h>
-@@ -60,6 +59,7 @@
+@@ -59,6 +58,7 @@
  #endif
  
  #include "weston-launch.h"
meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch +24 -25

149 lines not on this page · raw message

meta/recipes-graphics/wayland/weston/fix-missing-header.patch deleted +0 -30
deleted file mode 100644
index 55c0d4f..0000000
@@ -1,30 +0,0 @@
-On the musl C library, tests/timespec-text.c does not build, with the
-following error:
-
-    In file included from tests/timespec-test.c:36:0:
-    ./shared/timespec-util.h:41:21: warning: ‘struct timespec’ declared
-    inside parameter list will not be visible outside of this definition
-    or declaration
-     timespec_sub(struct timespec *r,
-                         ^~~~~~~~
-   [...]
-
-Indeed, struct timespec is defined in time.h, so we must include it.
-
-Upstream-Status: Backport [fa41bdfbc0b962fd73b89f01aab1a5370c9c28eb]
-
-Signed-off-by: "Yann E. MORIN" <[email protected]>
-Reviewed-by: Pekka Paalanen <[email protected]>
-
-Index: weston-3.0.0/shared/timespec-util.h
-===================================================================
---- weston-3.0.0.orig/shared/timespec-util.h
-+++ weston-3.0.0/shared/timespec-util.h
-@@ -28,6 +28,7 @@
- 
- #include <stdint.h>
- #include <assert.h>
-+#include <time.h>
- 
- #define NSEC_PER_SEC 1000000000
- 
meta/recipes-graphics/wayland/weston/weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch deleted +0 -55

55 lines not on this page · raw message

meta/recipes-graphics/wayland/weston_4.0.0.bb renamed from meta/recipes-graphics/wayland/weston_3.0.0.bb +9 -11
similarity index 87%
rename from meta/recipes-graphics/wayland/weston_3.0.0.bb
rename to meta/recipes-graphics/wayland/weston_4.0.0.bb
index ad0cdc2..7dfca7f 100644
@@ -11,11 +11,9 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
            file://0001-make-error-portable.patch \
            file://xwayland.weston-start \
            file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
-	   file://weston-gl-renderer-Set-pitch-correctly-for-subsampled-textures.patch \
-	   file://fix-missing-header.patch \
 "
-SRC_URI[md5sum] = "9c42a4c51a1b9f35d040fa9d45ada36d"
-SRC_URI[sha256sum] = "cde1d55e8dd70c3cbb3d1ec72f60e60000041579caa1d6a262bd9c35e93723a5"
+SRC_URI[md5sum] = "33709aa4d5916f89643fca0fc0064b39"
+SRC_URI[sha256sum] = "a0fc0ae7ef83dfbed12abfe9b8096a24a7dd00705e86fa0db1e619ded18b4b58"
 
 inherit autotools pkgconfig useradd distro_features_check
 # depends on virtual/egl
@@ -24,6 +22,8 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
 DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native"
 
+WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}"
+
 EXTRA_OECONF = "--enable-setuid-install \
                 --disable-rdp-compositor \
                 "
@@ -62,8 +62,6 @@ PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
 PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
 # Weston with webp support
 PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
-# Weston with unwinding support
-PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
 # Weston with systemd-login support
 PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus"
 # Weston with Xwayland support (requires X11 and Wayland)
@@ -77,7 +75,7 @@ PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
 
 do_install_append() {
 	# Weston doesn't need the .la files to load modules, so wipe them
-	rm -f ${D}/${libdir}/libweston-3/*.la
+	rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la
 
 	# If X11, ship a desktop file to launch it
 	if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then
@@ -94,16 +92,16 @@ do_install_append() {
 }
 
 PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \
-             libweston-3 ${PN}-examples"
+             libweston-${WESTON_MAJOR_VERSION} ${PN}-examples"
 
 FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
 
-FILES_libweston-3 = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-3/*.so"
-SUMMARY_libweston-3 = "Helper library for implementing 'wayland window managers'."
+FILES_libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so"
+SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'."
 
 FILES_${PN}-examples = "${bindir}/*"
 
-FILES_${PN}-xwayland = "${libdir}/libweston-3/xwayland.so"
+FILES_${PN}-xwayland = "${libdir}/libweston-${WESTON_MAJOR_VERSION}/xwayland.so"
 RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
 
 RDEPENDS_${PN} += "xkeyboard-config"
Signature · 1 line
2.7.4
#5 lore raw

Re: [PATCH 2/2] weston: upgrade to 4.0.0

In reply to Burton, Ross

Yes, this is a bit of a known bug although I didn't actually file one until now:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=12674

Cheers,
Paul

Quoted 8 lines · Ross

Ah presumably this is because the U-S is after the scissors. Denys, when you add it back, can you put it above the ---?

Ross

Quoted 2 lines · Ross

Review

Quoted 1 line · Denys Dmytriyenko
(quoted diff) +0 -0

portable.patch b/meta/recipes-graphics/wayland/weston/0001-make-error- portable.patch

Quoted 27 lines
Quoted 26 lines
Quoted 7 lines

index 0671a45..6799254 100644

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -1
@@ -1,26 +1,25 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch line 11

Quoted 10 lines
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -3
 Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
 error() is not posix but gnu extension so may not be available on all
 kind of systemsi e.g. musl.
 
 Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Submitted

Ah, I've seen this before and was wondering if it was a genuine mistake or devtool being bad.

devtool refresh is doing A Bad Thing and for some reason dropping the Upstream-Status tag. Alex, can you see why this is? Denys, can you edit it back in?

Ross

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#6 lore raw

Re: [PATCH 2/2] weston: upgrade to 4.0.0

Quoted 12 lines · Paul Eggleton

Yes, this is a bit of a known bug although I didn't actually file one until now:

   https://bugzilla.yoctoproject.org/show_bug.cgi?id=12674

Cheers,
Paul

Quoted 3 lines · Ross

Ah presumably this is because the U-S is after the scissors. Denys, when you add it back, can you put it above the ---?

Upstream-Status is a Yocto project invention that can confuse other communities when submitting the patches for those packages upstream and Sign-off-by is also in same bucket in many upstream packages. We need to be able to support patch headers that are git am'able upstream as well as to openembedded recipe created trees.

One still has to delete these tags but if you forget its still is ok since they will be ignored with git am.

Quoted 36 lines
Quoted 5 lines

Ross

Quoted 2 lines · Ross

Review

Quoted 1 line · Denys Dmytriyenko
(quoted diff) +0 -0

portable.patch b/meta/recipes-graphics/wayland/weston/0001-make-error- portable.patch

Quoted 27 lines
Quoted 26 lines
Quoted 7 lines

index 0671a45..6799254 100644

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -1
@@ -1,26 +1,25 @@
-From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
+From ad1d2161c811cff25d1684c33611f300adb753bc Mon Sep 17 00:00:00 2001
  From: Khem Raj <[email protected]>

meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch line 11

Quoted 10 lines
meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch +1 -3
  Date: Fri, 29 May 2015 20:56:00 -0700
-Subject: [PATCH weston] make error() portable
+Subject: [PATCH] make error() portable
 
  error() is not posix but gnu extension so may not be available on all
  kind of systemsi e.g. musl.
 
  Signed-off-by: Khem Raj <[email protected]>
----
-Upstream-Status: Submitted

Ah, I've seen this before and was wondering if it was a genuine mistake or devtool being bad.

devtool refresh is doing A Bad Thing and for some reason dropping the Upstream-Status tag. Alex, can you see why this is? Denys, can you edit it back in?

Ross

#8 lore raw
In reply to Denys Dmytriyenko
Quoted 30 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html

| libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
 meta/recipes-graphics/mesa/mesa.inc                                | 7 ++++---
 .../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb}               | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb} (92%)
meta/recipes-graphics/mesa/mesa.inc +0 -1
index b501b7e..c3a8e76 100644
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 7 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used 
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm getting many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

Quoted 45 lines
meta/recipes-graphics/mesa/mesa.inc +0 -2
 }
 
 # For the packages that make up the OpenGL interfaces, inject variables so that
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/p
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc"
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
                           ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
                           ${libdir}/pkgconfig/xatracker.pc"
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -2
similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb
rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb
index 1a9ff98..788105b 100644
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
 	   file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aabfc1ec9a13c86c98bbe2b812f008da27ab8"
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0"
 
 inherit autotools pkgconfig
 
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#9 lore raw
Quoted 34 lines · Martin Jansa
Quoted 33 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html

| libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
 meta/recipes-graphics/mesa/mesa.inc                                | 7 ++++---
 .../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb}               | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb} (92%)
meta/recipes-graphics/mesa/mesa.inc +0 -1
index b501b7e..c3a8e76 100644
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used 
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 4 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm getting many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

Don't we remove .la files in bulk? I didn't see this problem when I was testing it. Plus it went through Ross' mut branch, then master-next and presumably few autobuilder iterations?

I can make the change to also remove .la, if it's really required.

Quoted 48 lines
Quoted 45 lines
meta/recipes-graphics/mesa/mesa.inc +0 -2
 }
 
 # For the packages that make up the OpenGL interfaces, inject variables so that
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/p
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc"
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
                           ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
                           ${libdir}/pkgconfig/xatracker.pc"
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -2
similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb
rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb
index 1a9ff98..788105b 100644
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
 	   file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aabfc1ec9a13c86c98bbe2b812f008da27ab8"
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0"
 
 inherit autotools pkgconfig
 
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#10 lore raw

It's possible to remove them globally with:
meta/classes/remove-libtool.bbclass
but mesa.inc already removes some of the .la files selectively, so it would be nice to keep it working even for DISTROs which don't inherit remove-libtool bbclass (for whatever reason).

Quoted 120 lines · Denys Dmytriyenko
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-

April/037767.html

Quoted 2 lines
Quoted 2 lines

| libwayland-egl is now part of libwayland, and will presumably be

removed

Quoted 7 lines
Quoted 7 lines

| from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
meta/recipes-graphics/mesa/mesa.inc |

7 ++++---

Quoted 1 line
Quoted 1 line

.../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb} |

4 ++--

Quoted 2 lines
Quoted 2 lines
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb =>

wayland_1.15.0.bb} (92%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa.inc

Quoted 5 lines
Quoted 5 lines

index b501b7e..c3a8e76 100644

meta/recipes-graphics/mesa/mesa.inc +0 -0
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 133

Quoted 8 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades

when debian.bbclass was used

Quoted 10 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 6 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm getting many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

Don't we remove .la files in bulk? I didn't see this problem when I was testing it. Plus it went through Ross' mut branch, then master-next and presumably few autobuilder iterations?

I can make the change to also remove .la, if it's really required.

Quoted 3 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 142

Quoted 3 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 }
 
 # For the packages that make up the OpenGL interfaces, inject

variables so that

Quoted 9 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

Quoted 9 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

${includedir}/GLES ${libdir}/p

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 218

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2

${libdir}/pkgconfig/glesv2.pc"

Quoted 2 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 220

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.*

${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 219

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -1
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc

${libdir}/libwayland-egl.*"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 221

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/

libxatracker.la \

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 222

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${includedir}/xa_tracker.h

${includedir}/xa_composite.h ${includedir}/xa_context.h \

Quoted 2 lines

Review

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${libdir}/pkgconfig/xatracker.pc"
(quoted diff) +0 -0

b/meta/recipes-graphics/wayland/wayland_1.15.0.bb

Quoted 8 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 15

Quoted 8 lines

similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb index 1a9ff98..788105b 100644

meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -0
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.

xz \

Quoted 4 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native"

Quoted 4 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -2
       file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aab

fc1ec9a13c86c98bbe2b812f008da27ab8"

Quoted 2 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 19

Quoted 2 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -0
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db8

00f587329067962dbf65e14488b4b7aeb0"

Quoted 14 lines
Quoted 11 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -1
 inherit autotools pkgconfig
 
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

#12 lore raw
In reply to Denys Dmytriyenko

Yeah the problem here is that poky uses remove-libtool, and the nodistro builds apparently don't build anything Wayland.

I'll check the AB configure and ensure more coverage for the nodistro buildset.

Ross

Quoted 125 lines · Denys Dmytriyenko
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-

April/037767.html

Quoted 2 lines
Quoted 2 lines

| libwayland-egl is now part of libwayland, and will presumably be

removed

Quoted 7 lines
Quoted 7 lines

| from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
meta/recipes-graphics/mesa/mesa.inc |

7 ++++---

Quoted 1 line
Quoted 1 line

.../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb} |

4 ++--

Quoted 2 lines
Quoted 2 lines
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb =>

wayland_1.15.0.bb} (92%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa.inc

Quoted 5 lines
Quoted 5 lines

index b501b7e..c3a8e76 100644

meta/recipes-graphics/mesa/mesa.inc +0 -0
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 133

Quoted 8 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades

when debian.bbclass was used

Quoted 10 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 6 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm getting many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

Don't we remove .la files in bulk? I didn't see this problem when I was testing it. Plus it went through Ross' mut branch, then master-next and presumably few autobuilder iterations?

I can make the change to also remove .la, if it's really required.

Quoted 3 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 142

Quoted 3 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 }
 
 # For the packages that make up the OpenGL interfaces, inject

variables so that

Quoted 9 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

Quoted 9 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

${includedir}/GLES ${libdir}/p

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 218

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2

${libdir}/pkgconfig/glesv2.pc"

Quoted 2 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 220

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.*

${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 219

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -1
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc

${libdir}/libwayland-egl.*"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 221

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/

libxatracker.la \

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 222

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${includedir}/xa_tracker.h

${includedir}/xa_composite.h ${includedir}/xa_context.h \

Quoted 2 lines

Review

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${libdir}/pkgconfig/xatracker.pc"
(quoted diff) +0 -0

b/meta/recipes-graphics/wayland/wayland_1.15.0.bb

Quoted 8 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 15

Quoted 8 lines

similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb index 1a9ff98..788105b 100644

meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -0
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.

xz \

Quoted 4 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native"

Quoted 4 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -2
       file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aab

fc1ec9a13c86c98bbe2b812f008da27ab8"

Quoted 2 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 19

Quoted 2 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -0
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db8

00f587329067962dbf65e14488b4b7aeb0"

Quoted 6 lines
Quoted 6 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -1
 inherit autotools pkgconfig
 
--

2.7.4

Quoted 8 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#13 lore raw

Ross: nodistro includes remove-libtool as well

I've noticed the issue in DISTRO which doesn't use INHERIT_DISTRO from defaultsetup.inc.

Quoted 138 lines · Ross

Yeah the problem here is that poky uses remove-libtool, and the nodistro builds apparently don't build anything Wayland.

I'll check the AB configure and ensure more coverage for the nodistro buildset.

Ross

Quoted 126 lines · Denys Dmytriyenko
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-Ap

ril/037767.html

Quoted 2 lines
Quoted 2 lines

| libwayland-egl is now part of libwayland, and will presumably be

removed

Quoted 7 lines
Quoted 7 lines

| from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
meta/recipes-graphics/mesa/mesa.inc

| 7 ++++---

Quoted 1 line
Quoted 1 line

.../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb}

| 4 ++--

Quoted 2 lines
Quoted 2 lines
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb =>

wayland_1.15.0.bb} (92%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa.inc

Quoted 5 lines
Quoted 5 lines

index b501b7e..c3a8e76 100644

meta/recipes-graphics/mesa/mesa.inc +0 -0
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 133

Quoted 8 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades

when debian.bbclass was used

Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 6 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm

getting

Quoted 2 lines

many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

Don't we remove .la files in bulk? I didn't see this problem when I was testing it. Plus it went through Ross' mut branch, then master-next and presumably few autobuilder iterations?

I can make the change to also remove .la, if it's really required.

Quoted 3 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 142

Quoted 3 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 }
 
 # For the packages that make up the OpenGL interfaces, inject

variables so that

Quoted 9 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

Quoted 9 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

${includedir}/GLES ${libdir}/p

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 218

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2

${libdir}/pkgconfig/glesv2.pc"

Quoted 2 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 220

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.*

${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 219

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -1
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc

${libdir}/libwayland-egl.*"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 221

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/

libxatracker.la \

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 222

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${includedir}/xa_tracker.h

${includedir}/xa_composite.h ${includedir}/xa_context.h \

Quoted 2 lines

Review

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${libdir}/pkgconfig/xatracker.pc"
(quoted diff) +0 -0

b/meta/recipes-graphics/wayland/wayland_1.15.0.bb

Quoted 8 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 15

Quoted 8 lines

similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb index 1a9ff98..788105b 100644

meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -0
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.o

rg/releases/${BPN}-${PV}.tar.xz \

Quoted 4 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native"

Quoted 4 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -2
       file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aa

bfc1ec9a13c86c98bbe2b812f008da27ab8"

Quoted 2 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 19

Quoted 2 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -0
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db

800f587329067962dbf65e14488b4b7aeb0"

Quoted 6 lines
Quoted 6 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -1
 inherit autotools pkgconfig
 
--

2.7.4

Quoted 8 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#14 lore raw
In reply to Martin Jansa
Quoted 43 lines · EDT Martin Jansa
Quoted 42 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.htm
l

| libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---

 meta/recipes-graphics/mesa/mesa.inc                                | 7
 ++++--- .../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb}            
   | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb =>

wayland_1.15.0.bb} (92%)>

(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa.inc index b501b7e..c3a8e76 100644

meta/recipes-graphics/mesa/mesa.inc +0 -1
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
 
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
 
-             libwayland-egl libwayland-egl-dev \
 
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             
             "
meta/recipes-graphics/mesa/mesa.inc +0 -0
@@ -134,6 +133,10 @@ do_install_append () {
 
     # it was packaged in libdricore9.1.3-1 and preventing upgrades when
     debian.bbclass was used rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
 
Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 4 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm getting many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/ libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package:
/usr/lib64/libwayland-egl.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

is someone working on a fix or should I take some time to put something together?

Mark

Quoted 55 lines
Quoted 55 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 }

# For the packages that make up the OpenGL interfaces, inject variables so that>

meta/recipes-graphics/mesa/mesa.inc +0 -1
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
 
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 

FILES_libxatracker = "${libdir}/libxatracker.so.*"

FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"

meta/recipes-graphics/mesa/mesa.inc +0 -0
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

${includedir}/GLES ${libdir}/p>
FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc" FILES_libgles3-mesa-dev = "${includedir}/GLES3"
FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc">
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*">
FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \>

                           ${includedir}/xa_tracker.h
                           ${includedir}/xa_composite.h
                           ${includedir}/xa_context.h \
                           ${libdir}/pkgconfig/xatracker.pc"
(quoted diff) +0 -0

b/meta/recipes-graphics/wayland/wayland_1.15.0.bb similarity index 92% rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb index 1a9ff98..788105b 100644

meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -2
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
 
 	   file://fixpathinpcfiles.patch \
 
            "
 
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] =

"ed80cabc0961a759a42092e2c39aabfc1ec9a13c86c98bbe2b812f008da27ab8"

meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -0
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] =

"eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0">
inherit autotools pkgconfig

#15 lore raw
Quoted 13 lines · Mark Asselstine

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/ libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package:
/usr/lib64/libwayland-egl.la
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

Quoted 3 lines

is someone working on a fix or should I take some time to put something together?

As it appears you can test quickly then I think you just drew the short straw. Should be a trivial patch...

Ross

#16 lore raw
Quoted 18 lines · Ross

On 9 May 2018 at 17:00, Mark Asselstine <[email protected]>

Quoted 15 lines · wrote:

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/ libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories were

installed but not shipped in any package:
/usr/lib64/libwayland-egl.la

Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

Quoted 5 lines
Quoted 2 lines

is someone working on a fix or should I take some time to put something together?

As it appears you can test quickly then I think you just drew the short straw. Should be a trivial patch...

I knew that this had a 50/50 chance of going this way :). Lunch then a fix. I assume then we will go with Martin's suggestion of an explicit remove in mesa.inc?

Mark

Quoted 2 lines

Ross

#17 lore raw

I'd say that generalising rm -f ${D}${libdir}/libwayland-egl.so* to libwayland-egl.* should to the trick.

Ross

Quoted 41 lines · Mark Asselstine
Quoted 9 lines · Ross

On 9 May 2018 at 17:00, Mark Asselstine <[email protected]>

Quoted 6 lines · wrote:

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/ libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories

were

Quoted 5 lines
Quoted 5 lines

installed but not shipped in any package:
/usr/lib64/libwayland-egl.la

Please set FILES such that these items are packaged. Alternatively if

they

Quoted 9 lines
Quoted 6 lines

are
unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

is someone working on a fix or should I take some time to put something together?

As it appears you can test quickly then I think you just drew the short straw. Should be a trivial patch...

I knew that this had a 50/50 chance of going this way :). Lunch then a fix. I
assume then we will go with Martin's suggestion of an explicit remove in mesa.inc?

Mark

Quoted 2 lines

Ross

#18 lore raw
In reply to Mark Asselstine

Good news: Denys beat you.

Ross

Quoted 41 lines · Mark Asselstine
Quoted 9 lines · Ross

On 9 May 2018 at 17:00, Mark Asselstine <[email protected]>

Quoted 6 lines · wrote:

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/ libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories

were

Quoted 5 lines
Quoted 5 lines

installed but not shipped in any package:
/usr/lib64/libwayland-egl.la

Please set FILES such that these items are packaged. Alternatively if

they

Quoted 9 lines
Quoted 6 lines

are
unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

is someone working on a fix or should I take some time to put something together?

As it appears you can test quickly then I think you just drew the short straw. Should be a trivial patch...

I knew that this had a 50/50 chance of going this way :). Lunch then a fix. I
assume then we will go with Martin's suggestion of an explicit remove in mesa.inc?

Mark

Quoted 2 lines

Ross

#11 lore raw
In reply to Martin Jansa
Quoted 5 lines · Martin Jansa

It's possible to remove them globally with:
meta/classes/remove-libtool.bbclass
but mesa.inc already removes some of the .la files selectively, so it would be nice to keep it working even for DISTROs which don't inherit remove-libtool bbclass (for whatever reason).

Ok, sent a patch to remove all libwayland-egl files, not just .so - should take care of .la as well.

Quoted 122 lines · Denys Dmytriyenko
Quoted 121 lines · Martin Jansa
Quoted 5 lines · Denys Dmytriyenko
Quoted 4 lines

From: Denys Dmytriyenko <[email protected]>

Official announcement:
https://lists.freedesktop.org/archives/wayland-devel/2018-

April/037767.html

Quoted 2 lines
Quoted 2 lines

| libwayland-egl is now part of libwayland, and will presumably be

removed

Quoted 7 lines
Quoted 7 lines

| from mesa in the not too distant future.

Update mesa recipe by removing corresponding libwayland-egl entries.

---
meta/recipes-graphics/mesa/mesa.inc |

7 ++++---

Quoted 1 line
Quoted 1 line

.../wayland/{wayland_1.14.0.bb => wayland_1.15.0.bb} |

4 ++--

Quoted 2 lines
Quoted 2 lines
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.14.0.bb =>

wayland_1.15.0.bb} (92%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa.inc

Quoted 5 lines
Quoted 5 lines

index b501b7e..c3a8e76 100644

meta/recipes-graphics/mesa/mesa.inc +0 -0
@@ -119,7 +119,6 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
Quoted 8 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 133

Quoted 8 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
-             libwayland-egl libwayland-egl-dev \
              libxatracker libxatracker-dev \
              mesa-megadriver mesa-vulkan-drivers \
             "
@@ -134,6 +133,10 @@ do_install_append () {
     # it was packaged in libdricore9.1.3-1 and preventing upgrades

when debian.bbclass was used

Quoted 10 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 139

Quoted 6 lines
meta/recipes-graphics/mesa/mesa.inc +4 -0
     rm -f ${D}${sysconfdir}/drirc
     chrpath --delete ${D}${libdir}/dri/*_dri.so || true
+
+    # libwayland-egl has been moved to wayland 1.15+
+    rm -f ${D}${libdir}/libwayland-egl.so*
+    rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc

Shouldn't /usr/lib/libwayland-egl.la be removed as well? Now I'm getting many do_prepare_recipe_sysroot failures because both mesa and wayland provide this file.

Don't we remove .la files in bulk? I didn't see this problem when I was testing it. Plus it went through Ross' mut branch, then master-next and presumably few autobuilder iterations?

I can make the change to also remove .la, if it's really required.

Quoted 3 lines

meta/recipes-graphics/mesa/mesa.inc do_install_append () { · line 142

Quoted 3 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 }
 
 # For the packages that make up the OpenGL interfaces, inject

variables so that

Quoted 9 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

Quoted 9 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
@@ -204,7 +207,6 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
-FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
 FILES_libxatracker = "${libdir}/libxatracker.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
@@ -216,7 +218,6 @@ FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.*

${includedir}/GLES ${libdir}/p

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 218

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2

${libdir}/pkgconfig/glesv2.pc"

Quoted 2 lines

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 220

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libgles3-mesa-dev = "${includedir}/GLES3"
 FILES_libosmesa-dev = "${libdir}/libOSMesa.*

${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 219

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -1
-FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc

${libdir}/libwayland-egl.*"

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 221

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
 FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/

libxatracker.la \

Quoted 1 line

meta/recipes-graphics/mesa/mesa.inc FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* · line 222

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${includedir}/xa_tracker.h

${includedir}/xa_composite.h ${includedir}/xa_context.h \

Quoted 2 lines

Review

Quoted 2 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
                           ${libdir}/pkgconfig/xatracker.pc"
(quoted diff) +0 -0

b/meta/recipes-graphics/wayland/wayland_1.15.0.bb

Quoted 8 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 15

Quoted 8 lines

similarity index 92%
rename from meta/recipes-graphics/wayland/wayland_1.14.0.bb rename to meta/recipes-graphics/wayland/wayland_1.15.0.bb index 1a9ff98..788105b 100644

meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -0
@@ -15,8 +15,8 @@ DEPENDS = "expat libxml2 libffi wayland-native"
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.

xz \

Quoted 4 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native"

Quoted 4 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -2
       file://fixpathinpcfiles.patch \
            "
-SRC_URI[md5sum] = "0235f6075c32c3be61cff94fa0b9f108"
-SRC_URI[sha256sum] = "ed80cabc0961a759a42092e2c39aab

fc1ec9a13c86c98bbe2b812f008da27ab8"

Quoted 2 lines

meta/recipes-graphics/wayland/wayland_1.15.0.bb DEPENDS = "expat libxml2 libffi wayland-native" · line 19

Quoted 2 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +2 -0
+SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
+SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db8

00f587329067962dbf65e14488b4b7aeb0"

Quoted 14 lines
Quoted 11 lines
meta/recipes-graphics/wayland/wayland_1.15.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.14.0.bb +0 -1
 inherit autotools pkgconfig
 
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

#19 lore raw
In reply to Burton, Ross
Quoted 1 line · Ross

Good news: Denys beat you.

I need to take long lunches more often. Thanks Denys for taking care of this.

Mark

Quoted 46 lines

Ross

On 9 May 2018 at 17:09, Mark Asselstine <[email protected]>

Quoted 40 lines · wrote:
Quoted 10 lines · Ross

On 9 May 2018 at 17:00, Mark Asselstine <[email protected]>

Quoted 7 lines · wrote:

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/
libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories

were

Quoted 4 lines
Quoted 4 lines

installed but not shipped in any package:
/usr/lib64/libwayland-egl.la

Please set FILES such that these items are packaged. Alternatively if

they

Quoted 10 lines
Quoted 7 lines

are
unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

is someone working on a fix or should I take some time to put something
together?

As it appears you can test quickly then I think you just drew the short straw. Should be a trivial patch...

I knew that this had a 50/50 chance of going this way :). Lunch then a fix. I
assume then we will go with Martin's suggestion of an explicit remove in mesa.inc?

Mark

Quoted 1 line

Ross

#20 lore raw
In reply to Burton, Ross

I have this:
http://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master&id=3271564498b37cb0faadd2ec7c8de8d853db9f2b

Quoted 33 lines · Ross
Quoted 14 lines · Mark Asselstine

I am also seeing build failures due to this conflict:

ERROR: libglu-2_9.0.0-0 do_prepare_recipe_sysroot: The file /usr/lib64/ libwayland-egl.la is installed by both wayland and mesa, aborting ..
ERROR: mesa-2_18.0.2-r0 do_package: QA Issue: mesa: Files/directories were
installed but not shipped in any package:
/usr/lib64/libwayland-egl.la
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

Quoted 3 lines

is someone working on a fix or should I take some time to put something together?

As it appears you can test quickly then I think you just drew the short straw. Should be a trivial patch...

Ross

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core