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 fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gdb)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gnupg)
@ -1381,7 +1382,7 @@ (define-public kwayland-integration
(define-public kwin
(package
(name "kwin")
(version "6.1.4")
(version "6.2.5")
(source (origin
(method url-fetch)
(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"))
(sha256
(base32
"0fpbmp6rshr3irmlzxcpsjchfp65ch91pb1kmlnaj8zaim3cxzzw"))))
"0j38fxgxqyvhyj84cagvmab7y8rind82bdr9k72ch18iwjk51i2w"))))
(build-system qt-build-system)
(arguments
(list
@ -1456,9 +1457,8 @@ (define-public kwin
(list
;; Fails on an Apple M1 (aarch64) with the following error:
;; TestColorspaces::roundtripConversion fails
#$@(if (target-aarch64?)
#~("kwin-testColorspaces")
#~())
"kwin-testColorspaces"
"kwin-testDrm" ;; require Drm
"kwin-testInputMethod"
"kwin-testPlasmaWindow" ;; require plasma-workspace qml module.
@ -1473,7 +1473,21 @@ (define-public kwin
"kwin-testNightColor-waylandonly"
"kwin-testScriptedEffects"
"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
dbus
@ -1484,6 +1498,7 @@ (define-public kwin
wayland-protocols
xorg-server-for-tests
python-minimal
gcc-14 ;; for <format> header
;; for QtWaylandScanner
qtwayland))
(inputs (list breeze
@ -1512,6 +1527,7 @@ (define-public kwin
knewstuff
knotifications
kpackage
kpipewire
krunner
kscreenlocker
ktextwidgets
@ -1523,6 +1539,7 @@ (define-public kwin
kguiaddons
libqaccessibilityclient
lcms
libcanberra
libcap
libepoxy
libglvnd ; For OpenGLES
@ -1536,6 +1553,7 @@ (define-public kwin
qtmultimedia
qtwayland
qtsensors
qtsvg
wayland
xcb-util ;fails at build time without this
xcb-util-cursor