From patchwork Tue Mar 19 13:50:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zac Berkowitz X-Patchwork-Id: 61982 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 78B6B27BBE2; Tue, 19 Mar 2024 13:51:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, 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 391D227BBEA for ; Tue, 19 Mar 2024 13:51:33 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmZsE-00037V-KK; Tue, 19 Mar 2024 09:51:27 -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 1rmZsC-00037C-78 for guix-patches@gnu.org; Tue, 19 Mar 2024 09:51:24 -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 1rmZsB-0005Ng-Ub for guix-patches@gnu.org; Tue, 19 Mar 2024 09:51:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmZso-0001qy-Is for guix-patches@gnu.org; Tue, 19 Mar 2024 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69898] [PATCH] gnu: qtserialport: Update to 6.5.2 Resent-From: Zac Berkowitz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69898 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69898@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17108563087060 (code B ref -1); Tue, 19 Mar 2024 13:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Mar 2024 13:51:48 +0000 Received: from localhost ([127.0.0.1]:49483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmZsY-0001pn-Ro for submit@debbugs.gnu.org; Tue, 19 Mar 2024 09:51:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:36252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmZsU-0001p2-QP for submit@debbugs.gnu.org; Tue, 19 Mar 2024 09:51:45 -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 1rmZrr-00032j-Ow for guix-patches@gnu.org; Tue, 19 Mar 2024 09:51:03 -0400 Received: from mail-yw1-x112e.google.com ([2607:f8b0:4864:20::112e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmZrp-0005MR-FC for guix-patches@gnu.org; Tue, 19 Mar 2024 09:51:03 -0400 Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-60cbcd04de8so38563577b3.0 for ; Tue, 19 Mar 2024 06:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710856259; x=1711461059; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yMOypv/ZYHEf+1sLWrk1XtDfuxmr9q1cSKhys7Q4F9U=; b=T4DkRdPL+q4Vv7Q8n6N13Uv5yalKMQ1LZ7dg889Z311Zslp8E2UMUwhdvJqtUu/a1B NqU3LUTVQNqZJkPjDY4v1pLhJQxRBkk/iFC1dj0Iv0h5QxlYeWCoU+eDlDlBCEvjaJSj +6thSC0ODyHmFGUm2/QslONWfAdKeTIDyiDJqgF5oEAiTtx1Y3b+Dh4IFFoXoPoVykQu n/r6wca+FNPbH86rLQNz/2uyYZ7wIzN+bC+jrKNR+DMzSABpc88viu7r8CKabYzQBDUP hgd7PRTsxvvFWgpimTCjsup4e8M7XKIYHZXe1Pi0U/fBPW9J3fpU612RNClcP4OpF4y+ TQJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710856259; x=1711461059; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yMOypv/ZYHEf+1sLWrk1XtDfuxmr9q1cSKhys7Q4F9U=; b=oodrkioZ2TIXgyDluGVO0Q/zr7UAZYPGiPOfVIKfwU+B0nC90kezan9gziMRpgkzrC krF4d69gcUhq9fYQ+Gg+aFiytoxM8Uw1GZySPHPMKzv5Uyv1Y72tbfyaXbD+gBoq5BiQ TmS9XhKqAuqyGRz67WmdhiFMByRp5WcvmdnRksI5ao8BV+mtecj7+4pZEhZfOx+5csQd 4ZXnqX43lGTBXfcGV63kCYO77VVCbd0n9MUnMv31jhTCTvefekJmx6SiS1XfM5kN2pSG KpGvJvDH6aMeenBHIzAKa6IS9W4DJJPI0X/3NQrBCN7vZN7u8oiyiFaYMTIKMloq0+cn wX3w== X-Gm-Message-State: AOJu0YwTfoFNYGAMW9KRC4VYvyPpgeXxg3rq8RmTZLhoCnCbd4e+Rabh GVCuXoIZhY4fTGQv+aqwD0DDKfAIh+0QBg3KIOazkBZyByA3m+Y0fAWsgMcAxcjKccgctKDwmRI di2HEHUI/ktKmFUFibZ3TBnbCbHWn20rD9IA= X-Google-Smtp-Source: AGHT+IG0YPImfVhWLteJKKytukHAf6dDsmfouz4snv3iWksjEtjlr80Ub+7q2cCcy84xC0XxaXRvam41224HOJ7EtLY= X-Received: by 2002:a81:8308:0:b0:610:20d8:303c with SMTP id t8-20020a818308000000b0061020d8303cmr1592103ywf.23.1710856259304; Tue, 19 Mar 2024 06:50:59 -0700 (PDT) MIME-Version: 1.0 From: Zac Berkowitz Date: Tue, 19 Mar 2024 09:50:48 -0400 Message-ID: Received-SPF: pass client-ip=2607:f8b0:4864:20::112e; envelope-from=zac.berkowitz@gmail.com; helo=mail-yw1-x112e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_DOTEDU=1 autolearn=no autolearn_force=no X-Spam_action: no action 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 Renames Qt5-based qtserialport to qtserialport-5 and updates qtserialport to Qt6 branch. All existing packages pulling qtserialport have been redirected to qtserialport-5 * gnu/packages/qt.scm (qtserialport): Update to 6.5.2 * gnu/packages/qt.scm (qtserialport-5): Rename variable for Qt5 * gnu/packages/engineering.scm (fritzing, candle): Use qtserialport-5 definition * gnu/packages/geo.scm (qgis): Use qtserialport-5 * gnu/packages/kde-utils.scm (atelier, libatcore): Use qtserialport-5 * gnu/packages/qt.scm (qtserialbus, qtlocation, python-pyqt): Use qtserialport-5 * gnu/packages/radio.scm (wsjtx, jtdx, js8call, sdrangel, wfview, qdmr): Use qtserialport-5 From da0cf7361a97b3b2183de3c652e03106cdd0a265 Mon Sep 17 00:00:00 2001 Message-ID: From: Zac Berkowitz Date: Mon, 18 Mar 2024 12:02:40 -0400 Subject: [PATCH] gnu: qtserialport: Update to 6.5.2 * gnu/packages/qt.scm (qtserialport): Update to 6.5.2 * gnu/packages/qt.scm (qtserialport-5): Rename variable for Qt5 * gnu/packages/engineering.scm (fritzing, candle): Use qtserialport-5 definition * gnu/packages/geo.scm (qgis): Use qtserialport-5 * gnu/packages/kde-utils.scm (atelier, libatcore): Use qtserialport-5 * gnu/packages/qt.scm (qtserialbus, qtlocation, python-pyqt): Use qtserialport-5 * gnu/packages/radio.scm (wsjtx, jtdx, js8call, sdrangel, wfview, qdmr): Use qtserialport-5 Change-Id: I8e0c8d2408ea0bf776b2efe58e23821cb653363c --- gnu/packages/astronomy.scm | 4 ++-- gnu/packages/engineering.scm | 6 ++---- gnu/packages/geo.scm | 2 +- gnu/packages/kde-utils.scm | 4 ++-- gnu/packages/qt.scm | 28 ++++++++++++++++++++++++---- gnu/packages/radio.scm | 14 ++++++-------- 6 files changed, 37 insertions(+), 21 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index d7747f051d..74c9a60bf2 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1370,7 +1370,7 @@ (define-public stellarium "-DENABLE_QT6=0" "-DENABLE_TESTING=0" (string-append "-DCMAKE_CXX_FLAGS=-isystem " - #$(this-package-input "qtserialport") "/include/qt5")) + #$(this-package-input "qtserialport-5") "/include/qt5")) #:phases #~(modify-phases %standard-phases (add-before 'check 'set-offscreen-display @@ -1390,7 +1390,7 @@ (define-public stellarium qtmultimedia-5 qtpositioning qtscript - qtserialport + qtserialport-5 qttranslations qtwebengine-5 qxlsx-qt5 diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index ae287cf51b..00da7ada69 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -765,9 +765,7 @@ (define-public fritzing (list boost libgit2 qtbase-5 - ;; TODO: Needs to be renamed to qtserialport-5. when version 6 is - ;; packed. - qtserialport + qtserialport-5 qtsvg-5 zlib)) (home-page "https://fritzing.org") @@ -4257,7 +4255,7 @@ (define-public candle "08rqhl6a5a8s67a8yl16944zgcsnnb08xfv4klzyqwlvaqgfp783")))) (build-system gnu-build-system) (native-inputs (list qttools-5)) - (inputs (list qtbase-5 qtserialport)) + (inputs (list qtbase-5 qtserialport-5)) (arguments (list #:tests? #f ; no tests. #:phases #~(modify-phases %standard-phases diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 687effcace..76d2ce83d5 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -2978,7 +2978,7 @@ (define-public qgis qtkeychain qtlocation qtmultimedia-5 - qtserialport + qtserialport-5 qtsvg-5 qwt ;; saga diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index 4e665da599..f2ae4200da 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -151,7 +151,7 @@ (define-public atelier qtcharts qtdeclarative-5 qtmultimedia-5 - qtserialport)) + qtserialport-5)) (home-page "https://atelier.kde.org") (synopsis "Desktop interface to control 3D printers powered by AtCore") (description "Atelier provides interface to control and manage your printer. @@ -728,7 +728,7 @@ (define-public libatcore "1830r6ylpn3l7y2frl8cih5cpjgbkfrib9jq7jklf8aszhlsihf2")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) - (inputs (list qtcharts qtdeclarative-5 qtserialport)) + (inputs (list qtcharts qtdeclarative-5 qtserialport-5)) (home-page "https://invent.kde.org/libraries/atcore") (synopsis "Library for connection and management of 3D printers") (description diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 9df49d7fb3..84b22c2e54 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1,3 +1,4 @@ + ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2023 Andreas Enge ;;; Copyright © 2015 Sou Bunnbu @@ -1916,7 +1917,7 @@ (define-public qtwayland (home-page (package-home-page qtbase)) (license (package-license qtbase)))) -(define-public qtserialport +(define-public qtserialport-5 (package (inherit qtsvg-5) (name "qtserialport") @@ -1947,6 +1948,25 @@ (define-public qtserialport (description "The Qt Serial Port module provides the library for interacting with serial ports from within Qt."))) +(define-public qtserialport + (package + (name "qtserialport") + (version "6.5.2") + (source + (origin + (method url-fetch) + (uri (qt-url name version)) + (sha256 + (base32 "17nc5kmha6fy3vzkxfr2gxyzdsahs1x66d5lhcqk0szak8b58g06")))) + (build-system cmake-build-system) + (native-inputs (list pkg-config)) + (inputs (list qtbase eudev)) + (home-page (package-home-page qtbase)) + (synopsis "Qt Serial Port module") + (description "The Qt Serial Port module provides the library for +interacting with serial ports from within Qt.") + (license (package-license qtbase)))) + (define-public qtserialbus (package (inherit qtsvg-5) @@ -1969,7 +1989,7 @@ (define-public qtserialbus (format #f "QStringLiteral(~s)" (search-input-file inputs "lib/libsocketcan.so")))))))))) - (inputs (list libsocketcan qtbase-5 qtserialport)) + (inputs (list libsocketcan qtbase-5 qtserialport-5)) (synopsis "Qt Serial Bus module") (description "The Qt Serial Bus API provides classes and functions to access the various industrial serial buses and protocols, such as CAN, ModBus, @@ -2120,7 +2140,7 @@ (define-public qtlocation (add-before 'check 'pre-check (lambda _ (setenv "HOME" "/tmp"))))))) - (native-inputs (list perl qtdeclarative-5 qtquickcontrols-5 qtserialport)) + (native-inputs (list perl qtdeclarative-5 qtquickcontrols-5 qtserialport-5)) (inputs (list icu4c openssl qtbase-5 zlib)) (synopsis "Qt Location and Positioning modules") (description "The Qt Location module provides an interface for location, @@ -3685,7 +3705,7 @@ (define-public python-pyqt ("qtlocation" ,qtlocation) ("qtmultimedia-5" ,qtmultimedia-5) ("qtsensors" ,qtsensors) - ("qtserialport" ,qtserialport) + ("qtserialport" ,qtserialport-5) ("qtsvg-5" ,qtsvg-5) ("qttools-5" ,qttools-5) ("qtwebchannel-5" ,qtwebchannel-5) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 9c8225d22b..e3af437c6f 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1683,7 +1683,7 @@ (define-public wsjtx libusb qtbase-5 qtmultimedia-5 - qtserialport + qtserialport-5 wsjtx-hamlib)) (home-page "https://www.physics.princeton.edu/pulsar/k1jt/wsjtx.html") (synopsis "Weak-signal ham radio communication program") @@ -1721,7 +1721,7 @@ (define-public jtdx qtbase-5 qtwebsockets-5 qtmultimedia-5 - qtserialport)) + qtserialport-5)) (arguments `(#:tests? #f)) ; No test suite (synopsis "Weak-signal ham radio communication program, forked from WSJTX") @@ -1798,7 +1798,7 @@ (define-public js8call libusb qtbase-5 qtmultimedia-5 - qtserialport + qtserialport-5 wsjtx-hamlib)) (home-page "http://js8call.com/") (synopsis "Weak-signal ham radio communication program") @@ -2670,7 +2670,7 @@ (define-public sdrangel qtlocation qtmultimedia-5 qtquickcontrols2-5 - qtserialport + qtserialport-5 qtspeech qtwebchannel-5 qtwebengine-5 @@ -2850,9 +2850,7 @@ (define-public wfview qtgamepad qtbase-5 qtmultimedia-5 - ;; TODO: Needs to be renamed to qtserialport-5. when version 6 is - ;; packed. - qtserialport + qtserialport-5 rtaudio)) (home-page "https://wfview.org/") (synopsis "Software to control Icom radios") @@ -3221,7 +3219,7 @@ (define-public qdmr (substitute* "lib/CMakeLists.txt" (("(DESTINATION \")/etc/udev/" _ directive) (string-append directive #$output "/lib/udev/")))))))) - (inputs (list libusb qtbase-5 qtlocation qtserialport yaml-cpp)) + (inputs (list libusb qtbase-5 qtlocation qtserialport-5 yaml-cpp)) (native-inputs (list qttools-5)) (home-page "https://dm3mat.darc.de/qdmr/") (synopsis "GUI application and command line tool to program DMR radios") base-commit: c8556379c3f2d3d095a178858915720f2eebc012 -- 2.41.0