Subject: bug#58107: closed (Re: bug#58107: [PATCH] gnu: swaylock-effects: Update to 1.6.10, use G-expressions.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 28 Sep 2022 02:39:01 +0000

Your bug report

#58107: [PATCH] gnu: swaylock-effects: Update to 1.6.10, use G-expressions.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58107: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58107
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58107: [PATCH] gnu: swaylock-effects: Update to 1.6.10, use G-expressions.
From: 宋文武 <[email-masked]>
To: kiasoc5 <[email-masked]>
Cc: [email-masked]
Date: Wed, 28 Sep 2022 10:38:10 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

kiasoc5 <[email-masked]> writes:

> * gnu/packages/wm.scm (swaylock-effects): Update to 1.6.10.
> [source]: Switch from commit to release tag.
> [arguments]: Use G-expressions.
> [home-page]: Switch to maintained fork.

Pushed, thank you!

Subject: [PATCH] gnu: swaylock-effects: Update to 1.6.10, use G-expressions.
From: kiasoc5 <[email-masked]>
To: [email-masked]
Cc: kiasoc5 <[email-masked]>
Date: Tue, 27 Sep 2022 02:06:30 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/wm.scm (swaylock-effects): Update to 1.6.10.
[source]: Switch from commit to release tag.
[arguments]: Use G-expressions.
[home-page]: Switch to maintained fork.
---
 gnu/packages/wm.scm | 47 ++++++++++++++++++---------------------------
 1 file changed, 19 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 310e62a00d..5699e42540 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1675,36 +1675,27 @@ (define-public swaylock
     (license license:expat))) ; MIT license
 
 (define-public swaylock-effects
-  ;; Latest release is from November 2020, but doesn't support disabling SSE.
-  (let ((commit "5cb9579faaf5662b111f5722311b701eff1c1d00")
-        (revision "1"))
-    (package
-      (inherit swaylock)
-      (name "swaylock-effects")
-      (version (git-version "1.6-3" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/mortie/swaylock-effects")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "036dkhfqgk7g9vbr5pxgrs66h5fz0rwdsc67i1w51aa9v01r35ca"))))
-      (arguments
-       `(#:configure-flags '("-Dsse=false")
-         #:phases
-         (modify-phases %standard-phases
-           (add-after 'unpack 'patch-meson
-             (lambda _
-               (substitute* "meson.build"
-                 (("'-mtune=native',") "")))))))
-      (synopsis "Screen locking utility for Wayland compositors with effects")
-      (description "@code{Swaylock-effects} is a fork of swaylock with additional
+  (package
+    (inherit swaylock)
+    (name "swaylock-effects")
+    (version "1.6.10")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jirutka/swaylock-effects")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1d8ri7bzwfr53ybgf23acz57wyhcl2f1nqprcda1v9bzfgsqfk2n"))))
+    (arguments
+     (list #:configure-flags #~'("-Dsse=false")))
+    (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"))))
+    (home-page "https://github.com/jirutka/swaylock-effects")))
 
 (define-public swaybg
   (package

base-commit: 754ce586e013582b0f6d28337fdc46db35395997
-- 
2.37.3