From patchwork Wed Apr 28 00:14:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 28957 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 EBE6927BC7E; Wed, 28 Apr 2021 01:16:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED 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 657BC27BC7C for ; Wed, 28 Apr 2021 01:16:09 +0100 (BST) Received: from localhost ([::1]:51522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbXs8-0003OR-LC for patchwork@mira.cbaines.net; Tue, 27 Apr 2021 20:16:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbXs2-0003OL-IK for guix-patches@gnu.org; Tue, 27 Apr 2021 20:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbXs2-0006X3-49 for guix-patches@gnu.org; Tue, 27 Apr 2021 20:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbXs1-00048Z-Vs for guix-patches@gnu.org; Tue, 27 Apr 2021 20:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48074] [PATCH 2/2] gnu: Add labplot. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Apr 2021 00:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48074@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48074-submit@debbugs.gnu.org id=B48074.161956892115834 (code B ref 48074); Wed, 28 Apr 2021 00:16:01 +0000 Received: (at 48074) by debbugs.gnu.org; 28 Apr 2021 00:15:21 +0000 Received: from localhost ([127.0.0.1]:51300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbXrN-00047J-3n for submit@debbugs.gnu.org; Tue, 27 Apr 2021 20:15:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbXrJ-00046r-1k for 48074@debbugs.gnu.org; Tue, 27 Apr 2021 20:15:17 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 89F83240026 for <48074@debbugs.gnu.org>; Wed, 28 Apr 2021 02:15:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619568911; bh=T8EJqC/l2JxANRhrQhVmHs2q6UPOeFk/1R/ZuUJibs8=; h=From:To:Cc:Subject:Date:From; b=JrJ+OmK8WvlNwB9+j1F8GNyggFZtUooQung+2TAW7L0tlpEkJ8wYndC8K8UWRZvdL Z0H55yASXCOsxoxoqK1B2PSgwCLfwMa4DZ+omkWrgXeVHrQSfBjdeQt3HoRyrI5Hfx EarduRPWC4+7/cILuR5PLm5ePogGKmQm4ZOQJ+v/bWmg6sEkpd/nX5biUA0Gk7Lzc3 LTobsa75CwBW+s89Cl8Chl+iWyTfvbFs2OLB6WlJl6tTq/+pu8Deyq4JioJ6gGghDP bHAk324LSVpzWYbPbv30IS4iYEEPIeEAvQ2VrtJEQtfKZh3bty3E/BjZdMMB2gjjU6 2Mwa8NRUGC4XA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FVJzy1XNtz9rxH; Wed, 28 Apr 2021 02:15:09 +0200 (CEST) From: Vinicius Monego Date: Wed, 28 Apr 2021 00:14:48 +0000 Message-Id: <20210428001448.312057-2-monego@posteo.net> In-Reply-To: <20210428001448.312057-1-monego@posteo.net> References: <20210428001448.312057-1-monego@posteo.net> MIME-Version: 1.0 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 * 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 ;;; Copyright © 2021 la snesne +;;; Copyright © 2021 Vinicius Monego ;;; ;;; 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")