unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1.
@ 2017-12-24 17:46 Rutger Helling
  2017-12-24 17:52 ` Rutger Helling
  0 siblings, 1 reply; 6+ messages in thread
From: Rutger Helling @ 2017-12-24 17:46 UTC (permalink / raw)
  To: 29841


[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]

Here's a patch for Mesa for core-updates. 17.3.1 is the first point
release of 17.3.x, so it's stable according to the Mesa developers.

I also added radeonsi to the gallium drivers. I excluded aarch64 and
armhf since I'm not sure if radeonsi is supposed to work on those or
not.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-mesa-Update-to-17.3.1.patch --]
[-- Type: text/x-patch, Size: 2163 bytes --]

From 1824c1ad2df32770294cbb37b443788fe3ddf266 Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Sun, 24 Dec 2017 18:34:23 +0100
Subject: [PATCH] gnu: mesa: Update to 17.3.1.

* gnu/packages/gl.scm (mesa): Update to 17.3.1.
[arguments]: Add radeonsi to --with-gallium-drivers (exclude aarch64 and armhf).
---
 gnu/packages/gl.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 7de2ca51f..6b43eb372 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -221,7 +221,7 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "17.2.7")
+    (version "17.3.1")
     (source
       (origin
         (method url-fetch)
@@ -233,7 +233,7 @@ also known as DXTn or DXTC) for Mesa.")
                                   version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "0s3slgjxnx482yw0knn4a6alsy2cq28rah6hnjbmf12mvyldxksh"))
+          "1h94m2nkxa1y4n415d5idk2x2lkgbvjcikv6r2r6yn4ak7h0grls"))
         (patches
          (search-patches "mesa-wayland-egl-symbols-check-mips.patch"
                          "mesa-skip-disk-cache-test.patch"))))
@@ -270,6 +270,7 @@ also known as DXTn or DXTC) for Mesa.")
     (native-inputs
       `(("pkg-config" ,pkg-config)
         ("python" ,python-2)
+        ("python2-mako" ,python2-mako)
         ("which" ,(@ (gnu packages base) which))))
     (arguments
      `(#:configure-flags
@@ -281,7 +282,7 @@ also known as DXTn or DXTC) for Mesa.")
               ;; TODO: Fix svga driver for aarch64 and armhf.
               '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,vc4,virgl"))
              (_
-              '("--with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast,virgl")))
+              '("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio
          "--with-platforms=x11,drm,wayland,surfaceless"
-- 
2.15.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1.
  2017-12-24 17:46 [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1 Rutger Helling
@ 2017-12-24 17:52 ` Rutger Helling
  2017-12-24 18:02   ` Rutger Helling
  0 siblings, 1 reply; 6+ messages in thread
From: Rutger Helling @ 2017-12-24 17:52 UTC (permalink / raw)
  To: 29841


[-- Attachment #1.1: Type: text/plain, Size: 455 bytes --]

Forgot [inputs] in the log. Sorry about that, here's a fixed patch.

On Sun, 24 Dec 2017 18:46:32 +0100
Rutger Helling <rhelling@mykolab.com> wrote:

> Here's a patch for Mesa for core-updates. 17.3.1 is the first point
> release of 17.3.x, so it's stable according to the Mesa developers.
> 
> I also added radeonsi to the gallium drivers. I excluded aarch64 and
> armhf since I'm not sure if radeonsi is supposed to work on those or
> not.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-mesa-Update-to-17.3.1-v2.patch --]
[-- Type: text/x-patch, Size: 2192 bytes --]

From 1824c1ad2df32770294cbb37b443788fe3ddf266 Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Sun, 24 Dec 2017 18:34:23 +0100
Subject: [PATCH] gnu: mesa: Update to 17.3.1.

* gnu/packages/gl.scm (mesa): Update to 17.3.1.
[inputs]: Add python2-mako.
[arguments]: Add radeonsi to --with-gallium-drivers (exclude aarch64 and armhf).
---
 gnu/packages/gl.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 7de2ca51f..6b43eb372 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -221,7 +221,7 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "17.2.7")
+    (version "17.3.1")
     (source
       (origin
         (method url-fetch)
@@ -233,7 +233,7 @@ also known as DXTn or DXTC) for Mesa.")
                                   version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "0s3slgjxnx482yw0knn4a6alsy2cq28rah6hnjbmf12mvyldxksh"))
+          "1h94m2nkxa1y4n415d5idk2x2lkgbvjcikv6r2r6yn4ak7h0grls"))
         (patches
          (search-patches "mesa-wayland-egl-symbols-check-mips.patch"
                          "mesa-skip-disk-cache-test.patch"))))
@@ -270,6 +270,7 @@ also known as DXTn or DXTC) for Mesa.")
     (native-inputs
       `(("pkg-config" ,pkg-config)
         ("python" ,python-2)
+        ("python2-mako" ,python2-mako)
         ("which" ,(@ (gnu packages base) which))))
     (arguments
      `(#:configure-flags
@@ -281,7 +282,7 @@ also known as DXTn or DXTC) for Mesa.")
               ;; TODO: Fix svga driver for aarch64 and armhf.
               '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,vc4,virgl"))
              (_
-              '("--with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast,virgl")))
+              '("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio
          "--with-platforms=x11,drm,wayland,surfaceless"
-- 
2.15.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1.
  2017-12-24 17:52 ` Rutger Helling
@ 2017-12-24 18:02   ` Rutger Helling
  2017-12-25 21:03     ` [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1. (v4) Rutger Helling
  0 siblings, 1 reply; 6+ messages in thread
From: Rutger Helling @ 2017-12-24 18:02 UTC (permalink / raw)
  To: 29841


[-- Attachment #1.1: Type: text/plain, Size: 672 bytes --]

One last time, with [native-inputs] instead of [inputs] in the log.
Apologies about the triple post.

On Sun, 24 Dec 2017 18:52:17 +0100
Rutger Helling <rhelling@mykolab.com> wrote:

> Forgot [inputs] in the log. Sorry about that, here's a fixed patch.
> 
> On Sun, 24 Dec 2017 18:46:32 +0100
> Rutger Helling <rhelling@mykolab.com> wrote:
> 
> > Here's a patch for Mesa for core-updates. 17.3.1 is the first point
> > release of 17.3.x, so it's stable according to the Mesa developers.
> > 
> > I also added radeonsi to the gallium drivers. I excluded aarch64 and
> > armhf since I'm not sure if radeonsi is supposed to work on those or
> > not.  
> 


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-mesa-Update-to-17.3.1-v3.patch --]
[-- Type: text/x-patch, Size: 2199 bytes --]

From 1824c1ad2df32770294cbb37b443788fe3ddf266 Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Sun, 24 Dec 2017 18:34:23 +0100
Subject: [PATCH] gnu: mesa: Update to 17.3.1.

* gnu/packages/gl.scm (mesa): Update to 17.3.1.
[native-inputs]: Add python2-mako.
[arguments]: Add radeonsi to --with-gallium-drivers (exclude aarch64 and armhf).
---
 gnu/packages/gl.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 7de2ca51f..6b43eb372 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -221,7 +221,7 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "17.2.7")
+    (version "17.3.1")
     (source
       (origin
         (method url-fetch)
@@ -233,7 +233,7 @@ also known as DXTn or DXTC) for Mesa.")
                                   version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "0s3slgjxnx482yw0knn4a6alsy2cq28rah6hnjbmf12mvyldxksh"))
