Subject: [PATCH] fix i3-gaps by updating to 4.20.1
From: Gabriel Wicki <[email-masked]>
To: [email-masked]
Date: Thu, 3 Feb 2022 19:46:20 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello

i3-gaps was broken, the patch below fixes this and updates the package
to 4.20.1.

Thanks to lfam for their assistance on irc!

Kind regards

Gabriel 

From c03cc3c3f3e522f3eba6cf00f2a8ccaa121ced06 Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <[email-masked]>
Date: Thu, 3 Feb 2022 19:38:57 +0100
Subject: [PATCH] gnu: i3-gaps: Update to 4.20.1

* gnu/packages/wm (i3-gaps): Update to 4.20.1
---
 gnu/packages/wm.scm | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 93040895bf..de67177730 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2021 jgart <[email-masked]>
 ;;; Copyright © 2021 Disseminate Dissent <[email-masked]>
 ;;; Copyright © 2022 John Kehayias <[email-masked]>
+;;; Copyright © 2022 Gabriel Wicki <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -356,20 +357,22 @@ (define-public i3-wm
     (license license:bsd-3)))
 
 (define-public i3-gaps
-  (package (inherit i3-wm)
-           (name "i3-gaps")
-           (version "4.18.3")
-           (source (origin
-                     (method url-fetch)
-                     (uri (string-append
-                           "https://github.com/Airblader/i3/releases/download/"
-                           version "/i3-" version ".tar.bz2"))
-                     (sha256
-                      (base32
-                       "1hcakwyz78lgp8mhqv7pw86jlb3m415pfql1q19rkijnhm3fn3ci"))))
-           (home-page "https://github.com/Airblader/i3")
-           (synopsis "Tiling window manager with gaps")
-           (description "i3-gaps is a fork of i3wm, a tiling window manager
+  (package
+    (inherit i3-wm)
+    (name "i3-gaps")
+    (version "4.20.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Airblader/i3")
+                    (commit version)))
+              (sha256
+               (base32
+                "0g0qmv2gpv9qbhj9h5f4c4vfs6ndzq2rblgx9md85iharwp5sbb9"))))
+    (home-page "https://github.com/Airblader/i3")
+    (synopsis "Tiling window manager with gaps")
+    (description
+     "i3-gaps is a fork of i3wm, a tiling window manager
 for X11.  It is kept up to date with upstream, adding a few additional
 features such as gaps between windows.
 
@@ -382,7 +385,7 @@ (define-public i3-gaps
 
 i3 uses a plain-text configuration file, and can be extended and controlled
 from many programming languages.")
-           (license license:bsd-3)))
+    (license license:bsd-3)))
 
 (define-public i3lock
   (package

base-commit: 5fe10d1b97b1ea183eebcc44de175e1d135ae558
-- 
2.34.0