* [bug#48074] [PATCH 0/2] gnu: Add labplot. @ 2021-04-28 0:13 Vinicius Monego 2021-04-28 0:14 ` [bug#48074] [PATCH 1/2] gnu: Add libcerf Vinicius Monego 2021-04-29 16:15 ` [bug#48074] [PATCH v2 1/2] gnu: Add libcerf Vinicius Monego 0 siblings, 2 replies; 7+ messages in thread From: Vinicius Monego @ 2021-04-28 0:13 UTC (permalink / raw) To: 48074; +Cc: Vinicius Monego Vinicius Monego (2): gnu: Add libcerf. gnu: Add labplot. gnu/packages/kde.scm | 78 ++++++++++++++++++++++++++++++++++++++++++ gnu/packages/maths.scm | 26 +++++++++++++- 2 files changed, 103 insertions(+), 1 deletion(-) -- 2.31.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#48074] [PATCH 1/2] gnu: Add libcerf. 2021-04-28 0:13 [bug#48074] [PATCH 0/2] gnu: Add labplot Vinicius Monego @ 2021-04-28 0:14 ` Vinicius Monego 2021-04-28 0:14 ` [bug#48074] [PATCH 2/2] gnu: Add labplot Vinicius Monego 2021-04-29 16:15 ` [bug#48074] [PATCH v2 1/2] gnu: Add libcerf Vinicius Monego 1 sibling, 1 reply; 7+ messages in thread From: Vinicius Monego @ 2021-04-28 0:14 UTC (permalink / raw) To: 48074; +Cc: Vinicius Monego * gnu/packages/maths.scm (libcerf): New variable. --- gnu/packages/maths.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 758f0a5c32..b62cbae735 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -39,7 +39,7 @@ ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz> ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> -;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Simon Tournier <zimon.toutoune@gmail.com> ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net> ;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com> @@ -698,6 +698,30 @@ in memory, so even problems with very large output sizes can sometimes be solved.") (license license:gpl2+))) +(define-public libcerf + (package + (name "libcerf") + (version "1.14") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://jugit.fz-juelich.de/mlz/libcerf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ic2q7kvxpqmgxlishygvx8d00i4wn51vkq4fyac44ahhf6c3kwd")))) + (build-system cmake-build-system) + (native-inputs + `(("perl" ,perl))) + (home-page "https://jugit.fz-juelich.de/mlz/libcerf") + (synopsis "Library for complex error functions") + (description + "@code{libcerf} is a self-contained numeric library that provides an +efficient and accurate implementation of complex error functions, along with +Dawson, Faddeeva, and Voigt functions.") + (license license:expat))) + (define-public vinci (package (name "vinci") -- 2.31.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#48074] [PATCH 2/2] gnu: Add labplot. 2021-04-28 0:14 ` [bug#48074] [PATCH 1/2] gnu: Add libcerf Vinicius Monego @ 2021-04-28 0:14 ` Vinicius Monego 2021-04-28 12:25 ` Maxime Devos 0 siblings, 1 reply; 7+ messages in thread From: Vinicius Monego @ 2021-04-28 0:14 UTC (permalink / raw) To: 48074; +Cc: Vinicius Monego * gnu/packages/kde.scm (labplot): New variable. --- gnu/packages/kde.scm | 78 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 4a989b32dd..5929945686 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org> +;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages apr) + #:use-module (gnu packages astronomy) #:use-module (gnu packages audio) #:use-module (gnu packages bison) #:use-module (gnu packages boost) @@ -772,6 +774,82 @@ communicate with each other. Here's a few things KDE Connect can do: (properties `((upstream-name . "kdeconnect-kde"))) (license (list license:gpl2 license:gpl3)))) ; dual licensed +(define-public labplot + (package + (name "labplot") + (version "2.8.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/labplot" + "/" version "/labplot-" + version ".tar.xz")) + (sha256 + (base32 "1yhxnchwb4n83sxrbn4im41g2sqr0xsim2y242mvyd8pjzd83icf")))) + (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 _ + ;; This test fails, I don't know why. + (invoke "ctest" "-E" "parsertest")))))) + (native-inputs + `(("bison" ,bison) + ("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper) + ("qttools" ,qttools))) + (inputs + `(("breeze" ,breeze) ;for dark themes + ("breeze-icons" ,breeze-icons) ;for icons + ("gsl" ,gsl) + ("karchive" ,karchive) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kconfigwidgets" ,kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("kdoctools" ,kdoctools) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("knewstuff" ,knewstuff) + ("kparts" ,kparts) + ("kservice" ,kservice) + ("ksyntaxhighlighting" ,ksyntaxhighlighting) + ("ktextwidgets" ,ktextwidgets) + ("kuserfeedback" ,kuserfeedback) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("shared-mime-info" ,shared-mime-info) + ;; Optional. + ("cfitsio" ,cfitsio) + ("fftw" ,fftw) + ("hdf5" ,hdf5) + ("libcerf" ,libcerf) + ("lz4" ,lz4) + ("netcdf" ,netcdf) + ("qtserialport" ,qtserialport) + ("zlib" ,zlib))) + (home-page "https://labplot.kde.org/") + (synopsis "Interactive graphing and analysis of scientific data") + (description "LabPlot is a tool for interactive graphing and analysis of +scientific data. It provides an easy way to create, manage and edit plots and +to perform data analysis.") + (license (list license:gpl2+ ;labplot + license:gpl3+)))) ;liborigin + (define-public kqtquickcharts (package (name "kqtquickcharts") -- 2.31.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#48074] [PATCH 2/2] gnu: Add labplot. 2021-04-28 0:14 ` [bug#48074] [PATCH 2/2] gnu: Add labplot Vinicius Monego @ 2021-04-28 12:25 ` Maxime Devos 0 siblings, 0 replies; 7+ messages in thread From: Maxime Devos @ 2021-04-28 12:25 UTC (permalink / raw) To: Vinicius Monego, 48074 [-- Attachment #1: Type: text/plain, Size: 466 bytes --] Hi, > + (lambda _ > + ;; This test fails, I don't know why. > + (invoke "ctest" "-E" "parsertest")))))) To support "guix build --without-tests=labplot" and cross-compilation, I recommend > + (lambda* (#:key tests? #:allow-other-keys) > + (when tests? > + ;; This test fails, I don't know why. > + (invoke "ctest" "-E" "parsertest"))) here. Greetings, Maxime. [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 260 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#48074] [PATCH v2 1/2] gnu: Add libcerf. 2021-04-28 0:13 [bug#48074] [PATCH 0/2] gnu: Add labplot Vinicius Monego 2021-04-28 0:14 ` [bug#48074] [PATCH 1/2] gnu: Add libcerf Vinicius Monego @ 2021-04-29 16:15 ` Vinicius Monego 2021-04-29 16:15 ` [bug#48074] [PATCH v2 2/2] gnu: Add labplot Vinicius Monego 2021-05-05 13:53 ` bug#48074: [PATCH 0/2] " Ludovic Courtès 1 sibling, 2 replies; 7+ messages in thread From: Vinicius Monego @ 2021-04-29 16:15 UTC (permalink / raw) To: 48074; +Cc: Vinicius Monego * gnu/packages/maths.scm (libcerf): New variable. --- No changes. gnu/packages/maths.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 758f0a5c32..b62cbae735 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -39,7 +39,7 @@ ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz> ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> -;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Simon Tournier <zimon.toutoune@gmail.com> ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net> ;;; Copyright © 2021 Gerd Heber <gerd.heber@gmail.com> @@ -698,6 +698,30 @@ in memory, so even problems with very large output sizes can sometimes be solved.") (license license:gpl2+))) +(define-public libcerf + (package + (name "libcerf") + (version "1.14") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://jugit.fz-juelich.de/mlz/libcerf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ic2q7kvxpqmgxlishygvx8d00i4wn51vkq4fyac44ahhf6c3kwd")))) + (build-system cmake-build-system) + (native-inputs + `(("perl" ,perl))) + (home-page "https://jugit.fz-juelich.de/mlz/libcerf") + (synopsis "Library for complex error functions") + (description + "@code{libcerf} is a self-contained numeric library that provides an +efficient and accurate implementation of complex error functions, along with +Dawson, Faddeeva, and Voigt functions.") + (license license:expat))) + (define-public vinci (package (name "vinci") -- 2.31.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#48074] [PATCH v2 2/2] gnu: Add labplot. 2021-04-29 16:15 ` [bug#48074] [PATCH v2 1/2] gnu: Add libcerf Vinicius Monego @ 2021-04-29 16:15 ` Vinicius Monego 2021-05-05 13:53 ` bug#48074: [PATCH 0/2] " Ludovic Courtès 1 sibling, 0 replies; 7+ messages in thread From: Vinicius Monego @ 2021-04-29 16:15 UTC (permalink / raw) To: 48074; +Cc: Vinicius Monego * gnu/packages/kde.scm (labplot): New variable. --- Changed check phase to allow --without-tests=labplot as suggested by Maxime Devos. gnu/packages/kde.scm | 80 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 4a989b32dd..2af02615c0 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org> +;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages apr) + #:use-module (gnu packages astronomy) #:use-module (gnu packages audio) #:use-module (gnu packages bison) #:use-module (gnu packages boost) @@ -772,6 +774,84 @@ communicate with each other. Here's a few things KDE Connect can do: (properties `((upstream-name . "kdeconnect-kde"))) (license (list license:gpl2 license:gpl3)))) ; dual licensed +(define-public labplot + (package + (name "labplot") + (version "2.8.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/labplot" + "/" version "/labplot-" + version ".tar.xz")) + (sha256 + (base32 "1yhxnchwb4n83sxrbn4im41g2sqr0xsim2y242mvyd8pjzd83icf")))) + (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")) + #t))))) + (native-inputs + `(("bison" ,bison) + ("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper) + ("qttools" ,qttools))) + (inputs + `(("breeze" ,breeze) ;for dark themes + ("breeze-icons" ,breeze-icons) ;for icons + ("gsl" ,gsl) + ("karchive" ,karchive) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kconfigwidgets" ,kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("kdoctools" ,kdoctools) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("knewstuff" ,knewstuff) + ("kparts" ,kparts) + ("kservice" ,kservice) + ("ksyntaxhighlighting" ,ksyntaxhighlighting) + ("ktextwidgets" ,ktextwidgets) + ("kuserfeedback" ,kuserfeedback) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("qtbase" ,qtbase) + ("qtsvg" ,qtsvg) + ("shared-mime-info" ,shared-mime-info) + ;; Optional. + ("cfitsio" ,cfitsio) + ("fftw" ,fftw) + ("hdf5" ,hdf5) + ("libcerf" ,libcerf) + ("lz4" ,lz4) + ("netcdf" ,netcdf) + ("qtserialport" ,qtserialport) + ("zlib" ,zlib))) + (home-page "https://labplot.kde.org/") + (synopsis "Interactive graphing and analysis of scientific data") + (description "LabPlot is a tool for interactive graphing and analysis of +scientific data. It provides an easy way to create, manage and edit plots and +to perform data analysis.") + (license (list license:gpl2+ ;labplot + license:gpl3+)))) ;liborigin + (define-public kqtquickcharts (package (name "kqtquickcharts") -- 2.31.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#48074: [PATCH 0/2] gnu: Add labplot. 2021-04-29 16:15 ` [bug#48074] [PATCH v2 1/2] gnu: Add libcerf Vinicius Monego 2021-04-29 16:15 ` [bug#48074] [PATCH v2 2/2] gnu: Add labplot Vinicius Monego @ 2021-05-05 13:53 ` Ludovic Courtès 1 sibling, 0 replies; 7+ messages in thread From: Ludovic Courtès @ 2021-05-05 13:53 UTC (permalink / raw) To: Vinicius Monego; +Cc: 48074-done Hi Vinicius, Vinicius Monego <monego@posteo.net> skribis: > * gnu/packages/maths.scm (libcerf): New variable. [...] > * gnu/packages/kde.scm (labplot): New variable. Applied both. Thank you, and thanks Maxime for reviewing! Ludo’. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-05-05 13:54 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-04-28 0:13 [bug#48074] [PATCH 0/2] gnu: Add labplot Vinicius Monego 2021-04-28 0:14 ` [bug#48074] [PATCH 1/2] gnu: Add libcerf Vinicius Monego 2021-04-28 0:14 ` [bug#48074] [PATCH 2/2] gnu: Add labplot Vinicius Monego 2021-04-28 12:25 ` Maxime Devos 2021-04-29 16:15 ` [bug#48074] [PATCH v2 1/2] gnu: Add libcerf Vinicius Monego 2021-04-29 16:15 ` [bug#48074] [PATCH v2 2/2] gnu: Add labplot Vinicius Monego 2021-05-05 13:53 ` bug#48074: [PATCH 0/2] " Ludovic Courtès
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).