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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





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.