all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26465: [PATCH] gnu: mesa: Update to 17.0.3.
@ 2017-04-12 16:26 Marius Bakke
  2017-04-14 17:52 ` Kei Kebreau
  0 siblings, 1 reply; 24+ messages in thread
From: Marius Bakke @ 2017-04-12 16:26 UTC (permalink / raw)
  To: 26465

There is a test failure in this version. As far as I can tell, this is
because it fails to locate or write to the users home directory.
Setting $HOME to /tmp does not work since it looks it up directly
through '<pwd.h>'. I'd like a second opinion before disabling this test.


* gnu/packages/gl.scm (mesa): Update to 17.0.3.
[source]: Adapt URI to new directory structure.
[arguments]: Add 'set-HOME' phase. Remove stray whitespaces.
[home-page]: Use HTTPS.
---
 gnu/packages/gl.scm | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 37a1bd909..ba2e22f64 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -199,15 +199,17 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "13.0.5")
+    (version "17.0.3")
     (source
       (origin
         (method url-fetch)
-        (uri (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
-                            version "/mesa-" version ".tar.xz"))
+        (uri (list (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
+                                  "mesa-" version ".tar.xz")
+                   (string-append "ftp://ftp.freedesktop.org/pub/mesa/"
+                                  version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "11zgynii1wz17131ml1mmblpwib8m88zz2jwi5h5llh1r3iagkmz"))
+          "1vg7kzkaanawlr2zjbki05f1bpnf651qlg0jz47dc0m0fm86yr6a"))
         (patches
          (search-patches "mesa-wayland-egl-symbols-check-mips.patch"))))
     (build-system gnu-build-system)
@@ -263,7 +265,7 @@ also known as DXTn or DXTC) for Mesa.")
          ;; Without floating point texture support, drivers such as Nouveau
          ;; are stuck at OpenGL 2.1 instead of OpenGL 3.0+.
          "--enable-texture-float"
-         
+
          ;; Also enable the tests.
          "--enable-gallium-tests"
 
@@ -307,8 +309,14 @@ also known as DXTn or DXTC) for Mesa.")
                  ;; it's never installed since Mesa removed its
                  ;; egl_gallium support.
                  (("\"gbm_dri\\.so")
-                  (string-append "\"" out "/lib/dri/gbm_dri.so")))))))))
-    (home-page "http://mesa3d.org/")
+                  (string-append "\"" out "/lib/dri/gbm_dri.so")))
+               #t)))
+         (add-before 'check 'set-HOME
+           (lambda _
+             ;; One test tries to create $HOME/.cache.
+             (setenv "HOME" "/tmp")
+             #t)))))
+    (home-page "https://mesa3d.org/")
     (synopsis "OpenGL implementation")
     (description "Mesa is a free implementation of the OpenGL specification -
 a system for rendering interactive 3D graphics.  A variety of device drivers
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-04-27 13:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-12 16:26 bug#26465: [PATCH] gnu: mesa: Update to 17.0.3 Marius Bakke
2017-04-14 17:52 ` Kei Kebreau
2017-04-15 16:58   ` Marius Bakke
2017-04-17 19:33     ` Marius Bakke
2017-04-17 20:09       ` Staging Leo Famulari
2017-04-18 17:00         ` Staging Marius Bakke
2017-04-18 18:52           ` [staging] Mesa FTBFS on 32-bit architectures Leo Famulari
2017-04-18 19:30             ` Leo Famulari
2017-04-18 23:52             ` Leo Famulari
2017-04-19  0:02             ` Marius Bakke
2017-04-19  0:13             ` Leo Famulari
2017-04-19  0:17               ` Marius Bakke
2017-04-19 22:03                 ` Leo Famulari
2017-04-19  0:37               ` Leo Famulari
2017-04-21 13:57         ` Staging Marius Bakke
2017-04-21 17:47           ` Staging Leo Famulari
2017-04-21 18:59             ` Staging Mark H Weaver
2017-04-21 19:05               ` Staging Leo Famulari
2017-04-23  9:45                 ` Staging Marius Bakke
2017-04-23  9:49                   ` Staging Marius Bakke
2017-04-25 18:33         ` Staging Leo Famulari
2017-04-27  4:49           ` Staging merged! Leo Famulari
2017-04-27  6:40             ` Ricardo Wurmus
2017-04-27 13:50               ` Ludovic Courtès

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.