From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0KLLB9UnnmBlVQEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 09:33:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8Bl1A9UnnmBvXgAAbx9fmQ (envelope-from ) for ; Fri, 14 May 2021 07:33:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8086D1B168 for ; Fri, 14 May 2021 09:33:40 +0200 (CEST) Received: from localhost ([::1]:55858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhSKJ-0000WR-LA for larch@yhetil.org; Fri, 14 May 2021 03:33:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhSJi-0000W9-RA for guix-patches@gnu.org; Fri, 14 May 2021 03:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhSJi-00082x-Jb for guix-patches@gnu.org; Fri, 14 May 2021 03:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhSJi-0007T2-Gt for guix-patches@gnu.org; Fri, 14 May 2021 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48411] [PATCH 1/2] gnu: Add qcustomplot. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 May 2021 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48411 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48411@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 48411-submit@debbugs.gnu.org id=B48411.162097753728638 (code B ref 48411); Fri, 14 May 2021 07:33:02 +0000 Received: (at 48411) by debbugs.gnu.org; 14 May 2021 07:32:17 +0000 Received: from localhost ([127.0.0.1]:44859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhSIy-0007Rq-Kk for submit@debbugs.gnu.org; Fri, 14 May 2021 03:32:16 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhSIv-0007Rb-O0 for 48411@debbugs.gnu.org; Fri, 14 May 2021 03:32:15 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 50FB22400FC for <48411@debbugs.gnu.org>; Fri, 14 May 2021 09:32:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620977527; bh=ncY06xcPmlXmSezQ8bDoildYYVAbRFNvTYFwJX+IzgE=; h=From:To:Cc:Subject:Date:From; b=oe1sbf3NqdKEcho9yt/7BboyQd9T8xyT/5XF/WOAqeZGBp7nMKYA6IVJxARvARONG dU2VsbTmEIt/g/9AcgKTOqxRo8RhoPacJilG+F0pnDgeQc0KqEKPyqWMJFCJwRpfcv fWEcRBQftBafxD6xHe5WSN65UzMnjzIdd9urGghoucwv7lX8O4m+HTge6qyG2LSgrl vqVkDIUB3XmcxHpmyPT6KOtP9xVJ0pO9UtD9WIM3N3719w20nVdeWk5UibaUDJbMPS uIYwPnRl0qpM3trMcVNk6H4zKyfU606kS7vTMWEJPcQ5WIUUh5KGwgC6ak14yPayLW Y/lL7gJCsIHZA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FhKwk38X0z6tmL; Fri, 14 May 2021 09:32:05 +0200 (CEST) From: Guillaume Le Vaillant Date: Fri, 14 May 2021 07:31:38 +0000 Message-Id: <20210514073139.5906-1-glv@posteo.net> In-Reply-To: <87h7j5hj1f.fsf@kitej> References: <87h7j5hj1f.fsf@kitej> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620977620; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SRjcFRDk+ZErCXVloqwqv7k4Tce/5gjJ1wRNnXv5xp0=; b=KYJ8wrHCEXyoJqljaYSfWmiMlOoC8GueQSqUsm7RUHk/Bxig3smfJV2GanpYbumfw6GxRJ MgcWfi5j0r7Uf6DoVMxX0fSWGNo3CJGxZZp4eKW+N08BTG/Ia2dFbsZNR9oEOUmlqImLrC f6qFdrJRS//8IKNJAwpVAirSqBq5X7jtWRZKE7vR2fdMleryK3woxZcdQEE35jxUGtMpra 2qG8TbEXBBMmnlU4t7lKRhwUVGAtP8+ySO7oJpJOQINteQrBbZ+Q5EA1U8s5DFOwhi/TEL vbsWc5O7xoXgVDbebOvg++3zjiOSb2JKv6NDN7Ooqy4wQGFx/9UMWYvhfDqktg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620977620; a=rsa-sha256; cv=none; b=Tru7PV6cVGSwiRWPSbXw2y2XvsJBW5jPru6/+gfwBD4NPxeb5dos47erLAQDioIqRxgdk8 yIYe5sroDRqWSUCemt0T6EUsv/NRG7KJjSswNoSoFdxgdgp5OdDodnp7gnPqRiLGVj3aUX e+VHfxwnFK2NM1MM2Z1QLam1/uFvZwtySPkYSxO0g8+AKJAHR31xrvsHcT2kuxFzgg1rff MSCdXlMTeX54mzKYCcHacbJxQ7aw0hnO1niqV4nKToZacfV8CXOn28knu2TgY0ASPSanEB iyc4pv/JfROMlcxN7PXy045ChtRFermo4CrbKPZUgkRlm1zAMkXd96pI6nED8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=oe1sbf3N; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=oe1sbf3N; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8086D1B168 X-Spam-Score: -0.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: a3VyjTw+TER1 * gnu/packages/qt.scm (qcustomplot): New variable. --- gnu/packages/qt.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index b206deaeba..55855fb68a 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Maxim Cournoyer ;;; Copyright © 2021 Brendan Tildesley +;;; Copyright © 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -2604,6 +2605,56 @@ color-related widgets.") ;; Includes a license exception for combining with GPL2 code. (license license:lgpl3+)))) +(define-public qcustomplot + (package + (name "qcustomplot") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.qcustomplot.com/release/" + version "fixed" "/QCustomPlot.tar.gz")) + (sha256 + (base32 "1324kqyj1v1f8k8d7b15gc3apwz9qxx52p86hvchg33hjdlqhskx")))) + (native-inputs + `(("qcustomplot-sharedlib" + ,(origin + (method url-fetch) + (uri (string-append "https://www.qcustomplot.com/release/" + version "fixed" "/QCustomPlot-sharedlib.tar.gz")) + (sha256 + (base32 "0vp8lpxvd1nlp4liqrlvslpqrgfn0wpiwizzdsjbj22zzb8vxikc")))))) + (inputs + `(("qtbase" ,qtbase))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-extra-files + (lambda* (#:key inputs #:allow-other-keys) + (invoke "tar" "-xvf" (assoc-ref inputs "qcustomplot-sharedlib")))) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (chdir "qcustomplot-sharedlib/sharedlib-compilation") + (substitute* "sharedlib-compilation.pro" + ;; Don't build debug library. + (("debug_and_release") + "release")) + (invoke "qmake" + (string-append "DESTDIR=" + (assoc-ref outputs "out") + "/lib")))) + (add-after 'install 'install-header + (lambda* (#:key outputs #:allow-other-keys) + (install-file "../../qcustomplot.h" + (string-append (assoc-ref outputs "out") + "/include"))))))) + (home-page "https://www.qcustomplot.com/") + (synopsis "Qt widget for plotting and data visualization") + (description + "QCustomPlot is a Qt C++ widget providing 2D plots, graphs and charts.") + (license license:gpl3+))) + (define-public python-shiboken-2 (package (name "python-shiboken-2") -- 2.31.1