gnu: plasma-workspace: Update to 6.1.4.

* gnu/packages/kde-plasma.scm (plasma-workspace): Update to 6.1.4.
[arguments]<#:phases>: Add add-span-header phase.

Change-Id: Ifc5e82532b569148ab00ab2f1463c65fa507d73d
This commit is contained in:
Zheng Junjie 2024-08-09 23:33:55 +08:00
parent bc4442261f
commit 921b4ed195
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -2698,14 +2698,14 @@ (define-public plasma-welcome
(define-public plasma-workspace
(package
(name "plasma-workspace")
(version "6.1.3")
(version "6.1.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/" version
"/" name "-" version ".tar.xz"))
(sha256
(base32
"1jnmqj16ivi2qv3q9i5fggknaw85drf216ml7ckvfvc5abxxx73r"))))
"0mlddkjxq7p01wgy8pzp65fhg1sihibzd32wn3s3zcn077frj86b"))))
(build-system qt-build-system)
(native-inputs (list extra-cmake-modules kdoctools pkg-config qtsvg
qttools
@ -2824,6 +2824,12 @@ (define-public plasma-workspace
"/libexec/kglobalacceld"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'add-span-header
(lambda _
(substitute* "xembed-sni-proxy/sniproxy.cpp"
(("#include \"sniproxy.h\"")
(string-append "#include \"sniproxy.h\"
#include <span>")))))
(add-after 'unpack 'patch-workspace-bins
(lambda* (#:key inputs #:allow-other-keys)
(let ((xmessage (search-input-file inputs "/bin/xmessage"))