+          "1h94m2nkxa1y4n415d5idk2x2lkgbvjcikv6r2r6yn4ak7h0grls"))
         (patches
          (search-patches "mesa-wayland-egl-symbols-check-mips.patch"
                          "mesa-skip-disk-cache-test.patch"))))
@@ -270,6 +270,7 @@ also known as DXTn or DXTC) for Mesa.")
     (native-inputs
       `(("pkg-config" ,pkg-config)
         ("python" ,python-2)
+        ("python2-mako" ,python2-mako)
         ("which" ,(@ (gnu packages base) which))))
     (arguments
      `(#:configure-flags
@@ -281,7 +282,7 @@ also known as DXTn or DXTC) for Mesa.")
               ;; TODO: Fix svga driver for aarch64 and armhf.
               '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,vc4,virgl"))
              (_
-              '("--with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast,virgl")))
+              '("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio
          "--with-platforms=x11,drm,wayland,surfaceless"
-- 
2.15.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1. (v4)
  2017-12-24 18:02   ` Rutger Helling
@ 2017-12-25 21:03     ` Rutger Helling
  2017-12-27 22:12       ` Marius Bakke
  0 siblings, 1 reply; 6+ messages in thread
From: Rutger Helling @ 2017-12-25 21:03 UTC (permalink / raw)
  To: 29841


[-- Attachment #1.1: Type: text/plain, Size: 1115 bytes --]

I've made one more change. In the Mesa 17.3.x series S3TC compression is
now built-in (the patent expired). This means the s2tc input is now
unnecessary, so I've removed it.

I confirmed with guix gc --references $(guix build mesa) that there
wasn't a reference to s2tc anymore that was in 17.2.x.

On Sun, 24 Dec 2017 19:02:01 +0100
Rutger Helling <rhelling@mykolab.com> wrote:

> One last time, with [native-inputs] instead of [inputs] in the log.
> Apologies about the triple post.
> 
> On Sun, 24 Dec 2017 18:52:17 +0100
> Rutger Helling <rhelling@mykolab.com> wrote:
> 
> > Forgot [inputs] in the log. Sorry about that, here's a fixed patch.
> > 
> > On Sun, 24 Dec 2017 18:46:32 +0100
> > Rutger Helling <rhelling@mykolab.com> wrote:
> >   
> > > Here's a patch for Mesa for core-updates. 17.3.1 is the first
> > > point release of 17.3.x, so it's stable according to the Mesa
> > > developers.
> > > 
> > > I also added radeonsi to the gallium drivers. I excluded aarch64
> > > and armhf since I'm not sure if radeonsi is supposed to work on
> > > those or not.    
> >   
> 


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-mesa-Update-to-17.3.1-v4.patch --]
[-- Type: text/x-patch, Size: 2434 bytes --]

From 5ced069d6a4e4080c43401b8495dbbb0f2058bde Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Mon, 25 Dec 2017 21:55:12 +0100
Subject: [PATCH] gnu: mesa: Update to 17.3.1.

* gnu/packages/gl.scm (mesa): Update to 17.3.1.
[inputs]: Remove s2tc.
[native-inputs]: Add python2-mako.
[arguments]: Add radeonsi to --with-gallium-drivers (exclude aarch64 and armhf).
---
 gnu/packages/gl.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 7de2ca51f..af5fb1b70 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -221,7 +221,7 @@ also known as DXTn or DXTC) for Mesa.")
 (define-public mesa
   (package
     (name "mesa")
-    (version "17.2.7")
+    (version "17.3.1")
     (source
       (origin
         (method url-fetch)
@@ -233,7 +233,7 @@ also known as DXTn or DXTC) for Mesa.")
                                   version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "0s3slgjxnx482yw0knn4a6alsy2cq28rah6hnjbmf12mvyldxksh"))
+          "1h94m2nkxa1y4n415d5idk2x2lkgbvjcikv6r2r6yn4ak7h0grls"))
         (patches
          (search-patches "mesa-wayland-egl-symbols-check-mips.patch"
                          "mesa-skip-disk-cache-test.patch"))))
@@ -264,12 +264,12 @@ also known as DXTn or DXTC) for Mesa.")
              `()))
         ("makedepend" ,makedepend)
         ("presentproto" ,presentproto)
