From patchwork Thu Aug 25 19:48:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 41969 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4657127BBEA; Thu, 25 Aug 2022 20:49:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E7D6A27BBE9 for ; Thu, 25 Aug 2022 20:49:10 +0100 (BST) Received: from localhost ([::1]:33880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRIqk-0003rZ-4P for patchwork@mira.cbaines.net; Thu, 25 Aug 2022 15:49:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRIqc-0003rR-Rb for guix-patches@gnu.org; Thu, 25 Aug 2022 15:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRIqc-0005DX-Ib for guix-patches@gnu.org; Thu, 25 Aug 2022 15:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRIqc-00021Y-4C for guix-patches@gnu.org; Thu, 25 Aug 2022 15:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57416] [PATCH] gnu: Add plplot. References: <20220825193833.1157970-1-antero@mailbox.org> In-Reply-To: <20220825193833.1157970-1-antero@mailbox.org> Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Aug 2022 19:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57416@debbugs.gnu.org Cc: Antero Mejr Received: via spool by 57416-submit@debbugs.gnu.org id=B57416.16614569277761 (code B ref 57416); Thu, 25 Aug 2022 19:49:02 +0000 Received: (at 57416) by debbugs.gnu.org; 25 Aug 2022 19:48:47 +0000 Received: from localhost ([127.0.0.1]:51380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRIqN-000216-FJ for submit@debbugs.gnu.org; Thu, 25 Aug 2022 15:48:47 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:56964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRIqI-00020o-B7 for 57416@debbugs.gnu.org; Thu, 25 Aug 2022 15:48:46 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4MDD6W0y0Cz9sQP for <57416@debbugs.gnu.org>; Thu, 25 Aug 2022 21:48:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1661456915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OqFcTV1WV0dtMC8sSEIIEQHCGic6ZDWSkzeintcEDgw=; b=lM8zgNBynFnMsJuZ9SrYoM/eGN33ZzxvkoOhnM+OhIUEqWw1cHVlAZuCRRlgUaxC3hFOPf kGMp8Tszl4o6c4cVO71j3vWKemivNqCd0lWqXQAOCFDkKLbXnmnwNbttcPfGvy51MKMecn YGAvocdEns/0DMzvYfi1Nx0UrZObdZqTw6UkB8XVCbiTFjB1i6LBNsdurVy8sWj3vCUtIn L2abbGdykPhMeUIFxitZQYGOHicTrvvrGsjLZ/qc4VeIR4lYOQQz/5mbymVh6aKkAqTMRa hAxG4OpSnr991p9DdNAP01BvXsM/4WSPRHsCzuyKI7JjsioyoQuHxJIgqTLNTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1661456913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OqFcTV1WV0dtMC8sSEIIEQHCGic6ZDWSkzeintcEDgw=; b=FcZm8IYDi1UYrN0OZKsQTERQjS93a2J8wwatKw4enmeGlgk4fi7kGETzJ24e/B9SPSV/Ir 6T7lCOq5ahD6dQ4I8Kb6binbyQuqc3DT1pd4AMOjAEnw8aBbeJJeTCdeiFeQl4EXzzAJnT hDecPbN9fz/nYRo48zhxl2SR5aSMTrA1lccmFM1jp7Q2qv7kBQT3E3eoKwLkpogmpwKASQ ktRBbez0oI/nm7Ryqc/6fOeDGCoc4NG1Jt3qvIDz3wq/6Zzvl2JQvdR558ut9QPmqSHhSJ 52EeqdAFohRLBQ2GOrdhFcjhNkbigrLfM5AJQGnrv5R1hmMRicmJF0n+ATLhDQ== Date: Thu, 25 Aug 2022 15:48:03 -0400 Message-Id: <20220825194803.1159036-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: ew9oodtx6m6w69j5xfudt335nwbyzq3n X-MBO-RS-ID: 4d45898a801a2b70fa6 X-Rspamd-Queue-Id: 4MDD6W0y0Cz9sQP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches * 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