[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/45: gnu: Add kscreen.
From: |
guix-commits |
Subject: |
24/45: gnu: Add kscreen. |
Date: |
Sun, 31 Jan 2021 10:27:25 -0500 (EST) |
htgoebel pushed a commit to branch wip-kde-plasma
in repository guix.
commit 15dc1b11580b52a7e9d10645d74d9ee4ddecafff
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Jun 9 13:36:42 2017 +0200
gnu: Add kscreen.
* gnu/packages/kde-plasma.scm (kscreen): New variable.
---
gnu/packages/kde-plasma.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index e2a9f09..2a7af14 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -414,6 +414,66 @@ Each of the red, green, and blue components can be
adjusted individually, or
all three components can be adjusted together.")
(license license:gpl2+)))
+(define-public kscreen
+ (package
+ (name "kscreen")
+ (version "5.19.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/plasma/" version
+ "/kscreen-" version ".tar.xz"))
+ (sha256
+ (base32 "1s2ngg86128665mf6q7dnwv953jf2d4ad25klrm8wd85lj3wcwhd"))))
+ (build-system qt-build-system)
+ (arguments
+ `(#:tests? #f ;; TODO: tests fail even when blacklisted
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" (getcwd))
+ ;; The test suite requires a running X server.
+ (system "Xvfb :98 -screen 0 640x480x24 &")
+ (setenv "DISPLAY" ":98")
+ ;; blacklist failing test-functions TODO: make them pass
+ (with-output-to-file "bin/BLACKLIST"
+ (lambda _
+ (display "[testNullConfig]\n*\n")))
+ #t)))))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("xorg-server" ,xorg-server))) ; required for the tests
+ (inputs
+ `(("kauth" ,kauth)
+ ("kcmutils" ,kcmutils)
+ ("kconfig" ,kconfig)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kdbusaddons" ,kdbusaddons)
+ ("kdeclarative" ,kdeclarative)
+ ("kded" ,kded) ;; missing in CMakeList.txt
+ ("kglobalaccel" ,kglobalaccel)
+ ("ki18n" ,ki18n)
+ ("kiconthemes" ,kiconthemes)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("kwindowsystem" ,kwindowsystem)
+ ("kxmlgui" ,kxmlgui)
+ ("libkscreen" ,libkscreen)
+ ("plasma-framework" ,plasma-framework)
+ ("qtbase" ,qtbase)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtsensors", qtsensors)))
+ (home-page "https://projects.kde.org/projects/extragear/base/kscreen")
+ (synopsis "KDE monitor hotplug and screen handling")
+ (description "The KDE multiple monitor support is trying to be as smart as
+possible adapting the behavior of it to each use case making the configuration
+of monitors as simple as plugging them to your computer.
+
+This package contains the modules and plugins for monitor hot-plugging and
+automatic screen handling.")
+ (license license:lgpl2.1+)))
+
(define-public kscreenlocker
(package
(name "kscreenlocker")
- branch wip-kde-plasma created (now e92bf79), guix-commits, 2021/01/31
- 10/45: WIP plasma.tmpl., guix-commits, 2021/01/31
- 13/45: TEMP Add script for test-building kwin., guix-commits, 2021/01/31
- 18/45: gnu: Add kactivitymanagerd., guix-commits, 2021/01/31
- 22/45: gnu: Add kwallet-pam., guix-commits, 2021/01/31
- 24/45: gnu: Add kscreen.,
guix-commits <=
- 27/45: gnu: Add plasma-integration., guix-commits, 2021/01/31
- 26/45: gnu: Add oxygen., guix-commits, 2021/01/31
- 17/45: gnu: Add breeze-gtk., guix-commits, 2021/01/31
- 19/45: gnu: Add kde-cli-tools., guix-commits, 2021/01/31
- 33/45: gnu: Add polkit-kde-agent-1., guix-commits, 2021/01/31
- 09/45: WIP services: Add KDE Plasme desktop service., guix-commits, 2021/01/31
- 05/45: gnu: Add kwayland-server., guix-commits, 2021/01/31
- 02/45: gnu: Add ksysguard., guix-commits, 2021/01/31
- 12/45: TEMP Add some scripts for maintaining KDE packages., guix-commits, 2021/01/31
- 14/45: TEMP Add custom `startkde` script to be used in the VM., guix-commits, 2021/01/31