-        ("s2tc" ,s2tc)
         ("wayland" ,wayland)
         ("wayland-protocols" ,wayland-protocols)))
     (native-inputs
       `(("pkg-config" ,pkg-config)
         ("python" ,python-2)
+        ("python2-mako" ,python2-mako)
         ("which" ,(@ (gnu packages base) which))))
     (arguments
      `(#:configure-flags
@@ -281,7 +281,7 @@ also known as DXTn or DXTC) for Mesa.")
               ;; TODO: Fix svga driver for aarch64 and armhf.
               '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,vc4,virgl"))
              (_
-              '("--with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast,virgl")))
+              '("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio
          "--with-platforms=x11,drm,wayland,surfaceless"
-- 
2.15.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1. (v4)
  2017-12-25 21:03     ` [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1. (v4) Rutger Helling
@ 2017-12-27 22:12       ` Marius Bakke
  2017-12-27 22:24         ` bug#29841: " Rutger Helling
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2017-12-27 22:12 UTC (permalink / raw)
  To: Rutger Helling, 29841

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

Rutger Helling <rhelling@mykolab.com> writes:

> I've made one more change. In the Mesa 17.3.x series S3TC compression is
> now built-in (the patent expired). This means the s2tc input is now
> unnecessary, so I've removed it.
>
> I confirmed with guix gc --references $(guix build mesa) that there
> wasn't a reference to s2tc anymore that was in 17.2.x.

Thanks for the attention to detail here.  The patch LGTM!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#29841: [PATCH core-updates] gnu: mesa: Update to 17.3.1. (v4)
  2017-12-27 22:12       ` Marius Bakke
@ 2017-12-27 22:24         ` Rutger Helling
  0 siblings, 0 replies; 6+ messages in thread
From: Rutger Helling @ 2017-12-27 22:24 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 29841-done

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

Thanks for the review! I've pushed the patch.

On Wed, 27 Dec 2017 23:12:30 +0100
Marius Bakke <mbakke@fastmail.com> wrote:

> Rutger Helling <rhelling@mykolab.com> writes:
> 
> > I've made one more change. In the Mesa 17.3.x series S3TC
> > compression is now built-in (the patent expired). This means the
> > s2tc input is now unnecessary, so I've removed it.
> >
> > I confirmed with guix gc --references $(guix build mesa) that there
> > wasn't a reference to s2tc anymore that was in 17.2.x.  
> 
> Thanks for the attention to detail here.  The patch LGTM!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2017-12-27 22:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-24 17:46 [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1 Rutger Helling
2017-12-24 17:52 ` Rutger Helling
2017-12-24 18:02   ` Rutger Helling
2017-12-25 21:03     ` [bug#29841] [PATCH core-updates] gnu: mesa: Update to 17.3.1. (v4) Rutger Helling
2017-12-27 22:12       ` Marius Bakke
2017-12-27 22:24         ` bug#29841: " Rutger Helling

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).