From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 57416@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#57416] [PATCH] gnu: Add plplot.
Date: Thu, 25 Aug 2022 15:48:03 -0400 [thread overview]
Message-ID: <20220825194803.1159036-1-antero@mailbox.org> (raw)
In-Reply-To: <20220825193833.1157970-1-antero@mailbox.org>
* gnu/packages/graph.scm (plplot): New variable.
---
gnu/packages/graph.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 109ba68675..4560fa1023 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -62,6 +62,7 @@ (define-module (gnu packages graph)
#:use-module (gnu packages statistics)
#:use-module (gnu packages swig)
#:use-module (gnu packages time)
+ #:use-module (gnu packages wxwidgets)
#:use-module (gnu packages xml))
(define-public plfit
@@ -659,3 +660,48 @@ (define-public python-graph-tool
time) to that of a pure C/C++ library.")
(home-page "https://graph-tool.skewed.de/")
(license license:lgpl3+)))
+
+(define-public plplot
+ (package
+ (name "plplot")
+ (version "5.15.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/plplot/plplot/"
+ version "%20Source/plplot-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0ywccb6bs1389zjfmc9zwdvdsvlpm7vg957whh6b5a96yvcf8bdr"))
+ (modules '((guix build utils)))
+ (snippet #~(begin (delete-file-recursively "www")
+ (substitute* "CMakeLists.txt"
+ (("add_subdirectory\\(www\\)") ""))))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~(list (string-append "-DLIB_DIR=" #$output "/lib")
+ "-DBUILD_TEST=TRUE"
+ "-DENABLE_wxwidgets=TRUE")))
+ (native-inputs (list pkg-config))
+ (inputs (list wxwidgets))
+ (home-page "http://plplot.org/") ;no HTTPS
+ (synopsis "Scientific plotting library with Unicode support")
+ (description "PLplot is a software package for creating scientific plots.
+The PLplot core library can be used to create:
+
+@itemize
+@item standard x-y plots
+@item semi-log plots
+@item log-log plots
+@item contour plots
+@item 3D surface plots
+@item mesh plots
+@item bar charts
+@item pie charts
+@end itemize")
+ (license (list license:lgpl2.0
+ license:gpl2+ ;octave bindings
+ license:bsd-2 ;docbook docs
+ license:ogl-psi1.0 ;files in data/ss
+ license:cc-by-sa3.0 ;examples/Chloe.pgm
+ license:expat)))) ;Cmake files
--
2.37.2
next prev parent reply other threads:[~2022-08-25 19:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 19:38 [bug#57416] [PATCH] gnu: Add gnudatalanguage Antero Mejr via Guix-patches via
2022-08-25 19:48 ` Antero Mejr via Guix-patches via [this message]
2022-12-13 10:56 ` [bug#57416] Sharlatan Hellseher
2023-02-02 23:58 ` [bug#57416] Sharlatan Hellseher
2023-02-17 17:14 ` [bug#57416] [PATCH] gnu: Add gnudatalanguage Simon Tournier
2023-02-18 10:01 ` Andreas Enge
2023-10-12 23:48 ` [bug#57416] Sharlatan Hellseher
2023-12-22 16:17 ` [bug#57416] Ludovic Courtès
2024-04-13 22:16 ` bug#57416: [PATCH] gnu: Add gnudatalanguage Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220825194803.1159036-1-antero@mailbox.org \
--to=guix-patches@gnu.org \
--cc=57416@debbugs.gnu.org \
--cc=antero@mailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).