GNU bug report logs - #49339
[PATCH core-updates] gnu: mesa: Update to 21.1.4.

Previous Next

Package: guix-patches;

Reported by: Irfan S <irfan <at> irfus.in>

Date: Fri, 2 Jul 2021 18:58:03 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Irfan S <irfan <at> irfus.in>
Subject: bug#49339: closed (Re: bug#49339: [PATCH core-updates] gnu: mesa:
 Update to 21.1.4.)
Date: Sat, 31 Jul 2021 10:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#49339: [PATCH core-updates] gnu: mesa: Update to 21.1.4.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 49339 <at> debbugs.gnu.org.

-- 
49339: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49339
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: John Kehayias <john.kehayias <at> protonmail.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, Maxime Devos <maximedevos <at> telenet.be>,
 "49339 <at> debbugs.gnu.org" <49339-done <at> debbugs.gnu.org>
Subject: Re: bug#49339: [PATCH core-updates] gnu: mesa: Update to 21.1.4.
Date: Sat, 31 Jul 2021 12:33:43 +0200
Hi John,

John Kehayias <john.kehayias <at> protonmail.com> skribis:

> gnu: mesa: Update to 21.1.6.
>
> * gnu/packages/gl.scm (mesa): Update to 21.1.6.
> * gnu/packages/patches/mesa-skip-tests.patch: Remove cache_test.c as it is no
> longer needed (test passes).

Applied, thanks!

[...]

> -         "-Dosmesa=gallium"
> +         "-Dosmesa=true"

Is this expected to change anything feature-wise?

BTW, please generate the patch with ‘git format-patch’ next time; that
makes it easier to apply with ‘git am’.

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Irfan S <irfan <at> irfus.in>
To: guix-patches <at> gnu.org
Subject: [PATCH core-updates] gnu: mesa: Update to 21.1.4.
Date: Fri, 02 Jul 2021 20:40:55 +0530
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index cc5131b28d..bd4c8a381a 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.
@@ -278,7 +276,9 @@ also known as DXTn or DXTC) for Mesa.")
            (_
             `()))
        ("wayland" ,wayland)
-        ("wayland-protocols" ,wayland-protocols)))
+        ("wayland-protocols" ,wayland-protocols)
+        ("libglvnd" ,libglvnd)          ;required for glvnd 
support
+        ("libclc" ,libclc)))            ;required for opencl 
support
    (native-inputs
      `(("bison" ,bison)
        ("flex" ,flex)
@@ -307,15 +307,16 @@ also known as DXTn or DXTC) for Mesa.")
         ;; omx requires libomxil-bellagio
         "-Dplatforms=x11,wayland"
         "-Dglx=dri"        ;Thread Local Storage, improves 
         performance
-         ;; "-Dopencl=true"
+         "-Dopencl=true"
         ;; "-Domx=true"
-         "-Dosmesa=gallium"
-         "-Dgallium-xa=enabled"
+         "-Dosmesa=true"
+         "-Dgallium-xa=true"
+         "-Dglvnd=true"

         ;; features required by wayland
-         "-Dgles2=enabled"
-         "-Dgbm=enabled"
-         "-Dshared-glapi=enabled"
+         "-Dgles2=true"
+         "-Dgbm=true"
+         "-Dshared-glapi=true"

         ;; Explicitly enable Vulkan on some architectures.
         ,@(match (%current-system)
@@ -417,8 +418,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"))
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 97fc921436..f7b4e95b9c 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -638,7 +638,7 @@ rasterisation.")
(define-public libdrm
  (package
    (name "libdrm")
-    (version "2.4.104")
+    (version "2.4.106")
    (source (origin
              (method url-fetch)
              (uri (string-append
@@ -646,7 +646,7 @@ rasterisation.")
                    version ".tar.xz"))
              (sha256
               (base32
- 
                "1jqvx9c23hgwhq109zqj6vg3ng40pcvh3r1k2fn1a424qasxhsnn"))))
+ 
"1m3vwpabjg3az84vmyxi96jyd7rrqm6qkhk1gq41w5wv89aarn4j"))))
    (build-system meson-build-system)
    (arguments
     `(#:configure-flags
@@ -663,7 +663,8 @@ rasterisation.")
                  (replace 'check
                    (lambda _
                      (invoke "meson" "test" "--timeout-multiplier" 
                      "5"))))))
-    (inputs
+    (propagated-inputs
+     ;; libpciaccess is in Requires.private of libdrm_intel.pc
     `(("libpciaccess" ,libpciaccess)))
    (native-inputs
     `(("pkg-config" ,pkg-config)))



This bug report was last modified 4 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.