From patchwork Sat Sep 18 12:14:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33117 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 259F327BBE1; Sat, 18 Sep 2021 13:15:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8A62827BBE3 for ; Sat, 18 Sep 2021 13:15:10 +0100 (BST) Received: from localhost ([::1]:44728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRZFN-00013W-Lq for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 08:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRZFH-00013A-1J for guix-patches@gnu.org; Sat, 18 Sep 2021 08:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRZFG-0002M4-QX for guix-patches@gnu.org; Sat, 18 Sep 2021 08:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRZFG-0005hl-G1 for guix-patches@gnu.org; Sat, 18 Sep 2021 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49702] [PATCH v2] gnu: Add swaylock-effects. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 49702@debbugs.gnu.org Received: via spool by 49702-submit@debbugs.gnu.org id=B49702.163196726321869 (code B ref 49702); Sat, 18 Sep 2021 12:15:02 +0000 Received: (at 49702) by debbugs.gnu.org; 18 Sep 2021 12:14:23 +0000 Received: from localhost ([127.0.0.1]:33760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRZEd-0005gf-Fg for submit@debbugs.gnu.org; Sat, 18 Sep 2021 08:14:23 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:58236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRZEb-0005gP-TF for 49702@debbugs.gnu.org; Sat, 18 Sep 2021 08:14:22 -0400 Date: Sat, 18 Sep 2021 12:14:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631967251; bh=OGq4u7If8/33qeLJChM4a4hSBZZheV8v3m1dC9Gxdlk=; h=Date:To:From:Cc:Reply-To:Subject:From; b=N1+Km+4AgDwWaX4QKnhKCl+O01iFZSV10IVvQwFYFgq0UIsAlBBpvBbHmLdrV4B2I urq0RA8Ducfor4EljdcTIgzqXex3lBHQ6tR2xFpl9Qt1VJoHzOmhIiRoXAN+48D1pi LVF+xVeYz552ysouQr6j1h2Bl2lzMvgn5zZOOk8Y= Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi Liliana, thanks for the inputs! --8<---------------cut here---------------start------------->8-- * gnu/packages/wm.scm (swaylock-effects): New variable. --- 2.32.0 diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 957c5a0d5a..f5f9583fa3 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -83,6 +83,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages build-tools) ;for meson-0.55 #:use-module (gnu packages calendar) + #:use-module (gnu packages commencement) ; for gcc>9 #:use-module (gnu packages datastructures) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -1617,6 +1618,30 @@ modules for building a Wayland compositor.") (description "Swaylock is a screen locking utility for Wayland compositors.") (license license:expat))) ; MIT license +(define-public swaylock-effects + (package (inherit swaylock) + (name "swaylock-effects") + ;; Upstream v1.6-3 released on 16/11/2020 + (version "5cb9579faaf5662b111f5722311b701eff1c1d00") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mortie/swaylock-effects") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "036dkhfqgk7g9vbr5pxgrs66h5fz0rwdsc67i1w51aa9v01r35ca")))) + ; Requires gcc>=9 see the issue here + ; https://github.com/mortie/swaylock-effects/issues/26 + (native-inputs `(("gcc", gcc-9) + ,@(package-native-inputs swaylock))) + (synopsis "Screen locking utility for Wayland compositors with effects") + (description "@code{Swaylock-effects} is a fork of swaylock with additional +features, such as the ability to take a screenshot as the background image, +display a clock or apply image manipulation techniques to the background image.") + (home-page "https://github.com/mortie/swaylock-effects"))) + (define-public swaybg (package (name "swaybg")