[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
386/465: gnu: Add libkscreen-5.
From: |
guix-commits |
Subject: |
386/465: gnu: Add libkscreen-5. |
Date: |
Wed, 17 Jul 2024 23:02:13 -0400 (EDT) |
z572 pushed a commit to branch kde-team
in repository guix.
commit 02910653ceb1068dced569087c948e7e665bc2d8
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue Jun 25 12:27:03 2024 +0800
gnu: Add libkscreen-5.
* gnu/packages/kde-plasma.scm (libkscreen-5): New variable.
* gnu/packages/lxqt.scm (lxqt-config)[propagated-inputs]: Switch to it.
Change-Id: I7cce1a02251800496c731883f64fc17938dd8ceb
---
gnu/packages/kde-plasma.scm | 39 +++++++++++++++++++++++++++++++++++++++
gnu/packages/lxqt.scm | 3 ++-
2 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 1f0a9c22ea..a2a0160692 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1189,6 +1189,45 @@ Workspaces which tries to be as magic and automatic as
possible for users with
basic needs and easy to configure for those who want special setups.")
(license license:gpl2+)))
+;; use by lxqt-config
+(define-public libkscreen-5
+ (package
+ (inherit libkscreen)
+ (name "libkscreen")
+ (version "5.27.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/plasma/" version "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "1ary7qavz8vkzbvjx2mxv09h61hxa7i4f7rfgbykldbc83ripdc6"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #: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)"))))))))
+ (native-inputs
+ (list extra-cmake-modules
+ pkg-config
+ qttools-5
+ ;; For testing.
+ dbus))
+ (inputs
+ (list kconfig-5 kwayland-5 libxrandr plasma-wayland-protocols
+ qtbase-5 qtwayland-5 wayland qtx11extras))))
+
(define-public libksysguard
(package
(name "libksysguard")
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 5c1dd67cc5..af4efe4494 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org>
;;; Copyright © 2020 André Batista <nandre@riseup.net>
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -371,7 +372,7 @@ the operating system LXQt is running on.")
;; XXX: This is a workaround so libkscreen can find the backends as we
;; dont have a way specify them. We may want to patch like Nix does.
(propagated-inputs
- (list libkscreen))
+ (list libkscreen-5))
(arguments
'(#:tests? #f ; no tests
#:phases
- 346/465: gnu: Add kglobalaccel-5., (continued)
- 346/465: gnu: Add kglobalaccel-5., guix-commits, 2024/07/17
- 342/465: gnu: Add kded-5., guix-commits, 2024/07/17
- 351/465: gnu: kinit: Update to 5.116.0., guix-commits, 2024/07/17
- 361/465: gnu: plasma-framework: Update to 5.116.0., guix-commits, 2024/07/17
- 363/465: gnu: Add knewstuff-5., guix-commits, 2024/07/17
- 368/465: gnu: Add knotifyconfig-5., guix-commits, 2024/07/17
- 365/465: gnu: Add ksyntaxhighlighting-5., guix-commits, 2024/07/17
- 366/465: gnu: Add ktexteditor-5., guix-commits, 2024/07/17
- 385/465: gnu: labplot: Fix build., guix-commits, 2024/07/17
- 400/465: gnu: lxqt-sudo: Fix build., guix-commits, 2024/07/17
- 386/465: gnu: Add libkscreen-5.,
guix-commits <=
- 180/465: gnu: kwalletmanager: Update to 24.05.2., guix-commits, 2024/07/17
- 191/465: gnu: bovo: Update to 24.05.2., guix-commits, 2024/07/17
- 392/465: gnu: lxqt-globalkeys: Fix build., guix-commits, 2024/07/17
- 390/465: gnu: lxqt-admin: Fix build., guix-commits, 2024/07/17
- 404/465: gnu: calindori: Update to 24.05.2., guix-commits, 2024/07/17
- 406/465: gnu: smb4k: Update to 3.2.5., guix-commits, 2024/07/17
- 416/465: gnu: kaffeine: Use new style., guix-commits, 2024/07/17
- 420/465: gnu: kwave: Update to 24.05.2., guix-commits, 2024/07/17
- 423/465: gnu: hotspot: Update to 1.5.1., guix-commits, 2024/07/17
- 432/465: gnu: plasma-pass: Update to 1.2.2., guix-commits, 2024/07/17