From patchwork Wed Sep 18 01:43:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 X-Patchwork-Id: 68069 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 2AF0627BBEB; Wed, 18 Sep 2024 02:49:14 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED 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 74A7327BBEA for ; Wed, 18 Sep 2024 02:49:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqjoL-00064Z-Fo; Tue, 17 Sep 2024 21:48:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqjoG-00063a-VU for guix-patches@gnu.org; Tue, 17 Sep 2024 21:48:48 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqjoF-0000Hp-Ff for guix-patches@gnu.org; Tue, 17 Sep 2024 21:48:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=heAxVijgnkZzHe28w2UwNFjktgqRI12w3MmxVhgpKDU=; b=XGYqZ5Ba4W+wWAJEJITuP9mG0xSbcIF5m0wP/Fr7XnCauc9sTTMDMblt4V3md9hjyJlc0EIzAJl1i2oY/M4eEzd4b4sRUUcFmHOPyW7CpwyXGpr7jJe7Zw4Oa66tkjmnS/wDjf/IMi8RS/XtDyx/eUr2ayzkvxSyeS3qh0DPR1iA6i/d7+GZh4VfI8PemngdWY4H8RKHfJExs2n0ChDnOTZgS893fN18SegtQFByMmkQ0DUUMlLXSR7jHAmDMPuwNB6Jsz6gSWC1OzU8AdR7NLaGQmOf/s4GTS2rD649KgJQV9cwszslBSEae2NtUIP3XLdLb2z5v09tDW0veq2aFw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqjoU-0004Q8-Qx; Tue, 17 Sep 2024 21:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72835] [PATCH qt-team v2 43/74] gnu: Add qtcharts. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 01:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72835@debbugs.gnu.org Cc: Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Maxim Cournoyer , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 72835-submit@debbugs.gnu.org id=B72835.172662409616739 (code B ref 72835); Wed, 18 Sep 2024 01:49:02 +0000 Received: (at 72835) by debbugs.gnu.org; 18 Sep 2024 01:48:16 +0000 Received: from localhost ([127.0.0.1]:56528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqjnk-0004Lv-5b for submit@debbugs.gnu.org; Tue, 17 Sep 2024 21:48:16 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81]:58150 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqjnh-0004Kh-48 for 72835@debbugs.gnu.org; Tue, 17 Sep 2024 21:48:13 -0400 Received: from m.tailaa68d.ts.net (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowAAnL383MepmiKBWBA--.350S5; Wed, 18 Sep 2024 09:47:48 +0800 (CST) From: Zheng Junjie Date: Wed, 18 Sep 2024 09:43:25 +0800 Message-ID: <1a04955f8b97ea0e70629d6df04919335cb98b90.1726567073.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: rQCowAAnL383MepmiKBWBA--.350S5 X-Coremail-Antispam: 1UD129KBjvJXoW7WF1xtw1kZFyUCFyUZw4Dtwb_yoW8uFW3pF 4Fkw4aq3Z5GFyxA39IgF10krsxWan5Gr1UAw4fZw17Kws0vrW8Ary7CrW5Cr17Gr42y3W5 ua1rGa13uFy5GaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9qb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI 8067AKxVWUWwA2048vs2IY020Ec7CjxVAFwI0_Jrv_JF4l8cAvFVAK0II2c7xJM28CjxkF 64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8IcV CY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2 jsIEc7CjxVAFwI0_Cr1j6rxdM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64 kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1q6rW5McIj6I8E87Iv67AKxVWUJVW8JwAm 72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I3I 0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWU GVWUWwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI 0_Ar0_tr1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0 rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r 4UJbIYCTnIWIevJa73UjIFyTuYvjxUg89NDUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/qt.scm (qtcharts): New variable. Change-Id: Ibce8f69ff358a535e524fa58777ba4457f63255e --- gnu/packages/qt.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 80f5a87f92..653b90eb49 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2749,6 +2749,50 @@ (define-public qtcharts-5 graphs by selecting one of the charts themes.") (license license:gpl3))) +(define-public qtcharts + (package + (name "qtcharts") + (version "6.7.2") + (source (origin + (method url-fetch) + (uri (qt-url name version)) + (sha256 + (base32 + "1nlv4z2rvhrn1f1f7n6qdag7lmkpl3idnj6ph572qzwb8lvs9xh0")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DQT_BUILD_TESTS=ON") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-display + (lambda _ + ;; Make Qt render "offscreen", required for tests. + (setenv "QT_QPA_PLATFORM" "offscreen"))) + (add-after 'install 'delete-installed-tests + (lambda _ + (delete-file-recursively (string-append #$output "/tests")))) + (delete 'check) ;; move after the install phase + (add-after 'install 'check + (assoc-ref %standard-phases 'check)) + (add-before 'check 'set-QML_IMPORT_PATH + (lambda _ + (setenv + "QML_IMPORT_PATH" + (string-append #$output "/lib/qt6/qml:" + (getenv "QML_IMPORT_PATH")))))))) + (native-inputs + (list perl pkg-config qtdeclarative)) + (inputs (list qtbase qtdeclarative)) + (synopsis "Qt Charts module") + (description "The Qt Charts module provides a set of easy to use chart +components. It uses the Qt Graphics View Framework, therefore charts can be +easily integrated to modern user interfaces. Qt Charts can be used as +QWidgets, QGraphicsWidget, or QML types. Users can easily create impressive +graphs by selecting one of the charts themes.") + (home-page (package-home-page qtbase)) + (license (package-license qtbase)))) + (define-public qtdatavis3d (package (inherit qtsvg-5)