mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: kinfocenter: Update to 6.2.5.
* gnu/packages/kde-plasma.scm (kinfocenter): Update to 6.2.5. [inputs]: Add bash-minimal and fwupd. [arguments]<#:phases>: Adjust set-path phase. Change-Id: I37b1718d3dbeb97d0ff5f69f7695ed26963d7a4d * gnu/packages/kde-plasma.scm (kinfocenter): Update to 6.2.5. Change-Id: I18ae6638f49cab8a4ad903e7074d5b73ad494ebd
This commit is contained in:
parent
7473fba946
commit
ea80d51580
1 changed files with 21 additions and 6 deletions
|
@ -716,14 +716,14 @@ (define-public kglobalacceld
|
||||||
(define-public kinfocenter
|
(define-public kinfocenter
|
||||||
(package
|
(package
|
||||||
(name "kinfocenter")
|
(name "kinfocenter")
|
||||||
(version "6.1.4")
|
(version "6.2.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://kde/stable/plasma/" version
|
(uri (string-append "mirror://kde/stable/plasma/" version
|
||||||
"/" name "-" version ".tar.xz"))
|
"/" name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1n904nn0jrrih9qk8cz2d2sp9pghr6qn0ra5jbbg2rpz4k1gv78p"))))
|
"1yczcgq4rnfmg3g8sb83nym8jmglp0hwhyfwz24n29947bdpxn4y"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -742,7 +742,8 @@ (define-public kinfocenter
|
||||||
(search-input-file
|
(search-input-file
|
||||||
inputs
|
inputs
|
||||||
(string-append "/bin/" cmd))
|
(string-append "/bin/" cmd))
|
||||||
"\""))))))
|
"\"")))))
|
||||||
|
(dmidecode (search-input-file inputs "/sbin/dmidecode")))
|
||||||
(substitute* "CMakeLists.txt"
|
(substitute* "CMakeLists.txt"
|
||||||
(("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings")
|
(("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings")
|
||||||
(search-input-file inputs
|
(search-input-file inputs
|
||||||
|
@ -753,7 +754,20 @@ (define-public kinfocenter
|
||||||
(substitute* "kcms/kwinsupportinfo/main.cpp"
|
(substitute* "kcms/kwinsupportinfo/main.cpp"
|
||||||
(("QLibraryInfo::path\\(QLibraryInfo::BinariesPath\\) \\+ QStringLiteral\\(\"/qdbus\"\\)")
|
(("QLibraryInfo::path\\(QLibraryInfo::BinariesPath\\) \\+ QStringLiteral\\(\"/qdbus\"\\)")
|
||||||
(string-append "QStringLiteral(\"" (search-input-file inputs "/bin/qdbus") "\")")))
|
(string-append "QStringLiteral(\"" (search-input-file inputs "/bin/qdbus") "\")")))
|
||||||
|
(substitute* "kcms/memory/kcm_memory.json"
|
||||||
|
(("pkexec dmidecode")
|
||||||
|
(string-append
|
||||||
|
"pkexec " dmidecode)))
|
||||||
|
(substitute* "kcms/memory/main.cpp"
|
||||||
|
(("dmidecode") dmidecode))
|
||||||
|
(substitute* '("kcms/firmware_security/main.cpp"
|
||||||
|
"kcms/firmware_security/fwupdmgr.sh"
|
||||||
|
"kcms/firmware_security/kcm_firmware_security.json")
|
||||||
|
(("aha") (search-input-file inputs "/bin/aha"))
|
||||||
|
(("\"fwupdmgr\"") (string-append "\"" (search-input-file inputs "/bin/fwupdmgr") "\""))
|
||||||
|
(("fwupdmgr security") (string-append (search-input-file inputs "/bin/fwupdmgr") " security"))
|
||||||
|
(("sed") (search-input-file inputs "/bin/sed"))
|
||||||
|
(("/bin/sh") (search-input-file inputs "/bin/sh")))
|
||||||
(replace '("kcms/cpu/kcm_cpu.json"
|
(replace '("kcms/cpu/kcm_cpu.json"
|
||||||
"kcms/cpu/main.cpp") "lscpu")
|
"kcms/cpu/main.cpp") "lscpu")
|
||||||
(replace '("kcms/opencl/kcm_opencl.json"
|
(replace '("kcms/opencl/kcm_opencl.json"
|
||||||
|
@ -771,8 +785,9 @@ (define-public kinfocenter
|
||||||
(native-inputs (list aha extra-cmake-modules kdoctools pkg-config qttools))
|
(native-inputs (list aha extra-cmake-modules kdoctools pkg-config qttools))
|
||||||
;; * vulkaninfo
|
;; * vulkaninfo
|
||||||
;; Wayland KCM
|
;; Wayland KCM
|
||||||
(inputs (list dmidecode
|
(inputs (list bash-minimal
|
||||||
;; fwupdmgr ;; Packaged on master branch already
|
dmidecode
|
||||||
|
fwupd
|
||||||
kauth
|
kauth
|
||||||
kconfig
|
kconfig
|
||||||
kconfigwidgets
|
kconfigwidgets
|
||||||
|
|
Loading…
Reference in a new issue