Bug 6988

Summary: Synchronization of patches between mesa-freeworld and Fedora's Mesa
Product: Fedora Reporter: Ilya <dr.mixmid>
Component: mesa-freeworldAssignee: Luya Tshimbalanga <luya_tfz>
Status: RESOLVED FIXED    
Severity: minor CC: fedora
Priority: P1    
Version: f40   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Ilya 2024-07-02 14:09:28 CEST
Several patches should be imported from latest Fedora's Mesa build mesa-24.1.2-7.fc40 to mesa-freeworld ->

https://koji.fedoraproject.org/koji/buildinfo?buildID=2480387

in mesa-24.1.2-7.fc40.src.rpm  there are 2 patches:

fix-egl-on-s390x.patch
gnome-shell-glthread-disable.patch

As a KDE user i have small chance to test gnome-shell stuff in detail, and of course have no IBM hardware. But also koji.rpmfusion.org shows that it does not build s390x.

To mesa-freeworld.spec:

Patch10:        gnome-shell-glthread-disable.patch
Patch11:        0001-llvmpipe-Init-eglQueryDmaBufModifiersEXT-num_modifie.patch
Patch12:        0001-Revert-ac-radeonsi-remove-has_syncobj-has_fence_to_h.patch
Patch100:       fix-egl-on-s390x.patch

In %prep so:

%prep
%autosetup -n %{srcname}-%{ver} -N
%autopatch -p1 -M 99
%ifarch s390x
%autopatch -p1 -m 100
%endif
cp %{SOURCE1} docs/

this replaces:
%prep
%autosetup -n %{srcname}-%{ver} -p1
cp %{SOURCE1} docs/


See the progress here ->
https://pkgs.rpmfusion.org/cgit/free/mesa-freeworld.git/

Thanks in advance.
Comment 1 Thorsten Leemhuis 2024-07-10 19:19:17 CEST
I see no need for this:

* gnome-shell-glthread-disable.patch afaics is only relevant for OpenGL; that fix is around for quite some time without us shipping this and no problems are known
* we do not build for s390x

If I missed anything let me know.
Comment 2 Ilya 2024-07-10 20:00:25 CEST
(In reply to Thorsten Leemhuis from comment #1)
> I see no need for this:
> 
> * gnome-shell-glthread-disable.patch afaics is only relevant for OpenGL;
> that fix is around for quite some time without us shipping this and no
> problems are known
> * we do not build for s390x
> 
> If I missed anything let me know.

No, i have no questions. Thanks.