guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: lxqt-admin: Fix path for timezone file.


From: guix-commits
Subject: branch master updated: gnu: lxqt-admin: Fix path for timezone file.
Date: Tue, 07 Feb 2023 20:43:05 -0500

This is an automated email from the git hooks/post-receive script.

iyzsong pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 99c1c7a30c gnu: lxqt-admin: Fix path for timezone file.
99c1c7a30c is described below

commit 99c1c7a30c59c3514a4ced6e0cad0e5c2860331d
Author: Reza Alizadeh Majd <r.majd@pantherx.org>
AuthorDate: Wed Feb 8 09:40:05 2023 +0800

    gnu: lxqt-admin: Fix path for timezone file.
    
    * gnu/packages/lxqt.scm (lxqt-admin)[arguments]: Update hardcoded path
    for zone.tab to point to tzdata reference.
    
    Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
 gnu/packages/lxqt.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index dde87382e8..5b39f0e9f4 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -39,6 +39,7 @@
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages base)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages compton)
@@ -320,7 +321,8 @@ LXQt and the system it's running on.")
            libqtxdg
            polkit-qt
            qtsvg-5
-           qtx11extras))
+           qtx11extras
+           tzdata))
     (native-inputs
      (list lxqt-build-tools qttools-5))
     (arguments
@@ -328,12 +330,14 @@ LXQt and the system it's running on.")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-source
-           (lambda _
+           (lambda* (#:key inputs #:allow-other-keys)
              (substitute* '("lxqt-admin-user/CMakeLists.txt"
                             "lxqt-admin-time/CMakeLists.txt")
                (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
                 "DESTINATION \"share/polkit-1/actions"))
-             #t)))))
+             (substitute* '("lxqt-admin-time/timeadmindialog.cpp")
+               (("/usr/share/zoneinfo/zone.tab")
+                (search-input-file inputs "share/zoneinfo/zone.tab"))))))))
     (home-page "https://lxqt-project.org";)
     (synopsis "LXQt system administration tool")
     (description "lxqt-admin is providing two GUI tools to adjust settings of



reply via email to

[Prev in Thread] Current Thread [Next in Thread]