guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

98/347: gnu: libkscreen: Update to 6.0.4.


From: guix-commits
Subject: 98/347: gnu: libkscreen: Update to 6.0.4.
Date: Fri, 28 Jun 2024 09:58:23 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit 795c0bae0328270b024b8f9452a384fad1150334
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Thu May 2 21:44:16 2024 +0800

    gnu: libkscreen: Update to 6.0.4.
    
    * gnu/packages/kde-plasma.scm (libkscreen): Update to 6.0.4.
    [arguments]: Set #:qtbase to qtbase.
    <#:phases>: Adjust test.
    [native-inputs]: Use qttools-5 replace qttools.
    [inputs]: Add libxkbcommon. Remove kconfig, qtbase-5, qtx11extras.
    Use kwayland-6 and qtwayland replace kwayland and qtwayland-5.
    
    Change-Id: I47c59a1bf5b022745feaeda8ea4b5a56461a137e
---
 gnu/packages/kde-plasma.scm | 43 ++++++++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index b78b212b8c..c23cafede3 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1044,39 +1044,44 @@ installed.")
 (define-public libkscreen
   (package
     (name "libkscreen")
-    (version "5.27.7")
+    (version "6.0.4")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://kde/stable/plasma/" version "/"
                            name "-" version ".tar.xz"))
        (sha256
-        (base32 "1ary7qavz8vkzbvjx2mxv09h61hxa7i4f7rfgbykldbc83ripdc6"))))
+        (base32 "0mxbnngniws7za3857cig1h14zmnixg41r68nxm5xwh35gd2hsa0"))))
     (build-system qt-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (setenv "HOME" (getcwd))
-               (setenv "QT_QPA_PLATFORM" "offscreen")
-               (setenv "WAYLAND_DISPLAY" "libkscreen-test-wayland-backend-0")
-               (invoke "ctest" "-E"
-                       (string-append "(kscreen-testedid"
-                                      "|kscreen-testqscreenbackend"
-                                      "|kscreen-testkwaylandbackend"
-                                      "|kscreen-testkwaylandconfig"
-                                      "|kscreen-testkwaylanddpms)"))))))))
+     (list
+      #:qtbase qtbase
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'check-env-setup
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (setenv "HOME" (getcwd))
+                (with-output-to-file "autotests/BLACKLIST"
+                  (lambda _
+                    (for-each
+                     (lambda (name)
+                       (display (string-append "[" name "]\n*\n")))
+                     (list
+                      "verifyOutputs"
+                      ;; also fail on upstream
+                      "testEdidParser"
+                      "testEnv"))))))))))
     (native-inputs
      (list extra-cmake-modules
            pkg-config
-           qttools-5
+           qttools
            ;; For testing.
            dbus))
     (inputs
-     (list kconfig kwayland libxrandr plasma-wayland-protocols
-           qtbase-5 qtwayland-5 wayland qtx11extras))
+     (list kwayland-6 libxrandr plasma-wayland-protocols qtwayland
+           wayland
+           libxkbcommon))
     (home-page "https://community.kde.org/Solid/Projects/ScreenManagement";)
     (synopsis "KDE's screen management software")
     (description "KScreen is the new screen management software for KDE Plasma



reply via email to

[Prev in Thread] Current Thread [Next in Thread]