GNU bug report logs - #77508
[PATCH] gnu: Add meteo-qt.

Previous Next

Package: guix-patches;

Reported by: Andrew Wong <wongandj <at> icloud.com>

Date: Thu, 3 Apr 2025 21:08:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77508: closed ([PATCH] gnu: Add meteo-qt.)
Date: Mon, 14 Apr 2025 13:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 14 Apr 2025 15:04:58 +0200
with message-id <Z_0H-orpBDsn1pHy <at> jurong>
and subject line Re: [PATCH] gnu: Add meteo-qt.
has caused the debbugs.gnu.org bug report #77508,
regarding [PATCH] gnu: Add meteo-qt.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77508: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77508
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrew Wong <wongandj <at> icloud.com>
To: guix-patches <at> gnu.org
Cc: Andrew Wong <wongandj <at> icloud.com>
Subject: [PATCH] gnu: Add meteo-qt.
Date: Thu,  3 Apr 2025 17:06:08 -0400
* 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 <mail <at> nicolasgoaziou.fr>
+;;; Copyright © 2025 Andrew Wong <wongandj <at> icloud.com>
 ;;;
 ;;; 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



[Message part 3 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: Andrew Wong <wongandj <at> icloud.com>
Cc: 77508-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add meteo-qt.
Date: Mon, 14 Apr 2025 15:04:58 +0200
Pushed, thanks!

Andreas



This bug report was last modified 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.