gnu: kwin: Update to 6.2.5.

* gnu/packages/kde-plasma.scm (kwin): Update to 6.2.5.
[inputs]: Add libcanberra, kpipewire and qtsvg.
[native-inputs]: Add gcc-14.
[arguments]<#:phases>: Adjust test.

Change-Id: I301c8ac62699a5de9c43687fbe8b82ff8a196474
This commit is contained in:
Zheng Junjie 2025-01-10 11:51:55 +08:00
parent 0e1b5240cf
commit 86e4ab0366
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -48,6 +48,7 @@ (define-module (gnu packages kde-plasma)
#:use-module (gnu packages fonts) #:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gdb) #:use-module (gnu packages gdb)
#:use-module (gnu packages ghostscript) #:use-module (gnu packages ghostscript)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
@ -1381,7 +1382,7 @@ (define-public kwayland-integration
(define-public kwin (define-public kwin
(package (package
(name "kwin") (name "kwin")
(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/" (uri (string-append "mirror://kde/stable/plasma/"
@ -1390,7 +1391,7 @@ (define-public kwin
(patches (search-patches "kwin-unwrap-executable-name-for-dot-desktop-search.patch")) (patches (search-patches "kwin-unwrap-executable-name-for-dot-desktop-search.patch"))
(sha256 (sha256
(base32 (base32
"0fpbmp6rshr3irmlzxcpsjchfp65ch91pb1kmlnaj8zaim3cxzzw")))) "0j38fxgxqyvhyj84cagvmab7y8rind82bdr9k72ch18iwjk51i2w"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list (list
@ -1456,9 +1457,8 @@ (define-public kwin
(list (list
;; Fails on an Apple M1 (aarch64) with the following error: ;; Fails on an Apple M1 (aarch64) with the following error:
;; TestColorspaces::roundtripConversion fails ;; TestColorspaces::roundtripConversion fails
#$@(if (target-aarch64?) "kwin-testColorspaces"
#~("kwin-testColorspaces")
#~())
"kwin-testDrm" ;; require Drm "kwin-testDrm" ;; require Drm
"kwin-testInputMethod" "kwin-testInputMethod"
"kwin-testPlasmaWindow" ;; require plasma-workspace qml module. "kwin-testPlasmaWindow" ;; require plasma-workspace qml module.
@ -1473,7 +1473,21 @@ (define-public kwin
"kwin-testNightColor-waylandonly" "kwin-testNightColor-waylandonly"
"kwin-testScriptedEffects" "kwin-testScriptedEffects"
"kwayland-testServerSideDecoration" "kwayland-testServerSideDecoration"
"kwayland-testWaylandSurface") "kwayland-testWaylandSurface"
"kwin-testLibinputDevice"
"kwin-testLockScreen"
"kwin-testTabBox"
"kwin-testKeyboardLayout"
"kwin-testQuickTiling"
"kwin-testDbusInterface"
"kwin-testX11KeyRead"
"kwin-testVirtualKeyboardDBus"
"kwin-testGlobalShortcuts"
"kwin-testKWinBindings"
"kwin-testMinimizeAllScript"
"kwin-testLibinputDevice"
"kwin-testX11Window")
"|")))))))) "|"))))))))
(native-inputs (list extra-cmake-modules (native-inputs (list extra-cmake-modules
dbus dbus
@ -1484,6 +1498,7 @@ (define-public kwin
wayland-protocols wayland-protocols
xorg-server-for-tests xorg-server-for-tests
python-minimal python-minimal
gcc-14 ;; for <format> header
;; for QtWaylandScanner ;; for QtWaylandScanner
qtwayland)) qtwayland))
(inputs (list breeze (inputs (list breeze
@ -1512,6 +1527,7 @@ (define-public kwin
knewstuff knewstuff
knotifications knotifications
kpackage kpackage
kpipewire
krunner krunner
kscreenlocker kscreenlocker
ktextwidgets ktextwidgets
@ -1523,6 +1539,7 @@ (define-public kwin
kguiaddons kguiaddons
libqaccessibilityclient libqaccessibilityclient
lcms lcms
libcanberra
libcap libcap
libepoxy libepoxy
libglvnd ; For OpenGLES libglvnd ; For OpenGLES
@ -1536,6 +1553,7 @@ (define-public kwin
qtmultimedia qtmultimedia
qtwayland qtwayland
qtsensors qtsensors
qtsvg
wayland wayland
xcb-util ;fails at build time without this xcb-util ;fails at build time without this
xcb-util-cursor xcb-util-cursor