Subject: [PATCH] gnu: gnuplot: Update to 2.2.2
From: Adam Massmann <[email-masked]>
To: [email-masked]
Date: Tue, 01 May 2018 23:34:41 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Attached below is a patch to update gnuplot to the current stable
version 2.2.2. Thanks a lot for all the work on Guix!

Best,
Adam

From d55155d8c5fae8d2396c68ccbc182a8dd565be56 Mon Sep 17 00:00:00 2001
From: Adam Massmann <[email-masked]>
Date: Tue, 1 May 2018 23:25:43 -0400
Subject: [PATCH] gnu: gnuplot: Update to 2.2.2

---
 gnu/packages/maths.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 00f35659e..5664b73c3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -562,7 +562,7 @@ singular value problems.")
 (define-public gnuplot
   (package
     (name "gnuplot")
-    (version "5.0.6")
+    (version "5.2.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/gnuplot/gnuplot/"
@@ -570,7 +570,7 @@ singular value problems.")
                                   version ".tar.gz"))
        (sha256
         (base32
-         "0q5lr6nala3ln6f3yp6g17ziymb9r9gx9zylnw1y3hjmwl9lggjv"))))
+         "18diyy7aib9mn098x07g25c7jij1x7wbfpicz0z8gwxx08px45m4"))))
     (build-system gnu-build-system)
     (inputs `(("readline" ,readline)
               ("cairo" ,cairo)
@@ -580,6 +580,9 @@ singular value problems.")
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("texlive" ,texlive-tiny)))
+    (arguments `(#:configure-flags (list (string-append
+                                          "--with-texdir=" %output
+                                          "/texmf-local/tex/latex/gnuplot"))))
     (home-page "http://www.gnuplot.info")
     (synopsis "Command-line driven graphing utility")
     (description "Gnuplot is a portable command-line driven graphing
-- 
2.11.0