From: SpidFightFR <SpidFightFR@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mesa: update to version 24.0.2.
Date: Sat, 09 Mar 2024 16:03:48 +0100 [thread overview]
Message-ID: <20240309150348.DA314217AC@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48480@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]
There is an updated pull request by SpidFightFR against master on the void-packages repository
https://github.com/SpidFightFR/void-packages update-mesa-24
https://github.com/void-linux/void-packages/pull/48480
mesa: update to version 24.0.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)
This is it, the new version of mesa, 24.0.0.
Do keep in mind that it requires [libdrm-2.4.119](https://github.com/void-linux/void-packages/pull/48170) to work.
**As a consequence, this PR will stay as draft for as long as libdrm hasn't been updated.**
Edit: Also please check out the [23 branch](https://github.com/void-linux/void-packages/pull/48172) as Void lacks several bugfixes for this branch.
I removed the patch to fix meson builds as it doesn't seem to be necessary anymore.
This version of mesa brings a lot of good stuff, Ray tracing performance improvements and such !
A patch file from https://github.com/void-linux/void-packages/pull/48480.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-mesa-24-48480.patch --]
[-- Type: text/x-diff, Size: 3755 bytes --]
From f45be09988f897184bee2b16165e934d7773d5f2 Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Sat, 9 Mar 2024 15:53:33 +0100
Subject: [PATCH] mesa: update to version 24.0.2.
---
srcpkgs/mesa/patches/fix-meson-build.patch | 28 -------------------
...fix_crash_radeon_bo_can_reclaim_slab.patch | 13 +++++++++
srcpkgs/mesa/template | 9 +++---
3 files changed, 18 insertions(+), 32 deletions(-)
delete mode 100644 srcpkgs/mesa/patches/fix-meson-build.patch
create mode 100644 srcpkgs/mesa/patches/fix_crash_radeon_bo_can_reclaim_slab.patch
diff --git a/srcpkgs/mesa/patches/fix-meson-build.patch b/srcpkgs/mesa/patches/fix-meson-build.patch
deleted file mode 100644
index 01d203366000c2..00000000000000
--- a/srcpkgs/mesa/patches/fix-meson-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build
-index 4bde074..41df740 100644
---- a/src/gallium/frontends/rusticl/meson.build
-+++ b/src/gallium/frontends/rusticl/meson.build
-@@ -342,6 +342,7 @@ rusticl_proc_macros = shared_library(
- 'rusticl_proc_macros',
- [rusticl_proc_macros_files],
- rust_crate_type : 'proc-macro',
-+ native: true,
- rust_args : [
- rusticl_args,
- ],
-@@ -353,6 +354,7 @@ librusticl = static_library(
- gnu_symbol_visibility : 'hidden',
- rust_crate_type : 'staticlib',
- rust_args : [
-+ '--extern', 'rusticl_proc_macros=' + meson.current_build_dir() / 'librusticl_proc_macros.so',
- rusticl_args,
- ],
- link_with : [
-@@ -360,7 +362,6 @@ librusticl = static_library(
- libmesa_rust_gen,
- libmesa_rust_util,
- rusticl_opencl_gen,
-- rusticl_proc_macros,
- ],
- dependencies : [
- idep_rusticl_gen,
diff --git a/srcpkgs/mesa/patches/fix_crash_radeon_bo_can_reclaim_slab.patch b/srcpkgs/mesa/patches/fix_crash_radeon_bo_can_reclaim_slab.patch
new file mode 100644
index 00000000000000..34bb2d835a548d
--- /dev/null
+++ b/srcpkgs/mesa/patches/fix_crash_radeon_bo_can_reclaim_slab.patch
@@ -0,0 +1,13 @@
+diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+index 2e1d9c4..7979cad 100644
+--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
++++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+@@ -729,7 +729,7 @@ bool radeon_bo_can_reclaim_slab(void *priv, struct pb_slab_entry *entry)
+ {
+ struct radeon_bo *bo = container_of(entry, struct radeon_bo, u.slab.entry);
+
+- return radeon_bo_can_reclaim(NULL, &bo->base);
++ return radeon_bo_can_reclaim(priv, &bo->base);
+ }
+
+ static void radeon_bo_slab_destroy(void *winsys, struct pb_buffer_lean *_buf)
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index 8613d434f71b21..27630148b641c9 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
# Template file for 'mesa'
pkgname=mesa
-version=23.3.5
-revision=3
+version=24.0.2
+revision=1
build_style=meson
_llvmver=17
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
@@ -24,7 +24,7 @@ license="MIT, LGPL-2.1-or-later"
homepage="https://www.mesa3d.org/"
changelog="https://docs.mesa3d.org/relnotes.html"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=69ccb1278641ff5bad71ca0f866188aeb1a92aadc4dbb9d35f50aebec5b8b50f
+checksum=94e28a8edad06d8ed2b83eb53f253b9eb5aa62c3080f939702e1b3039b56c9e8
build_options="wayland"
build_options_default="wayland"
@@ -188,7 +188,8 @@ post_configure() {
if [ "$CROSS_BUILD" ]; then
find -iname "*.ninja" -exec sed -i "{}" \
-e "/rustc/s; --sysroot ${XBPS_CROSS_BASE}/usr;;g" \
- \;
+ -e "s|-isystem/usr/include||g" \
+ \;
fi
}
next prev parent reply other threads:[~2024-03-09 15:03 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 18:11 [PR PATCH] mesa: update to version 24.0.0 SpidFightFR
2024-02-01 18:15 ` SpidFightFR
2024-02-02 6:42 ` classabbyamp
2024-02-02 8:02 ` SpidFightFR
2024-02-03 17:24 ` SpidFightFR
2024-02-09 12:13 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-09 12:15 ` SpidFightFR
2024-02-15 2:37 ` zlice
2024-02-15 12:32 ` SpidFightFR
2024-02-15 12:35 ` zlice
2024-02-15 12:36 ` SpidFightFR
2024-02-15 12:46 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-15 12:47 ` SpidFightFR
2024-02-15 21:11 ` dkwo
2024-02-15 23:55 ` SpidFightFR
2024-02-16 10:15 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-16 10:15 ` SpidFightFR
2024-02-16 12:22 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-16 12:25 ` SpidFightFR
2024-02-16 12:26 ` mesa: update to version 24.0.1 SpidFightFR
2024-02-16 12:27 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-16 13:41 ` zlice
2024-02-16 13:41 ` zlice
2024-02-16 13:42 ` zlice
2024-02-16 13:50 ` dkwo
2024-02-16 13:54 ` zlice
2024-02-16 13:55 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-16 13:56 ` SpidFightFR
2024-02-16 13:57 ` zlice
2024-02-16 16:34 ` zlice
2024-02-16 16:34 ` zlice
2024-02-16 16:57 ` SpidFightFR
2024-02-16 17:00 ` zlice
2024-02-16 17:02 ` SpidFightFR
2024-02-16 17:39 ` dkwo
2024-02-16 17:45 ` zlice
2024-02-16 18:17 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-16 18:22 ` SpidFightFR
2024-02-16 18:43 ` SpidFightFR
2024-02-16 19:39 ` dkwo
2024-02-16 22:44 ` SpidFightFR
2024-02-28 19:51 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-28 20:02 ` SpidFightFR
2024-02-28 20:20 ` zlice
2024-02-28 20:24 ` mesa: update to version 24.0.2 SpidFightFR
2024-02-28 20:25 ` SpidFightFR
2024-03-04 19:44 ` SpidFightFR
2024-03-09 9:06 ` Daxot
2024-03-09 10:50 ` SpidFightFR
2024-03-09 15:03 ` SpidFightFR [this message]
2024-03-09 15:05 ` SpidFightFR
2024-03-10 13:08 ` [PR PATCH] [Merged]: " Johnnynator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240309150348.DA314217AC@inbox.vuxu.org \
--to=spidfightfr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).