From patchwork Thu Feb 4 20:40:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 26905 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 967EF27BC20; Thu, 4 Feb 2021 20:42:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED,URIBL_SBL, URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A58E127BC1F for ; Thu, 4 Feb 2021 20:42:12 +0000 (GMT) Received: from localhost ([::1]:42198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7lS7-0007oU-TC for patchwork@mira.cbaines.net; Thu, 04 Feb 2021 15:42:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7lRy-0007oG-3s for guix-patches@gnu.org; Thu, 04 Feb 2021 15:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7lRx-0008CP-SG for guix-patches@gnu.org; Thu, 04 Feb 2021 15:42:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7lRx-00046G-PZ for guix-patches@gnu.org; Thu, 04 Feb 2021 15:42:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46160] [PATCH] Round 2 References: In-Reply-To: Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Feb 2021 20:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46160 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46160@debbugs.gnu.org Received: via spool by 46160-submit@debbugs.gnu.org id=B46160.161247126915693 (code B ref 46160); Thu, 04 Feb 2021 20:42:01 +0000 Received: (at 46160) by debbugs.gnu.org; 4 Feb 2021 20:41:09 +0000 Received: from localhost ([127.0.0.1]:42376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7lR7-000452-GG for submit@debbugs.gnu.org; Thu, 04 Feb 2021 15:41:09 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:36368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7lR5-00044k-NJ for 46160@debbugs.gnu.org; Thu, 04 Feb 2021 15:41:08 -0500 Received: by mail-wr1-f48.google.com with SMTP id u14so5163765wri.3 for <46160@debbugs.gnu.org>; Thu, 04 Feb 2021 12:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DNRcj6FSEU5NZuASYQBUtxZJVP+yFgWspE4VTJICK28=; b=d9Nx2HzypVqIz5Crd3FSrmXgA+iCndEvMx3CQerhevd91zQRsE/iFKtQ7u7fDaOKF7 e/cXX1qsYPmyOfxvsL81xqBNTFEvZYJPUot0fUVvknqi8Mb+OMGQ6PkyBNBP16NC2wxi RZpEB2cykjbACqdJCFi7KnFfa/Hm/UgPKRTscLAKh5NW3lpbvVWKYlLOtZgfBdtlps5K x5Yx/5SGGr0WCI9rkodNY/EGhJWCEUDWPy4Ww5FVRJuEYsfBxc5OUKX2/7WAkl+5aIRx I/rrY1WeUf5QUxzj4pzkeaqx6Awc8LkmFCnETOZak6DNk+bS1He3Vzg+m4I4y5lsv4nn 1YCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DNRcj6FSEU5NZuASYQBUtxZJVP+yFgWspE4VTJICK28=; b=szcQm45DV35XQP9FQJge/7SCMxeLw9YzjAktEVZZ/DJ///39avEi1N+HTdahCMBcbu bgceACYxVCcOIdjcuWKnssXUl9mckAeWYx0gEF5wQDgcdE9wtx7FdFs6Zu/tOLvQFsdp Q1YbR7TbNYEbya0CHgQil9+yMJmF0TaRiXvY+jBexgoTVhlNz1O6BlA/hqgsb23YSx8t +2dAKebVcl/VoEzG02JWlSSQRFmpea7N0L46CeJTDi0sVrnyzwTJtGKekwO/3MiFvPny I53Bfgtc0UPZx6IkdpdHealndm2WeACaa49Gye109yrG5ret8dzXn75vq/uMo+UdQKdA OPuA== X-Gm-Message-State: AOAM533tP5w5rXbB/pozvaZVDf4ovHrr6HJjbSirLFBUB7eAKUFQDUTf bbKinTCSgvnU9jUNHD9IO1oOfjhmy1+slR6Q6gRm+wIq X-Google-Smtp-Source: ABdhPJz+AbDzC7DzvEqvfeVZSJDeXTzqi6pl9AXvDQN8ZfXzyoTgCcKzXt7GxD47TfEvvZN9RO9WVPmYBDcRVYrxBa8= X-Received: by 2002:adf:ee0d:: with SMTP id y13mr1270236wrn.228.1612471261649; Thu, 04 Feb 2021 12:41:01 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Thu, 4 Feb 2021 20:40:51 +0000 Message-ID: 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" X-getmail-retrieved-from-mailbox: Patches Hi Guix team! I've cleaned up the patch a little bit and removed most of the CMake flags as they are picked up when I add most of the dependencies in `inputs' From d4edcdcd71cc2c47caf2511abeb1bf153434d25c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 4 Feb 2021 20:36:32 +0000 Subject: [PATCH] gnu: Add plplot * gnu/packages/maths.scm (plplot): New variable --- gnu/packages/maths.scm | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index eff1480e62..cfc57734da 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -107,6 +107,7 @@ #:use-module (gnu packages llvm) #:use-module (gnu packages logging) #:use-module (gnu packages lua) + #:use-module (gnu packages geo) #:use-module (gnu packages gnome) #:use-module (gnu packages guile) #:use-module (gnu packages xorg) @@ -131,6 +132,7 @@ #:use-module (gnu packages tbb) #:use-module (gnu packages scheme) #:use-module (gnu packages shells) + #:use-module (gnu packages swig) #:use-module (gnu packages tcl) #:use-module (gnu packages texinfo) #:use-module (gnu packages tex) @@ -954,6 +956,64 @@ plotting engine by third-party applications like Octave.") (license (license:fsf-free "http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright")))) +(define-public plplot + ;; TODO: (Sharlatan-20210204T203350+0000): It needs to be split int some other + ;; logical package like plplot-gtk plplot-qt plplot-minimal etc. For now I try + ;; to include as much bindings as I could achieve. + (package + (name "plplot") + (version "5.15.0") + (source + (origin + (method git-fetch) + (uri (git-reference + ;; Official mirror in case Sourseforge blocks access + ;; (url "https://github.com/PLplot/PLplot") + (url "https://git.code.sf.net/p/plplot/plplot") + (commit (string-append name "-" version)))) + (sha256 + (base32 "0fn9j251zv9pwlqy30yv4flwcd0cbyxd1nn388n1k158jycw2i91")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + ;; NOTE: (Sharlatan-20210204T120351+0000): Tests failing on examples_cxx + `(#:tests? #f + #:configure-flags + (let ((out (assoc-ref %outputs "out"))) + (list + ;; "-DBUILD_TEST=ON" + "-DENABLE_wxwidgets=ON" + "-DCMAKE_BUILD_TYPE=Release" + "-DCMAKE_SKIP_BUILD_RPATH=OFF" + (string-append "-DCMAKE_INSTALL_LIBDIR=" out "/lib") + (string-append "-DCMAKE_INSTALL_PREFIX=" out))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("swig" ,swig))) + (inputs + `(("freetype", freetype) + ("gfortran" ,gfortran) + ("libltdl" ,libltdl) + ("lua", lua) + ("numpy", python-numpy) + ("octave", octave) + ("pango" ,pango) + ("perl", perl) + ("python", python) + ("qhull" ,qhull) + ("shapelib" ,shapelib) + ("tcl", tcl) + ("tk", tk) + ("wxwidgets" ,wxwidgets) + ("xml-dom" ,perl-xml-dom) + ("xml-dom" ,perl-xml-parser))) + (home-page "http://plplot.org/") + (synopsis "Scientific graphics plotting library") + (description + "PLplot is a cross-platform software package for creating scientific plots +whose (UTF-8) plot symbols and text.") + (license license:lgpl2.0))) ; Other terms are in Copyright file + (define-public gctp (package (name "gctp") -- 2.30.0