From unknown Sat Jun 14 19:11:38 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77508] [PATCH] gnu: Add meteo-qt. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Apr 2025 21:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77508 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77508@debbugs.gnu.org Cc: Andrew Wong X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174371445118198 (code B ref -1); Thu, 03 Apr 2025 21:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 21:07:31 +0000 Received: from localhost ([127.0.0.1]:35948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0Rmd-0004jR-9v for submit@debbugs.gnu.org; Thu, 03 Apr 2025 17:07:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46520) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0Rmb-0004jC-0J for submit@debbugs.gnu.org; Thu, 03 Apr 2025 17:07:29 -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 1u0RmV-0004sE-GW for guix-patches@gnu.org; Thu, 03 Apr 2025 17:07:23 -0400 Received: from qs51p00im-qukt01072301.me.com ([17.57.155.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0RmT-0001dk-A9 for guix-patches@gnu.org; Thu, 03 Apr 2025 17:07:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=TTZ73StAVYy+P0jal3Zh0urfyqy+cQw0/tao35vd1sM=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:x-icloud-hme; b=vMhdxDncmSejaDw17cnYGC4SjtpFzcPob1FaBo8l7q/0+li52K7MloETBCPAuKTiQ TkJ6doi9PXzBHRuieAsFyHoD6q5dKn2uLyg2pHyxUa3AZYsfr1I3g9tX7mVZjJ4BcM cyIqCUWPu0BBY7obBA/bCU1eeyYSBqy04JCdRB4+ppKu1qlipLtf/BfYEjfgIYXlWi vjawvmMwhwyd9E+enIW05JFK5iK8t5h3ciMNeWL281JCeiXupNLqGSOlFQ32C/UvcQ dCHaeiJ5jBVOsT/zBzDWT9SuApSeT+2QZ8WBfBMixKY+nYwT44Axz6rXexrUJGHpxj sODEbDkQtsEKw== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072301.me.com (Postfix) with ESMTPSA id B00492540146; Thu, 3 Apr 2025 21:07:17 +0000 (UTC) From: Andrew Wong Date: Thu, 3 Apr 2025 17:06:08 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: C0Tj1vQ3-QrofJ20-dM8NXUEfAb3FVxN X-Proofpoint-GUID: C0Tj1vQ3-QrofJ20-dM8NXUEfAb3FVxN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-03_09,2025-04-03_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 spamscore=0 mlxscore=0 clxscore=1015 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2504030111 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 Received-SPF: pass client-ip=17.57.155.12; envelope-from=wongandj@icloud.com; helo=qs51p00im-qukt01072301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/weather.scm (meteo-qt): New variable. Change-Id: I2ba0a0612845659abfb917811866684eb46c3a80 --- gnu/packages/weather.scm | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/weather.scm b/gnu/packages/weather.scm index 1ee4569b27..2651c05035 100644 --- a/gnu/packages/weather.scm +++ b/gnu/packages/weather.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022, 2024 Nicolas Goaziou +;;; Copyright © 2025 Andrew Wong ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,12 +20,16 @@ (define-module (gnu packages weather) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system go) + #:use-module (guix build-system python) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) - #:use-module (gnu packages golang-xyz)) + #:use-module (gnu packages golang-xyz) + #:use-module (gnu packages qt) + #:use-module (gnu packages xml)) (define-public wego (package @@ -55,3 +60,36 @@ (define-public wego range---felt and measured---, wind speed and direction, viewing distance, precipitation amount and probability.") (license license:isc))) + +(define-public meteo-qt + (package + (name "meteo-qt") + (version "4.2") + (source + (origin (method git-fetch) + (uri (git-reference (url "https://github.com/dglent/meteo-qt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cvmh5rq50dncd2fmp4amjb2hhl2mryb2ywg0zdzhz89dkjq0kdk")))) + (build-system python-build-system) + (native-inputs (list python-pyqt-6)) + (propagated-inputs (list python-lxml python-pyqt-6 python-sip)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'build 'remove-translations + (lambda _ + ;; Translation processing is broken because Guix thinks lprodump + ;; is in qtbase, not qttools. So, we'll skip it and exclude + ;; qttools from the native input list until it is fixed. + (substitute* "setup.py" + (("/usr") #$output) + (("^.+lrelease-pro-qt6.+$") "") + (("^.+meteo_qt/translations.+$") ""))))))) + (home-page "https://github.com/dglent/meteo-qt") + (synopsis "Weather application for the system tray") + (description "meteo-qt is an application to display weather information in +desktop panels, desktop notifictions and its own window. Weather information is +retrieved from OpenWeatherMap.") + (license license:gpl3))) base-commit: 757763075d1251d9015a09200fbd73693cccab53 -- 2.49.0 From unknown Sat Jun 14 19:11:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andrew Wong Subject: bug#77508: closed (Re: [PATCH] gnu: Add meteo-qt.) Message-ID: References: X-Gnu-PR-Message: they-closed 77508 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 77508@debbugs.gnu.org Date: Mon, 14 Apr 2025 13:06:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1744635962-11385-1" This is a multi-part message in MIME format... ------------=_1744635962-11385-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77508: [PATCH] gnu: Add meteo-qt. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77508@debbugs.gnu.org. --=20 77508: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77508 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1744635962-11385-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77508-done) by debbugs.gnu.org; 14 Apr 2025 13:05:12 +0000 Received: from localhost ([127.0.0.1]:46318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4JUt-0002wD-Mq for submit@debbugs.gnu.org; Mon, 14 Apr 2025 09:05:11 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:47664) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4JUr-0002pw-U1 for 77508-done@debbugs.gnu.org; Mon, 14 Apr 2025 09:05:10 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0F2A6A8; Mon, 14 Apr 2025 15:05:02 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id 3zFeiM-ZX0Ji; Mon, 14 Apr 2025 15:05:01 +0200 (CEST) Received: from jurong (ver51-h01-176-173-17-142.dsl.sta.abo.bbox.fr [176.173.17.142]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C36BC5E; Mon, 14 Apr 2025 15:05:00 +0200 (CEST) Date: Mon, 14 Apr 2025 15:04:58 +0200 From: Andreas Enge To: Andrew Wong Subject: Re: [PATCH] gnu: Add meteo-qt. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 0F2A6A8 X-Spamd-Result: default: False [5.52 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_SPAM(3.00)[1.000]; BAYES_HAM(-2.88)[99.47%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[icloud.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVRCPT(0.00)[icloud.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Spamd-Bar: +++++ X-Rspamd-Action: greylist X-Rspamd-Server: hera X-Spam-Level: ***** X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77508-done Cc: 77508-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pushed, thanks! Andreas ------------=_1744635962-11385-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 21:07:31 +0000 Received: from localhost ([127.0.0.1]:35948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u0Rmd-0004jR-9v for submit@debbugs.gnu.org; Thu, 03 Apr 2025 17:07:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46520) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u0Rmb-0004jC-0J for submit@debbugs.gnu.org; Thu, 03 Apr 2025 17:07:29 -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 1u0RmV-0004sE-GW for guix-patches@gnu.org; Thu, 03 Apr 2025 17:07:23 -0400 Received: from qs51p00im-qukt01072301.me.com ([17.57.155.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0RmT-0001dk-A9 for guix-patches@gnu.org; Thu, 03 Apr 2025 17:07:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=TTZ73StAVYy+P0jal3Zh0urfyqy+cQw0/tao35vd1sM=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:x-icloud-hme; b=vMhdxDncmSejaDw17cnYGC4SjtpFzcPob1FaBo8l7q/0+li52K7MloETBCPAuKTiQ TkJ6doi9PXzBHRuieAsFyHoD6q5dKn2uLyg2pHyxUa3AZYsfr1I3g9tX7mVZjJ4BcM cyIqCUWPu0BBY7obBA/bCU1eeyYSBqy04JCdRB4+ppKu1qlipLtf/BfYEjfgIYXlWi vjawvmMwhwyd9E+enIW05JFK5iK8t5h3ciMNeWL281JCeiXupNLqGSOlFQ32C/UvcQ dCHaeiJ5jBVOsT/zBzDWT9SuApSeT+2QZ8WBfBMixKY+nYwT44Axz6rXexrUJGHpxj sODEbDkQtsEKw== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072301.me.com (Postfix) with ESMTPSA id B00492540146; Thu, 3 Apr 2025 21:07:17 +0000 (UTC) From: Andrew Wong To: guix-patches@gnu.org Subject: [PATCH] gnu: Add meteo-qt. Date: Thu, 3 Apr 2025 17:06:08 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: C0Tj1vQ3-QrofJ20-dM8NXUEfAb3FVxN X-Proofpoint-GUID: C0Tj1vQ3-QrofJ20-dM8NXUEfAb3FVxN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-03_09,2025-04-03_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 spamscore=0 mlxscore=0 clxscore=1015 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2504030111 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 Received-SPF: pass client-ip=17.57.155.12; envelope-from=wongandj@icloud.com; helo=qs51p00im-qukt01072301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Andrew Wong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/weather.scm (meteo-qt): New variable. Change-Id: I2ba0a0612845659abfb917811866684eb46c3a80 --- gnu/packages/weather.scm | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/weather.scm b/gnu/packages/weather.scm index 1ee4569b27..2651c05035 100644 --- a/gnu/packages/weather.scm +++ b/gnu/packages/weather.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022, 2024 Nicolas Goaziou +;;; Copyright © 2025 Andrew Wong ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,12 +20,16 @@ (define-module (gnu packages weather) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system go) + #:use-module (guix build-system python) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) - #:use-module (gnu packages golang-xyz)) + #:use-module (gnu packages golang-xyz) + #:use-module (gnu packages qt) + #:use-module (gnu packages xml)) (define-public wego (package @@ -55,3 +60,36 @@ (define-public wego range---felt and measured---, wind speed and direction, viewing distance, precipitation amount and probability.") (license license:isc))) + +(define-public meteo-qt + (package + (name "meteo-qt") + (version "4.2") + (source + (origin (method git-fetch) + (uri (git-reference (url "https://github.com/dglent/meteo-qt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cvmh5rq50dncd2fmp4amjb2hhl2mryb2ywg0zdzhz89dkjq0kdk")))) + (build-system python-build-system) + (native-inputs (list python-pyqt-6)) + (propagated-inputs (list python-lxml python-pyqt-6 python-sip)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'build 'remove-translations + (lambda _ + ;; Translation processing is broken because Guix thinks lprodump + ;; is in qtbase, not qttools. So, we'll skip it and exclude + ;; qttools from the native input list until it is fixed. + (substitute* "setup.py" + (("/usr") #$output) + (("^.+lrelease-pro-qt6.+$") "") + (("^.+meteo_qt/translations.+$") ""))))))) + (home-page "https://github.com/dglent/meteo-qt") + (synopsis "Weather application for the system tray") + (description "meteo-qt is an application to display weather information in +desktop panels, desktop notifictions and its own window. Weather information is +retrieved from OpenWeatherMap.") + (license license:gpl3))) base-commit: 757763075d1251d9015a09200fbd73693cccab53 -- 2.49.0 ------------=_1744635962-11385-1--