Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libnvidia-egl-wayland for
openSUSE:Factory checked in at 2024-08-25 12:09:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnvidia-egl-wayland (Old)
and /work/SRC/openSUSE:Factory/.libnvidia-egl-wayland.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnvidia-egl-wayland"
Sun Aug 25 12:09:37 2024 rev:12 rq:1195685 version:1.1.16
Changes:
--------
---
/work/SRC/openSUSE:Factory/libnvidia-egl-wayland/libnvidia-egl-wayland.changes
2024-08-13 13:22:25.832212759 +0200
+++
/work/SRC/openSUSE:Factory/.libnvidia-egl-wayland.new.2698/libnvidia-egl-wayland.changes
2024-08-25 12:09:41.934294503 +0200
@@ -1,0 +2,8 @@
+Thu Aug 22 20:33:25 UTC 2024 - RN <[email protected]>
+
+- update to version 1.1.16:
+ * Fix a crash due to an assertion firing during surface
+ destruction, which affected Qt6 webengine
+ * Add an explicit dependency on the EGL headers
+
+-------------------------------------------------------------------
Old:
----
egl-wayland-1.1.15.tar.gz
New:
----
egl-wayland-1.1.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnvidia-egl-wayland.spec ++++++
--- /var/tmp/diff_new_pack.Uaeez2/_old 2024-08-25 12:09:42.370312597 +0200
+++ /var/tmp/diff_new_pack.Uaeez2/_new 2024-08-25 12:09:42.374312763 +0200
@@ -20,7 +20,7 @@
%define lname libnvidia-egl-wayland%{so_ver}
%define rname egl-wayland
Name: libnvidia-egl-wayland
-Version: 1.1.15
+Version: 1.1.16
Release: 0
Summary: The EGLStream-based Wayland external platform
License: MIT
++++++ egl-wayland-1.1.15.tar.gz -> egl-wayland-1.1.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-wayland-1.1.15/Makefile.am
new/egl-wayland-1.1.16/Makefile.am
--- old/egl-wayland-1.1.15/Makefile.am 2024-08-09 19:44:09.000000000 +0200
+++ new/egl-wayland-1.1.16/Makefile.am 2024-08-22 21:56:24.000000000 +0200
@@ -12,6 +12,7 @@
# Required library flags
libnvidia_egl_wayland_la_CFLAGS += \
$(PTHREAD_CFLAGS) \
+ $(EGL_CFLAGS) \
$(EGL_EXTERNAL_PLATFORM_CFLAGS) \
$(WAYLAND_CFLAGS) \
$(LIBDRM_CFLAGS) \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-wayland-1.1.15/configure.ac
new/egl-wayland-1.1.16/configure.ac
--- old/egl-wayland-1.1.15/configure.ac 2024-08-09 19:44:09.000000000 +0200
+++ new/egl-wayland-1.1.16/configure.ac 2024-08-22 21:56:24.000000000 +0200
@@ -2,7 +2,7 @@
m4_define([wayland_eglstream_major_version], [1])
m4_define([wayland_eglstream_minor_version], [1])
-m4_define([wayland_eglstream_micro_version], [15])
+m4_define([wayland_eglstream_micro_version], [16])
m4_define([wayland_eglstream_version],
[wayland_eglstream_major_version.wayland_eglstream_minor_version.wayland_eglstream_micro_version])
@@ -66,6 +66,7 @@
AC_CHECK_LIB([dl], [dlsym],
[],
[AC_MSG_ERROR("dlsym is needed to compile wayland-egldisplay")])
+PKG_CHECK_MODULES([EGL_HEADERS], [egl >= 1.5 egl < 2])
PKG_CHECK_MODULES([EGL_EXTERNAL_PLATFORM], [eglexternalplatform >=
${EGL_EXTERNAL_PLATFORM_MIN_VERSION} eglexternalplatform <
${EGL_EXTERNAL_PLATFORM_MAX_VERSION}])
PKG_CHECK_MODULES([WAYLAND], [wayland-server wayland-client
wayland-egl-backend >= 3])
PKG_CHECK_MODULES([LIBDRM], [libdrm])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/egl-wayland-1.1.15/include/wayland-external-exports.h
new/egl-wayland-1.1.16/include/wayland-external-exports.h
--- old/egl-wayland-1.1.15/include/wayland-external-exports.h 2024-08-09
19:44:09.000000000 +0200
+++ new/egl-wayland-1.1.16/include/wayland-external-exports.h 2024-08-22
21:56:24.000000000 +0200
@@ -53,7 +53,7 @@
#define WAYLAND_EXTERNAL_VERSION_MINOR 0
#endif
-#define WAYLAND_EXTERNAL_VERSION_MICRO 15
+#define WAYLAND_EXTERNAL_VERSION_MICRO 16
#define EGL_EXTERNAL_PLATFORM_VERSION_MAJOR WAYLAND_EXTERNAL_VERSION_MAJOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-wayland-1.1.15/meson.build
new/egl-wayland-1.1.16/meson.build
--- old/egl-wayland-1.1.15/meson.build 2024-08-09 19:44:09.000000000 +0200
+++ new/egl-wayland-1.1.16/meson.build 2024-08-22 21:56:24.000000000 +0200
@@ -1,5 +1,5 @@
project('wayland-eglstream', 'c',
- version : '1.1.15',
+ version : '1.1.16',
default_options : [
'buildtype=debugoptimized',
'c_std=gnu99',
@@ -18,6 +18,8 @@
wayland_eglstream_minor_version = ver_arr[1]
wayland_eglstream_micro_version = ver_arr[2]
+egl = dependency('egl', version : ['>=1.5', '<2'])
+egl_headers = egl.partial_dependency(includes : true, compile_args : true)
eglexternalplatform = dependency('eglexternalplatform', version : ['>=1.1',
'<2'])
wayland_server = dependency('wayland-server')
wayland_client = dependency('wayland-client')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-wayland-1.1.15/src/meson.build
new/egl-wayland-1.1.16/src/meson.build
--- old/egl-wayland-1.1.15/src/meson.build 2024-08-09 19:44:09.000000000
+0200
+++ new/egl-wayland-1.1.16/src/meson.build 2024-08-22 21:56:24.000000000
+0200
@@ -73,6 +73,7 @@
egl_wayland = library('nvidia-egl-wayland',
src,
dependencies : [
+ egl_headers,
eglexternalplatform,
wayland_server,
wayland_client,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/egl-wayland-1.1.15/src/wayland-eglsurface.c
new/egl-wayland-1.1.16/src/wayland-eglsurface.c
--- old/egl-wayland-1.1.15/src/wayland-eglsurface.c 2024-08-09
19:44:09.000000000 +0200
+++ new/egl-wayland-1.1.16/src/wayland-eglsurface.c 2024-08-22
21:56:24.000000000 +0200
@@ -2609,6 +2609,22 @@
}
}
+static bool
+wlEglInitializeSurfaceCommon(WlEglDisplay *display,
+ WlEglSurface *surface,
+ EGLConfig config)
+{
+ surface->wlEglDpy = display;
+ surface->eglConfig = config;
+ surface->syncPoint = 1;
+ surface->refCount = 1;
+ surface->isDestroyed = EGL_FALSE;
+ wl_list_init(&surface->ctx.streamImages);
+ wl_list_init(&surface->oldCtxList);
+
+ return wlEglInitializeMutex(&surface->ctx.streamImagesMutex);
+}
+
EGLSurface wlEglCreatePlatformWindowSurfaceHook(EGLDisplay dpy,
EGLConfig config,
void *nativeWin,
@@ -2669,17 +2685,17 @@
goto fail;
}
- if (!wlEglInitializeMutex(&surface->mutexLock)) {
+ if (!wlEglInitializeSurfaceCommon(display, surface, config)) {
err = EGL_BAD_ALLOC;
goto fail;
}
- if (!wlEglInitializeMutex(&surface->mutexFrameSync)) {
+ if (!wlEglInitializeMutex(&surface->mutexLock)) {
err = EGL_BAD_ALLOC;
goto fail;
}
- if (!wlEglInitializeMutex(&surface->ctx.streamImagesMutex)) {
+ if (!wlEglInitializeMutex(&surface->mutexFrameSync)) {
err = EGL_BAD_ALLOC;
goto fail;
}
@@ -2689,18 +2705,11 @@
goto fail;
}
- wl_list_init(&surface->ctx.streamImages);
-
- surface->wlEglDpy = display;
- surface->eglConfig = config;
surface->wlEglWin = window;
surface->ctx.eglStream = EGL_NO_STREAM_KHR;
surface->ctx.eglSurface = EGL_NO_SURFACE;
surface->ctx.isOffscreen = EGL_FALSE;
surface->isSurfaceProducer = EGL_TRUE;
- surface->refCount = 1;
- surface->isDestroyed = EGL_FALSE;
- surface->syncPoint = 1;
// FIFO_LENGTH == 1 to set FIFO mode, FIFO_LENGTH == 0 to set MAILBOX mode
// We set two here however to bump the "swapchain" count to 4 on Wayland.
// This is done to better match what Mesa does, as apparently 4 is the
@@ -2732,7 +2741,6 @@
getWlEglWindowVersionAndSurface(window,
&surface->wlEglWinVer,
&surface->wlSurface);
- wl_list_init(&surface->oldCtxList);
err = assignWlEglSurfaceAttribs(surface, attribs);
if (err != EGL_SUCCESS) {
@@ -2883,18 +2891,13 @@
goto fail;
}
- if (!wlEglInitializeMutex(&surface->mutexLock)) {
+ if (!wlEglInitializeSurfaceCommon(display, surface, config)) {
err = EGL_BAD_ALLOC;
goto fail;
}
- surface->wlEglDpy = display;
- surface->eglConfig = config;
surface->ctx.eglSurface = surf;
surface->ctx.isOffscreen = EGL_TRUE;
- surface->refCount = 1;
- surface->isDestroyed = EGL_FALSE;
- wl_list_init(&surface->oldCtxList);
wl_list_insert(&display->wlEglSurfaceList, &surface->link);
pthread_mutex_unlock(&display->mutex);