From 313a4bd65fc5bc9fcca7eb57f0385648f0dc1e90c339b7da48b9947b99ab662c Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 20 Jul 2024 01:05:57 +0000 Subject: [PATCH] Accepting request 1188737 from home:RN:branches:X11:XOrg - update to version 1.1.14: * Implement Explicit Sync (linux-drm-syncobj-v1) * Fix freezing on KDE when explicit sync is enabled under certain conditions * Read compositor device from zwp_linux_dmabuf_v1 when available * Properly validate and use the passed value of EGL_EXT_present_opaque OBS-URL: https://build.opensuse.org/request/show/1188737 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libnvidia-egl-wayland?expand=0&rev=21 --- .gitattributes | 23 ++++++++ .gitignore | 1 + baselibs.conf | 1 + egl-wayland-1.1.13.tar.gz | 3 + egl-wayland-1.1.14.tar.gz | 3 + libnvidia-egl-wayland.changes | 104 +++++++++++++++++++++++++++++++++ libnvidia-egl-wayland.spec | 105 ++++++++++++++++++++++++++++++++++ 7 files changed, 240 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 egl-wayland-1.1.13.tar.gz create mode 100644 egl-wayland-1.1.14.tar.gz create mode 100644 libnvidia-egl-wayland.changes create mode 100644 libnvidia-egl-wayland.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..2830408 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libnvidia-egl-wayland1 diff --git a/egl-wayland-1.1.13.tar.gz b/egl-wayland-1.1.13.tar.gz new file mode 100644 index 0000000..d779024 --- /dev/null +++ b/egl-wayland-1.1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:667561d794561d55d85b1273b2fe4def3f360e0ad27833d099e4f100f2244e48 +size 68153 diff --git a/egl-wayland-1.1.14.tar.gz b/egl-wayland-1.1.14.tar.gz new file mode 100644 index 0000000..09228ce --- /dev/null +++ b/egl-wayland-1.1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb407ea391d5fab488a047130718fa7f30e799ee4fa9aa3abe64ebbcac80fc5f +size 73721 diff --git a/libnvidia-egl-wayland.changes b/libnvidia-egl-wayland.changes new file mode 100644 index 0000000..dc77f3a --- /dev/null +++ b/libnvidia-egl-wayland.changes @@ -0,0 +1,104 @@ +------------------------------------------------------------------- +Fri Jul 19 23:00:40 UTC 2024 - RN + +- update to version 1.1.14: + * Implement Explicit Sync (linux-drm-syncobj-v1) + * Fix freezing on KDE when explicit sync is enabled under certain + conditions + * Read compositor device from zwp_linux_dmabuf_v1 when available + * Properly validate and use the passed value of + EGL_EXT_present_opaque + +------------------------------------------------------------------- +Sun Nov 12 18:57:54 UTC 2023 - Florian "spirit" + +- update to version 1.1.13: + * Fixed a bug where PRIME render-offload was not working with KDE + * Fixed some more warnings from libwayland-client.so when closing + applications + * Fixed a bug that was causing intermittent segfaults in + wlEglDestroyFormatSet (notably affecting Firefox) + * Avoid unnecessarily calling eglQueryDeviceEXT during application + start-up on PRIME systems. This was both slow and would turn on + the dGPU wasting power. + +------------------------------------------------------------------- +Sat Jun 10 00:14:24 UTC 2023 - Nicola Pellegrini + +- update to version 1.1.12 + * Added support for version 4 of the Linux DMA-BUF protocol + * Added support for EGL_EXT_explicit_device extension + +------------------------------------------------------------------- +Fri Nov 4 19:38:35 UTC 2022 - Stefan Dirsch + +- update to version 1.1.11 + * latest bugfix release +- supersedes + * U_0001-wayland-Fail-eglGetDisplay-if-wl_drm-is-not-availabl.patch + * U_0002-generate-wayland-drm-client-protocol.h.patch + * U_0003-egl-wayland-retrieve-DRM-device-name-before-acquirin.patch + +------------------------------------------------------------------- +Thu Apr 21 12:46:29 UTC 2022 - Stefan Dirsch + +- U_0001-wayland-Fail-eglGetDisplay-if-wl_drm-is-not-availabl.patch + U_0002-generate-wayland-drm-client-protocol.h.patch + U_0003-egl-wayland-retrieve-DRM-device-name-before-acquirin.patch + * add latest fixes (U_0003-egl-wayland ... fixes boo#1195598) + +------------------------------------------------------------------- +Thu Apr 14 08:37:33 UTC 2022 - Stefan Dirsch + +- baselibs.conf + * Add 32-bit package variants. These are required for any EGL-using + 32-bit wayland binary (which is pretty much all of them) to work + at all: without it, running any 32-bit game under wayland will + segfault on startup. With SDL 2.0.22 planning to use wayland by + default, this is pretty important, as all 32-bit SDL programs will + break. + +------------------------------------------------------------------- +Mon Jan 10 14:19:00 UTC 2022 - Stefan Dirsch + +- update to version 1.1.9, which is needed by new 5xx.yy.zz + Nvidia driver (upcoming G06 driver series) + +------------------------------------------------------------------- +Mon Sep 27 13:49:26 UTC 2021 - Stefan Dirsch + +- needed for jira#SLE/SLE-19965, jira#SLE/SLE-19964, jira#SLE/SLE-18653 + +------------------------------------------------------------------- +Sun Jul 4 17:10:01 UTC 2021 - Callum Farmer + +- Use better tarball URL +- Run spec-cleaner + +------------------------------------------------------------------- +Thu Jul 1 22:28:26 UTC 2021 - Stefan Dirsch + +- added webpage for source tarballs to specfile + +------------------------------------------------------------------- +Thu Jul 1 16:03:04 UTC 2021 - Jan Engelhardt + +- Throw out ancient specfile constructs like BuildRoot and + defattr that have had proper defaults for long. Use more of the + contemporary macros, and drop all the nonstandard CFLAGS/LDFLAGS, + drop the unconditional strip calls. + +------------------------------------------------------------------- +Thu Jul 1 12:58:02 UTC 2021 - Stefan Dirsch + +- added missing copyright to specfile + +------------------------------------------------------------------- +Thu Jul 1 11:32:48 UTC 2021 - Stefan Dirsch + +- tried to address checkin policy issues for factory + +------------------------------------------------------------------- +Thu Jul 1 09:52:18 UTC 2021 - Alexander Evseev - 1.1.7 + +- First build. Version - 1.1.7 diff --git a/libnvidia-egl-wayland.spec b/libnvidia-egl-wayland.spec new file mode 100644 index 0000000..1cbff2f --- /dev/null +++ b/libnvidia-egl-wayland.spec @@ -0,0 +1,105 @@ +# +# spec file for package libnvidia-egl-wayland +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define so_ver 1 +%define lname libnvidia-egl-wayland%{so_ver} +%define rname egl-wayland +Name: libnvidia-egl-wayland +Version: 1.1.14 +Release: 0 +Summary: The EGLStream-based Wayland external platform +License: MIT +Group: Development/Libraries/C and C++ +URL: https://github.com/NVIDIA/egl-wayland +Source0: https://github.com/NVIDIA/egl-wayland/archive/%{version}/%{rname}-%{version}.tar.gz +Source1: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: meson >= 0.50 +BuildRequires: ninja +BuildRequires: pkgconfig +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(eglexternalplatform) >= 1.1 +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-egl-backend) >= 3 +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(wayland-scanner) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(x11) + +%description +This is an implementation of a EGL External Platform library to add client-side +Wayland support to EGL on top of EGLDevice and EGLStream families of extensions. + +This library implements an EGL External Platform interface to work along with +EGL drivers that support the external platform mechanism. + +%package -n %{lname} +Summary: The EGLStream-based Wayland external platform +Group: System/Libraries + +%description -n %{lname} +This is an implementation of a EGL External Platform library to add client-side +Wayland support to EGL on top of EGLDevice and EGLStream families of extensions. + +This library implements an EGL External Platform interface to work along with +EGL drivers that support the external platform mechanism. + +%package -n libnvidia-egl-wayland-devel +Summary: Development package for %{name} +Group: Development/Languages/C and C++ +Requires: %{lname} = %{version}-%{release} + +%description -n libnvidia-egl-wayland-devel +This is an implementation of a EGL External Platform library to add client-side +Wayland support to EGL on top of EGLDevice and EGLStream families of extensions. + +This library implements an EGL External Platform interface to work along with +EGL drivers that support the external platform mechanism. + +This package provides headers and libraries required to build software +using %{name}. + +%prep +%autosetup -n %{rname}-%{version} -p1 + +%build +export LDFLAGS="-Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro %{?_lto_cflags}" +%meson +%meson_build + +%install +%meson_install + +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig + +%files -n %{lname} +%license COPYING +%doc README.md +%{_libdir}/libnvidia-egl-wayland.so.%{so_ver}* +%{_datadir}/wayland-eglstream/ + +%files -n libnvidia-egl-wayland-devel +%license COPYING +%doc README.md +%{_libdir}/libnvidia-egl-wayland.so +%{_libdir}/pkgconfig/wayland-eglstream.pc +%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc + +%changelog