From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mesa: update to 23.0.2.
Date: Thu, 27 Apr 2023 18:24:11 +0200 [thread overview]
Message-ID: <20230427162411.pZY4IIWN4Kdch9LNA5z-KNvsWaVcwO-m7ndAONjF_MY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42407@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]
There is an updated pull request by ardadem against master on the void-packages repository
https://github.com/ardadem/void-packages pr-mesa-23.0
https://github.com/void-linux/void-packages/pull/42407
mesa: update to 23.0.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES** (currently)
~~Draft until next stable release.~~
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42407.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-mesa-23.0-42407.patch --]
[-- Type: text/x-diff, Size: 4940 bytes --]
From 86a3bb8c0896b21ec7b9786d18f40a57b4858033 Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Thu, 23 Feb 2023 12:31:16 +0300
Subject: [PATCH] mesa: update to 23.0.3.
---
...e5677f36c3b0b8e8ea199ed4f2c7fad06d47.patch | 77 -------------------
srcpkgs/mesa/template | 10 +--
2 files changed, 5 insertions(+), 82 deletions(-)
delete mode 100644 srcpkgs/mesa/patches/c426e5677f36c3b0b8e8ea199ed4f2c7fad06d47.patch
diff --git a/srcpkgs/mesa/patches/c426e5677f36c3b0b8e8ea199ed4f2c7fad06d47.patch b/srcpkgs/mesa/patches/c426e5677f36c3b0b8e8ea199ed4f2c7fad06d47.patch
deleted file mode 100644
index f56327367526..000000000000
--- a/srcpkgs/mesa/patches/c426e5677f36c3b0b8e8ea199ed4f2c7fad06d47.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From c426e5677f36c3b0b8e8ea199ed4f2c7fad06d47 Mon Sep 17 00:00:00 2001
-From: Erico Nunes <nunes.erico@gmail.com>
-Date: Sun, 12 Feb 2023 22:33:30 +0100
-Subject: [PATCH] lima: don't use resource_from_handle while creating scanout
-
-resource_from_handle implementations create an additional reference to
-the scanout resource, which caused lima to leak those resources after
-commit ad4d7ca8332488be8a75aff001f00306a9f6402e.
-
-Do as the other drivers do and import the bo directly while creating
-the scanount resource.
-
-Cc: 22.3 mesa-stable
-Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8198
-Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
-Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
-Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21330>
----
- src/gallium/drivers/lima/lima_resource.c | 26 ++++++++++++++++++------
- 1 file changed, 20 insertions(+), 6 deletions(-)
-
-diff --git a/src/gallium/drivers/lima/lima_resource.c b/src/gallium/drivers/lima/lima_resource.c
-index 54869ec03d24..0b7691f2b46f 100644
---- a/src/gallium/drivers/lima/lima_resource.c
-+++ b/src/gallium/drivers/lima/lima_resource.c
-@@ -59,7 +59,10 @@ lima_resource_create_scanout(struct pipe_screen *pscreen,
- struct lima_screen *screen = lima_screen(pscreen);
- struct renderonly_scanout *scanout;
- struct winsys_handle handle;
-- struct pipe_resource *pres;
-+
-+ struct lima_resource *res = CALLOC_STRUCT(lima_resource);
-+ if (!res)
-+ return NULL;
-
- struct pipe_resource scanout_templat = *templat;
- scanout_templat.width0 = width;
-@@ -71,20 +74,31 @@ lima_resource_create_scanout(struct pipe_screen *pscreen,
- if (!scanout)
- return NULL;
-
-+ res->base = *templat;
-+ res->base.screen = pscreen;
-+ pipe_reference_init(&res->base.reference, 1);
-+ res->levels[0].offset = handle.offset;
-+ res->levels[0].stride = handle.stride;
-+
- assert(handle.type == WINSYS_HANDLE_TYPE_FD);
-- pres = pscreen->resource_from_handle(pscreen, templat, &handle,
-- PIPE_HANDLE_USAGE_FRAMEBUFFER_WRITE);
-+ res->bo = lima_bo_import(screen, &handle);
-+ if (!res->bo) {
-+ FREE(res);
-+ return NULL;
-+ }
-+
-+ res->modifier_constant = true;
-
- close(handle.handle);
-- if (!pres) {
-+ if (!res->bo) {
- renderonly_scanout_destroy(scanout, screen->ro);
-+ FREE(res);
- return NULL;
- }
-
-- struct lima_resource *res = lima_resource(pres);
- res->scanout = scanout;
-
-- return pres;
-+ return &res->base;
- }
-
- static uint32_t
---
-GitLab
-
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index 132263d3599f..8306d8a534db 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,12 +1,12 @@
# Template file for 'mesa'
pkgname=mesa
-version=22.3.5
-revision=2
+version=23.0.3
+revision=1
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
-Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri -Ddri3=enabled
-Dlmsensors=enabled -Dplatforms=x11$(vopt_if wayland ,wayland)
- -Dllvm=enabled -Db_lto=false -Dcpp_std=gnu++14"
+ -Dllvm=enabled -Db_lto=false"
hostmakedepends="gettext flex llvm pkg-config python3-Mako glslang
$(vopt_if wayland 'wayland-protocols wayland-devel')"
makedepends="elfutils-devel expat-devel libXdamage-devel
@@ -16,13 +16,13 @@ makedepends="elfutils-devel expat-devel libXdamage-devel
libXrandr-devel libglvnd-devel libzstd-devel libxml2-devel lua53-devel
libarchive-devel"
depends="libglvnd"
-short_desc="Graphics library similar to SGI's OpenGL"
+short_desc="Open source implementation of OpenGL and Vulkan specifications"
maintainer="Orphaned <orphan@voidlinux.org>"
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=3eed2ecae2bc674494566faab9fcc9beb21cd804c7ba2b59a1694f3d7236e6a9
+checksum=386362a5d80df3b096636b67f340e1ce67b705b44767d5bdd11d2ed1037192d5
build_options="wayland"
build_options_default="wayland"
next prev parent reply other threads:[~2023-04-27 16:24 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 9:49 [PR PATCH] [NOMERGE] mesa: update to 23.0.0 ardadem
2023-04-01 12:05 ` [PR PATCH] [Updated] " ardadem
2023-04-01 12:29 ` tranzystorek-io
2023-04-01 12:30 ` tranzystorek-io
2023-04-01 12:33 ` [PR PATCH] [Updated] " ardadem
2023-04-01 12:35 ` ardadem
2023-04-03 11:05 ` [PR PATCH] [Updated] mesa: update to 23.0.1 ardadem
2023-04-03 11:06 ` ardadem
2023-04-08 14:33 ` ardadem
2023-04-08 14:35 ` ardadem
2023-04-14 20:18 ` [PR PATCH] [Updated] mesa: update to 23.0.2 ardadem
2023-04-17 17:42 ` [PR REVIEW] " mhmdanas
2023-04-18 6:58 ` [PR PATCH] [Updated] " ardadem
2023-04-18 7:00 ` ardadem
2023-04-18 7:02 ` [PR REVIEW] " ardadem
2023-04-18 8:32 ` mhmdanas
2023-04-18 8:34 ` mhmdanas
2023-04-18 8:40 ` mhmdanas
2023-04-25 7:13 ` HadetTheUndying
2023-04-25 7:15 ` HadetTheUndying
2023-04-25 16:34 ` baal-zebub
2023-04-25 18:54 ` JamiKettunen
2023-04-27 16:24 ` ardadem [this message]
2023-04-29 17:59 ` mesa: update to 23.0.3 zlice
2023-04-29 18:00 ` zlice
2023-04-29 19:27 ` HadetTheUndying
2023-04-30 21:54 ` kenrap
2023-05-04 17:57 ` HadetTheUndying
2023-05-11 5:49 ` kenrap
2023-05-16 15:34 ` Mek101
2023-05-17 9:05 ` biopsin
2023-05-18 4:10 ` HadetTheUndying
2023-05-19 5:41 ` saltnpepper97
2023-05-19 5:45 ` saltnpepper97
2023-05-19 6:13 ` saltnpepper97
2023-05-19 7:22 ` JamiKettunen
2023-05-19 8:40 ` saltnpepper97
2023-05-19 8:53 ` saltnpepper97
2023-05-19 15:01 ` mhmdanas
2023-05-19 19:00 ` saltnpepper97
2023-05-19 19:49 ` saltnpepper97
2023-05-19 19:52 ` HadetTheUndying
2023-05-19 21:27 ` SpidFightFR
2023-05-20 1:02 ` saltnpepper97
2023-05-25 21:51 ` HadetTheUndying
2023-06-02 18:09 ` ardadem
2023-06-02 18:09 ` [PR PATCH] [Closed]: " ardadem
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=20230427162411.pZY4IIWN4Kdch9LNA5z-KNvsWaVcwO-m7ndAONjF_MY@z \
--to=ardadem@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).