* [PR PATCH] [wip] mesa: update to 21.0.0.
@ 2021-01-15 22:33 HadetTheUndying
2021-01-31 2:31 ` ericonr
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: HadetTheUndying @ 2021-01-15 22:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
There is a new pull request by HadetTheUndying against master on the void-packages repository
https://github.com/HadetTheUndying/void-packages mesa-update
https://github.com/void-linux/void-packages/pull/27956
[wip] mesa: update to 21.0.0.
Reason for changing to the `-Dosmesa` argument:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/ee802372180a2b4460cc7abb53438e45c6b6f1e4
Obviously i'll be fixing the distfiles and wrksrc changes when a stable release is out.
A patch file from https://github.com/void-linux/void-packages/pull/27956.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mesa-update-27956.patch --]
[-- Type: text/x-diff, Size: 3448 bytes --]
From 8ef894e55ef8b5d598989b1d3998099d70539094 Mon Sep 17 00:00:00 2001
From: HadetTheUndying <hadet@protonmail.com>
Date: Fri, 15 Jan 2021 16:25:56 -0600
Subject: [PATCH] mesa: update to 21.0.0.
---
srcpkgs/mesa/patches/add-use-elf-tls.patch | 16 +++++++++-------
srcpkgs/mesa/template | 10 +++++-----
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/mesa/patches/add-use-elf-tls.patch b/srcpkgs/mesa/patches/add-use-elf-tls.patch
index 617d8c0e946..e10fdfa225b 100644
--- a/srcpkgs/mesa/patches/add-use-elf-tls.patch
+++ b/srcpkgs/mesa/patches/add-use-elf-tls.patch
@@ -2,26 +2,24 @@ Upstream: https://gitlab.freedesktop.org/mesa/mesa/issues/966
Status: Not fixed upstream
diff --git meson.build meson.build
-index d228de0..972cd79 100644
+index 932eb13..1d1a4be 100644
--- meson.build
+++ meson.build
-@@ -392,7 +392,8 @@ if with_egl and not (with_platform_drm or with_platform_surfaceless or with_plat
- endif
+@@ -448,7 +448,8 @@ endif
# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
use_elf_tls = false
--if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
+-if not ['windows', 'freebsd', 'openbsd', 'haiku'].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 not ['windows', 'freebsd', 'openbsd'].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'
use_elf_tls = true
endif
-
diff --git meson_options.txt meson_options.txt
-index b768c15..2533220 100644
+index fc73f6e..2d9e4a2 100644
--- meson_options.txt
+++ meson_options.txt
-@@ -366,3 +366,9 @@ option(
+@@ -445,6 +445,12 @@ option(
value : 25,
description : 'Android Platform SDK version. Default: Nougat version.'
)
@@ -31,3 +29,7 @@ index b768c15..2533220 100644
+ value : true,
+ description : 'Build support for initial-exec TLS model'
+)
+ option(
+ 'zstd',
+ type : 'combo',
+
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index abfaa5031ef..f5bf7694fed 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,11 +1,11 @@
# Template file for 'mesa'
pkgname=mesa
-version=20.3.2
+version=21.0.0
revision=1
-wrksrc="mesa-${version}"
+wrksrc="mesa-${version}-rc1"
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
- -Dosmesa=gallium -Dgles1=true -Dgles2=true -Dglx=dri -Ddri3=true
+ -Dosmesa=true -Dgles1=true -Dgles2=true -Dglx=dri -Ddri3=true
-Dlmsensors=true -Dplatforms=x11,wayland
-Dllvm=true -Db_lto=false -Dcpp_std=gnu++14"
hostmakedepends="gettext flex llvm pkg-config python3-Mako glslang
@@ -22,8 +22,8 @@ maintainer="q66 <daniel@octaforge.org>"
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=cce001b685d23afb976b04138714906abcf7e7f996da6355e6a43e5ca486533d
+distfiles="https://mesa.freedesktop.org/archive/mesa-${version}-rc1.tar.xz"
+checksum=503c8cb70d7b0271e2c98129828772769fb7d7802514c99e9474018099f5461b
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -Duse-elf-tls=false"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
@ 2021-01-31 2:31 ` ericonr
2021-02-01 1:00 ` HadetTheUndying
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-01-31 2:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27956#issuecomment-770314688
Comment:
```
Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now -Wl,--as-needed '
Using 'CPPFLAGS' from environment with value: ' '
C++ compiler for the host machine: g++ (gcc 9.3.0 "g++ (GCC) 9.3.0")
C++ linker for the host machine: g++ ld.bfd 2.35.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead.
meson.build:100: WARNING: gles2 option "true" deprecated, please use "enabled" instead.
meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead.
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency clang found: NO (tried cmake)
meson.build:393: WARNING: gbm option "true" deprecated, please use "enabled" instead.
meson.build:424: WARNING: egl option "true" deprecated, please use "enabled" instead.
meson.build:504: WARNING: dri3 option "true" deprecated, please use "enabled" instead.
meson.build:527: WARNING: gallium-vdpau option "true" deprecated, please use "enabled" instead.
Using 'PKG_CONFIG' from environment with value: 'pkg-config'
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency vdpau found: YES 1.4
Program glslangValidator found: YES
meson.build:587: WARNING: gallium-xvmc option "true" deprecated, please use "enabled" instead.
```
we should take a look at these deprecation warnings.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
2021-01-31 2:31 ` ericonr
@ 2021-02-01 1:00 ` HadetTheUndying
2021-02-01 1:15 ` [PR PATCH] [Updated] " HadetTheUndying
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: HadetTheUndying @ 2021-02-01 1:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
New comment by HadetTheUndying on void-packages repository
https://github.com/void-linux/void-packages/pull/27956#issuecomment-770493840
Comment:
I'll take a look at that in the morning
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
2021-01-31 2:31 ` ericonr
2021-02-01 1:00 ` HadetTheUndying
@ 2021-02-01 1:15 ` HadetTheUndying
2021-02-01 1:19 ` HadetTheUndying
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: HadetTheUndying @ 2021-02-01 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
There is an updated pull request by HadetTheUndying against master on the void-packages repository
https://github.com/HadetTheUndying/void-packages mesa-update
https://github.com/void-linux/void-packages/pull/27956
[wip] mesa: update to 21.0.0.
Reason for changing to the `-Dosmesa` argument:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/ee802372180a2b4460cc7abb53438e45c6b6f1e4
Obviously i'll be fixing the distfiles and wrksrc changes when a stable release is out.
A patch file from https://github.com/void-linux/void-packages/pull/27956.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mesa-update-27956.patch --]
[-- Type: text/x-diff, Size: 3931 bytes --]
From 2de1758517b190f0bacc68fa68e4f3f5cec0f6ea Mon Sep 17 00:00:00 2001
From: HadetTheUndying <hadet@protonmail.com>
Date: Fri, 15 Jan 2021 16:25:56 -0600
Subject: [PATCH] mesa: update to 21.0.0.
---
srcpkgs/mesa/patches/add-use-elf-tls.patch | 16 +++++++++-------
srcpkgs/mesa/template | 14 +++++++-------
2 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/mesa/patches/add-use-elf-tls.patch b/srcpkgs/mesa/patches/add-use-elf-tls.patch
index 617d8c0e946..e10fdfa225b 100644
--- a/srcpkgs/mesa/patches/add-use-elf-tls.patch
+++ b/srcpkgs/mesa/patches/add-use-elf-tls.patch
@@ -2,26 +2,24 @@ Upstream: https://gitlab.freedesktop.org/mesa/mesa/issues/966
Status: Not fixed upstream
diff --git meson.build meson.build
-index d228de0..972cd79 100644
+index 932eb13..1d1a4be 100644
--- meson.build
+++ meson.build
-@@ -392,7 +392,8 @@ if with_egl and not (with_platform_drm or with_platform_surfaceless or with_plat
- endif
+@@ -448,7 +448,8 @@ endif
# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
use_elf_tls = false
--if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
+-if not ['windows', 'freebsd', 'openbsd', 'haiku'].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 not ['windows', 'freebsd', 'openbsd'].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'
use_elf_tls = true
endif
-
diff --git meson_options.txt meson_options.txt
-index b768c15..2533220 100644
+index fc73f6e..2d9e4a2 100644
--- meson_options.txt
+++ meson_options.txt
-@@ -366,3 +366,9 @@ option(
+@@ -445,6 +445,12 @@ option(
value : 25,
description : 'Android Platform SDK version. Default: Nougat version.'
)
@@ -31,3 +29,7 @@ index b768c15..2533220 100644
+ value : true,
+ description : 'Build support for initial-exec TLS model'
+)
+ option(
+ 'zstd',
+ type : 'combo',
+
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index abfaa5031ef..2c13e0a3e05 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,11 +1,11 @@
# Template file for 'mesa'
pkgname=mesa
-version=20.3.2
+version=21.0.0
revision=1
-wrksrc="mesa-${version}"
+wrksrc="mesa-${version}-rc1"
build_style=meson
-configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
- -Dosmesa=gallium -Dgles1=true -Dgles2=true -Dglx=dri -Ddri3=true
+configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
+ -Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri -Ddri3=enabled
-Dlmsensors=true -Dplatforms=x11,wayland
-Dllvm=true -Db_lto=false -Dcpp_std=gnu++14"
hostmakedepends="gettext flex llvm pkg-config python3-Mako glslang
@@ -22,8 +22,8 @@ maintainer="q66 <daniel@octaforge.org>"
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=cce001b685d23afb976b04138714906abcf7e7f996da6355e6a43e5ca486533d
+distfiles="https://mesa.freedesktop.org/archive/mesa-${version}-rc1.tar.xz"
+checksum=503c8cb70d7b0271e2c98129828772769fb7d7802514c99e9474018099f5461b
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -Duse-elf-tls=false"
@@ -141,7 +141,7 @@ if [ "$_have_opencl" ]; then
fi
if [ "$_have_hwdec" ]; then
- configure_args+=" -Dgallium-vdpau=true -Dgallium-va=true -Dgallium-xvmc=true"
+ configure_args+=" -Dgallium-vdpau=enabled -Dgallium-va=true -Dgallium-xvmc=enabled"
subpackages+=" mesa-vaapi mesa-vdpau mesa-XvMC"
else
configure_args+=" -Dgallium-vdpau=false -Dgallium-va=false -Dgallium-xvmc=false"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
` (2 preceding siblings ...)
2021-02-01 1:15 ` [PR PATCH] [Updated] " HadetTheUndying
@ 2021-02-01 1:19 ` HadetTheUndying
2021-03-14 21:05 ` HadetTheUndying
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: HadetTheUndying @ 2021-02-01 1:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 302 bytes --]
New comment by HadetTheUndying on void-packages repository
https://github.com/void-linux/void-packages/pull/27956#issuecomment-770498628
Comment:
Popping up branch conflicts over the version number in the template, someone wanna walk me through how to resolve this because i really don't understand.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
` (3 preceding siblings ...)
2021-02-01 1:19 ` HadetTheUndying
@ 2021-03-14 21:05 ` HadetTheUndying
2021-03-14 21:05 ` HadetTheUndying
2021-04-06 21:51 ` [PR PATCH] [Closed]: " abenson
6 siblings, 0 replies; 8+ messages in thread
From: HadetTheUndying @ 2021-03-14 21:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
New comment by HadetTheUndying on void-packages repository
https://github.com/void-linux/void-packages/pull/27956#issuecomment-798979601
Comment:
I may not have time to continue working on this. Most of the work is great l already done if someone wants to take over on it. 21.0.1 is the next release though i think we should wait for llvm12 because there are some bugs that have popped up compiling against 11.0.0 that 11.0.1 fixes.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
` (4 preceding siblings ...)
2021-03-14 21:05 ` HadetTheUndying
@ 2021-03-14 21:05 ` HadetTheUndying
2021-04-06 21:51 ` [PR PATCH] [Closed]: " abenson
6 siblings, 0 replies; 8+ messages in thread
From: HadetTheUndying @ 2021-03-14 21:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
New comment by HadetTheUndying on void-packages repository
https://github.com/void-linux/void-packages/pull/27956#issuecomment-798979601
Comment:
I may not have time to continue working on this. Most of the work is already done if someone wants to take over on it. 21.0.1 is the next release though i think we should wait for llvm12 because there are some bugs that have popped up compiling against 11.0.0 that 11.0.1 fixes.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Closed]: [wip] mesa: update to 21.0.0.
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
` (5 preceding siblings ...)
2021-03-14 21:05 ` HadetTheUndying
@ 2021-04-06 21:51 ` abenson
6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2021-04-06 21:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
There's a closed pull request on the void-packages repository
[wip] mesa: update to 21.0.0.
https://github.com/void-linux/void-packages/pull/27956
Description:
Reason for changing to the `-Dosmesa` argument:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/ee802372180a2b4460cc7abb53438e45c6b6f1e4
Obviously i'll be fixing the distfiles and wrksrc changes when a stable release is out.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-04-06 21:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 22:33 [PR PATCH] [wip] mesa: update to 21.0.0 HadetTheUndying
2021-01-31 2:31 ` ericonr
2021-02-01 1:00 ` HadetTheUndying
2021-02-01 1:15 ` [PR PATCH] [Updated] " HadetTheUndying
2021-02-01 1:19 ` HadetTheUndying
2021-03-14 21:05 ` HadetTheUndying
2021-03-14 21:05 ` HadetTheUndying
2021-04-06 21:51 ` [PR PATCH] [Closed]: " abenson
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).