From 42d78ccddb5b69e03a429afdfde358af3cf514e15c7a82248bae5cb5dc6672f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 15:23:47 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libnvidia-egl-wayland revision 3c86498d1aae0af86a580b0d46c4011e --- .gitattributes | 23 ++++++++ baselibs.conf | 1 + egl-wayland-1.1.11.tar.gz | 3 + libnvidia-egl-wayland.changes | 73 +++++++++++++++++++++++ libnvidia-egl-wayland.spec | 105 ++++++++++++++++++++++++++++++++++ 5 files changed, 205 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 egl-wayland-1.1.11.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/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.11.tar.gz b/egl-wayland-1.1.11.tar.gz new file mode 100644 index 0000000..be53234 --- /dev/null +++ b/egl-wayland-1.1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0631f4306825b8007e5eb11165bcbb4fe234e0af67c7347eee14000a34fb4562 +size 60207 diff --git a/libnvidia-egl-wayland.changes b/libnvidia-egl-wayland.changes new file mode 100644 index 0000000..b609cd4 --- /dev/null +++ b/libnvidia-egl-wayland.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +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..b96b917 --- /dev/null +++ b/libnvidia-egl-wayland.spec @@ -0,0 +1,105 @@ +# +# spec file for package libnvidia-egl-wayland +# +# Copyright (c) 2022 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.11 +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