[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
192/332: gnu: kinfocenter: Update to 5.27.6.
From: |
guix-commits |
Subject: |
192/332: gnu: kinfocenter: Update to 5.27.6. |
Date: |
Wed, 2 Aug 2023 10:37:00 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit 95384aca9db5f8195444c8b097e8c10cf15d52c2
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Thu Jul 20 11:29:17 2023 +0800
gnu: kinfocenter: Update to 5.27.6.
* gnu/packages/kde-plasma.scm (kinfocenter): Update to 5.27.6.
[inputs]: Add qttools-5, clinfo.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-plasma.scm | 52 ++++++++++++++++++++++++++++++++++++++-------
1 file changed, 44 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 710c3b1e75..2a4028d429 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -78,7 +78,8 @@
#:use-module (gnu packages xorg)
#:use-module (gnu packages base)
#:use-module (gnu packages gps)
- #:use-module (gnu packages web))
+ #:use-module (gnu packages web)
+ #:use-module (gnu packages opencl))
(define-public bluedevil
(package
@@ -539,23 +540,56 @@ are pressed.")
(define-public kinfocenter
(package
(name "kinfocenter")
- (version "5.25.5")
+ (version "5.27.6")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/" version
"/" name "-" version ".tar.xz"))
(sha256
(base32
- "0zvki76yghkn158s7hb5g9drz7xaqxkmp2747404n2n0gmnmsdif"))))
+ "06whh4wzc292xvzabv7q6x8wm0gkyd2nsy50vlvk7iy85jayk5nd"))))
(build-system cmake-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-systemsettings-symlink
(lambda* (#:key inputs #:allow-other-keys)
- (substitute* "CMakeLists.txt"
-
(("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings5")
- (search-input-file inputs
-
"/bin/systemsettings5"))))))))
+ (let ((replace (lambda (file cmd)
+ (substitute* file
+ (((string-append
+ "\""
+ cmd
+ "\""))
+ (string-append
+ "\""
+ (search-input-file
+ inputs
+ (string-append "/bin/" cmd))
+ "\""))))))
+ (substitute* "CMakeLists.txt"
+
(("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings5")
+ (search-input-file inputs
+
"/bin/.systemsettings5-real")))
+ (substitute*
"Modules/kwinsupportinfo/kcm_kwinsupportinfo.json.in"
+ (("@QtBinariesDir@/qdbus")
+ (search-input-file inputs "/bin/qdbus")))
+ (substitute* "Modules/kwinsupportinfo/main.cpp"
+
(("QLibraryInfo::location\\(QLibraryInfo::BinariesPath\\) \\+
QStringLiteral\\(\"/qdbus\"\\)")
+ (string-append "QStringLiteral(\""
(search-input-file inputs "/bin/qdbus") "\")")))
+
+ (replace '("Modules/cpu/kcm_cpu.json"
+ "Modules/cpu/main.cpp") "lscpu")
+ (replace '("Modules/opencl/kcm_opencl.json"
+ "Modules/opencl/main.cpp") "clinfo")
+ (replace '("Modules/vulkan/kcm_vulkan.json"
+ "Modules/vulkan/main.cpp")
"vulkaninfo")
+ (replace '("Modules/glx/kcm_glx.json"
+ "Modules/glx/main.cpp") "glxinfo")
+ (replace '("Modules/wayland/kcm_wayland.json"
+ "Modules/wayland/main.cpp")
"wayland-info")
+ (replace '("Modules/egl/kcm_egl.json"
+ "Modules/egl/main.cpp") "eglinfo")
+ (replace '("Modules/xserver/kcm_xserver.json"
+ "Modules/xserver/main.cpp")
"xdpyinfo")))))))
(native-inputs (list aha extra-cmake-modules kdoctools pkg-config))
;; * vulkaninfo
;; Wayland KCM
@@ -582,7 +616,9 @@ are pressed.")
util-linux
vulkan-tools
wayland-utils
- xdpyinfo))
+ xdpyinfo
+ qttools-5
+ clinfo))
(propagated-inputs (list system-settings))
(home-page "https://invent.kde.org/plasma/kinfocenter")
(synopsis "View information about computer's hardware")
- 34/332: gnu: kplotting: Update to 5.108.0., (continued)
- 34/332: gnu: kplotting: Update to 5.108.0., guix-commits, 2023/08/02
- 53/332: gnu: kconfigwidgets: Update to 5.108.0., guix-commits, 2023/08/02
- 101/332: gnu: khtml: Update to 5.108.0., guix-commits, 2023/08/02
- 66/332: gnu: kimageformats: Use G-expressions., guix-commits, 2023/08/02
- 82/332: gnu: kfilemetadata: Use G-expressions., guix-commits, 2023/08/02
- 89/332: gnu: kcmutils: Use G-expressions., guix-commits, 2023/08/02
- 109/332: gnu: krunner: Update to 5.108.0., guix-commits, 2023/08/02
- 112/332: gnu: grantleetheme: Update to 23.04.3., guix-commits, 2023/08/02
- 129/332: gnu: kopeninghours: Update to 23.04.3., guix-commits, 2023/08/02
- 182/332: gnu: kio-extras: Update to 23.04.3., guix-commits, 2023/08/02
- 192/332: gnu: kinfocenter: Update to 5.27.6.,
guix-commits <=
- 172/332: gnu: plasma-vault: Update to 5.27.6., guix-commits, 2023/08/02
- 133/332: gnu: okular: Update to 23.04.3., guix-commits, 2023/08/02
- 123/332: gnu: kirigami-addons: Update to 0.9.0., guix-commits, 2023/08/02
- 185/332: gnu: kde-cli-tools: Update to 5.27.6., guix-commits, 2023/08/02
- 167/332: gnu: bluedevil: Update to 5.27.6., guix-commits, 2023/08/02
- 181/332: gnu: kwin: Update to 5.27.6., guix-commits, 2023/08/02
- 193/332: gnu: plasma: Update to 5.27.6., guix-commits, 2023/08/02
- 197/332: gnu: kwave: Update to 23.04.3., guix-commits, 2023/08/02
- 195/332: gnu: plasma-welcome: Update to 5.27.6., guix-commits, 2023/08/02
- 219/332: gnu: kbounce: Update to 23.04.3., guix-commits, 2023/08/02