From e46e373f2110d20f9c40bcc70c0e1e31cfc16026 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 13 Apr 2024 20:42:09 +0100 Subject: gnu: plotutils: Fix indentation. * gnu/packages/plotutils.scm (plotutils): Fix indentation. Change-Id: I73d03b262b9156ee372bfea74653107a97e12e2a --- gnu/packages/plotutils.scm | 56 +++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index d0cc1bc842..4462621cc1 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -356,34 +356,34 @@ (define-public plotutils (name "plotutils") (version "2.6") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/plotutils/plotutils-" - version ".tar.gz")) - (sha256 - (base32 - "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg")) - (modules '((guix build utils))) - (snippet - ;; Force the use of libXaw7 instead of libXaw. When not doing - ;; that, libplot.la ends up containing just "-lXaw" (without - ;; "-L/path/to/Xaw"), due to the fact that there is no - ;; libXaw.la, which forces us to propagate libXaw. - '(begin - (substitute* "configure" - (("-lXaw") - "-lXaw7")) - ;; Use the `png_jmpbuf' accessor, as recommended since libpng - ;; 1.4.0 (see: - ;; http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt). - (substitute* "libplot/z_write.c" - (("png_ptr->jmpbuf") - "png_jmpbuf (png_ptr)")) - #t)) - (patches - ;; The test suite fails on some architectures such as i686 (see: - ;; https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html). - ;; The following Debian patch works around it. - (search-patches "plotutils-spline-test.patch")))) + (method url-fetch) + (uri (string-append "mirror://gnu/plotutils/plotutils-" + version ".tar.gz")) + (sha256 + (base32 + "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg")) + (modules '((guix build utils))) + (snippet + ;; Force the use of libXaw7 instead of libXaw. When not doing + ;; that, libplot.la ends up containing just "-lXaw" (without + ;; "-L/path/to/Xaw"), due to the fact that there is no + ;; libXaw.la, which forces us to propagate libXaw. + '(begin + (substitute* "configure" + (("-lXaw") + "-lXaw7")) + ;; Use the `png_jmpbuf' accessor, as recommended since libpng + ;; 1.4.0 (see: + ;; http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt). + (substitute* "libplot/z_write.c" + (("png_ptr->jmpbuf") + "png_jmpbuf (png_ptr)")) + #t)) + (patches + ;; The test suite fails on some architectures such as i686 (see: + ;; https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html). + ;; The following Debian patch works around it. + (search-patches "plotutils-spline-test.patch")))) (build-system gnu-build-system) (arguments (list #:configure-flags -- cgit v1.2.3