mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/mesa to 24.2.3-1
This commit is contained in:
parent
356a7ea672
commit
340edcc4a1
3 changed files with 8 additions and 57 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = mesa
|
||||
pkgdesc = Open-source OpenGL drivers
|
||||
pkgver = 24.2.2
|
||||
pkgver = 24.2.3
|
||||
pkgrel = 1
|
||||
epoch = 1
|
||||
url = https://www.mesa3d.org/
|
||||
|
@ -55,9 +55,8 @@ pkgbase = mesa
|
|||
makedepends = python-sphinx
|
||||
makedepends = python-sphinx-hawkmoth
|
||||
options = !lto
|
||||
source = https://mesa.freedesktop.org/archive/mesa-24.2.2.tar.xz
|
||||
source = https://mesa.freedesktop.org/archive/mesa-24.2.2.tar.xz.sig
|
||||
source = 0001-rusticl-do-not-use-CL-vector-types-in-bindings-and-c.patch
|
||||
source = https://mesa.freedesktop.org/archive/mesa-24.2.3.tar.xz
|
||||
source = https://mesa.freedesktop.org/archive/mesa-24.2.3.tar.xz.sig
|
||||
source = ucd-trie-0.1.6.tar.gz::https://crates.io/api/v1/crates/ucd-trie/0.1.6/download
|
||||
source = pest_meta-2.7.11.tar.gz::https://crates.io/api/v1/crates/pest_meta/2.7.11/download
|
||||
source = indexmap-2.2.6.tar.gz::https://crates.io/api/v1/crates/indexmap/2.2.6/download
|
||||
|
@ -79,9 +78,8 @@ pkgbase = mesa
|
|||
validpgpkeys = 57551DE15B968F6341C248F68D8E31AFC32428A6
|
||||
validpgpkeys = A5CC9FEC93F2F837CB044912336909B6B25FADFA
|
||||
validpgpkeys = E3E8F480C52ADD73B278EE78E1ECBE07D7D70895
|
||||
sha256sums = fd077d3104edbe459e2b8597d2757ec065f9bd2d620b8c0b9cc88c2bf9891d02
|
||||
sha256sums = 4ea18b1155a4544a09f7361848974768f6f73c19d88f63de2ec650be313b2d0c
|
||||
sha256sums = SKIP
|
||||
sha256sums = 26402e3e1c7efed6dced9d4989d8c79e5a57ad5f802e56b77e18d394b27a8580
|
||||
sha256sums = ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9
|
||||
sha256sums = a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f
|
||||
sha256sums = 168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26
|
||||
|
@ -97,9 +95,8 @@ pkgbase = mesa
|
|||
sha256sums = 3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183
|
||||
sha256sums = 692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56
|
||||
sha256sums = 901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9
|
||||
b2sums = 14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375941662b1c3bbacfd707a21e2e3631a116a841130edfa1bfe3450ae5ab
|
||||
b2sums = 3c480bd9f5948ae4d66a833cfc059b1b872fca989296a070deaa46aeb72298eaca6a3fa9d13574859623cec4a6af978f44d2c9562b9757be2257364c27600be6
|
||||
b2sums = SKIP
|
||||
b2sums = 251a228c47c1d91a2063defbd5dda07deff6d763a2de5ed6c01e514b0f2326f2550b6174e0e98c2161971dbb888f5028243fe9645f9dea4b54308f0ae68e4e17
|
||||
b2sums = a6d47c903be6094423d89b8ec3ca899d0a84df6dbd6e76632bb6c9b9f40ad9c216f8fa400310753d392f85072756b43ac3892e0a2c4d55f87ab6463002554823
|
||||
b2sums = 9c34f1ab14ad5ae124882513e0f14b1d731d06a43203bdc37fa3b202dd3ce93dbe8ebb554d01bab475689fe6ffd3ec0cbc0d5365c9b984cb83fb34ea3e9e732e
|
||||
b2sums = fac5cf6339dc3c0a40b100035a5c874cc7b2efeafeb31c51488d25156e392dc9db86a497e76eead351d2126f69d060422faa9c55d73407a0de9f5be18d234123
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Karol Herbst <kherbst@redhat.com>
|
||||
Date: Sun, 18 Aug 2024 00:08:50 +0200
|
||||
Subject: [PATCH] rusticl: do not use CL vector types in bindings and code
|
||||
|
||||
Bindgen seems to miscompile them and I kinda thought I've done this
|
||||
already in the past, but apparently not.
|
||||
|
||||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11722
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30710>
|
||||
---
|
||||
src/gallium/frontends/rusticl/api/device.rs | 2 +-
|
||||
src/gallium/frontends/rusticl/meson.build | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gallium/frontends/rusticl/api/device.rs b/src/gallium/frontends/rusticl/api/device.rs
|
||||
index 7aca92527a4e..c4b2b0bc7423 100644
|
||||
--- a/src/gallium/frontends/rusticl/api/device.rs
|
||||
+++ b/src/gallium/frontends/rusticl/api/device.rs
|
||||
@@ -196,7 +196,7 @@ impl CLInfo<cl_device_info> for cl_device_id {
|
||||
// TODO proper retrival from devices
|
||||
CL_DEVICE_MEM_BASE_ADDR_ALIGN => cl_prop::<cl_uint>(0x1000),
|
||||
CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE => {
|
||||
- cl_prop::<cl_uint>(size_of::<cl_ulong16>() as cl_uint)
|
||||
+ cl_prop::<cl_uint>(16 * size_of::<cl_ulong>() as cl_uint)
|
||||
}
|
||||
CL_DEVICE_NAME => cl_prop::<&str>(&dev.screen().name()),
|
||||
CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR => cl_prop::<cl_uint>(1),
|
||||
diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build
|
||||
index 9cf603c6a6d4..459b94cf17a1 100644
|
||||
--- a/src/gallium/frontends/rusticl/meson.build
|
||||
+++ b/src/gallium/frontends/rusticl/meson.build
|
||||
@@ -157,6 +157,7 @@ rusticl_opencl_bindings_rs = rust.bindgen(
|
||||
'--raw-line', 'unsafe impl std::marker::Send for _cl_image_desc {}',
|
||||
'--raw-line', 'unsafe impl std::marker::Sync for _cl_image_desc {}',
|
||||
'--allowlist-type', 'cl_.*',
|
||||
+ '--blocklist-type', '(__)?cl_.*[2348(16)]',
|
||||
'--allowlist-type', 'cl.*_fn',
|
||||
'--allowlist-var', 'CL_.*',
|
||||
# needed for gl_sharing extension
|
|
@ -31,7 +31,7 @@ pkgname=(
|
|||
vulkan-freedreno
|
||||
mesa-docs
|
||||
)
|
||||
pkgver=24.2.2
|
||||
pkgver=24.2.3
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Open-source OpenGL drivers"
|
||||
|
@ -110,7 +110,6 @@ options=(
|
|||
)
|
||||
source=(
|
||||
"https://mesa.freedesktop.org/archive/mesa-$pkgver.tar.xz"{,.sig}
|
||||
0001-rusticl-do-not-use-CL-vector-types-in-bindings-and-c.patch
|
||||
)
|
||||
validpgpkeys=(
|
||||
946D09B5E4C9845E63075FF1D961C596A7203456 # Andres Gomez <tanty@igalia.com>
|
||||
|
@ -147,9 +146,8 @@ for _crate in "${!_crates[@]}"; do
|
|||
)
|
||||
done
|
||||
|
||||
b2sums=('14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375941662b1c3bbacfd707a21e2e3631a116a841130edfa1bfe3450ae5ab'
|
||||
b2sums=('3c480bd9f5948ae4d66a833cfc059b1b872fca989296a070deaa46aeb72298eaca6a3fa9d13574859623cec4a6af978f44d2c9562b9757be2257364c27600be6'
|
||||
'SKIP'
|
||||
'251a228c47c1d91a2063defbd5dda07deff6d763a2de5ed6c01e514b0f2326f2550b6174e0e98c2161971dbb888f5028243fe9645f9dea4b54308f0ae68e4e17'
|
||||
'a6d47c903be6094423d89b8ec3ca899d0a84df6dbd6e76632bb6c9b9f40ad9c216f8fa400310753d392f85072756b43ac3892e0a2c4d55f87ab6463002554823'
|
||||
'9c34f1ab14ad5ae124882513e0f14b1d731d06a43203bdc37fa3b202dd3ce93dbe8ebb554d01bab475689fe6ffd3ec0cbc0d5365c9b984cb83fb34ea3e9e732e'
|
||||
'fac5cf6339dc3c0a40b100035a5c874cc7b2efeafeb31c51488d25156e392dc9db86a497e76eead351d2126f69d060422faa9c55d73407a0de9f5be18d234123'
|
||||
|
@ -167,9 +165,8 @@ b2sums=('14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375
|
|||
'8bc6f68ed286bea617a2cfaf3949bb699d3a0466faeca735314a51596ce950e4ee57eda88154bd562c1728cfaff4cdb5bc1ba701b9d47a9c50d4c4f011bee975')
|
||||
|
||||
# https://docs.mesa3d.org/relnotes.html
|
||||
sha256sums=('fd077d3104edbe459e2b8597d2757ec065f9bd2d620b8c0b9cc88c2bf9891d02'
|
||||
sha256sums=('4ea18b1155a4544a09f7361848974768f6f73c19d88f63de2ec650be313b2d0c'
|
||||
'SKIP'
|
||||
'26402e3e1c7efed6dced9d4989d8c79e5a57ad5f802e56b77e18d394b27a8580'
|
||||
'ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9'
|
||||
'a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f'
|
||||
'168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26'
|
||||
|
@ -189,9 +186,6 @@ sha256sums=('fd077d3104edbe459e2b8597d2757ec065f9bd2d620b8c0b9cc88c2bf9891d02'
|
|||
prepare() {
|
||||
cd mesa-$pkgver
|
||||
|
||||
# Unbreak build with bindgen 0.70.1
|
||||
patch -Np1 -i ../0001-rusticl-do-not-use-CL-vector-types-in-bindings-and-c.patch
|
||||
|
||||
# Include package release in version string so Chromium invalidates
|
||||
# its GPU cache; otherwise it can cause pages to render incorrectly.
|
||||
# https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2020604
|
||||
|
|
Loading…
Reference in a new issue