[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
122/347: gnu: kwin: Update to 6.0.4.1.
From: |
guix-commits |
Subject: |
122/347: gnu: kwin: Update to 6.0.4.1. |
Date: |
Fri, 28 Jun 2024 09:58:40 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit a7dcaff332a8ee504ab0d0138a19cda5159e05c6
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri May 3 17:19:40 2024 +0800
gnu: kwin: Update to 6.0.4.1.
* gnu/packages/kde-plasma.scm (kwin): Update to 6.0.4.1.
[native-inputs]: Add python-minimal. Use kdoctools-6 and qttools replace
kdoctools and qttools-5.
[inputs]: Add kglobalacceld, ksvg kauth-6, kguiaddons-6, qt5compat,
qtsensors,
libdisplay-info. Remove qtx11extras, qtbase-5. Use plasma-activities,
libqaccessibilityclient-qt6 and libplasma replace kactivities,
libqaccessibilityclient and plasma-framework.
[arguments]: Set #:qtbase to qtbase.
<#:phases>: Adjust it. Remove add-symlinks phase.
*
gnu/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch:
Adjust it.
Change-Id: Ic1bf93301873399920ddfa171e58ae50e73b43a6
---
gnu/packages/kde-plasma.scm | 118 +++++++++++----------
...ap-executable-name-for-dot-desktop-search.patch | 3 +-
2 files changed, 62 insertions(+), 59 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index c2db813561..74055848b9 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -76,6 +76,7 @@
#:use-module (gnu packages video)
#:use-module (gnu packages vpn)
#:use-module (gnu packages vulkan)
+ #:use-module (gnu packages wm)
#:use-module (gnu packages textutils)
#:use-module (gnu packages qt)
#:use-module (gnu packages xdisorg)
@@ -1297,18 +1298,19 @@ KDE Frameworks components.")
(define-public kwin
(package
(name "kwin")
- (version "5.27.7")
+ (version "6.0.4.1")
(source (origin
(method url-fetch)
- (uri (string-append "mirror://kde/stable/plasma/" version "/"
+ (uri (string-append "mirror://kde/stable/plasma/6.0.4/"
name "-" version ".tar.xz"))
(patches (search-patches
"kwin-unwrap-executable-name-for-dot-desktop-search.patch"))
(sha256
(base32
- "0bssp76lzqqlan5pfg6wjf4z9c6pl6p66ri8p82vqqw406x5bzyb"))))
+ "0dnb9fy67w11g5070zdcardi08bbiy2wd6alxicg043fldzv7zsn"))))
(build-system qt-build-system)
(arguments
(list
+ #:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch
@@ -1326,8 +1328,8 @@ KDE Frameworks components.")
(string-append
"setProgram(QByteArrayLiteral(\"" (which "glxgears") "\")")))
(substitute*
- '("src/wayland/tests/renderingservertest.cpp"
- "src/wayland/tests/waylandservertest.cpp")
+ '("tests/renderingservertest.cpp"
+ "tests/waylandservertest.cpp")
(("QByteArrayLiteral\\(\"Xwayland\"\\)")
(string-append
"QByteArrayLiteral(\"" (which "Xwayland") "\")")))
@@ -1344,14 +1346,6 @@ KDE Frameworks components.")
(substitute* '("cmake/modules/Findhwdata.cmake")
(("/usr/share")
(string-append #$(this-package-input "hwdata") "/share")))))
- (add-after 'install 'add-symlinks
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((kst5 (string-append #$output
- "/share/kservicetypes5/")))
- (symlink (string-append kst5 "kwineffect.desktop")
- (string-append kst5 "kwin-effect.desktop"))
- (symlink (string-append kst5 "kwinscript.desktop")
- (string-append kst5 "kwin-script.desktop")))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -1362,7 +1356,7 @@ KDE Frameworks components.")
(getenv "XDG_DATA_DIRS")))
(setenv "QT_PLUGIN_PATH"
(string-append #$output
- "/lib/qt5/plugins:"
+ "/lib/qt6/plugins:"
(getenv "QT_PLUGIN_PATH")))
(setenv "DISPLAY" ":1")
(system "Xvfb :1 &")
@@ -1371,56 +1365,65 @@ KDE Frameworks components.")
"ctest"
"-E"
(string-join
- (list "kwin-testXkb"
- "kwin-testPointerInput"
- "kwin-testXdgShellWindow"
- "kwin-testXdgShellWindow-waylandonly"
- "kwin-testSceneOpenGLES"
- "kwin-testSceneOpenGLES-waylandonly"
- "kwin-testNightColor"
- "kwin-testNightColor-waylandonly"
- "kwin-testScriptedEffects"
- "kwayland-testWaylandSurface")
+ (list
+ "kwin-testDrm" ;; require Drm
+ "kwin-testInputMethod"
+ "kwin-testPlasmaWindow" ;; require plasma-workspace
qml module.
+ "kwin-testPointerInput"
+ "kwin-testXdgShellWindow"
+ "kwin-testXdgShellWindow-waylandonly"
+ "kwin-testSceneOpenGLES"
+ "kwin-testSceneOpenGLES-waylandonly"
+ "kwin-testNightColor"
+ "kwin-testNightColor-waylandonly"
+ "kwin-testScriptedEffects"
+ "kwayland-testServerSideDecoration"
+ "kwayland-testWaylandSurface")
"|"))))))))
(native-inputs (list extra-cmake-modules
dbus
- kdoctools
+ kdoctools-6
mesa-utils
pkg-config
- qttools-5
+ qttools
wayland-protocols
- xorg-server-for-tests))
+ xorg-server-for-tests
+ python-minimal))
(inputs (list breeze
eudev
fontconfig
freetype
`(,hwdata "pnp")
- kactivities
- kcmutils
- kcompletion
- kconfig
- kconfigwidgets
- kcoreaddons
- kcrash
- kdbusaddons
- kdeclarative
+ plasma-activities
+ kcmutils-6
+ kcompletion-6
+ kconfig-6
+ kconfigwidgets-6
+ kcoreaddons-6
+ kcrash-6
+ kdbusaddons-6
+ kdeclarative-6
kdecoration
- kglobalaccel
- ki18n
- kiconthemes
- kidletime
- kio
- kirigami
- knewstuff
- knotifications
- kpackage
- krunner
+ kglobalaccel-6
+ kglobalacceld
+ ki18n-6
+ kiconthemes-6
+ kidletime-6
+ kio-6
+ kirigami-6
+ knewstuff-6
+ knotifications-6
+ kpackage-6
+ krunner-6
kscreenlocker
- ktextwidgets
- kwayland
- kwindowsystem
- kxmlgui
- libqaccessibilityclient
+ ktextwidgets-6
+ kwayland-6
+ kwindowsystem-6
+ kxmlgui-6
+ ksvg
+ kauth-6
+ kguiaddons-6
+ libqaccessibilityclient-qt6
lcms
libcap
libepoxy
@@ -1428,13 +1431,13 @@ KDE Frameworks components.")
libinput
libxkbcommon
pipewire
- plasma-framework
+ libplasma
plasma-wayland-protocols
- qtbase-5
- qtdeclarative-5
- qtmultimedia-5
- qtwayland-5
- qtx11extras
+ qt5compat
+ qtdeclarative
+ qtmultimedia
+ qtwayland
+ qtsensors
wayland
xcb-util ;fails at build time without this
xcb-util-cursor
@@ -1443,6 +1446,7 @@ KDE Frameworks components.")
xcmsdb
xinput ;XXX: Says disabled in configure phase
xorg-server-xwayland
+ libdisplay-info
zlib))
;; Runtime-only dependency needed for mapping monitor hardware vendor IDs
to full names
;; * QtQuick.Controls-QMLModule, QML module 'QtQuick.Controls' is a
runtime dependency.
diff --git
a/gnu/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch
b/gnu/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch
index 8f67553138..6256ff24e3 100644
---
a/gnu/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch
+++
b/gnu/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch
@@ -14,12 +14,11 @@ new file mode 100644
index 0000000..726065d
--- /dev/null
+++ b/src/guix_utils.h
-@@ -0,0 +1,24 @@
+@@ -0,0 +1,23 @@
+#ifndef GUIX_UTILS_H
+#define GUIX_UTILS_H
+
+// kwin
-+#include <kwinglobals.h>
+
+namespace KWin
+{
- 143/347: gnu: powerdevil: Update to 6.0.4., (continued)
- 143/347: gnu: powerdevil: Update to 6.0.4., guix-commits, 2024/06/28
- 146/347: gnu: ksystemstats: Update to 6.0.4., guix-commits, 2024/06/28
- 150/347: gnu: discover: Update to 6.0.4., guix-commits, 2024/06/28
- 151/347: gnu: kdeplasma-addons: Update to 6.0.4., guix-commits, 2024/06/28
- 128/347: gnu: libkexiv2: Update to 24.02.2., guix-commits, 2024/06/28
- 145/347: gnu: plasma-nm: Update to 6.0.4., guix-commits, 2024/06/28
- 103/347: gnu: kscreen: Update to 6.0.4., guix-commits, 2024/06/28
- 109/347: gnu: plasma-pa: Update to 6.0.4., guix-commits, 2024/06/28
- 117/347: gnu: Add libqaccessibilityclient-qt6., guix-commits, 2024/06/28
- 121/347: gnu: Add kglobalacceld., guix-commits, 2024/06/28
- 122/347: gnu: kwin: Update to 6.0.4.1.,
guix-commits <=
- 124/347: gnu: Add qcoro-qt6., guix-commits, 2024/06/28
- 130/347: gnu: kuserfeedback: Update to 1.3.0., guix-commits, 2024/06/28
- 125/347: gnu: kdegraphics-mobipocket: Update to 24.02.2., guix-commits, 2024/06/28
- 126/347: gnu: Add kfilemetadata-6., guix-commits, 2024/06/28
- 133/347: gnu: kdsoap: Update style., guix-commits, 2024/06/28
- 147/347: gnu: plasma-systemmonitor: Update to 6.0.4., guix-commits, 2024/06/28
- 141/347: gnu: plasma-welcome: Update to 6.0.4., guix-commits, 2024/06/28
- 137/347: gnu: plasma-workspace: Update to 6.0.4., guix-commits, 2024/06/28
- 135/347: gnu: Add kdsoap-ws-discovery-client., guix-commits, 2024/06/28
- 139/347: gnu: kaccounts-integration: Update to 24.02.2., guix-commits, 2024/06/28