Github messages for voidlinux
 help / color / mirror / Atom feed
From: BouncyMaster <BouncyMaster@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mesa: update to 20.1.3, fix patches
Date: Thu, 23 Jul 2020 12:07:28 +0200	[thread overview]
Message-ID: <20200723100728.EpgVXbUtfTvkVqTo2_y4RSVnhJdLRyL1FBhS7PP3DV8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23499@inbox.vuxu.org>

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

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

https://github.com/BouncyMaster/void-packages mesa-20.1.3
https://github.com/void-linux/void-packages/pull/23499

mesa: update to 20.1.3, fix patches
`fix-libXvMC-versioning.patch` was fixed upstream [here](https://github.com/mesa3d/mesa/commit/a35c4675a72c30e6b7e116237a43ca7c520b060d).
For `clover-ppc64-cpp14.patch`, the `clover_cpp_std` variable was removed completely, so not sure if that still works.

A patch file from https://github.com/void-linux/void-packages/pull/23499.patch is attached

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

From a9050fb125f47a66ee40401eee4ebb2838f79d45 Mon Sep 17 00:00:00 2001
From: Nicu Borta <nicuborta123@tutanota.com>
Date: Thu, 23 Jul 2020 12:33:32 +0300
Subject: [PATCH] mesa: Update to 20.1.4

---
 srcpkgs/mesa/patches/add-use-elf-tls.patch        | 10 +++++-----
 srcpkgs/mesa/patches/clover-ppc64-cpp14.patch     | 13 -------------
 srcpkgs/mesa/patches/fix-libXvMC-versioning.patch | 15 ---------------
 srcpkgs/mesa/template                             |  6 +++---
 4 files changed, 8 insertions(+), 36 deletions(-)
 delete mode 100644 srcpkgs/mesa/patches/clover-ppc64-cpp14.patch
 delete mode 100644 srcpkgs/mesa/patches/fix-libXvMC-versioning.patch

diff --git a/srcpkgs/mesa/patches/add-use-elf-tls.patch b/srcpkgs/mesa/patches/add-use-elf-tls.patch
index 08d15e6a2cf..d5b933d586d 100644
--- a/srcpkgs/mesa/patches/add-use-elf-tls.patch
+++ b/srcpkgs/mesa/patches/add-use-elf-tls.patch
@@ -2,19 +2,19 @@ Upstream: https://gitlab.freedesktop.org/mesa/mesa/issues/966
 Status: Not fixed upstream
 
 diff --git meson.build meson.build
-index 4afd8ca..ab9b365 100644
+index d228de0..972cd79 100644
 --- meson.build
 +++ meson.build
-@@ -387,7 +387,8 @@
+@@ -392,7 +392,8 @@ if with_egl and not (with_platform_drm or with_platform_surfaceless or with_plat
  endif
  
  # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
--if host_machine.system() != 'windows' and (not with_platform_android or get_option('platform-sdk-version') >= 29)
+-if not ['windows', 'freebsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
 +with_use_elf_tls = get_option('use-elf-tls')
-+if host_machine.system() != 'windows' and with_use_elf_tls and (not with_platform_android or get_option('platform-sdk-version') >= 29)
++if not ['windows', 'freebsd'].contains(host_machine.system()) and with_use_elf_tls and (not with_platform_android or get_option('platform-sdk-version') >= 29)
    pre_args += '-DUSE_ELF_TLS'
  endif
- 
+
 diff --git meson_options.txt meson_options.txt
 index b768c15..2533220 100644
 --- meson_options.txt
diff --git a/srcpkgs/mesa/patches/clover-ppc64-cpp14.patch b/srcpkgs/mesa/patches/clover-ppc64-cpp14.patch
deleted file mode 100644
index b7eef76959a..00000000000
--- a/srcpkgs/mesa/patches/clover-ppc64-cpp14.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-LLVM10 headers need C++14, so override the override.
-
---- meson.build
-+++ meson.build
-@@ -730,7 +730,7 @@ if _opencl != 'disabled'
-       #error "AltiVec not enabled"
-       #endif''',
-       name : 'Altivec')
--    clover_cpp_std += ['cpp_std=gnu++11']
-+    clover_cpp_std += ['cpp_std=gnu++14']
-   endif
- else
-   dep_clc = null_dep
diff --git a/srcpkgs/mesa/patches/fix-libXvMC-versioning.patch b/srcpkgs/mesa/patches/fix-libXvMC-versioning.patch
deleted file mode 100644
index b2f507bc76e..00000000000
--- a/srcpkgs/mesa/patches/fix-libXvMC-versioning.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Source: maxice8
-Upstream: no
-Reason: restores versioning of libXvMC drivers that was on autotools
-
---- src/gallium/targets/xvmc/meson.build
-+++ src/gallium/targets/xvmc/meson.build
-@@ -51,7 +51,7 @@ libxvmc_gallium = shared_library(
- 
- foreach d : [[with_gallium_r600, 'r600'], [with_gallium_nouveau, 'nouveau']]
-   if d[0]
--    xvmc_drivers += 'libXvMC@0@.so'.format(d[1])
-+    xvmc_drivers += 'libXvMC@0@.so.1.0.0'.format(d[1])
-   endif
- endforeach
- 
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index 21218e86f3c..7bfb661a15b 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,6 +1,6 @@
 # Template file for 'mesa'
 pkgname=mesa
-version=20.1.2
+version=20.1.4
 revision=1
 wrksrc="mesa-${version}"
 build_style=meson
@@ -21,9 +21,9 @@ short_desc="Graphics library similar to SGI's OpenGL"
 maintainer="Juan RP <xtraeme@gmail.com>"
 license="MIT, LGPL-2.1-or-later"
 homepage="https://www.mesa3d.org/"
-changelog="https://www.mesa3d.org/relnotes/${version}.html"
+changelog="https://docs.mesa3d.org/relnotes/${version}.html"
 distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
-checksum=283dff72814c8a80ce1ff8271e3f055895d26f4da3f4362acc49193e635780cb
+checksum=6800271c2be2a0447510eb4e9b67edd9521859a4d565310617c4b359eb6799fe
 
 build_options="wayland"
 build_options_default="wayland"

  parent reply	other threads:[~2020-07-23 10:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-09 18:18 [PR PATCH] " BouncyMaster
2020-07-09 20:29 ` [PR REVIEW] " travankor
2020-07-09 20:29 ` travankor
2020-07-09 20:42 ` [PR PATCH] [Updated] " BouncyMaster
2020-07-09 23:41 ` fosslinux
2020-07-10  9:13 ` [PR PATCH] [Updated] " BouncyMaster
2020-07-10  9:13 ` BouncyMaster
2020-07-22 22:09 ` st3r4g
2020-07-23  9:17 ` BouncyMaster
2020-07-23  9:55 ` fosslinux
2020-07-23  9:55 ` fosslinux
2020-07-23  9:55 ` fosslinux
2020-07-23 10:07 ` BouncyMaster [this message]
2020-07-23 10:08 ` [PR PATCH] [Updated] " BouncyMaster
2020-07-23 10:13 ` BouncyMaster
2020-07-28 23:11 ` [PR PATCH] [Merged]: mesa: update to 20.1.4, " q66

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=20200723100728.EpgVXbUtfTvkVqTo2_y4RSVnhJdLRyL1FBhS7PP3DV8@z \
    --to=bouncymaster@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).