summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2025-01-10 11:52:07 +0800
committerZheng Junjie <z572@z572.online>2025-07-05 23:07:03 +0800
commit33d2cccd8a689b27e4ab854f0fe96f01eec99f36 (patch)
treeebbaf57fad6ce5f436c6a44b2a38f7e383afac02
parent81c36419e51f86c29515f462b6f48fb262c93db7 (diff)
gnu: labplot: Update to 2.11.1.
* gnu/packages/kde.scm (labplot): Update to 2.11.1. [arguments]: Use G-expressions. <#:phases>: Adjust check phase. Change-Id: Ic0fbcd989ea594a2fb684664f4837fd767d2b374
-rw-r--r--gnu/packages/kde.scm36
1 files changed, 19 insertions, 17 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 9a8f7ce96e..cfb6510a8a 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1714,31 +1714,33 @@ communicate with each other. Here's a few things KDE Connect can do:
(define-public labplot
(package
(name "labplot")
- (version "2.10.1")
+ (version "2.11.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/labplot"
"/labplot-" version ".tar.xz"))
(sha256
- (base32 "1vyslapcjmq7bra3hbbkwrcy6z0cn8z5z2bvzzgy1dng2waihvib"))))
+ (base32 "17b78s84hqq51chhzfx5in9b6ijkwa6xhq1y8sclscirvz46majk"))))
(build-system qt-build-system)
(arguments
- `(#:configure-flags
- (list "-DENABLE_CANTOR=OFF" ;not packaged
- "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
- ;; FIXME: readstat (optional dependency) is available in the
- ;; statistics module, but that module can't be used here.
- "-DENABLE_READSTAT=OFF"
- ;; This is a bundled library that is not packaged.
- "-DENABLE_LIBORIGIN=ON")
- #:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; This test fails, I don't know why.
- (invoke "ctest" "-E" "(ParserTest|ReadStatFilterTest)")))))))
+ (list #:configure-flags
+ #~(list "-DENABLE_CANTOR=OFF" ;not packaged
+ "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
+ ;; FIXME: readstat (optional dependency) is available in the
+ ;; statistics module, but that module can't be used here.
+ "-DENABLE_READSTAT=OFF"
+ ;; This is a bundled library that is not packaged.
+ "-DENABLE_LIBORIGIN=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ ;; This test fails, I don't know why.
+ (invoke "ctest" "-E" "(ParserTest|ReadStatFilterTest|\
+WorksheetElementTest)")))))))
(native-inputs (list bison
extra-cmake-modules
pkg-config