me
/
guix
Archived
1
0
Fork 0

Revert "gnu: lxqt-admin: Fix path for timezone file."

The timezone database should not be depended on by packages, but rather found at
runtime in the environment. Otherwise, this package will eventually report the
incorrect time, because time zones change regularly.

This reverts commit 99c1c7a30c.
master
Leo Famulari 2023-04-21 14:34:23 -04:00
parent 13ebf5e36c
commit 040d35f088
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 3 additions and 7 deletions

View File

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