gnu: plotutils: Fix indentation.
* gnu/packages/plotutils.scm (plotutils): Fix indentation. Change-Id: I73d03b262b9156ee372bfea74653107a97e12e2a
This commit is contained in:
parent
238e4ec73e
commit
e46e373f21
1 changed files with 28 additions and 28 deletions
|
@ -356,34 +356,34 @@ colors, styles, options and details.")
|
||||||
(name "plotutils")
|
(name "plotutils")
|
||||||
(version "2.6")
|
(version "2.6")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/plotutils/plotutils-"
|
(uri (string-append "mirror://gnu/plotutils/plotutils-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg"))
|
"1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Force the use of libXaw7 instead of libXaw. When not doing
|
;; Force the use of libXaw7 instead of libXaw. When not doing
|
||||||
;; that, libplot.la ends up containing just "-lXaw" (without
|
;; that, libplot.la ends up containing just "-lXaw" (without
|
||||||
;; "-L/path/to/Xaw"), due to the fact that there is no
|
;; "-L/path/to/Xaw"), due to the fact that there is no
|
||||||
;; libXaw.la, which forces us to propagate libXaw.
|
;; libXaw.la, which forces us to propagate libXaw.
|
||||||
'(begin
|
'(begin
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
(("-lXaw")
|
(("-lXaw")
|
||||||
"-lXaw7"))
|
"-lXaw7"))
|
||||||
;; Use the `png_jmpbuf' accessor, as recommended since libpng
|
;; Use the `png_jmpbuf' accessor, as recommended since libpng
|
||||||
;; 1.4.0 (see:
|
;; 1.4.0 (see:
|
||||||
;; http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt).
|
;; http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt).
|
||||||
(substitute* "libplot/z_write.c"
|
(substitute* "libplot/z_write.c"
|
||||||
(("png_ptr->jmpbuf")
|
(("png_ptr->jmpbuf")
|
||||||
"png_jmpbuf (png_ptr)"))
|
"png_jmpbuf (png_ptr)"))
|
||||||
#t))
|
#t))
|
||||||
(patches
|
(patches
|
||||||
;; The test suite fails on some architectures such as i686 (see:
|
;; The test suite fails on some architectures such as i686 (see:
|
||||||
;; https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html).
|
;; https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html).
|
||||||
;; The following Debian patch works around it.
|
;; The following Debian patch works around it.
|
||||||
(search-patches "plotutils-spline-test.patch"))))
|
(search-patches "plotutils-spline-test.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:configure-flags
|
(list #:configure-flags
|
||||||
|
|
Reference in a new issue