From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH 5/6] gnu: mesa: Update to 12.0.0.
Date: Sat, 9 Jul 2016 14:50:10 +0200 [thread overview]
Message-ID: <20160709125011.24587-6-david@craven.ch> (raw)
In-Reply-To: <20160709125011.24587-1-david@craven.ch>
* gnu/packages/gl.scm (mesa): Update to 12.0.0.
* gnu/packages/gl.scm (mesa): Enable virtio gallium driver.
* gnu/packages/gl.scm (mesa): Enable configure-flags required by wayland.
---
gnu/packages/gl.scm | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 4ac926e..5e4fca9 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -192,7 +192,7 @@ also known as DXTn or DXTC) for Mesa.")
(define-public mesa
(package
(name "mesa")
- (version "11.0.9")
+ (version "12.0.0")
(source
(origin
(method url-fetch)
@@ -200,7 +200,7 @@ also known as DXTn or DXTC) for Mesa.")
version "/mesa-" version ".tar.xz"))
(sha256
(base32
- "009b3nq8ly5nzy9cxi9cxf4qasrhggjz0v0q87rwq5kaqvqjy9m1"))))
+ "1ikxaj4avz29ch403bblq3l47g1r6hp4har94i8r664k44jw1400"))))
(build-system gnu-build-system)
(propagated-inputs
`(("glproto" ,glproto)
@@ -213,31 +213,37 @@ also known as DXTn or DXTC) for Mesa.")
("libxxf86vm" ,libxxf86vm)))
;; TODO: Add vdpau.
(inputs
- `(("udev" ,eudev)
+ `(("expat" ,expat)
("dri2proto" ,dri2proto)
("dri3proto" ,dri3proto)
- ("presentproto" ,presentproto)
- ("expat" ,expat)
("libva" ,(force libva-without-mesa))
("libxml2" ,libxml2)
;; TODO: Add 'libxml2-python' for OpenGL ES 1.1 and 2.0 support
("libxvmc" ,libxvmc)
("makedepend" ,makedepend)
- ("s2tc" ,s2tc)))
+ ("presentproto" ,presentproto)
+ ("s2tc" ,s2tc)
+ ("udev" ,eudev)
+ ("wayland" ,wayland)))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python-2)))
(arguments
`(#:configure-flags
'(;; drop r300 from default gallium drivers, as it requires llvm
- "--with-gallium-drivers=r600,svga,swrast,nouveau"
+ "--with-gallium-drivers=r600,svga,swrast,nouveau,virgl"
;; Enable various optional features. TODO: opencl requires libclc,
;; omx requires libomxil-bellagio
- "--with-egl-platforms=x11,drm"
+ "--with-egl-platforms=x11,drm,wayland"
"--enable-glx-tls" ;Thread Local Storage, improves performance
;; "--enable-opencl"
;; "--enable-omx"
"--enable-osmesa"
"--enable-xa"
+ ;; features required by wayland
+ "--enable-gles2"
+ "--enable-gbm"
+ "--enable-shared-glapi"
;; on non-intel systems, drop i915 and i965
;; from the default dri drivers
@@ -249,8 +255,10 @@ also known as DXTn or DXTC) for Mesa.")
#:phases (alist-cons-after
'unpack 'patch-create_test_cases
(lambda _
- (substitute* "src/glsl/tests/lower_jumps/create_test_cases.py"
- (("/usr/bin/env bash") (which "bash"))))
+ (substitute* "src/compiler/glsl/tests/lower_jumps/create_test_cases.py"
+ (("/usr/bin/env bash") (which "bash")))
+ (substitute* "src/intel/genxml/gen_pack_header.py"
+ (("/usr/bin/env python2") (which "python"))))
(alist-cons-before
'build 'fix-dlopen-libnames
(lambda* (#:key inputs outputs #:allow-other-keys)
--
2.9.0
next prev parent reply other threads:[~2016-07-09 12:50 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-09 12:50 [PATCH 0/6] Mesa and qemu stuff David Craven
2016-07-09 12:50 ` [PATCH 1/6] system: Do not export GST_PLUGIN_PATH in /etc/profile David Craven
2016-07-09 12:50 ` [PATCH 2/6] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS' David Craven
2016-07-09 12:50 ` [PATCH 3/6] gnu: libdrm: Update to 2.4.68 David Craven
2016-07-09 12:50 ` [PATCH 4/6] gnu: Order module imports in (gnu packages gl) alphabetically David Craven
2016-07-10 14:12 ` 宋文武
2016-07-09 12:50 ` David Craven [this message]
2016-07-10 14:18 ` [PATCH 5/6] gnu: mesa: Update to 12.0.0 宋文武
2016-07-09 12:50 ` [PATCH 6/6] gnu: mesa-utils: Update to 8.3.0 David Craven
2016-07-18 16:55 ` [PATCH 01/10] system: Do not export GST_PLUGIN_PATH in /etc/profile David Craven
2016-07-18 16:55 ` [PATCH 02/10] gnu: libdrm: Update to 2.4.68 David Craven
2016-07-18 16:55 ` [PATCH 03/10] gnu: Order module imports in (gnu packages gl) alphabetically David Craven
2016-07-19 20:33 ` Ludovic Courtès
2016-07-18 16:55 ` [PATCH 04/10] gnu: Rename #:prefix l: to #:prefix license: David Craven
2016-07-19 20:32 ` Ludovic Courtès
2016-07-18 16:55 ` [PATCH 05/10] gnu: mesa: Update to 12.0.0 David Craven
2016-07-18 16:55 ` [PATCH 06/10] gnu: mesa: Enable wayland support David Craven
2016-07-19 20:47 ` Ludovic Courtès
2016-07-19 20:55 ` David Craven
2016-07-21 12:13 ` Ludovic Courtès
2016-07-21 12:19 ` David Craven
2016-07-21 12:29 ` Efraim Flashner
2016-07-21 12:38 ` Efraim Flashner
2016-07-21 16:02 ` Ludovic Courtès
2016-07-21 16:04 ` David Craven
2016-07-29 7:28 ` David Craven
2016-07-29 14:57 ` Ludovic Courtès
2016-07-29 15:26 ` David Craven
2016-07-30 22:22 ` Ludovic Courtès
2016-07-30 22:23 ` Ludovic Courtès
2016-08-05 14:31 ` David Craven
2016-08-07 3:01 ` Leo Famulari
2016-08-22 19:36 ` Leo Famulari
2016-07-18 16:55 ` [PATCH 07/10] gnu: mesa: Enable virtio gallium driver David Craven
2016-07-18 16:55 ` [PATCH 08/10] gnu: mesa-utils: Update to 8.3.0 David Craven
2016-07-19 20:43 ` Ludovic Courtès
2016-07-18 16:55 ` [PATCH 09/10] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS' David Craven
2016-07-19 20:35 ` Ludovic Courtès
2016-07-19 20:38 ` David Craven
2016-07-19 20:41 ` David Craven
2016-07-21 13:00 ` David Craven
2016-07-27 13:20 ` David Craven
2016-07-18 16:55 ` [PATCH 10/10] vm: Enable virtio gpu by default David Craven
2016-07-21 10:15 ` [PATCH 01/10] system: Do not export GST_PLUGIN_PATH in /etc/profile Andy Wingo
2016-07-21 11:17 ` David Craven
2016-07-21 11:41 ` Vincent Legoll
2016-07-21 11:57 ` David Craven
2016-07-19 13:22 ` GST_PLUGIN_PATH Ludovic Courtès
2016-07-19 13:53 ` GST_PLUGIN_PATH David Craven
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=20160709125011.24587-6-david@craven.ch \
--to=david@craven.ch \
--cc=guix-devel@gnu.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.
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.