Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package intel-vaapi-driver for 
openSUSE:Factory checked in at 2024-08-13 13:23:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-vaapi-driver (Old)
 and      /work/SRC/openSUSE:Factory/.intel-vaapi-driver.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "intel-vaapi-driver"

Tue Aug 13 13:23:49 2024 rev:17 rq:1193367 version:2.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/intel-vaapi-driver/intel-vaapi-driver.changes    
2021-10-04 18:40:53.774148289 +0200
+++ 
/work/SRC/openSUSE:Factory/.intel-vaapi-driver.new.7232/intel-vaapi-driver.changes
  2024-08-13 13:24:16.760834621 +0200
@@ -1,0 +2,5 @@
+Fri Aug  9 17:11:09 UTC 2024 - Muhammad Akbar Yanuar Mantari <[email protected]>
+
+- add 566.patch: fixed VAAPI Wayland on libva v2.22.0
+
+-------------------------------------------------------------------

New:
----
  566.patch

BETA DEBUG BEGIN:
  New:
- add 566.patch: fixed VAAPI Wayland on libva v2.22.0
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ intel-vaapi-driver.spec ++++++
--- /var/tmp/diff_new_pack.3QFO5f/_old  2024-08-13 13:24:17.236854455 +0200
+++ /var/tmp/diff_new_pack.3QFO5f/_new  2024-08-13 13:24:17.236854455 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package intel-vaapi-driver
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        %{name}-%{version}.tar.bz2.sha1sum
 Source2:        baselibs.conf
+Patch0:         
https://patch-diff.githubusercontent.com/raw/intel/%{name}/pull/566.patch
 BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(egl)

++++++ 566.patch ++++++
>From 4206d0e15363d188f30f2f3dbcc212fef206fc1d Mon Sep 17 00:00:00 2001
From: Simon Ser <[email protected]>
Date: Mon, 11 Mar 2024 23:48:17 +0100
Subject: [PATCH] Make wl_drm optional

Don't error out when vtable->wl_interface is NULL.

Fetching wl_drm_interface from libEGL used to work but doesn't
anymore: it's now a private symbol (wayland-scanner private-code).
---
 src/i965_output_wayland.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/i965_output_wayland.c b/src/i965_output_wayland.c
index a6120b7b2..a002cae5b 100644
--- a/src/i965_output_wayland.c
+++ b/src/i965_output_wayland.c
@@ -154,7 +154,7 @@ registry_handle_global(
     struct va_wl_output * const wl_output = i965->wl_output;
     struct wl_vtable * const wl_vtable = &wl_output->vtable;
 
-    if (strcmp(interface, "wl_drm") == 0) {
+    if (strcmp(interface, "wl_drm") == 0 && wl_vtable->drm_interface) {
         wl_output->wl_drm_name = name;
         wl_output->wl_drm = registry_bind(wl_vtable, wl_output->wl_registry,
                                           name, wl_vtable->drm_interface,
@@ -472,6 +472,7 @@ i965_output_wayland_init(VADriverContextP ctx)
 
     wl_vtable = &i965->wl_output->vtable;
 
+    /* drm_interface is optional */
     if (vtable->wl_interface)
         wl_vtable->drm_interface = vtable->wl_interface;
     else {
@@ -483,9 +484,8 @@ i965_output_wayland_init(VADriverContextP ctx)
         }
 
         dso_handle = i965->wl_output->libegl_handle;
-        if (!dso_get_symbols(dso_handle, wl_vtable, sizeof(*wl_vtable),
-                             libegl_symbols))
-            goto error;
+        dso_get_symbols(dso_handle, wl_vtable, sizeof(*wl_vtable),
+                        libegl_symbols);
     }
 
     i965->wl_output->libwl_client_handle = dso_open(LIBWAYLAND_CLIENT_NAME);

Reply via email to