all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "49339@debbugs.gnu.org" <49339@debbugs.gnu.org>
Subject: [bug#49339] [PATCH core-updates] gnu: mesa: Update to 21.1.4.
Date: Thu, 08 Jul 2021 15:40:07 +0000	[thread overview]
Message-ID: <BQrzHJLVQjFdhpZvR_NV2rqGaVlbj7IY_NT8pcNAGQA-9IeWQDPpk1A1bRF76EXDg6wfqlIsqwixnjEiL7tRoXJhnqQKYj5N_hBQ3WDg374=@protonmail.com> (raw)
In-Reply-To: <QLnXzdkAyMlNlQT8dThOoBGtUi2tbhTfEmmQkbE2jED-NsdqdKMD_CJmai1GDhJQ_Gdb4NvuXC84k0qf5yfzB2hCHJGtNohIAZLJF6-TceU=@protonmail.com>

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

Hello,

Here is a patch for just the minimal Mesa version bump. I reverted option changes to match the previous version (and wasn't sure with there being a mesa-opencl package already).

All Mesa tests pass for me too (on x86_64), so mesa-skip-tests.patch is not applied, as per original patch here. src/compiler/glsl/tests/cache_test.c has moved to src/util/tests/cache and has changed. However, the test works for me (compiling on foreign distro). The i686 part of the patch can still be applied, but will need someone to test.

This is just the Mesa change, it relies on libdrm update in https://issues.guix.gnu.org/49412

I think other than the tests patch, should be good to go, can someone review and check the i686 patch so we can move ahead with this?

Thanks,
John

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-mesa-Update-to-21.1.4.patch --]
[-- Type: text/x-patch; name=0001-gnu-mesa-Update-to-21.1.4.patch, Size: 2200 bytes --]

From a67d3224c13e6a3339865177d3a54489f5d0f582 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Thu, 8 Jul 2021 11:15:48 -0400
Subject: [PATCH] gnu: mesa: Update to 21.1.4.

* gnu/packages/gl.scm (mesa): Update to 21.1.4.
---
 gnu/packages/gl.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index cc5131b28d..70762faefd 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -237,7 +237,7 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "20.2.6")
+    (version "21.1.4")
     (source
       (origin
         (method url-fetch)
@@ -249,9 +249,7 @@ also known as DXTn or DXTC) for Mesa.")
                                   version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "1nw5k2qrlcrp5bljy1lmyybgl525y0h44synkbbirw92qv3a6b7i"))
-        (patches
-         (search-patches "mesa-skip-tests.patch"))))
+          "02z9g6zpkg1p1sm8f84xdi7v2n7x534x9pn565bvcr411527y5qz"))))
     (build-system meson-build-system)
     (propagated-inputs
       `(;; The following are in the Requires.private field of gl.pc.
@@ -309,7 +307,7 @@ also known as DXTn or DXTC) for Mesa.")
          "-Dglx=dri"        ;Thread Local Storage, improves performance
          ;; "-Dopencl=true"
          ;; "-Domx=true"
-         "-Dosmesa=gallium"
+         "-Dosmesa=true"
          "-Dgallium-xa=enabled"
 
          ;; features required by wayland
@@ -417,8 +415,8 @@ also known as DXTn or DXTC) for Mesa.")
              (let ((out (assoc-ref outputs "out"))
                    (bin (assoc-ref outputs "bin")))
                ;; Not all architectures have the Vulkan overlay control script.
-               (mkdir-p (string-append bin "/bin"))
-               (call-with-output-file (string-append bin "/bin/.empty")
+               (mkdir-p (string-append out "/bin"))
+               (call-with-output-file (string-append out "/bin/.empty")
                  (const #t))
                (copy-recursively (string-append out "/bin")
                                  (string-append bin "/bin"))
-- 
2.32.0


  reply	other threads:[~2021-07-08 16:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02 15:10 [bug#49339] [PATCH core-updates] gnu: mesa: Update to 21.1.4 Irfan S
2021-07-02 19:29 ` John Kehayias via Guix-patches via
2021-07-05 15:35 ` John Kehayias via Guix-patches via
2021-07-08  1:35   ` John Kehayias via Guix-patches via
2021-07-08  2:24     ` John Kehayias via Guix-patches via
2021-07-08 15:40       ` John Kehayias via Guix-patches via [this message]
2021-07-08 20:55     ` Maxime Devos
2021-07-09  2:41       ` John Kehayias via Guix-patches via
2021-07-09 12:48         ` Maxime Devos
2021-07-09 15:34           ` John Kehayias via Guix-patches via
2021-07-13 15:42             ` John Kehayias via Guix-patches via
2021-07-13 16:26               ` John Kehayias via Guix-patches via
2021-07-27 21:54                 ` John Kehayias via Guix-patches via
2021-07-13  4:45 ` [bug#49339] Irfan S
2021-07-28 21:35 ` [bug#49339] [PATCH core-updates] gnu: mesa: Update to 21.1.4 Kaelyn via Guix-patches via
2021-07-29  4:52 ` [bug#49339] [PATCH core-updates] gnu: mesa: Update to 21.1.6 John Kehayias via Guix-patches via
2021-07-31 10:33   ` bug#49339: [PATCH core-updates] gnu: mesa: Update to 21.1.4 Ludovic Courtès
2021-07-31 14:01     ` [bug#49339] " John Kehayias via Guix-patches via
2021-08-02 13:27       ` Ludovic Courtès

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='BQrzHJLVQjFdhpZvR_NV2rqGaVlbj7IY_NT8pcNAGQA-9IeWQDPpk1A1bRF76EXDg6wfqlIsqwixnjEiL7tRoXJhnqQKYj5N_hBQ3WDg374=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=49339@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.