[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
181/332: gnu: kwin: Update to 5.27.6.
From: |
guix-commits |
Subject: |
181/332: gnu: kwin: Update to 5.27.6. |
Date: |
Wed, 2 Aug 2023 10:36:58 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit 0fe172efdbac46db4e087b237f3b322a33e8c767
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Sat Jul 15 19:22:55 2023 +0800
gnu: kwin: Update to 5.27.6.
* gnu/packages/kde-plasma.scm (kwin): Update to 5.27.6.
[arguments]: Enable more tests with "dbus-launch".
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/kde-plasma.scm | 46 ++++++++++++++++++++++++---------------------
1 file changed, 25 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 8248181643..b245bb8e61 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1141,14 +1141,14 @@ KDE Frameworks components.")
(define-public kwin
(package
(name "kwin")
- (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
- "1dh7ydwxbb9r53p353d53gq7w9vmp7idvsr4s5ldxmah35436v2s"))))
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/plasma/" version "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1v4r4h2zbandg43iyww5p66sgv2z90lrri1gijnwjlg9j5gbvmb2"))))
(build-system qt-build-system)
(arguments
(list
@@ -1179,9 +1179,14 @@ KDE Frameworks components.")
_ a Xwayland b)
(string-append a
(which "Xwayland") b)))
+ ;;
https://github.com/NixOS/nixpkgs/blob/6da4bc6cb07cba1b8e53d139cbf1d2fb8061d967/pkgs/desktops/plasma-5/kwin/0003-plugins-qpa-allow-using-nixos-wrapper.patch
+ (substitute* "src/plugins/qpa/main.cpp"
+ (("(\\(QLatin1String\\(\"kwin_wayland\"\\)\\))" _ start)
+ (string-append start " &&
!QCoreApplication::applicationFilePath()\
+.endsWith(QLatin1String(\".kwin_wayland-real\"))" )))
(substitute* '("cmake/modules/Findhwdata.cmake")
(("/usr/share")
- (string-append #$hwdata:pnp "/share")))))
+ (string-append #$(this-package-input "hwdata") "/share")))))
(add-after 'install 'add-symlinks
(lambda* (#:key outputs #:allow-other-keys)
(let ((kst5 (string-append #$output
@@ -1205,20 +1210,19 @@ KDE Frameworks components.")
(setenv "DISPLAY" ":1")
(system "Xvfb :1 &")
(sleep 5)
- (invoke "ctest" "-E"
+ (invoke "dbus-launch"
+ "ctest"
+ "-E"
(string-join
- (list "kwayland-testXdgDecoration"
- "kwin-testXkb"
- "kwin-testPointerInput"
- "kwin-testXdgShellWindow"
- "kwin-testXdgShellWindow-waylandonly"
- "kwin-testSceneOpenGLES"
- "kwin-testSceneOpenGLES-waylandonly"
- "kwin-testNightColor"
- "kwin-testNightColor-waylandonly"
- "kwin-testSceneQPainter"
- "kwin-testLibinputDevice")
- "|"))))))))
+ (list "kwin-testXkb"
+ "kwin-testPointerInput"
+ "kwin-testXdgShellWindow"
+ "kwin-testXdgShellWindow-waylandonly"
+ "kwin-testSceneOpenGLES"
+ "kwin-testSceneOpenGLES-waylandonly"
+ "kwin-testNightColor"
+ "kwin-testNightColor-waylandonly")
+ "|"))))))))
(native-inputs (list extra-cmake-modules
dbus
kdoctools
- 109/332: gnu: krunner: Update to 5.108.0., (continued)
- 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, 2023/08/02
- 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 <=
- 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
- 233/332: gnu: kigo: Update to 23.04.3., guix-commits, 2023/08/02
- 245/332: gnu: kjumpingcube: Update to 23.04.3., guix-commits, 2023/08/02
- 16/332: gnu: kauth: Update to 5.108.0., guix-commits, 2023/08/02
- 17/332: gnu: kauth: Use G-expressions., guix-commits, 2023/08/02
- 21/332: gnu: kwindowsystem: Use G-expressions., guix-commits, 2023/08/02
- 22/332: gnu: modemmanager-qt: Update to 5.108.0., guix-commits, 2023/08/02