add mesa/wayland
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.DS_Store
|
||||||
1
kwayland6/.osc/_apiurl
Normal file
1
kwayland6/.osc/_apiurl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://gabriel.oerv.ac.cn
|
||||||
6
kwayland6/.osc/_files
Normal file
6
kwayland6/.osc/_files
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<directory name="kwayland6" rev="1" vrev="1" srcmd5="771caef26740ecab55d167b0738836df">
|
||||||
|
<entry name="kwayland-6.5.2.tar.xz" md5="5e1524efe19ca0a22e7c34d3c0042fb0" size="134112" mtime="1763269494" />
|
||||||
|
<entry name="kwayland-6.5.2.tar.xz.sig" md5="99b8c5c33f8afe35d179ce9b54229a44" size="488" mtime="1763269495" />
|
||||||
|
<entry name="kwayland6.spec" md5="3928618b7e5069aa38e130168f9f3587" size="2394" mtime="1763269496" />
|
||||||
|
<entry name="plasma.keyring" md5="424dfccfc09e27549e49ed5d00815222" size="40445" mtime="1763269497" />
|
||||||
|
</directory>
|
||||||
5
kwayland6/.osc/_meta
Normal file
5
kwayland6/.osc/_meta
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<package name="kwayland6" project="home:nico">
|
||||||
|
<title/>
|
||||||
|
<description/>
|
||||||
|
</package>
|
||||||
|
|
||||||
1
kwayland6/.osc/_osclib_version
Normal file
1
kwayland6/.osc/_osclib_version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
2.0
|
||||||
1
kwayland6/.osc/_package
Normal file
1
kwayland6/.osc/_package
Normal file
@@ -0,0 +1 @@
|
|||||||
|
kwayland6
|
||||||
1
kwayland6/.osc/_project
Normal file
1
kwayland6/.osc/_project
Normal file
@@ -0,0 +1 @@
|
|||||||
|
home:nico
|
||||||
BIN
kwayland6/.osc/sources/kwayland-6.5.2.tar.xz
Normal file
BIN
kwayland6/.osc/sources/kwayland-6.5.2.tar.xz
Normal file
Binary file not shown.
11
kwayland6/.osc/sources/kwayland-6.5.2.tar.xz.sig
Normal file
11
kwayland6/.osc/sources/kwayland-6.5.2.tar.xz.sig
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEE0HvYZixWyykbMW6y9WdWBcdOAs8FAmkKFNgACgkQ9WdWBcdO
|
||||||
|
As/waQgAjBuZGb2L7bSE9hgyRHtMIsQi2mm/KL+t67uk6Oof1ftAfEqBCwz3GRyu
|
||||||
|
jQYeZy+MiIIttLuY2764B8ZlHL1F/dbBczl5x93wIQ/+FVpC8Onzfy96lYwKwiHF
|
||||||
|
wPoAH2OV+5xq+Fs8jtf8RwN9eACSwUzsEFc097mUbo+PlxR1llk4hADlOjmPwq/o
|
||||||
|
uMyWi2wLZGyyrwRlR7IUcGgNv+nMZrwi0Vnb2wIb+xvN0h/cTVOm2yhcbvavR5Sr
|
||||||
|
Rfz4JNR+MZgyzXhQUErqumsJm51hlHNWlESsIlhz7nl2bN/hkU4M9SJSwouzvbO1
|
||||||
|
Fqc8yVDa479EhHygpUj7hJ+ZC7VaJw==
|
||||||
|
=rAQm
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
84
kwayland6/.osc/sources/kwayland6.spec
Normal file
84
kwayland6/.osc/sources/kwayland6.spec
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
|
||||||
|
%define kf6_version 6.18.0
|
||||||
|
%define qt6_version 6.9.0
|
||||||
|
|
||||||
|
%define rname kwayland
|
||||||
|
%bcond_without released
|
||||||
|
Name: kwayland6
|
||||||
|
Version: 6.5.2
|
||||||
|
Release: 0
|
||||||
|
Summary: KDE Wayland library
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
URL: https://www.kde.org
|
||||||
|
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||||
|
Source2: plasma.keyring
|
||||||
|
%endif
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||||
|
BuildRequires: qt6-waylandclient-private-devel >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.14.0
|
||||||
|
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
|
||||||
|
BuildRequires: pkgconfig(egl)
|
||||||
|
BuildRequires: pkgconfig(wayland-client) >= 1.15.0
|
||||||
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.15.0
|
||||||
|
BuildRequires: pkgconfig(wayland-server) >= 1.15.0
|
||||||
|
|
||||||
|
%description
|
||||||
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
||||||
|
libraries.
|
||||||
|
|
||||||
|
%package -n libKWaylandClient6
|
||||||
|
Summary: KDE Wayland library
|
||||||
|
Requires: kwayland6 >= %{version}
|
||||||
|
|
||||||
|
%description -n libKWaylandClient6
|
||||||
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
||||||
|
libraries.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: KDE Wayland library: Build Environment
|
||||||
|
Requires: libKWaylandClient6 = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
||||||
|
libraries.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{rname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
||||||
|
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n libKWaylandClient6
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_kf6_debugdir}/kwayland.categories
|
||||||
|
%{_kf6_debugdir}/kwayland.renamecategories
|
||||||
|
|
||||||
|
%files -n libKWaylandClient6
|
||||||
|
%license LICENSES/*
|
||||||
|
%doc README.md
|
||||||
|
%{_kf6_libdir}/libKWaylandClient.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc %{_kf6_qchdir}/KWayland.*
|
||||||
|
%{_includedir}/KWayland/
|
||||||
|
%{_kf6_cmakedir}/KWayland/
|
||||||
|
%{_kf6_libdir}/libKWaylandClient.so
|
||||||
|
%{_kf6_pkgconfigdir}/KWaylandClient.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
BIN
kwayland6/.osc/sources/plasma.keyring
Normal file
BIN
kwayland6/.osc/sources/plasma.keyring
Normal file
Binary file not shown.
BIN
kwayland6/kwayland-6.5.2.tar.xz
Normal file
BIN
kwayland6/kwayland-6.5.2.tar.xz
Normal file
Binary file not shown.
11
kwayland6/kwayland-6.5.2.tar.xz.sig
Normal file
11
kwayland6/kwayland-6.5.2.tar.xz.sig
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEE0HvYZixWyykbMW6y9WdWBcdOAs8FAmkKFNgACgkQ9WdWBcdO
|
||||||
|
As/waQgAjBuZGb2L7bSE9hgyRHtMIsQi2mm/KL+t67uk6Oof1ftAfEqBCwz3GRyu
|
||||||
|
jQYeZy+MiIIttLuY2764B8ZlHL1F/dbBczl5x93wIQ/+FVpC8Onzfy96lYwKwiHF
|
||||||
|
wPoAH2OV+5xq+Fs8jtf8RwN9eACSwUzsEFc097mUbo+PlxR1llk4hADlOjmPwq/o
|
||||||
|
uMyWi2wLZGyyrwRlR7IUcGgNv+nMZrwi0Vnb2wIb+xvN0h/cTVOm2yhcbvavR5Sr
|
||||||
|
Rfz4JNR+MZgyzXhQUErqumsJm51hlHNWlESsIlhz7nl2bN/hkU4M9SJSwouzvbO1
|
||||||
|
Fqc8yVDa479EhHygpUj7hJ+ZC7VaJw==
|
||||||
|
=rAQm
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
84
kwayland6/kwayland6.spec
Normal file
84
kwayland6/kwayland6.spec
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
|
||||||
|
%define kf6_version 6.18.0
|
||||||
|
%define qt6_version 6.9.0
|
||||||
|
|
||||||
|
%define rname kwayland
|
||||||
|
%bcond_without released
|
||||||
|
Name: kwayland6
|
||||||
|
Version: 6.5.2
|
||||||
|
Release: 0
|
||||||
|
Summary: KDE Wayland library
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
URL: https://www.kde.org
|
||||||
|
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||||
|
Source2: plasma.keyring
|
||||||
|
%endif
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||||
|
BuildRequires: qt6-waylandclient-private-devel >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.14.0
|
||||||
|
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
|
||||||
|
BuildRequires: pkgconfig(egl)
|
||||||
|
BuildRequires: pkgconfig(wayland-client) >= 1.15.0
|
||||||
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.15.0
|
||||||
|
BuildRequires: pkgconfig(wayland-server) >= 1.15.0
|
||||||
|
|
||||||
|
%description
|
||||||
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
||||||
|
libraries.
|
||||||
|
|
||||||
|
%package -n libKWaylandClient6
|
||||||
|
Summary: KDE Wayland library
|
||||||
|
Requires: kwayland6 >= %{version}
|
||||||
|
|
||||||
|
%description -n libKWaylandClient6
|
||||||
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
||||||
|
libraries.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: KDE Wayland library: Build Environment
|
||||||
|
Requires: libKWaylandClient6 = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
KWayland provides a Qt-style Client and Server library wrapper for the Wayland
|
||||||
|
libraries.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{rname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
||||||
|
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n libKWaylandClient6
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_kf6_debugdir}/kwayland.categories
|
||||||
|
%{_kf6_debugdir}/kwayland.renamecategories
|
||||||
|
|
||||||
|
%files -n libKWaylandClient6
|
||||||
|
%license LICENSES/*
|
||||||
|
%doc README.md
|
||||||
|
%{_kf6_libdir}/libKWaylandClient.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc %{_kf6_qchdir}/KWayland.*
|
||||||
|
%{_includedir}/KWayland/
|
||||||
|
%{_kf6_cmakedir}/KWayland/
|
||||||
|
%{_kf6_libdir}/libKWaylandClient.so
|
||||||
|
%{_kf6_pkgconfigdir}/KWaylandClient.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
BIN
kwayland6/plasma.keyring
Normal file
BIN
kwayland6/plasma.keyring
Normal file
Binary file not shown.
1
mesa/.osc/_apiurl
Normal file
1
mesa/.osc/_apiurl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://gabriel.oerv.ac.cn
|
||||||
31
mesa/.osc/_files
Normal file
31
mesa/.osc/_files
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<directory name="mesa" rev="2" vrev="2" srcmd5="577ab3d5447352ce4f291ec522fad1e2">
|
||||||
|
<serviceinfo code="failed" xsrcmd5="64d3e7bcdb64d078748e3a2300ac1d29">
|
||||||
|
<error>service error: ERROR: Failed to download "http://crates.io/api/v1/crates/rustc-hash/2.1.1/download#/rustc-hash-2.1.1.tar.gz"</error>
|
||||||
|
</serviceinfo>
|
||||||
|
<entry name="Mesa-rpmlintrc" md5="5676ab9983b9687bf96d397fd01bec72" size="523" mtime="1763220088" />
|
||||||
|
<entry name="Mesa.spec" md5="225e275a21f2b36701b3a3b0babffdba" size="38541" mtime="1763221732" />
|
||||||
|
<entry name="README.updates" md5="3717202fd4ed99c42c249227e1891392" size="413" mtime="1763220091" />
|
||||||
|
<entry name="U_fix-mpeg1_2-decode-mesa-20.2.patch" md5="dea1e97f4b933f7b73d16330dc6d0c21" size="807" mtime="1763220091" />
|
||||||
|
<entry name="_constraints" md5="eecfe1ae9778aff7b6ee25ff1b6d5536" size="569" mtime="1763220092" />
|
||||||
|
<entry name="_multibuild" md5="93261ece7c70c1b31eac37e794954635" size="56" mtime="1763220093" />
|
||||||
|
<entry name="_service" md5="61dac8e3f245dd728010fe640d8f350e" size="266" mtime="1763295812" />
|
||||||
|
<entry name="baselibs.conf" md5="ff43d2df0ccf5f3b8b75eea90f96c799" size="4299" mtime="1763220094" />
|
||||||
|
<entry name="manual-pages.tar.bz2" md5="799d2da86deb7f425cfadc0b98d889c9" size="137685" mtime="1763220096" />
|
||||||
|
<entry name="n_add-Mesa-headers-again.patch" md5="0628912f77b8688ebaacd37037b7303f" size="615" mtime="1763221733" />
|
||||||
|
<entry name="n_drirc-disable-rgb10-for-chromium-on-amd.patch" md5="60f134e05aecb24216918a961e7540a3" size="1273" mtime="1763221734" />
|
||||||
|
<entry name="n_stop-iris-flicker.patch" md5="1755939e58d59f78bfbfc59982275544" size="970" mtime="1763221734" />
|
||||||
|
<entry name="paste-1.0.14.tar.gz" md5="1781b204ec7b6b1ef9232d429e6a973a" size="18157" mtime="1763221735" />
|
||||||
|
<entry name="proc-macro2-1.0.86.tar.gz" md5="480a3b8e8201739e157bb648f9243962" size="48958" mtime="1763221737" />
|
||||||
|
<entry name="python36-buildfix1.patch" md5="bae037a947a34bc0f3e56228c407737c" size="3881" mtime="1763221738" />
|
||||||
|
<entry name="quote-1.0.35.tar.gz" md5="0358b31bf59c7915bb03f9e66f2d1ea3" size="28136" mtime="1763221739" />
|
||||||
|
<entry name="rustc-hash-2.1.1.tar.gz" md5="9f5da5d4deefacf77ae9ca3cbe5c7c6a" size="14154" mtime="1763221740" />
|
||||||
|
<entry name="syn-2.0.87.tar.gz" md5="112875c142d1023400b0262ea1996de0" size="278076" mtime="1763221742" />
|
||||||
|
<entry name="tlsdesc_test.patch" md5="58db99cef07d76ec3fd93c78fce49ac7" size="823" mtime="1763221742" />
|
||||||
|
<entry name="u_0001-intel-genxml-Drop-from-__future__-import-annotations.patch" md5="66d2f7de8fbd6cda4e02ec4128fdbf0a" size="1730" mtime="1763221743" />
|
||||||
|
<entry name="u_0002-intel-genxml-Add-a-untyped-OrderedDict-fallback-for-.patch" md5="9ec7337bfddb2c48c435f877f52435d5" size="3099" mtime="1763221744" />
|
||||||
|
<entry name="u_dep_xcb.patch" md5="55523490cbfcd7596dbbf38b9287835c" size="552" mtime="1763221746" />
|
||||||
|
<entry name="u_mesa-CVE-2023-45919.patch" md5="0b981f4441f62263cb8b0c49d7347206" size="1343" mtime="1763221747" />
|
||||||
|
<entry name="u_mesa-CVE-2023-45922.patch" md5="c6bc5aa4dccd1bcc473a3cfea7cf8bae" size="700" mtime="1763221748" />
|
||||||
|
<entry name="u_meson-lower-python-version-requirement.patch" md5="aa93db2f5419af261f87eba185d000d6" size="715" mtime="1763221749" />
|
||||||
|
<entry name="unicode-ident-1.0.12.tar.gz" md5="ca65153603a1a7240bbd9d2ce19f2d67" size="42168" mtime="1763221750" />
|
||||||
|
</directory>
|
||||||
5
mesa/.osc/_meta
Normal file
5
mesa/.osc/_meta
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<package name="mesa" project="home:nico">
|
||||||
|
<title/>
|
||||||
|
<description/>
|
||||||
|
</package>
|
||||||
|
|
||||||
1
mesa/.osc/_osclib_version
Normal file
1
mesa/.osc/_osclib_version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
2.0
|
||||||
1
mesa/.osc/_package
Normal file
1
mesa/.osc/_package
Normal file
@@ -0,0 +1 @@
|
|||||||
|
mesa
|
||||||
1
mesa/.osc/_project
Normal file
1
mesa/.osc/_project
Normal file
@@ -0,0 +1 @@
|
|||||||
|
home:nico
|
||||||
11
mesa/.osc/sources/Mesa-rpmlintrc
Normal file
11
mesa/.osc/sources/Mesa-rpmlintrc
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# This line is mandatory to access the configuration functions
|
||||||
|
from Config import *
|
||||||
|
|
||||||
|
# Want to allow for multiple vendors
|
||||||
|
addFilter("shlib-policy-name-error")
|
||||||
|
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postin")
|
||||||
|
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postun")
|
||||||
|
addFilter("libXvMC_nouveau.*library-without-ldconfig-postin")
|
||||||
|
addFilter("libXvMC_nouveau.*library-without-ldconfig-postun")
|
||||||
|
addFilter("libXvMC_r600.*library-without-ldconfig-postin")
|
||||||
|
addFilter("libXvMC_r600.*library-without-ldconfig-postun")
|
||||||
1264
mesa/.osc/sources/Mesa.spec
Normal file
1264
mesa/.osc/sources/Mesa.spec
Normal file
File diff suppressed because it is too large
Load Diff
10
mesa/.osc/sources/README.updates
Normal file
10
mesa/.osc/sources/README.updates
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
DRI Driver update mechanism
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
If any corresponding DRI driver is found in "/usr/lib/dri/updates/"
|
||||||
|
it will be favored over the one in "/usr/lib/dri/" and will be used
|
||||||
|
for 32/64 bit applications.
|
||||||
|
|
||||||
|
On 32/64 bit biarch platforms additionally a corresponding DRI driver
|
||||||
|
in "/usr/lib64/dri/updates/" will be favored over the one in
|
||||||
|
"/usr/lib64/dri/" and will be used for 64bit applications.
|
||||||
19
mesa/.osc/sources/U_fix-mpeg1_2-decode-mesa-20.2.patch
Normal file
19
mesa/.osc/sources/U_fix-mpeg1_2-decode-mesa-20.2.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
@@ -, +, @@
|
||||||
|
---
|
||||||
|
src/gallium/drivers/r600/evergreen_state.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.2.2.orig/src/gallium/drivers/r600/evergreen_state.c
|
||||||
|
+++ mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
||||||
|
@@ -584,7 +584,8 @@ static void *evergreen_create_sampler_st
|
||||||
|
: state->max_anisotropy;
|
||||||
|
unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso);
|
||||||
|
bool trunc_coord = state->min_img_filter == PIPE_TEX_FILTER_NEAREST &&
|
||||||
|
- state->mag_img_filter == PIPE_TEX_FILTER_NEAREST;
|
||||||
|
+ state->mag_img_filter == PIPE_TEX_FILTER_NEAREST &&
|
||||||
|
+ state->unnormalized_coords;
|
||||||
|
float max_lod = state->max_lod;
|
||||||
|
|
||||||
|
if (!ss) {
|
||||||
29
mesa/.osc/sources/_constraints
Normal file
29
mesa/.osc/sources/_constraints
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<constraints>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>aarch64</arch>
|
||||||
|
<arch>ppc</arch>
|
||||||
|
<arch>x86_64</arch>
|
||||||
|
<arch>i586</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">9</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>ppc64</arch>
|
||||||
|
<arch>ppc64le</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">9</size>
|
||||||
|
</disk>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="G">20</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
</constraints>
|
||||||
3
mesa/.osc/sources/_multibuild
Normal file
3
mesa/.osc/sources/_multibuild
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>drivers</package>
|
||||||
|
</multibuild>
|
||||||
8
mesa/.osc/sources/_service
Normal file
8
mesa/.osc/sources/_service
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">ssh://git@git.oerv.ac.cn:54865/KiritakeKumi/mesa.git</param>
|
||||||
|
<param name="revision">main</param>
|
||||||
|
</service>
|
||||||
|
<service name="download_files"/>
|
||||||
|
</services>
|
||||||
94
mesa/.osc/sources/baselibs.conf
Normal file
94
mesa/.osc/sources/baselibs.conf
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
Mesa
|
||||||
|
# Include this special README file so dummy Mesa-<targettype> gets
|
||||||
|
# build and other arch packages can supplement it.
|
||||||
|
+/usr/share/doc/packages/Mesa/README.package.*
|
||||||
|
# Must require the base Mesa package to get /etc/drirc configuration file.
|
||||||
|
requires "Mesa = <version>"
|
||||||
|
obsoletes "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
|
||||||
|
provides "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
|
||||||
|
provides "Mesa-libIndirectGL1-<targettype> = <version>"
|
||||||
|
obsoletes "Mesa-libIndirectGL1-<targettype> < <version>"
|
||||||
|
requires "libglvnd-<targettype> >= 0.1.0"
|
||||||
|
requires "Mesa-dri-<targettype> = <version>"
|
||||||
|
obsoletes "Mesa-gallium-<targettype> < <version>"
|
||||||
|
|
||||||
|
Mesa-devel
|
||||||
|
#We need Mesa-<targettype>!, do not put requires -Mesa-<targettype>.
|
||||||
|
requires "Mesa-<targettype> = <version>"
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libGL-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libGLESv1_CM-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libGLESv2-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libIndirectGL-devel-<targettype> = <version>"
|
||||||
|
requires "libgbm-devel-<targettype> = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
obsoletes "XFree86-Mesa-devel-<targettype> xorg-x11-Mesa-devel-<targettype>"
|
||||||
|
provides "XFree86-Mesa-devel-<targettype> xorg-x11-Mesa-devel-<targettype>"
|
||||||
|
obsoletes "Mesa-libIndirectGL-devel-<targettype> < <version>"
|
||||||
|
provides "Mesa-libIndirectGL-devel-<targettype> = <version>"
|
||||||
|
|
||||||
|
Mesa-libEGL1
|
||||||
|
requires "libglvnd-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libEGL-devel
|
||||||
|
requires "Mesa-libEGL1-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGL1
|
||||||
|
requires "Mesa-<targettype> = <version>"
|
||||||
|
requires "libglvnd-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGL-devel
|
||||||
|
requires "Mesa-libGL1-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGLESv1_CM-devel
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGLESv2-devel
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGLESv3-devel
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
libgbm1
|
||||||
|
libgbm-devel
|
||||||
|
requires "libgbm1-<targettype> = <version>"
|
||||||
|
libvulkan_intel
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
targetarch ppc64 +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch ppc64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
targetarch ppc64le +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch ppc64le +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||||
|
provides "Mesa-libVulkan-devel-<targettype> = 22.0.0"
|
||||||
|
obsoletes "Mesa-libVulkan-devel-<targettype> < 22.0.0"
|
||||||
|
libvulkan_nouveau
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||||
|
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||||
|
libvulkan_radeon
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
targetarch ppc64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
targetarch ppc64le +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||||
|
libvdpau_nouveau
|
||||||
|
libvdpau_r600
|
||||||
|
libvdpau_radeonsi
|
||||||
|
libvdpau_virtio_gpu
|
||||||
|
Mesa-vulkan-device-select
|
||||||
|
Mesa-vulkan-overlay
|
||||||
|
Mesa-dri-vc4
|
||||||
|
Mesa-dri-nouveau
|
||||||
|
Mesa-dri
|
||||||
|
supplements "Mesa-<targettype> = <version>"
|
||||||
|
Mesa-libva
|
||||||
BIN
mesa/.osc/sources/manual-pages.tar.bz2
Normal file
BIN
mesa/.osc/sources/manual-pages.tar.bz2
Normal file
Binary file not shown.
20
mesa/.osc/sources/n_add-Mesa-headers-again.patch
Normal file
20
mesa/.osc/sources/n_add-Mesa-headers-again.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Index: mesa-24.2.2/include/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.2.2.orig/include/meson.build
|
||||||
|
+++ mesa-24.2.2/include/meson.build
|
||||||
|
@@ -12,7 +12,6 @@ if with_android_stub
|
||||||
|
inc_include += [include_directories('android_stub')]
|
||||||
|
endif
|
||||||
|
|
||||||
|
-if not with_glvnd and host_machine.system() != 'windows'
|
||||||
|
if with_gles1 or with_gles2 or with_opengl or with_egl
|
||||||
|
install_headers('KHR/khrplatform.h', subdir : 'KHR')
|
||||||
|
endif
|
||||||
|
@@ -68,7 +67,6 @@ if not with_glvnd and host_machine.syste
|
||||||
|
subdir : 'EGL',
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
-endif
|
||||||
|
|
||||||
|
# Non-upstream headers
|
||||||
|
if with_egl
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
Index: mesa-25.1.0/src/util/00-mesa-defaults.conf
|
||||||
|
===================================================================
|
||||||
|
--- mesa-25.1.0.orig/src/util/00-mesa-defaults.conf
|
||||||
|
+++ mesa-25.1.0/src/util/00-mesa-defaults.conf
|
||||||
|
@@ -803,6 +803,14 @@ TODO: document the other workarounds.
|
||||||
|
<application name="Rocket League" executable="RocketLeague">
|
||||||
|
<option name="radeonsi_zerovram" value="true" />
|
||||||
|
</application>
|
||||||
|
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
|
||||||
|
+ <application name="Chromium" executable="chromium">
|
||||||
|
+ <option name="allow_rgb10_configs" value="false" />
|
||||||
|
+ </application>
|
||||||
|
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Totem. https://bugzilla.opensuse.org/show_bug.cgi?id=1142270 -->
|
||||||
|
+ <application name="Totem" executable="totem">
|
||||||
|
+ <option name="allow_rgb10_configs" value="false" />
|
||||||
|
+ </application>
|
||||||
|
<!-- YoYo game engine workarounds -->
|
||||||
|
<application name="Monolith demo5" executable="runner" sha1="0c40d509a74e357f0280cb1bd882e9cd94b91bdf">
|
||||||
|
<option name="radeonsi_sync_compile" value="true" />
|
||||||
18
mesa/.osc/sources/n_stop-iris-flicker.patch
Normal file
18
mesa/.osc/sources/n_stop-iris-flicker.patch
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
commit 5d6f7baf3bc40a85b09e4088c8c3bccec6a7c82d
|
||||||
|
Author: Scott Bradnick <scott.bradnick@suse.com>
|
||||||
|
Date: Tue May 24 14:47:53 2022 -0400
|
||||||
|
|
||||||
|
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
|
||||||
|
|
||||||
|
Index: mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.2.2.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||||
|
+++ mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||||
|
@@ -318,7 +318,6 @@ i915_batch_submit(struct iris_batch *bat
|
||||||
|
uint32_t flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
|
||||||
|
flags |= bo->real.capture ? EXEC_OBJECT_CAPTURE : 0;
|
||||||
|
flags |= bo == batch->screen->workaround_bo ? EXEC_OBJECT_ASYNC : 0;
|
||||||
|
- flags |= iris_bo_is_external(bo) ? 0 : EXEC_OBJECT_ASYNC;
|
||||||
|
flags |= written ? EXEC_OBJECT_WRITE : 0;
|
||||||
|
|
||||||
|
index_for_handle[bo->gem_handle] = validation_count;
|
||||||
BIN
mesa/.osc/sources/paste-1.0.14.tar.gz
Normal file
BIN
mesa/.osc/sources/paste-1.0.14.tar.gz
Normal file
Binary file not shown.
BIN
mesa/.osc/sources/proc-macro2-1.0.86.tar.gz
Normal file
BIN
mesa/.osc/sources/proc-macro2-1.0.86.tar.gz
Normal file
Binary file not shown.
99
mesa/.osc/sources/python36-buildfix1.patch
Normal file
99
mesa/.osc/sources/python36-buildfix1.patch
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
Index: mesa-25.2.0/src/nouveau/headers/class_parser.py
|
||||||
|
===================================================================
|
||||||
|
--- mesa-25.2.0.orig/src/nouveau/headers/class_parser.py
|
||||||
|
+++ mesa-25.2.0/src/nouveau/headers/class_parser.py
|
||||||
|
@@ -14,6 +14,16 @@ from mako.template import Template
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
|
+def removeprefix(s, prefix):
|
||||||
|
+ if s.startswith(prefix):
|
||||||
|
+ return s[len(prefix):]
|
||||||
|
+ return s
|
||||||
|
+
|
||||||
|
+def removesuffix(s, suffix):
|
||||||
|
+ if s.endswith(suffix):
|
||||||
|
+ return s[:-len(suffix)]
|
||||||
|
+ return s
|
||||||
|
+
|
||||||
|
METHOD_ARRAY_SIZES = {
|
||||||
|
'BIND_GROUP_CONSTANT_BUFFER' : 16,
|
||||||
|
'CALL_MME_DATA' : 256,
|
||||||
|
@@ -478,7 +488,7 @@ def parse_header(nvcl, f):
|
||||||
|
state = 1
|
||||||
|
elif teststr in list[1]:
|
||||||
|
if not SKIP_FIELD[0] in list[1]:
|
||||||
|
- curfield.defs[list[1].removeprefix(teststr)] = list[2]
|
||||||
|
+ curfield.defs[removeprefix(list[1],teststr)] = list[2]
|
||||||
|
else:
|
||||||
|
state = 1
|
||||||
|
|
||||||
|
@@ -488,7 +498,7 @@ def parse_header(nvcl, f):
|
||||||
|
if ("0x" in list[2]):
|
||||||
|
state = 1
|
||||||
|
else:
|
||||||
|
- field = list[1].removeprefix(teststr)
|
||||||
|
+ field = removeprefix(list[1], teststr)
|
||||||
|
bitfield = list[2].split(":")
|
||||||
|
f = Field(field, bitfield[1], bitfield[0])
|
||||||
|
curmthd.fields.append(f)
|
||||||
|
@@ -508,13 +518,13 @@ def parse_header(nvcl, f):
|
||||||
|
is_array = 0
|
||||||
|
if (':' in list[2]):
|
||||||
|
continue
|
||||||
|
- name = list[1].removeprefix(teststr)
|
||||||
|
+ name = removeprefix(list[1], teststr)
|
||||||
|
if name.endswith("(i)"):
|
||||||
|
is_array = 1
|
||||||
|
- name = name.removesuffix("(i)")
|
||||||
|
+ name = removesuffix(name, "(i)")
|
||||||
|
if name.endswith("(j)"):
|
||||||
|
is_array = 1
|
||||||
|
- name = name.removesuffix("(j)")
|
||||||
|
+ name = removesuffix(name, "(j)")
|
||||||
|
|
||||||
|
curmthd = Method(name, list[2], is_array)
|
||||||
|
methods[name] = curmthd
|
||||||
|
@@ -523,8 +533,8 @@ def parse_header(nvcl, f):
|
||||||
|
return (version, methods)
|
||||||
|
|
||||||
|
def nvcl_for_filename(name):
|
||||||
|
- name = name.removeprefix("cl")
|
||||||
|
- name = name.removesuffix(".h")
|
||||||
|
+ name = removeprefix(name, "cl")
|
||||||
|
+ name = removesuffix(name, ".h")
|
||||||
|
return "NV" + name.upper()
|
||||||
|
|
||||||
|
def main():
|
||||||
|
@@ -553,7 +563,7 @@ def main():
|
||||||
|
if args.prev_in_h is not None:
|
||||||
|
prev_clheader = os.path.basename(args.prev_in_h)
|
||||||
|
prev_nvcl = nvcl_for_filename(prev_clheader)
|
||||||
|
- prev_mod = prev_clheader.removesuffix(".h")
|
||||||
|
+ prev_mod = removesuffix(prev_clheader, ".h")
|
||||||
|
with open(args.prev_in_h, 'r', encoding='utf-8') as f:
|
||||||
|
(prev_version, prev_methods) = parse_header(prev_nvcl, f)
|
||||||
|
|
||||||
|
--- mesa-25.2.0/src/compiler/nir/nir_algebraic.py.orig 2025-08-08 14:53:23.002148943 +0200
|
||||||
|
+++ mesa-25.2.0/src/compiler/nir/nir_algebraic.py 2025-08-08 14:57:34.748734069 +0200
|
||||||
|
@@ -31,6 +31,11 @@
|
||||||
|
|
||||||
|
from nir_opcodes import opcodes, type_sizes
|
||||||
|
|
||||||
|
+def removeprefix(s, prefix):
|
||||||
|
+ if s.startswith(prefix):
|
||||||
|
+ return s[len(prefix):]
|
||||||
|
+ return s
|
||||||
|
+
|
||||||
|
# This should be the same as NIR_SEARCH_MAX_COMM_OPS in nir_search.c
|
||||||
|
nir_search_max_comm_ops = 8
|
||||||
|
|
||||||
|
@@ -395,7 +400,7 @@
|
||||||
|
self.nnan = cond.pop('nnan', False)
|
||||||
|
self.ninf = cond.pop('ninf', False)
|
||||||
|
self.contract = cond.pop('contract', False)
|
||||||
|
- self.swizzle = -1 if m.group('swizzle') is None else swizzles[m.group('swizzle').removeprefix('.')]
|
||||||
|
+ self.swizzle = -1 if m.group('swizzle') is None else swizzles[removeprefix(m.group('swizzle'),'.')]
|
||||||
|
|
||||||
|
assert len(cond) <= 1
|
||||||
|
self.cond = cond.popitem()[0] if cond else None
|
||||||
BIN
mesa/.osc/sources/quote-1.0.35.tar.gz
Normal file
BIN
mesa/.osc/sources/quote-1.0.35.tar.gz
Normal file
Binary file not shown.
BIN
mesa/.osc/sources/rustc-hash-2.1.1.tar.gz
Normal file
BIN
mesa/.osc/sources/rustc-hash-2.1.1.tar.gz
Normal file
Binary file not shown.
BIN
mesa/.osc/sources/syn-2.0.87.tar.gz
Normal file
BIN
mesa/.osc/sources/syn-2.0.87.tar.gz
Normal file
Binary file not shown.
15
mesa/.osc/sources/tlsdesc_test.patch
Normal file
15
mesa/.osc/sources/tlsdesc_test.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
LTO defeats the -fpic workaround and enables TLS relaxation anyway
|
||||||
|
|
||||||
|
Index: mesa-24.3.0-rc1/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.3.0-rc1.orig/meson.build
|
||||||
|
+++ mesa-24.3.0-rc1/meson.build
|
||||||
|
@@ -516,7 +516,7 @@ if not have_mtls_dialect
|
||||||
|
foreach tlsdesc_arg : ['-mtls-dialect=gnu2', '-mtls-dialect=desc']
|
||||||
|
# -fpic to force dynamic tls, otherwise TLS relaxation defeats check
|
||||||
|
tlsdesc_test = cc.run('int __thread x; int main() { return x; }',
|
||||||
|
- args: [tlsdesc_arg, '-fpic'],
|
||||||
|
+ args: [tlsdesc_arg, '-fpic', '-fno-lto'],
|
||||||
|
name: tlsdesc_arg)
|
||||||
|
if tlsdesc_test.returncode() == 0 and (
|
||||||
|
# check for lld 13 bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
From a14fa9920669c8d6d911e375376f2e45052a31d6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
Date: Sat, 20 Jan 2024 01:07:23 -0800
|
||||||
|
Subject: [PATCH 1/2] intel/genxml: Drop "from __future__ import annotations"
|
||||||
|
|
||||||
|
This is not supported in Python 3.6, and optional in 3.7+.
|
||||||
|
|
||||||
|
Ref: f1eae2f8bbe ("python: drop python2 support")
|
||||||
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
---
|
||||||
|
src/intel/genxml/gen_sort_tags.py | 1 -
|
||||||
|
src/intel/genxml/genxml_import.py | 1 -
|
||||||
|
src/intel/genxml/intel_genxml.py | 1 -
|
||||||
|
3 files changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/intel/genxml/gen_sort_tags.py b/src/intel/genxml/gen_sort_tags.py
|
||||||
|
index dcdba333fe6..44cd152cd11 100755
|
||||||
|
--- a/src/intel/genxml/gen_sort_tags.py
|
||||||
|
+++ b/src/intel/genxml/gen_sort_tags.py
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Copyright © 2019, 2022 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
-from __future__ import annotations
|
||||||
|
import argparse
|
||||||
|
import copy
|
||||||
|
import intel_genxml
|
||||||
|
diff --git a/src/intel/genxml/genxml_import.py b/src/intel/genxml/genxml_import.py
|
||||||
|
index 76a7c77eb4c..442b4726d08 100755
|
||||||
|
--- a/src/intel/genxml/genxml_import.py
|
||||||
|
+++ b/src/intel/genxml/genxml_import.py
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Copyright © 2019, 2022 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
-from __future__ import annotations
|
||||||
|
import argparse
|
||||||
|
import copy
|
||||||
|
import intel_genxml
|
||||||
|
diff --git a/src/intel/genxml/intel_genxml.py b/src/intel/genxml/intel_genxml.py
|
||||||
|
index 2b7b4d8391a..9388ebecfce 100755
|
||||||
|
--- a/src/intel/genxml/intel_genxml.py
|
||||||
|
+++ b/src/intel/genxml/intel_genxml.py
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Copyright © 2019, 2022 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
-from __future__ import annotations
|
||||||
|
from collections import OrderedDict
|
||||||
|
import copy
|
||||||
|
import io
|
||||||
|
--
|
||||||
|
2.35.3
|
||||||
|
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
From 89ede5b851a6a15f85e83278257ee4e3783f6bd2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
Date: Sat, 20 Jan 2024 01:00:56 -0800
|
||||||
|
Subject: [PATCH 2/2] intel/genxml: Add a untyped OrderedDict fallback for
|
||||||
|
Python 3.6
|
||||||
|
|
||||||
|
typing.OrderedDict was introduced in Python 3.7.2.
|
||||||
|
|
||||||
|
Python 3.6 and 3.7 have been deprecated and are no longer supported,
|
||||||
|
but this seems like an easy enough fallback to include for now.
|
||||||
|
|
||||||
|
https://devguide.python.org/versions/
|
||||||
|
|
||||||
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
---
|
||||||
|
src/intel/genxml/intel_genxml.py | 22 +++++++++++++++++-----
|
||||||
|
1 file changed, 17 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/intel/genxml/intel_genxml.py b/src/intel/genxml/intel_genxml.py
|
||||||
|
index 9388ebecfce..eefd7b44992 100755
|
||||||
|
--- a/src/intel/genxml/intel_genxml.py
|
||||||
|
+++ b/src/intel/genxml/intel_genxml.py
|
||||||
|
@@ -45,10 +45,22 @@ BASE_TYPES = {
|
||||||
|
|
||||||
|
FIXED_PATTERN = re.compile(r"(s|u)(\d+)\.(\d+)")
|
||||||
|
|
||||||
|
+try:
|
||||||
|
+ # Python 3.7 and newer should be able to support strong typing for
|
||||||
|
+ # our OrderedDict usage.
|
||||||
|
+ def typed_ordered_dict(key_ty, val_ty):
|
||||||
|
+ return typing.OrderedDict[str, bool]
|
||||||
|
+ # This will raise an exception on Python 3.6
|
||||||
|
+ typed_ordered_dict(int, int)
|
||||||
|
+except Exception:
|
||||||
|
+ # For Python 3.6 we return an untyped OrderedDict
|
||||||
|
+ def typed_ordered_dict(key_ty, val_ty):
|
||||||
|
+ return OrderedDict
|
||||||
|
+
|
||||||
|
def is_base_type(name: str) -> bool:
|
||||||
|
return name in BASE_TYPES or FIXED_PATTERN.match(name) is not None
|
||||||
|
|
||||||
|
-def add_struct_refs(items: typing.OrderedDict[str, bool], node: et.Element) -> None:
|
||||||
|
+def add_struct_refs(items: typed_ordered_dict(str, bool), node: et.Element) -> None:
|
||||||
|
if node.tag == 'field':
|
||||||
|
if 'type' in node.attrib and not is_base_type(node.attrib['type']):
|
||||||
|
t = node.attrib['type']
|
||||||
|
@@ -64,16 +76,16 @@ class Struct(object):
|
||||||
|
def __init__(self, xml: et.Element):
|
||||||
|
self.xml = xml
|
||||||
|
self.name = xml.attrib['name']
|
||||||
|
- self.deps: typing.OrderedDict[str, Struct] = OrderedDict()
|
||||||
|
+ self.deps: typed_ordered_dict(str, Struct) = OrderedDict()
|
||||||
|
|
||||||
|
def find_deps(self, struct_dict, enum_dict) -> None:
|
||||||
|
- deps: typing.OrderedDict[str, bool] = OrderedDict()
|
||||||
|
+ deps: typed_ordered_dict(str, bool) = OrderedDict()
|
||||||
|
add_struct_refs(deps, self.xml)
|
||||||
|
for d in deps.keys():
|
||||||
|
if d in struct_dict:
|
||||||
|
self.deps[d] = struct_dict[d]
|
||||||
|
|
||||||
|
- def add_xml(self, items: typing.OrderedDict[str, et.Element]) -> None:
|
||||||
|
+ def add_xml(self, items: typed_ordered_dict(str, et.Element)) -> None:
|
||||||
|
for d in self.deps.values():
|
||||||
|
d.add_xml(items)
|
||||||
|
items[self.name] = self.xml
|
||||||
|
@@ -151,7 +163,7 @@ def sort_xml(xml: et.ElementTree) -> None:
|
||||||
|
for ws in wrapped_struct_dict.values():
|
||||||
|
ws.find_deps(wrapped_struct_dict, enum_dict)
|
||||||
|
|
||||||
|
- sorted_structs: typing.OrderedDict[str, et.Element] = OrderedDict()
|
||||||
|
+ sorted_structs: typed_ordered_dict(str, et.Element) = OrderedDict()
|
||||||
|
for s in structs:
|
||||||
|
_s = wrapped_struct_dict[s.attrib['name']]
|
||||||
|
_s.add_xml(sorted_structs)
|
||||||
|
--
|
||||||
|
2.35.3
|
||||||
|
|
||||||
13
mesa/.osc/sources/u_dep_xcb.patch
Normal file
13
mesa/.osc/sources/u_dep_xcb.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: mesa-25.2.0/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- mesa-25.2.0.orig/meson.build
|
||||||
|
+++ mesa-25.2.0/meson.build
|
||||||
|
@@ -2077,6 +2077,8 @@ if with_platform_x11
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
if with_dri_platform == 'drm'
|
||||||
|
+ dep_x11_xcb = dependency('x11-xcb')
|
||||||
|
+ dep_xcb = dependency('xcb')
|
||||||
|
dep_xcb_dri3 = dependency('xcb-dri3', version : dep_xcb_dri3_version)
|
||||||
|
dep_xcb_present = dependency('xcb-present', version : dep_xcb_present_version)
|
||||||
|
if (dep_xcb_dri3.version().version_compare('>= 1.17') and
|
||||||
33
mesa/.osc/sources/u_mesa-CVE-2023-45919.patch
Normal file
33
mesa/.osc/sources/u_mesa-CVE-2023-45919.patch
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
src/glx/glx_query.c | 13 +++++++++++++
|
||||||
|
1 file changed, 13 insertions(+)
|
||||||
|
Index: mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.3.0-rc1.orig/src/glx/glx_query.c
|
||||||
|
+++ mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||||
|
@@ -56,6 +56,13 @@ __glXQueryServerString(Display * dpy, CA
|
||||||
|
/* The spec doesn't mention this, but the Xorg server replies with
|
||||||
|
* a string already terminated with '\0'. */
|
||||||
|
uint32_t len = xcb_glx_query_server_string_string_length(reply);
|
||||||
|
+ /* Allow a max of 64kb string length */
|
||||||
|
+ size_t reply_len = strnlen(xcb_glx_query_server_string_string(reply), 64*1024);
|
||||||
|
+ if (reply_len + 1 != len)
|
||||||
|
+ {
|
||||||
|
+ free(reply);
|
||||||
|
+ return(NULL);
|
||||||
|
+ }
|
||||||
|
char *buf = malloc(len);
|
||||||
|
memcpy(buf, xcb_glx_query_server_string_string(reply), len);
|
||||||
|
free(reply);
|
||||||
|
@@ -83,6 +90,12 @@ __glXGetString(Display * dpy, CARD32 con
|
||||||
|
/* The spec doesn't mention this, but the Xorg server replies with
|
||||||
|
* a string already terminated with '\0'. */
|
||||||
|
uint32_t len = xcb_glx_get_string_string_length(reply);
|
||||||
|
+ size_t reply_len = strnlen(xcb_glx_get_string_string(reply), 64*1024);
|
||||||
|
+ if (reply_len + 1 != len)
|
||||||
|
+ {
|
||||||
|
+ free(reply);
|
||||||
|
+ return(NULL);
|
||||||
|
+ }
|
||||||
|
char *buf = malloc(len);
|
||||||
|
memcpy(buf, xcb_glx_get_string_string(reply), len);
|
||||||
|
free(reply);
|
||||||
15
mesa/.osc/sources/u_mesa-CVE-2023-45922.patch
Normal file
15
mesa/.osc/sources/u_mesa-CVE-2023-45922.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
src/glx/glx_pbuffer.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
Index: mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.3.0-rc1.orig/src/glx/glx_pbuffer.c
|
||||||
|
+++ mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
||||||
|
@@ -338,7 +338,7 @@ __glXGetDrawableAttribute(Display * dpy,
|
||||||
|
/* Search the set of returned attributes for the attribute requested by
|
||||||
|
* the caller.
|
||||||
|
*/
|
||||||
|
- for (i = 0; i < num_attributes; i++) {
|
||||||
|
+ for (i = 0; i < num_attributes && i * 2 + 1 < length; i++) {
|
||||||
|
if (data[i * 2] == attribute) {
|
||||||
|
found = 1;
|
||||||
|
*value = data[(i * 2) + 1];
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
From accbfc5464112a8cd368f0293a7f1e91ff769304 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mikhail Paulyshka <me@mixaill.net>
|
||||||
|
Date: Thu, 20 Feb 2025 15:17:05 +0300
|
||||||
|
Subject: [PATCH 1/1] meson: lower python version requirement
|
||||||
|
|
||||||
|
---
|
||||||
|
meson.build | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 1bd2bbc0a64..14cbe5b13d2 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -936,7 +936,7 @@ if get_option('allow-kcmp') \
|
||||||
|
endif
|
||||||
|
|
||||||
|
# On Windows, a venv has no versioned aliased to 'python'.
|
||||||
|
-prog_python = find_program('python3', 'python', version : '>= 3.8')
|
||||||
|
+prog_python = find_program('python3', 'python', version : '>= 3.6')
|
||||||
|
|
||||||
|
has_mako = run_command(
|
||||||
|
prog_python, '-c',
|
||||||
|
--
|
||||||
|
2.48.1
|
||||||
|
|
||||||
BIN
mesa/.osc/sources/unicode-ident-1.0.12.tar.gz
Normal file
BIN
mesa/.osc/sources/unicode-ident-1.0.12.tar.gz
Normal file
Binary file not shown.
11
mesa/Mesa-rpmlintrc
Normal file
11
mesa/Mesa-rpmlintrc
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# This line is mandatory to access the configuration functions
|
||||||
|
from Config import *
|
||||||
|
|
||||||
|
# Want to allow for multiple vendors
|
||||||
|
addFilter("shlib-policy-name-error")
|
||||||
|
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postin")
|
||||||
|
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postun")
|
||||||
|
addFilter("libXvMC_nouveau.*library-without-ldconfig-postin")
|
||||||
|
addFilter("libXvMC_nouveau.*library-without-ldconfig-postun")
|
||||||
|
addFilter("libXvMC_r600.*library-without-ldconfig-postin")
|
||||||
|
addFilter("libXvMC_r600.*library-without-ldconfig-postun")
|
||||||
1264
mesa/Mesa.spec
Normal file
1264
mesa/Mesa.spec
Normal file
File diff suppressed because it is too large
Load Diff
10
mesa/README.updates
Normal file
10
mesa/README.updates
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
DRI Driver update mechanism
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
If any corresponding DRI driver is found in "/usr/lib/dri/updates/"
|
||||||
|
it will be favored over the one in "/usr/lib/dri/" and will be used
|
||||||
|
for 32/64 bit applications.
|
||||||
|
|
||||||
|
On 32/64 bit biarch platforms additionally a corresponding DRI driver
|
||||||
|
in "/usr/lib64/dri/updates/" will be favored over the one in
|
||||||
|
"/usr/lib64/dri/" and will be used for 64bit applications.
|
||||||
19
mesa/U_fix-mpeg1_2-decode-mesa-20.2.patch
Normal file
19
mesa/U_fix-mpeg1_2-decode-mesa-20.2.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
@@ -, +, @@
|
||||||
|
---
|
||||||
|
src/gallium/drivers/r600/evergreen_state.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.2.2.orig/src/gallium/drivers/r600/evergreen_state.c
|
||||||
|
+++ mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
||||||
|
@@ -584,7 +584,8 @@ static void *evergreen_create_sampler_st
|
||||||
|
: state->max_anisotropy;
|
||||||
|
unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso);
|
||||||
|
bool trunc_coord = state->min_img_filter == PIPE_TEX_FILTER_NEAREST &&
|
||||||
|
- state->mag_img_filter == PIPE_TEX_FILTER_NEAREST;
|
||||||
|
+ state->mag_img_filter == PIPE_TEX_FILTER_NEAREST &&
|
||||||
|
+ state->unnormalized_coords;
|
||||||
|
float max_lod = state->max_lod;
|
||||||
|
|
||||||
|
if (!ss) {
|
||||||
29
mesa/_constraints
Normal file
29
mesa/_constraints
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<constraints>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>aarch64</arch>
|
||||||
|
<arch>ppc</arch>
|
||||||
|
<arch>x86_64</arch>
|
||||||
|
<arch>i586</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">9</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
<overwrite>
|
||||||
|
<conditions>
|
||||||
|
<arch>ppc64</arch>
|
||||||
|
<arch>ppc64le</arch>
|
||||||
|
</conditions>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">9</size>
|
||||||
|
</disk>
|
||||||
|
<physicalmemory>
|
||||||
|
<size unit="G">20</size>
|
||||||
|
</physicalmemory>
|
||||||
|
</hardware>
|
||||||
|
</overwrite>
|
||||||
|
</constraints>
|
||||||
3
mesa/_multibuild
Normal file
3
mesa/_multibuild
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>drivers</package>
|
||||||
|
</multibuild>
|
||||||
8
mesa/_service
Normal file
8
mesa/_service
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">ssh://git@git.oerv.ac.cn:54865/KiritakeKumi/mesa.git</param>
|
||||||
|
<param name="revision">main</param>
|
||||||
|
</service>
|
||||||
|
<service name="download_files"/>
|
||||||
|
</services>
|
||||||
94
mesa/baselibs.conf
Normal file
94
mesa/baselibs.conf
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
Mesa
|
||||||
|
# Include this special README file so dummy Mesa-<targettype> gets
|
||||||
|
# build and other arch packages can supplement it.
|
||||||
|
+/usr/share/doc/packages/Mesa/README.package.*
|
||||||
|
# Must require the base Mesa package to get /etc/drirc configuration file.
|
||||||
|
requires "Mesa = <version>"
|
||||||
|
obsoletes "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
|
||||||
|
provides "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
|
||||||
|
provides "Mesa-libIndirectGL1-<targettype> = <version>"
|
||||||
|
obsoletes "Mesa-libIndirectGL1-<targettype> < <version>"
|
||||||
|
requires "libglvnd-<targettype> >= 0.1.0"
|
||||||
|
requires "Mesa-dri-<targettype> = <version>"
|
||||||
|
obsoletes "Mesa-gallium-<targettype> < <version>"
|
||||||
|
|
||||||
|
Mesa-devel
|
||||||
|
#We need Mesa-<targettype>!, do not put requires -Mesa-<targettype>.
|
||||||
|
requires "Mesa-<targettype> = <version>"
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libGL-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libGLESv1_CM-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libGLESv2-devel-<targettype> = <version>"
|
||||||
|
requires "Mesa-libIndirectGL-devel-<targettype> = <version>"
|
||||||
|
requires "libgbm-devel-<targettype> = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
obsoletes "XFree86-Mesa-devel-<targettype> xorg-x11-Mesa-devel-<targettype>"
|
||||||
|
provides "XFree86-Mesa-devel-<targettype> xorg-x11-Mesa-devel-<targettype>"
|
||||||
|
obsoletes "Mesa-libIndirectGL-devel-<targettype> < <version>"
|
||||||
|
provides "Mesa-libIndirectGL-devel-<targettype> = <version>"
|
||||||
|
|
||||||
|
Mesa-libEGL1
|
||||||
|
requires "libglvnd-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libEGL-devel
|
||||||
|
requires "Mesa-libEGL1-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGL1
|
||||||
|
requires "Mesa-<targettype> = <version>"
|
||||||
|
requires "libglvnd-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGL-devel
|
||||||
|
requires "Mesa-libGL1-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGLESv1_CM-devel
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGLESv2-devel
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
requires "libglvnd-devel-<targettype> >= 0.1.0"
|
||||||
|
Mesa-libGLESv3-devel
|
||||||
|
requires "Mesa-libEGL-devel-<targettype> = <version>"
|
||||||
|
# Mesa-KHR-devel contains only header files, so no -<targettype> variant
|
||||||
|
requires "Mesa-KHR-devel = <version>"
|
||||||
|
libgbm1
|
||||||
|
libgbm-devel
|
||||||
|
requires "libgbm1-<targettype> = <version>"
|
||||||
|
libvulkan_intel
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
targetarch ppc64 +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch ppc64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
targetarch ppc64le +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch ppc64le +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/intel_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||||
|
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||||
|
provides "Mesa-libVulkan-devel-<targettype> = 22.0.0"
|
||||||
|
obsoletes "Mesa-libVulkan-devel-<targettype> < 22.0.0"
|
||||||
|
libvulkan_nouveau
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||||
|
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||||
|
libvulkan_radeon
|
||||||
|
targetarch aarch64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
targetarch ppc64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
targetarch ppc64le +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
targetarch x86_64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||||
|
libvdpau_nouveau
|
||||||
|
libvdpau_r600
|
||||||
|
libvdpau_radeonsi
|
||||||
|
libvdpau_virtio_gpu
|
||||||
|
Mesa-vulkan-device-select
|
||||||
|
Mesa-vulkan-overlay
|
||||||
|
Mesa-dri-vc4
|
||||||
|
Mesa-dri-nouveau
|
||||||
|
Mesa-dri
|
||||||
|
supplements "Mesa-<targettype> = <version>"
|
||||||
|
Mesa-libva
|
||||||
BIN
mesa/manual-pages.tar.bz2
Normal file
BIN
mesa/manual-pages.tar.bz2
Normal file
Binary file not shown.
20
mesa/n_add-Mesa-headers-again.patch
Normal file
20
mesa/n_add-Mesa-headers-again.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Index: mesa-24.2.2/include/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.2.2.orig/include/meson.build
|
||||||
|
+++ mesa-24.2.2/include/meson.build
|
||||||
|
@@ -12,7 +12,6 @@ if with_android_stub
|
||||||
|
inc_include += [include_directories('android_stub')]
|
||||||
|
endif
|
||||||
|
|
||||||
|
-if not with_glvnd and host_machine.system() != 'windows'
|
||||||
|
if with_gles1 or with_gles2 or with_opengl or with_egl
|
||||||
|
install_headers('KHR/khrplatform.h', subdir : 'KHR')
|
||||||
|
endif
|
||||||
|
@@ -68,7 +67,6 @@ if not with_glvnd and host_machine.syste
|
||||||
|
subdir : 'EGL',
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
-endif
|
||||||
|
|
||||||
|
# Non-upstream headers
|
||||||
|
if with_egl
|
||||||
19
mesa/n_drirc-disable-rgb10-for-chromium-on-amd.patch
Normal file
19
mesa/n_drirc-disable-rgb10-for-chromium-on-amd.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Index: mesa-25.1.0/src/util/00-mesa-defaults.conf
|
||||||
|
===================================================================
|
||||||
|
--- mesa-25.1.0.orig/src/util/00-mesa-defaults.conf
|
||||||
|
+++ mesa-25.1.0/src/util/00-mesa-defaults.conf
|
||||||
|
@@ -803,6 +803,14 @@ TODO: document the other workarounds.
|
||||||
|
<application name="Rocket League" executable="RocketLeague">
|
||||||
|
<option name="radeonsi_zerovram" value="true" />
|
||||||
|
</application>
|
||||||
|
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
|
||||||
|
+ <application name="Chromium" executable="chromium">
|
||||||
|
+ <option name="allow_rgb10_configs" value="false" />
|
||||||
|
+ </application>
|
||||||
|
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Totem. https://bugzilla.opensuse.org/show_bug.cgi?id=1142270 -->
|
||||||
|
+ <application name="Totem" executable="totem">
|
||||||
|
+ <option name="allow_rgb10_configs" value="false" />
|
||||||
|
+ </application>
|
||||||
|
<!-- YoYo game engine workarounds -->
|
||||||
|
<application name="Monolith demo5" executable="runner" sha1="0c40d509a74e357f0280cb1bd882e9cd94b91bdf">
|
||||||
|
<option name="radeonsi_sync_compile" value="true" />
|
||||||
18
mesa/n_stop-iris-flicker.patch
Normal file
18
mesa/n_stop-iris-flicker.patch
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
commit 5d6f7baf3bc40a85b09e4088c8c3bccec6a7c82d
|
||||||
|
Author: Scott Bradnick <scott.bradnick@suse.com>
|
||||||
|
Date: Tue May 24 14:47:53 2022 -0400
|
||||||
|
|
||||||
|
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
|
||||||
|
|
||||||
|
Index: mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.2.2.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||||
|
+++ mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||||
|
@@ -318,7 +318,6 @@ i915_batch_submit(struct iris_batch *bat
|
||||||
|
uint32_t flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
|
||||||
|
flags |= bo->real.capture ? EXEC_OBJECT_CAPTURE : 0;
|
||||||
|
flags |= bo == batch->screen->workaround_bo ? EXEC_OBJECT_ASYNC : 0;
|
||||||
|
- flags |= iris_bo_is_external(bo) ? 0 : EXEC_OBJECT_ASYNC;
|
||||||
|
flags |= written ? EXEC_OBJECT_WRITE : 0;
|
||||||
|
|
||||||
|
index_for_handle[bo->gem_handle] = validation_count;
|
||||||
BIN
mesa/paste-1.0.14.tar.gz
Normal file
BIN
mesa/paste-1.0.14.tar.gz
Normal file
Binary file not shown.
BIN
mesa/proc-macro2-1.0.86.tar.gz
Normal file
BIN
mesa/proc-macro2-1.0.86.tar.gz
Normal file
Binary file not shown.
99
mesa/python36-buildfix1.patch
Normal file
99
mesa/python36-buildfix1.patch
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
Index: mesa-25.2.0/src/nouveau/headers/class_parser.py
|
||||||
|
===================================================================
|
||||||
|
--- mesa-25.2.0.orig/src/nouveau/headers/class_parser.py
|
||||||
|
+++ mesa-25.2.0/src/nouveau/headers/class_parser.py
|
||||||
|
@@ -14,6 +14,16 @@ from mako.template import Template
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
|
+def removeprefix(s, prefix):
|
||||||
|
+ if s.startswith(prefix):
|
||||||
|
+ return s[len(prefix):]
|
||||||
|
+ return s
|
||||||
|
+
|
||||||
|
+def removesuffix(s, suffix):
|
||||||
|
+ if s.endswith(suffix):
|
||||||
|
+ return s[:-len(suffix)]
|
||||||
|
+ return s
|
||||||
|
+
|
||||||
|
METHOD_ARRAY_SIZES = {
|
||||||
|
'BIND_GROUP_CONSTANT_BUFFER' : 16,
|
||||||
|
'CALL_MME_DATA' : 256,
|
||||||
|
@@ -478,7 +488,7 @@ def parse_header(nvcl, f):
|
||||||
|
state = 1
|
||||||
|
elif teststr in list[1]:
|
||||||
|
if not SKIP_FIELD[0] in list[1]:
|
||||||
|
- curfield.defs[list[1].removeprefix(teststr)] = list[2]
|
||||||
|
+ curfield.defs[removeprefix(list[1],teststr)] = list[2]
|
||||||
|
else:
|
||||||
|
state = 1
|
||||||
|
|
||||||
|
@@ -488,7 +498,7 @@ def parse_header(nvcl, f):
|
||||||
|
if ("0x" in list[2]):
|
||||||
|
state = 1
|
||||||
|
else:
|
||||||
|
- field = list[1].removeprefix(teststr)
|
||||||
|
+ field = removeprefix(list[1], teststr)
|
||||||
|
bitfield = list[2].split(":")
|
||||||
|
f = Field(field, bitfield[1], bitfield[0])
|
||||||
|
curmthd.fields.append(f)
|
||||||
|
@@ -508,13 +518,13 @@ def parse_header(nvcl, f):
|
||||||
|
is_array = 0
|
||||||
|
if (':' in list[2]):
|
||||||
|
continue
|
||||||
|
- name = list[1].removeprefix(teststr)
|
||||||
|
+ name = removeprefix(list[1], teststr)
|
||||||
|
if name.endswith("(i)"):
|
||||||
|
is_array = 1
|
||||||
|
- name = name.removesuffix("(i)")
|
||||||
|
+ name = removesuffix(name, "(i)")
|
||||||
|
if name.endswith("(j)"):
|
||||||
|
is_array = 1
|
||||||
|
- name = name.removesuffix("(j)")
|
||||||
|
+ name = removesuffix(name, "(j)")
|
||||||
|
|
||||||
|
curmthd = Method(name, list[2], is_array)
|
||||||
|
methods[name] = curmthd
|
||||||
|
@@ -523,8 +533,8 @@ def parse_header(nvcl, f):
|
||||||
|
return (version, methods)
|
||||||
|
|
||||||
|
def nvcl_for_filename(name):
|
||||||
|
- name = name.removeprefix("cl")
|
||||||
|
- name = name.removesuffix(".h")
|
||||||
|
+ name = removeprefix(name, "cl")
|
||||||
|
+ name = removesuffix(name, ".h")
|
||||||
|
return "NV" + name.upper()
|
||||||
|
|
||||||
|
def main():
|
||||||
|
@@ -553,7 +563,7 @@ def main():
|
||||||
|
if args.prev_in_h is not None:
|
||||||
|
prev_clheader = os.path.basename(args.prev_in_h)
|
||||||
|
prev_nvcl = nvcl_for_filename(prev_clheader)
|
||||||
|
- prev_mod = prev_clheader.removesuffix(".h")
|
||||||
|
+ prev_mod = removesuffix(prev_clheader, ".h")
|
||||||
|
with open(args.prev_in_h, 'r', encoding='utf-8') as f:
|
||||||
|
(prev_version, prev_methods) = parse_header(prev_nvcl, f)
|
||||||
|
|
||||||
|
--- mesa-25.2.0/src/compiler/nir/nir_algebraic.py.orig 2025-08-08 14:53:23.002148943 +0200
|
||||||
|
+++ mesa-25.2.0/src/compiler/nir/nir_algebraic.py 2025-08-08 14:57:34.748734069 +0200
|
||||||
|
@@ -31,6 +31,11 @@
|
||||||
|
|
||||||
|
from nir_opcodes import opcodes, type_sizes
|
||||||
|
|
||||||
|
+def removeprefix(s, prefix):
|
||||||
|
+ if s.startswith(prefix):
|
||||||
|
+ return s[len(prefix):]
|
||||||
|
+ return s
|
||||||
|
+
|
||||||
|
# This should be the same as NIR_SEARCH_MAX_COMM_OPS in nir_search.c
|
||||||
|
nir_search_max_comm_ops = 8
|
||||||
|
|
||||||
|
@@ -395,7 +400,7 @@
|
||||||
|
self.nnan = cond.pop('nnan', False)
|
||||||
|
self.ninf = cond.pop('ninf', False)
|
||||||
|
self.contract = cond.pop('contract', False)
|
||||||
|
- self.swizzle = -1 if m.group('swizzle') is None else swizzles[m.group('swizzle').removeprefix('.')]
|
||||||
|
+ self.swizzle = -1 if m.group('swizzle') is None else swizzles[removeprefix(m.group('swizzle'),'.')]
|
||||||
|
|
||||||
|
assert len(cond) <= 1
|
||||||
|
self.cond = cond.popitem()[0] if cond else None
|
||||||
BIN
mesa/quote-1.0.35.tar.gz
Normal file
BIN
mesa/quote-1.0.35.tar.gz
Normal file
Binary file not shown.
BIN
mesa/rustc-hash-2.1.1.tar.gz
Normal file
BIN
mesa/rustc-hash-2.1.1.tar.gz
Normal file
Binary file not shown.
BIN
mesa/syn-2.0.87.tar.gz
Normal file
BIN
mesa/syn-2.0.87.tar.gz
Normal file
Binary file not shown.
15
mesa/tlsdesc_test.patch
Normal file
15
mesa/tlsdesc_test.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
LTO defeats the -fpic workaround and enables TLS relaxation anyway
|
||||||
|
|
||||||
|
Index: mesa-24.3.0-rc1/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.3.0-rc1.orig/meson.build
|
||||||
|
+++ mesa-24.3.0-rc1/meson.build
|
||||||
|
@@ -516,7 +516,7 @@ if not have_mtls_dialect
|
||||||
|
foreach tlsdesc_arg : ['-mtls-dialect=gnu2', '-mtls-dialect=desc']
|
||||||
|
# -fpic to force dynamic tls, otherwise TLS relaxation defeats check
|
||||||
|
tlsdesc_test = cc.run('int __thread x; int main() { return x; }',
|
||||||
|
- args: [tlsdesc_arg, '-fpic'],
|
||||||
|
+ args: [tlsdesc_arg, '-fpic', '-fno-lto'],
|
||||||
|
name: tlsdesc_arg)
|
||||||
|
if tlsdesc_test.returncode() == 0 and (
|
||||||
|
# check for lld 13 bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
From a14fa9920669c8d6d911e375376f2e45052a31d6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
Date: Sat, 20 Jan 2024 01:07:23 -0800
|
||||||
|
Subject: [PATCH 1/2] intel/genxml: Drop "from __future__ import annotations"
|
||||||
|
|
||||||
|
This is not supported in Python 3.6, and optional in 3.7+.
|
||||||
|
|
||||||
|
Ref: f1eae2f8bbe ("python: drop python2 support")
|
||||||
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
---
|
||||||
|
src/intel/genxml/gen_sort_tags.py | 1 -
|
||||||
|
src/intel/genxml/genxml_import.py | 1 -
|
||||||
|
src/intel/genxml/intel_genxml.py | 1 -
|
||||||
|
3 files changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/intel/genxml/gen_sort_tags.py b/src/intel/genxml/gen_sort_tags.py
|
||||||
|
index dcdba333fe6..44cd152cd11 100755
|
||||||
|
--- a/src/intel/genxml/gen_sort_tags.py
|
||||||
|
+++ b/src/intel/genxml/gen_sort_tags.py
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Copyright © 2019, 2022 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
-from __future__ import annotations
|
||||||
|
import argparse
|
||||||
|
import copy
|
||||||
|
import intel_genxml
|
||||||
|
diff --git a/src/intel/genxml/genxml_import.py b/src/intel/genxml/genxml_import.py
|
||||||
|
index 76a7c77eb4c..442b4726d08 100755
|
||||||
|
--- a/src/intel/genxml/genxml_import.py
|
||||||
|
+++ b/src/intel/genxml/genxml_import.py
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Copyright © 2019, 2022 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
-from __future__ import annotations
|
||||||
|
import argparse
|
||||||
|
import copy
|
||||||
|
import intel_genxml
|
||||||
|
diff --git a/src/intel/genxml/intel_genxml.py b/src/intel/genxml/intel_genxml.py
|
||||||
|
index 2b7b4d8391a..9388ebecfce 100755
|
||||||
|
--- a/src/intel/genxml/intel_genxml.py
|
||||||
|
+++ b/src/intel/genxml/intel_genxml.py
|
||||||
|
@@ -2,7 +2,6 @@
|
||||||
|
# Copyright © 2019, 2022 Intel Corporation
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
-from __future__ import annotations
|
||||||
|
from collections import OrderedDict
|
||||||
|
import copy
|
||||||
|
import io
|
||||||
|
--
|
||||||
|
2.35.3
|
||||||
|
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
From 89ede5b851a6a15f85e83278257ee4e3783f6bd2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
Date: Sat, 20 Jan 2024 01:00:56 -0800
|
||||||
|
Subject: [PATCH 2/2] intel/genxml: Add a untyped OrderedDict fallback for
|
||||||
|
Python 3.6
|
||||||
|
|
||||||
|
typing.OrderedDict was introduced in Python 3.7.2.
|
||||||
|
|
||||||
|
Python 3.6 and 3.7 have been deprecated and are no longer supported,
|
||||||
|
but this seems like an easy enough fallback to include for now.
|
||||||
|
|
||||||
|
https://devguide.python.org/versions/
|
||||||
|
|
||||||
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
||||||
|
---
|
||||||
|
src/intel/genxml/intel_genxml.py | 22 +++++++++++++++++-----
|
||||||
|
1 file changed, 17 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/intel/genxml/intel_genxml.py b/src/intel/genxml/intel_genxml.py
|
||||||
|
index 9388ebecfce..eefd7b44992 100755
|
||||||
|
--- a/src/intel/genxml/intel_genxml.py
|
||||||
|
+++ b/src/intel/genxml/intel_genxml.py
|
||||||
|
@@ -45,10 +45,22 @@ BASE_TYPES = {
|
||||||
|
|
||||||
|
FIXED_PATTERN = re.compile(r"(s|u)(\d+)\.(\d+)")
|
||||||
|
|
||||||
|
+try:
|
||||||
|
+ # Python 3.7 and newer should be able to support strong typing for
|
||||||
|
+ # our OrderedDict usage.
|
||||||
|
+ def typed_ordered_dict(key_ty, val_ty):
|
||||||
|
+ return typing.OrderedDict[str, bool]
|
||||||
|
+ # This will raise an exception on Python 3.6
|
||||||
|
+ typed_ordered_dict(int, int)
|
||||||
|
+except Exception:
|
||||||
|
+ # For Python 3.6 we return an untyped OrderedDict
|
||||||
|
+ def typed_ordered_dict(key_ty, val_ty):
|
||||||
|
+ return OrderedDict
|
||||||
|
+
|
||||||
|
def is_base_type(name: str) -> bool:
|
||||||
|
return name in BASE_TYPES or FIXED_PATTERN.match(name) is not None
|
||||||
|
|
||||||
|
-def add_struct_refs(items: typing.OrderedDict[str, bool], node: et.Element) -> None:
|
||||||
|
+def add_struct_refs(items: typed_ordered_dict(str, bool), node: et.Element) -> None:
|
||||||
|
if node.tag == 'field':
|
||||||
|
if 'type' in node.attrib and not is_base_type(node.attrib['type']):
|
||||||
|
t = node.attrib['type']
|
||||||
|
@@ -64,16 +76,16 @@ class Struct(object):
|
||||||
|
def __init__(self, xml: et.Element):
|
||||||
|
self.xml = xml
|
||||||
|
self.name = xml.attrib['name']
|
||||||
|
- self.deps: typing.OrderedDict[str, Struct] = OrderedDict()
|
||||||
|
+ self.deps: typed_ordered_dict(str, Struct) = OrderedDict()
|
||||||
|
|
||||||
|
def find_deps(self, struct_dict, enum_dict) -> None:
|
||||||
|
- deps: typing.OrderedDict[str, bool] = OrderedDict()
|
||||||
|
+ deps: typed_ordered_dict(str, bool) = OrderedDict()
|
||||||
|
add_struct_refs(deps, self.xml)
|
||||||
|
for d in deps.keys():
|
||||||
|
if d in struct_dict:
|
||||||
|
self.deps[d] = struct_dict[d]
|
||||||
|
|
||||||
|
- def add_xml(self, items: typing.OrderedDict[str, et.Element]) -> None:
|
||||||
|
+ def add_xml(self, items: typed_ordered_dict(str, et.Element)) -> None:
|
||||||
|
for d in self.deps.values():
|
||||||
|
d.add_xml(items)
|
||||||
|
items[self.name] = self.xml
|
||||||
|
@@ -151,7 +163,7 @@ def sort_xml(xml: et.ElementTree) -> None:
|
||||||
|
for ws in wrapped_struct_dict.values():
|
||||||
|
ws.find_deps(wrapped_struct_dict, enum_dict)
|
||||||
|
|
||||||
|
- sorted_structs: typing.OrderedDict[str, et.Element] = OrderedDict()
|
||||||
|
+ sorted_structs: typed_ordered_dict(str, et.Element) = OrderedDict()
|
||||||
|
for s in structs:
|
||||||
|
_s = wrapped_struct_dict[s.attrib['name']]
|
||||||
|
_s.add_xml(sorted_structs)
|
||||||
|
--
|
||||||
|
2.35.3
|
||||||
|
|
||||||
13
mesa/u_dep_xcb.patch
Normal file
13
mesa/u_dep_xcb.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: mesa-25.2.0/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- mesa-25.2.0.orig/meson.build
|
||||||
|
+++ mesa-25.2.0/meson.build
|
||||||
|
@@ -2077,6 +2077,8 @@ if with_platform_x11
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
if with_dri_platform == 'drm'
|
||||||
|
+ dep_x11_xcb = dependency('x11-xcb')
|
||||||
|
+ dep_xcb = dependency('xcb')
|
||||||
|
dep_xcb_dri3 = dependency('xcb-dri3', version : dep_xcb_dri3_version)
|
||||||
|
dep_xcb_present = dependency('xcb-present', version : dep_xcb_present_version)
|
||||||
|
if (dep_xcb_dri3.version().version_compare('>= 1.17') and
|
||||||
33
mesa/u_mesa-CVE-2023-45919.patch
Normal file
33
mesa/u_mesa-CVE-2023-45919.patch
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
src/glx/glx_query.c | 13 +++++++++++++
|
||||||
|
1 file changed, 13 insertions(+)
|
||||||
|
Index: mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.3.0-rc1.orig/src/glx/glx_query.c
|
||||||
|
+++ mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||||
|
@@ -56,6 +56,13 @@ __glXQueryServerString(Display * dpy, CA
|
||||||
|
/* The spec doesn't mention this, but the Xorg server replies with
|
||||||
|
* a string already terminated with '\0'. */
|
||||||
|
uint32_t len = xcb_glx_query_server_string_string_length(reply);
|
||||||
|
+ /* Allow a max of 64kb string length */
|
||||||
|
+ size_t reply_len = strnlen(xcb_glx_query_server_string_string(reply), 64*1024);
|
||||||
|
+ if (reply_len + 1 != len)
|
||||||
|
+ {
|
||||||
|
+ free(reply);
|
||||||
|
+ return(NULL);
|
||||||
|
+ }
|
||||||
|
char *buf = malloc(len);
|
||||||
|
memcpy(buf, xcb_glx_query_server_string_string(reply), len);
|
||||||
|
free(reply);
|
||||||
|
@@ -83,6 +90,12 @@ __glXGetString(Display * dpy, CARD32 con
|
||||||
|
/* The spec doesn't mention this, but the Xorg server replies with
|
||||||
|
* a string already terminated with '\0'. */
|
||||||
|
uint32_t len = xcb_glx_get_string_string_length(reply);
|
||||||
|
+ size_t reply_len = strnlen(xcb_glx_get_string_string(reply), 64*1024);
|
||||||
|
+ if (reply_len + 1 != len)
|
||||||
|
+ {
|
||||||
|
+ free(reply);
|
||||||
|
+ return(NULL);
|
||||||
|
+ }
|
||||||
|
char *buf = malloc(len);
|
||||||
|
memcpy(buf, xcb_glx_get_string_string(reply), len);
|
||||||
|
free(reply);
|
||||||
15
mesa/u_mesa-CVE-2023-45922.patch
Normal file
15
mesa/u_mesa-CVE-2023-45922.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
src/glx/glx_pbuffer.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
Index: mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
||||||
|
===================================================================
|
||||||
|
--- mesa-24.3.0-rc1.orig/src/glx/glx_pbuffer.c
|
||||||
|
+++ mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
||||||
|
@@ -338,7 +338,7 @@ __glXGetDrawableAttribute(Display * dpy,
|
||||||
|
/* Search the set of returned attributes for the attribute requested by
|
||||||
|
* the caller.
|
||||||
|
*/
|
||||||
|
- for (i = 0; i < num_attributes; i++) {
|
||||||
|
+ for (i = 0; i < num_attributes && i * 2 + 1 < length; i++) {
|
||||||
|
if (data[i * 2] == attribute) {
|
||||||
|
found = 1;
|
||||||
|
*value = data[(i * 2) + 1];
|
||||||
25
mesa/u_meson-lower-python-version-requirement.patch
Normal file
25
mesa/u_meson-lower-python-version-requirement.patch
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
From accbfc5464112a8cd368f0293a7f1e91ff769304 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mikhail Paulyshka <me@mixaill.net>
|
||||||
|
Date: Thu, 20 Feb 2025 15:17:05 +0300
|
||||||
|
Subject: [PATCH 1/1] meson: lower python version requirement
|
||||||
|
|
||||||
|
---
|
||||||
|
meson.build | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 1bd2bbc0a64..14cbe5b13d2 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -936,7 +936,7 @@ if get_option('allow-kcmp') \
|
||||||
|
endif
|
||||||
|
|
||||||
|
# On Windows, a venv has no versioned aliased to 'python'.
|
||||||
|
-prog_python = find_program('python3', 'python', version : '>= 3.8')
|
||||||
|
+prog_python = find_program('python3', 'python', version : '>= 3.6')
|
||||||
|
|
||||||
|
has_mako = run_command(
|
||||||
|
prog_python, '-c',
|
||||||
|
--
|
||||||
|
2.48.1
|
||||||
|
|
||||||
BIN
mesa/unicode-ident-1.0.12.tar.gz
Normal file
BIN
mesa/unicode-ident-1.0.12.tar.gz
Normal file
Binary file not shown.
1
plasma-wayland-protocols/.osc/_apiurl
Normal file
1
plasma-wayland-protocols/.osc/_apiurl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://gabriel.oerv.ac.cn
|
||||||
6
plasma-wayland-protocols/.osc/_files
Normal file
6
plasma-wayland-protocols/.osc/_files
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<directory name="plasma-wayland-protocols" rev="1" vrev="1" srcmd5="0f1ae9157c6cba188968f91de3510083">
|
||||||
|
<entry name="plasma-wayland-protocols-1.19.0.tar.xz" md5="24401e9261bac3b87ec07abb10b7e7d8" size="47784" mtime="1763269963" />
|
||||||
|
<entry name="plasma-wayland-protocols-1.19.0.tar.xz.sig" md5="8069f853b0631394d083bd87fde58655" size="488" mtime="1763269964" />
|
||||||
|
<entry name="plasma-wayland-protocols.spec" md5="c1e2abbf4b7e62a30e2652277309c665" size="993" mtime="1763269964" />
|
||||||
|
<entry name="plasma.keyring" md5="424dfccfc09e27549e49ed5d00815222" size="40445" mtime="1763269966" />
|
||||||
|
</directory>
|
||||||
5
plasma-wayland-protocols/.osc/_meta
Normal file
5
plasma-wayland-protocols/.osc/_meta
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<package name="plasma-wayland-protocols" project="home:nico">
|
||||||
|
<title/>
|
||||||
|
<description/>
|
||||||
|
</package>
|
||||||
|
|
||||||
1
plasma-wayland-protocols/.osc/_osclib_version
Normal file
1
plasma-wayland-protocols/.osc/_osclib_version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
2.0
|
||||||
1
plasma-wayland-protocols/.osc/_package
Normal file
1
plasma-wayland-protocols/.osc/_package
Normal file
@@ -0,0 +1 @@
|
|||||||
|
plasma-wayland-protocols
|
||||||
1
plasma-wayland-protocols/.osc/_project
Normal file
1
plasma-wayland-protocols/.osc/_project
Normal file
@@ -0,0 +1 @@
|
|||||||
|
home:nico
|
||||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEEs8s2ZVJUC+Bu6a2XEZaMRJKMrvwFAmjLydwACgkQEZaMRJKM
|
||||||
|
rvwhHAgAtLmkfss7CN8hJyEro89hF02VP+gxrtcy3bgzH4Ja3jRZ5C5JaSPj2JAf
|
||||||
|
vl+RSnITYPqdJEczLTKpTbwrjkeKwAALB4/PC7xag+gOBtrSDsbwN4sQ9XdfEGw9
|
||||||
|
QQG6iWbw1eVUDEIlbwY53rxc9tsWBvqItpyTWzQlpKkyegr9T+mr6rkp2btoSwVr
|
||||||
|
Ms33pkqWpaM+rjfKNkCUzuCQxHdp3dxYqDxako3KXoK+G1AxT3aKeDjAqk2PDIqw
|
||||||
|
cVHhugPkeXCSrvlMUMx3xnkVvVdPdcEn1p6PKueO5CddDTRkFl7nPRB6qiasZqyJ
|
||||||
|
6n1zdvYCyq0eKzUhIsKo1ChlVzdODg==
|
||||||
|
=y0J8
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
|
||||||
|
%bcond_without released
|
||||||
|
Name: plasma-wayland-protocols
|
||||||
|
Version: 1.19.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Wayland protocols used by Plasma
|
||||||
|
License: BSD-3-Clause AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT
|
||||||
|
Group: System/GUI/KDE
|
||||||
|
URL: https://www.kde.org
|
||||||
|
Source0: https://download.kde.org/stable/plasma-wayland-protocols/plasma-wayland-protocols-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/stable/plasma-wayland-protocols/plasma-wayland-protocols-%{version}.tar.xz.sig
|
||||||
|
Source2: plasma.keyring
|
||||||
|
%endif
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: kf6-extra-cmake-modules
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the non-standard Wayland protocol definitions used by
|
||||||
|
KDE Plasma.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING* LICENSES/*.txt
|
||||||
|
%{_kf6_sharedir}/plasma-wayland-protocols/
|
||||||
|
%{_kf6_cmakedir}/PlasmaWaylandProtocols/
|
||||||
|
|
||||||
|
%changelog
|
||||||
BIN
plasma-wayland-protocols/.osc/sources/plasma.keyring
Normal file
BIN
plasma-wayland-protocols/.osc/sources/plasma.keyring
Normal file
Binary file not shown.
BIN
plasma-wayland-protocols/plasma-wayland-protocols-1.19.0.tar.xz
Normal file
BIN
plasma-wayland-protocols/plasma-wayland-protocols-1.19.0.tar.xz
Normal file
Binary file not shown.
@@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEEs8s2ZVJUC+Bu6a2XEZaMRJKMrvwFAmjLydwACgkQEZaMRJKM
|
||||||
|
rvwhHAgAtLmkfss7CN8hJyEro89hF02VP+gxrtcy3bgzH4Ja3jRZ5C5JaSPj2JAf
|
||||||
|
vl+RSnITYPqdJEczLTKpTbwrjkeKwAALB4/PC7xag+gOBtrSDsbwN4sQ9XdfEGw9
|
||||||
|
QQG6iWbw1eVUDEIlbwY53rxc9tsWBvqItpyTWzQlpKkyegr9T+mr6rkp2btoSwVr
|
||||||
|
Ms33pkqWpaM+rjfKNkCUzuCQxHdp3dxYqDxako3KXoK+G1AxT3aKeDjAqk2PDIqw
|
||||||
|
cVHhugPkeXCSrvlMUMx3xnkVvVdPdcEn1p6PKueO5CddDTRkFl7nPRB6qiasZqyJ
|
||||||
|
6n1zdvYCyq0eKzUhIsKo1ChlVzdODg==
|
||||||
|
=y0J8
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
38
plasma-wayland-protocols/plasma-wayland-protocols.spec
Normal file
38
plasma-wayland-protocols/plasma-wayland-protocols.spec
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
|
||||||
|
%bcond_without released
|
||||||
|
Name: plasma-wayland-protocols
|
||||||
|
Version: 1.19.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Wayland protocols used by Plasma
|
||||||
|
License: BSD-3-Clause AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT
|
||||||
|
Group: System/GUI/KDE
|
||||||
|
URL: https://www.kde.org
|
||||||
|
Source0: https://download.kde.org/stable/plasma-wayland-protocols/plasma-wayland-protocols-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/stable/plasma-wayland-protocols/plasma-wayland-protocols-%{version}.tar.xz.sig
|
||||||
|
Source2: plasma.keyring
|
||||||
|
%endif
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: kf6-extra-cmake-modules
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the non-standard Wayland protocol definitions used by
|
||||||
|
KDE Plasma.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING* LICENSES/*.txt
|
||||||
|
%{_kf6_sharedir}/plasma-wayland-protocols/
|
||||||
|
%{_kf6_cmakedir}/PlasmaWaylandProtocols/
|
||||||
|
|
||||||
|
%changelog
|
||||||
BIN
plasma-wayland-protocols/plasma.keyring
Normal file
BIN
plasma-wayland-protocols/plasma.keyring
Normal file
Binary file not shown.
BIN
plasma6-desktop/.DS_Store
vendored
BIN
plasma6-desktop/.DS_Store
vendored
Binary file not shown.
BIN
plasma6-disks/.DS_Store
vendored
BIN
plasma6-disks/.DS_Store
vendored
Binary file not shown.
BIN
plasma6-mobile/.DS_Store
vendored
BIN
plasma6-mobile/.DS_Store
vendored
Binary file not shown.
BIN
plasma6-print-manager/.DS_Store
vendored
BIN
plasma6-print-manager/.DS_Store
vendored
Binary file not shown.
1
wayland-protocols/.osc/_apiurl
Normal file
1
wayland-protocols/.osc/_apiurl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
https://gabriel.oerv.ac.cn
|
||||||
6
wayland-protocols/.osc/_files
Normal file
6
wayland-protocols/.osc/_files
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<directory name="wayland-protocols" rev="1" vrev="1" srcmd5="09d2d93a266886efa6f375a9bdaeeb57">
|
||||||
|
<entry name="wayland-protocols-1.45.tar.xz" md5="a235baeab3f1c6d57ac4c7c00ecd7e48" size="130040" mtime="1763270165" />
|
||||||
|
<entry name="wayland-protocols-1.45.tar.xz.sig" md5="0139b8530268c87e362addd96c7b95c5" size="566" mtime="1763270166" />
|
||||||
|
<entry name="wayland-protocols.keyring" md5="c3fac460c26f53ebd60863ca6aa0ea44" size="2218" mtime="1763270167" />
|
||||||
|
<entry name="wayland-protocols.spec" md5="68f006368b539853fe07afca01dc6372" size="2035" mtime="1763270168" />
|
||||||
|
</directory>
|
||||||
5
wayland-protocols/.osc/_meta
Normal file
5
wayland-protocols/.osc/_meta
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<package name="wayland-protocols" project="home:nico">
|
||||||
|
<title/>
|
||||||
|
<description/>
|
||||||
|
</package>
|
||||||
|
|
||||||
1
wayland-protocols/.osc/_osclib_version
Normal file
1
wayland-protocols/.osc/_osclib_version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
2.0
|
||||||
1
wayland-protocols/.osc/_package
Normal file
1
wayland-protocols/.osc/_package
Normal file
@@ -0,0 +1 @@
|
|||||||
|
wayland-protocols
|
||||||
1
wayland-protocols/.osc/_project
Normal file
1
wayland-protocols/.osc/_project
Normal file
@@ -0,0 +1 @@
|
|||||||
|
home:nico
|
||||||
BIN
wayland-protocols/.osc/sources/wayland-protocols-1.45.tar.xz
Normal file
BIN
wayland-protocols/.osc/sources/wayland-protocols-1.45.tar.xz
Normal file
Binary file not shown.
BIN
wayland-protocols/.osc/sources/wayland-protocols-1.45.tar.xz.sig
Normal file
BIN
wayland-protocols/.osc/sources/wayland-protocols-1.45.tar.xz.sig
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user