all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 49702@debbugs.gnu.org
Subject: [bug#49702] [PATCH v2] gnu: Add swaylock-effects.
Date: Sat, 18 Sep 2021 12:14:09 +0000	[thread overview]
Message-ID: <yDhBv0fW4Gb-ibDazPjqlKWJttFpqg6ITNcjksm7tOci9iPT0fIGve6JlWm8AvxUCj_XcPOrpGq4CMSOy0hZAeaWya7XpT12sPb20R65RHo=@protonmail.com> (raw)
In-Reply-To: <CwBL6-F6YMX2ra9OLnCpVc0Ut5imO4U3CliYpqHflu7murpjD88BrLqx8Zlknyux3FwttwXK1t2r8wSaP9FqRsbiZaMfJBfX6xe45a7PcYA=@protonmail.com>

Hi Liliana,

thanks for the inputs!

--8<---------------cut here---------------start------------->8--

* gnu/packages/wm.scm (swaylock-effects): New variable.

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")
--
2.32.0




  parent reply	other threads:[~2021-09-18 12:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  3:06 [bug#49702] [PATCH] gnu: Add swaylock-effects phodina via Guix-patches via
2021-09-18  8:04 ` [bug#49702] Patch status phodina via Guix-patches via
2021-09-18 11:03 ` [bug#49702] [PATCH] gnu: Add swaylock-effects Liliana Marie Prikler
2021-09-18 12:14 ` phodina via Guix-patches via [this message]
2021-09-18 12:17   ` [bug#49702] [PATCH v2] " Liliana Marie Prikler
2021-09-18 12:52 ` [bug#49702] [PATCH v3] " phodina via Guix-patches via
2021-09-18 13:29   ` Liliana Marie Prikler
2021-10-30 21:26     ` phodina via Guix-patches via
2021-10-30 21:35       ` bug#49702: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='yDhBv0fW4Gb-ibDazPjqlKWJttFpqg6ITNcjksm7tOci9iPT0fIGve6JlWm8AvxUCj_XcPOrpGq4CMSOy0hZAeaWya7XpT12sPb20R65RHo=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=49702@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.