Github messages for voidlinux
 help / color / mirror / Atom feed
From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mesa: update to 21.2.1.
Date: Sat, 21 Aug 2021 10:49:21 +0200	[thread overview]
Message-ID: <20210821084921.XP9rca9cn6lEJRqSSgd1nGyHbfCd-PPYhgQiC7k12Tc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32600@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

There is an updated pull request by ardadem against master on the void-packages repository

https://github.com/ardadem/void-packages pr-mesa-21.2
https://github.com/void-linux/void-packages/pull/32600

mesa: update to 21.2.1.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/32600.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr-mesa-21.2-32600.patch --]
[-- Type: text/x-diff, Size: 2977 bytes --]

From 6bd9234996c98d7e3d8dc3a8d09183cb714808fe Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Fri, 20 Aug 2021 11:08:35 +0300
Subject: [PATCH] mesa: update to 21.2.1.

* add new crocus gallium driver
* remove obsolete musl patches
---
 srcpkgs/mesa/patches/musl.patch | 34 ++++++++++++---------------------
 srcpkgs/mesa/template           |  6 +++---
 2 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/srcpkgs/mesa/patches/musl.patch b/srcpkgs/mesa/patches/musl.patch
index 6417c5c80e59..61a8f016dafe 100644
--- a/srcpkgs/mesa/patches/musl.patch
+++ b/srcpkgs/mesa/patches/musl.patch
@@ -1,25 +1,3 @@
---- a/src/gallium/winsys/svga/drm/vmw_screen.h	2015-05-07 14:02:28.033079796 +0200
-+++ b/src/gallium/winsys/svga/drm/vmw_screen.h	2015-05-07 14:02:48.832054666 +0200
-@@ -35,6 +35,8 @@
- #define VMW_SCREEN_H_
- 
- 
-+#include <sys/types.h> 	/* dev_t */
-+
- #include "pipe/p_compiler.h"
- #include "pipe/p_state.h"
- 
---- a/src/gallium/frontends/nine/threadpool.h	2015-05-07 14:10:53.443337212 +0200
-+++ b/src/gallium/frontends/nine/threadpool.h	2015-05-07 14:11:04.210307653 +0200
-@@ -24,6 +24,8 @@
- #ifndef _THREADPOOL_H_
- #define _THREADPOOL_H_
- 
-+#include <pthread.h>
-+
- #define MAXTHREADS 1
- 
- struct threadpool {
 --- a/src/util/rand_xor.c	2020-10-03 12:27:48.489024729 +0200
 +++ b/src/util/rand_xor.c	2020-10-03 12:31:05.927113521 +0200
 @@ -28,6 +28,7 @@
@@ -60,3 +38,15 @@
  #endif
  
      if (dbg_flags & flag) {
+--- a/src/gallium/drivers/freedreno/freedreno_util.h
++++ b/src/gallium/drivers/freedreno/freedreno_util.h
+@@ -106,6 +106,9 @@ extern bool fd_binning_enabled;
+ 
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <sys/syscall.h>
++
++#define gettid() ((pid_t)syscall(SYS_gettid))
+ 
+ #define DBG(fmt, ...)                                                          \
+    do {                                                                        \
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index 655b4bf4d45e..5d067c4ff302 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,6 +1,6 @@
 # Template file for 'mesa'
 pkgname=mesa
-version=21.1.7
+version=21.2.1
 revision=1
 build_style=meson
 configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
@@ -22,7 +22,7 @@ license="MIT, LGPL-2.1-or-later"
 homepage="https://www.mesa3d.org/"
 changelog="https://docs.mesa3d.org/relnotes/${version}.html"
 distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=e9e67c10654f2e4bf15b944bb048007a614292aa4792b1b7512eb700b7b3a7bb
+checksum=2c65e6710b419b67456a48beefd0be827b32db416772e0e363d5f7d54dc01787
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	configure_args+=" -Duse-elf-tls=false"
@@ -83,7 +83,7 @@ fi
 
 if [ "$_have_intel" ]; then
 	_have_vulkan=yes
-	_gallium_drivers+=",iris"
+	_gallium_drivers+=",crocus,iris"
 	_vulkan_drivers+=",intel"
 	_dri_drivers+=",i915,i965"
 	subpackages+=" mesa-vulkan-intel"

  reply	other threads:[~2021-08-21  8:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20  8:10 [PR PATCH] " ardadem
2021-08-21  8:49 ` ardadem [this message]
2021-08-23 11:48 ` ardadem
2021-08-23 19:31 ` via
2021-08-24 18:30 ` HadetTheUndying
2021-08-27 18:47 ` [PR PATCH] [Merged]: " ericonr

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=20210821084921.XP9rca9cn6lEJRqSSgd1nGyHbfCd-PPYhgQiC7k12Tc@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).