From patchwork Mon Feb 11 15:18:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 1024 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A1EE716B1B; Mon, 11 Feb 2019 15:19:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2D06716B19 for ; Mon, 11 Feb 2019 15:19:19 +0000 (GMT) Received: from localhost ([127.0.0.1]:51610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtDMc-0004WM-NX for patchwork@mira.cbaines.net; Mon, 11 Feb 2019 10:19:18 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#34435] [PATCH 3/3] gnu: Add kscreenlocker. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Feb 2019 15:19:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34435 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34435@debbugs.gnu.org Received: via spool by 34435-submit@debbugs.gnu.org id=B34435.154989833319567 (code B ref 34435); Mon, 11 Feb 2019 15:19:03 +0000 Received: (at 34435) by debbugs.gnu.org; 11 Feb 2019 15:18:53 +0000 Received: from localhost ([127.0.0.1]:43932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtDMD-00055S-0i for submit@debbugs.gnu.org; Mon, 11 Feb 2019 10:18:53 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:36527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtDM6-00054o-El for 34435@debbugs.gnu.org; Mon, 11 Feb 2019 10:18:46 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 652AF22053; Mon, 11 Feb 2019 10:18:41 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 11 Feb 2019 10:18:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=J1zpd+AKL3Kw3 etBayCYIFE0IrMkQ/+aIrr4Z8nWBWU=; b=YRfoMzUDYeZZnTJrWco72TMqYcJiG DWlywwPYU77b/9D+xvt+yx4MLEVG8DrW34/JXBGhpDyPuh/npHS2scQvi2VaCT/q dTw5cMlUwO6hefH+lx2ousnzeYeu8w3fhj+ucsyMUeIr0H+sDaxHsIi/jZ0/ydqh oWJozwoNOtBibuRaHU3NRSs/tCsS7u7o/YTXTeS+uNlMpQoyVOwSB8Fs6uwVRscH CqXP6D4erZK/4teQLYuSg80bZDAZEMyL1DsBFbeSXT26YEimDVS3avjMN2VXMh3c kahOR+SAZArLXdR8ddccc1uFtE9nSWrp5ZVJ+UFomqZkfz3ygoCVt9LBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=J1zpd+AKL3Kw3etBayCYIFE0IrMkQ/+aIrr4Z8nWBWU=; b=wxHZUEUF 9Zy4BbNkHDWnSGt0Z0KM+WUroUnZkQ6CTn2568AM28svREUvPQXostiP8CqeW3ol +GNxDJNYaefucnEMwUC7UbMC2P5mgTZkmAr0llsiIVgWMAQ326BnNv+YUk2Veguy htETc5mSewaly2Q1Pbb6bNn5Eaj4/qCnv88YXPZYEBYPIVTikf374rfS12gS5Rst R8iQo2Wvtj3I4Nc3iy3yKe4VkOZE3Ewxiiqj+ntRpaFWgBaEgJ2Krd4D2UyPlHa7 nQnWu6nRzQQhGLtAGl9wocGZt3VTSd/YCOhCVDhu/HOoZq4BSwM63czedR70YyD3 2OqAKz1uTi/BBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrleelgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojg hfggfgsedtkeertdertddtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggr khhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucffohhmrghinhepkhguvgdrohhrghenuc fkphepiedvrdduiedrvddviedrudegtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgs rghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id CBC6BE4680; Mon, 11 Feb 2019 10:18:40 -0500 (EST) From: Marius Bakke Date: Mon, 11 Feb 2019 16:18:35 +0100 Message-Id: <20190211151835.18653-3-mbakke@fastmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211151835.18653-1-mbakke@fastmail.com> References: <20190211151835.18653-1-mbakke@fastmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hartmut Goebel Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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")