From patchwork Thu Apr 29 16:15:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 28983 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 1CF8B27BC7D; Thu, 29 Apr 2021 17:19:13 +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 9146A27BC7C for ; Thu, 29 Apr 2021 17:19:12 +0100 (BST) Received: from localhost ([::1]:49322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lc9Nf-0002iU-Jj for patchwork@mira.cbaines.net; Thu, 29 Apr 2021 12:19:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lc9Lb-0001ab-T7 for guix-patches@gnu.org; Thu, 29 Apr 2021 12:17:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lc9La-0001Us-T5 for guix-patches@gnu.org; Thu, 29 Apr 2021 12:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lc9La-0002dl-Oz for guix-patches@gnu.org; Thu, 29 Apr 2021 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48074] [PATCH v2 2/2] gnu: Add labplot. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Apr 2021 16:17:02 +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.161971300410111 (code B ref 48074); Thu, 29 Apr 2021 16:17:02 +0000 Received: (at 48074) by debbugs.gnu.org; 29 Apr 2021 16:16:44 +0000 Received: from localhost ([127.0.0.1]:56675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lc9LE-0002cy-M5 for submit@debbugs.gnu.org; Thu, 29 Apr 2021 12:16:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lc9LC-0002ce-Q3 for 48074@debbugs.gnu.org; Thu, 29 Apr 2021 12:16:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B98D22400FE for <48074@debbugs.gnu.org>; Thu, 29 Apr 2021 18:16:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619712992; bh=f37LtnFzJsXlXB7E015DtzjF7ke29pT5Fy7xNURrb5U=; h=From:To:Cc:Subject:Date:From; b=hDmuX/dIVMRoSxWOj81FwySbQMn6A1yvyU4jsp77+jyrz+Vn4yL94gH/BNDQlWu/j PQqEqrDql8SwWJRlv0drrb5f/lArolpRh1eP20s6SHMDJ2fy8urv1GE5/avd1lNwmO Mek0pNmKlHv7DST8WtvkwOFk4Ch5WnoFIIKaTKAuj/XvbDZzxIqjjGLeZk1LTG7Nn8 KIM2ja2jghKeN+bu2SDOO4kTgzVrdo4EPDj642Ywn1tuFQvZreP7qQWCcP8dCG4i9s OupEeEIUqYfR2t3SyZJf15ieKBrrbSglHvn1aBEX3R0SOi8skA4PajyKGGiYV191DO yvgce/mxpFxrg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FWLGk5DCtz9rxM; Thu, 29 Apr 2021 18:16:30 +0200 (CEST) From: Vinicius Monego Date: Thu, 29 Apr 2021 16:15:53 +0000 Message-Id: <20210429161553.21470-2-monego@posteo.net> In-Reply-To: <20210429161553.21470-1-monego@posteo.net> References: <20210429161553.21470-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. --- 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 ;;; 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,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")