GNU bug report logs - #61316
[PATCH] gnu: lxqt-admin: Fix path for timezone file

Previous Next

Package: guix-patches;

Reported by: Reza Alizadeh Majd <r.majd <at> pantherx.org>

Date: Mon, 6 Feb 2023 07:00:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

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: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#61316: closed ([PATCH] gnu: lxqt-admin: Fix path for timezone
 file)
Date: Wed, 08 Feb 2023 01:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 08 Feb 2023 09:45:18 +0800
with message-id <87lel9exqp.fsf <at> envs.net>
and subject line Re: bug#61316: [PATCH] gnu: lxqt-admin: Fix path for timezone file
has caused the debbugs.gnu.org bug report #61316,
regarding [PATCH] gnu: lxqt-admin: Fix path for timezone file
to be marked as done.

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


-- 
61316: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61316
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Reza Alizadeh Majd <r.majd <at> pantherx.org>
To: guix-patches <at> gnu.org
Cc: Reza Alizadeh Majd <r.majd <at> pantherx.org>
Subject: [PATCH] gnu: lxqt-admin: Fix path for timezone file
Date: Mon,  6 Feb 2023 10:29:39 +0330
* gnu/packages/lxqt.scm (lxqt-admin)[arguments]: Update hardcoded path
  for zone.tab to point to tzdata reference.
---
 gnu/packages/lxqt.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index dde87382e8..b02c624f1c 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -320,7 +320,8 @@ (define-public lxqt-admin
            libqtxdg
            polkit-qt
            qtsvg-5
-           qtx11extras))
+           qtx11extras
+           tzdata))
     (native-inputs
      (list lxqt-build-tools qttools-5))
     (arguments
@@ -333,6 +334,10 @@ (define-public lxqt-admin
                             "lxqt-admin-time/CMakeLists.txt")
                (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
                 "DESTINATION \"share/polkit-1/actions"))
+             (substitute* '("lxqt-admin-time/timeadmindialog.cpp")
+               (("ZONETAB_PATH \"/usr")
+                (string-append "ZONETAB_PATH \"" 
+                               (assoc-ref %build-inputs "tzdata"))))
              #t)))))
     (home-page "https://lxqt-project.org")
     (synopsis "LXQt system administration tool")

base-commit: 34c7dd7e09fe714229a1ed723994c385d91bd457
-- 
2.38.1



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: Reza Alizadeh Majd <r.majd <at> pantherx.org>
Cc: 61316-done <at> debbugs.gnu.org
Subject: Re: bug#61316: [PATCH] gnu: lxqt-admin: Fix path for timezone file
Date: Wed, 08 Feb 2023 09:45:18 +0800
Reza Alizadeh Majd <r.majd <at> pantherx.org> writes:

> * gnu/packages/lxqt.scm (lxqt-admin)[arguments]: Update hardcoded path
>   for zone.tab to point to tzdata reference.

Hello, while the patch doesn't build, I have fix it and pushed a new one
to master.

Thank you!


This bug report was last modified 2 years and 105 days ago.

Previous Next


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