[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/71: gnu: asymptote: Update to 2.37.
From: |
??? |
Subject: |
11/71: gnu: asymptote: Update to 2.37. |
Date: |
Mon, 02 May 2016 14:08:17 +0000 |
iyzsong pushed a commit to branch gnome-updates
in repository guix.
commit d20708b6c558f4159db6e6cec7ffa707f8252ed4
Author: Nicolas Goaziou <address@hidden>
Date: Sat Apr 30 11:43:35 2016 +0200
gnu: asymptote: Update to 2.37.
* gnu/packages/plotutils.scm (asymptote): Update to 2.37.
* gnu/packages/patches/asymptote-gsl2.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove reference.
---
gnu/local.mk | 1 -
gnu/packages/patches/asymptote-gsl2.patch | 33 -----------------------------
gnu/packages/plotutils.scm | 26 ++++++++++++++---------
3 files changed, 16 insertions(+), 44 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 7556fa7..2314a38 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -415,7 +415,6 @@ dist_patch_DATA =
\
gnu/packages/patches/alsa-lib-mips-atomic-fix.patch \
gnu/packages/patches/apr-skip-getservbyname-test.patch \
gnu/packages/patches/arb-ldconfig.patch \
- gnu/packages/patches/asymptote-gsl2.patch \
gnu/packages/patches/ath9k-htc-firmware-binutils.patch \
gnu/packages/patches/ath9k-htc-firmware-gcc.patch \
gnu/packages/patches/ath9k-htc-firmware-objcopy.patch \
diff --git a/gnu/packages/patches/asymptote-gsl2.patch
b/gnu/packages/patches/asymptote-gsl2.patch
deleted file mode 100644
index 4f73d16..0000000
--- a/gnu/packages/patches/asymptote-gsl2.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 71ff9e769ba5d9995b367201f0d41b7a8dedab9d Mon Sep 17 00:00:00 2001
-From: John Bowman <address@hidden>
-Date: Sat, 14 Nov 2015 01:25:56 -0700
-Subject: [PATCH] Support GSL 2.0.
-
----
- gsl.cc | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/gsl.cc b/gsl.cc
-index b500557..0f81dc6 100644
---- a/gsl.cc
-+++ b/gsl.cc
-@@ -27,6 +27,7 @@
- #include <gsl/gsl_rng.h>
- #include <gsl/gsl_randist.h>
- #include <gsl/gsl_cdf.h>
-+#include <gsl/gsl_version.h>
-
- #include "opsymbols.h"
-
-@@ -1088,7 +1089,11 @@ void gen_rungsl_venv(venv &ve)
- addGSLDOUBLE2Func<gsl_sf_ellint_F>(SYM(F));
- addGSLDOUBLE2Func<gsl_sf_ellint_E>(SYM(E));
- addGSLDOUBLE3Func<gsl_sf_ellint_P>(SYM(P),SYM(phi),SYM(k),SYM(n));
-+#if GSL_MAJOR_VERSION >= 2
-+ addGSLDOUBLE2Func<gsl_sf_ellint_D>(SYM(D),SYM(phi),SYM(k));
-+#else
- addGSLDOUBLE3Func<gsl_sf_ellint_D>(SYM(D),SYM(phi),SYM(k),SYM(n));
-+#endif
- addGSLDOUBLE2Func<gsl_sf_ellint_RC>(SYM(RC),SYM(x),SYM(y));
- addGSLDOUBLE3Func<gsl_sf_ellint_RD>(SYM(RD),SYM(x),SYM(y),SYM(z));
- addGSLDOUBLE3Func<gsl_sf_ellint_RF>(SYM(RF),SYM(x),SYM(y),SYM(z));
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 67f692d..3fdd539 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
;;; Copyright © 2015 Eric Bavier <address@hidden>
+;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -171,15 +172,14 @@ colors, styles, options and details.")
(define-public asymptote
(package
(name "asymptote")
- (version "2.35")
+ (version "2.37")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/asymptote/"
version "/asymptote-" version ".src.tgz"))
(sha256
(base32
- "11f28vxw0ybhvl7vxmqcdwvw7y6gz55ykw9ybgzb2px6lsvgag7z"))
- (patches (search-patches "asymptote-gsl2.patch"))))
+ "16nh02m52mk9a53i8wc6l9vg710gnzr3lfbypcbvamghvaj0458i"))))
(build-system gnu-build-system)
;; Note: The 'asy' binary retains a reference to docdir for use with its
;; "help" command in interactive mode, so adding a "doc" output is not
@@ -206,13 +206,19 @@ colors, styles, options and details.")
(string-append "--with-context="
(assoc-ref %outputs "out")
"/share/texmf/tex/context/third"))
- #:phases (modify-phases %standard-phases
- (add-before 'build 'patch-pdf-viewer
- (lambda _
- ;; Default to a free pdf viewer
- (substitute* "settings.cc"
- (("defaultPDFViewer=\"acroread\"")
- "defaultPDFViewer=\"gv\"")))))))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-pdf-viewer
+ (lambda _
+ ;; Default to a free pdf viewer
+ (substitute* "settings.cc"
+ (("defaultPDFViewer=\"acroread\"")
+ "defaultPDFViewer=\"gv\""))))
+ (add-before 'check 'set-HOME
+ ;; Some tests require write access to $HOME, otherwise leading to
+ ;; "failed to create directory /homeless-shelter/.asy" error.
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
(home-page "http://asymptote.sourceforge.net")
(synopsis "Script-based vector graphics language")
(description
- 21/71: gnu: gtkmm: Run Xvfb for tests., (continued)
- 21/71: gnu: gtkmm: Run Xvfb for tests., ???, 2016/05/02
- 23/71: gnu: at-spi2-core: Update to 2.20.1., ???, 2016/05/02
- 29/71: gnu: vte: Update to 0.44.1., ???, 2016/05/02
- 25/71: gnu: gtk+: Update to 3.20.3., ???, 2016/05/02
- 27/71: gnu: gtkmm: Update to 3.20.1., ???, 2016/05/02
- 12/71: syscalls: Implement arrays in 'define-c-struct' and use it., ???, 2016/05/02
- 32/71: gnu: libsoup: Update to 2.54.1., ???, 2016/05/02
- 30/71: gnu: glib-networking: Update to 2.48.1., ???, 2016/05/02
- 15/71: gnu: Add r-xnomial., ???, 2016/05/02
- 10/71: gnu: Add python2-shedskin., ???, 2016/05/02
- 11/71: gnu: asymptote: Update to 2.37.,
??? <=
- 09/71: gnu: guitarix: Update to 0.35.0., ???, 2016/05/02
- 22/71: gnu: pango: Update to 1.40.1., ???, 2016/05/02
- 06/71: gnu: Add synthv1., ???, 2016/05/02
- 08/71: gnu: qtractor: Update to 0.7.7., ???, 2016/05/02
- 38/71: gnu: totem: Update to 3.20.1., ???, 2016/05/02
- 37/71: gnu: gnome-klotski: Update to 3.20.1., ???, 2016/05/02
- 46/71: gnu: gnome-session: Update to 3.20.1, fix build., ???, 2016/05/02
- 40/71: gnu: gvfs: Update to 1.28.1., ???, 2016/05/02
- 42/71: gnu: yelp-xsl: Update to 3.20.1., ???, 2016/05/02
- 45/71: gnu: file-roller: Update to 3.20.1., ???, 2016/05/02