From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtDMO-0004SC-Ro for guix-patches@gnu.org; Mon, 11 Feb 2019 10:19:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtDMN-0007Mc-LJ for guix-patches@gnu.org; Mon, 11 Feb 2019 10:19:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44653) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtDMN-0007MV-H9 for guix-patches@gnu.org; Mon, 11 Feb 2019 10:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtDMN-00056C-9d for guix-patches@gnu.org; Mon, 11 Feb 2019 10:19:03 -0500 Subject: [bug#34435] [PATCH 3/3] gnu: Add kscreenlocker. Resent-Message-ID: From: Marius Bakke Date: Mon, 11 Feb 2019 16:18:35 +0100 Message-Id: <20190211151835.18653-3-mbakke@fastmail.com> In-Reply-To: <20190211151835.18653-1-mbakke@fastmail.com> References: <20190211151835.18653-1-mbakke@fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34435@debbugs.gnu.org Cc: Hartmut Goebel From: Hartmut Goebel * gnu/packages/kde.scm (kscreenlocker): New public variable. Co-authored-by: Marius Bakke --- gnu/packages/kde.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 3508e8461f..00a6631e8e 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -38,6 +38,7 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages ebook) #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) @@ -46,6 +47,7 @@ #:use-module (gnu packages graphics) #:use-module (gnu packages image) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages markup) #:use-module (gnu packages maths) @@ -483,6 +485,70 @@ features include brush stabilizers, brush engines and wrap-around mode.") other special events for a geographical region.") (license license:lgpl2.0+))) +(define-public kscreenlocker + (package + (name "kscreenlocker") + (version "5.14.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" version + "/kscreenlocker-" version ".tar.xz")) + (sha256 + (base32 "16amr7pz0k6w5vkk1dwn2qi3s1mln0jypwmjazqq2lbwimn8k56m")))) + (properties `((tags . '("Desktop" "KDE" "Plasma")))) + (build-system cmake-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* (#:key inputs outputs #:allow-other-keys) + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 -screen 0 640x480x24 &")) + (setenv "DISPLAY" ":1") + #t)) + (delete 'check) + ;; Tests use the installed binary and require a DBus session. + (add-after 'install 'check + (lambda _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") + (invoke "dbus-launch" "ctest" ".")))))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config) + + ;; For tests. + ("dbus" ,dbus) + ("xorg-server" ,xorg-server))) + (inputs + `(("kcmutils" ,kcmutils) + ("kcrash" ,kcrash) + ("kdeclarative" ,kdeclarative) + ("kglobalaccel" ,kglobalaccel) + ("ki18n" ,ki18n) + ("kidletime" ,kidletime) + ("knotifications" ,knotifications) + ("ktextwidgets" ,ktextwidgets) + ("kwayland" ,kwayland) + ("kwindowsystem" ,kwindowsystem) + ("kxmlgui" ,kxmlgui) + ("libseccomp" ,libseccomp) ;for sandboxing the look'n'feel package + ("libxcursor" ,libxcursor) ;missing in CMakeList.txt + ("libxi" ,libxi) ;XInput, required for grabbing XInput2 devices + ("linux-pam" ,linux-pam) + ("logind" ,elogind) ;optional loginctl support + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtx11extras" ,qtx11extras) + ("solid" ,solid) + ("wayland" ,wayland) + ("xcb-util-keysyms" ,xcb-util-keysyms))) + (home-page "https://cgit.kde.org/kscreenlocker.git") + (synopsis "Screen locking library") + (description + "@code{kscreenlocker} is a library for creating secure lock screens.") + (license license:gpl2+))) + (define-public libkomparediff2 (package (name "libkomparediff2") -- 2.20.1