diff mbox series

[bug#53757] fix i3-gaps by updating to 4.20.1

Message ID 20220203184620.kub5gsdlqpxrycp5@knurd
State Accepted
Headers show
Series [bug#53757] fix i3-gaps by updating to 4.20.1 | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Gabriel Wicki Feb. 3, 2022, 6:46 p.m. UTC
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 <gabriel@erlikon.ch>
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(-)


base-commit: 5fe10d1b97b1ea183eebcc44de175e1d135ae558

Comments

Leo Famulari Feb. 3, 2022, 7:21 p.m. UTC | #1
On Thu, Feb 03, 2022 at 07:46:20PM +0100, Gabriel Wicki wrote:
> 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 <gabriel@erlikon.ch>
> 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

Thanks! I made sure to list all the changes in the commit message
(switch from url-fetch to git-fetch) and pushed as
70f2207152793d74b78b66b04b66fbbdd4d7c620
diff mbox series

Patch

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 <jgart@dismail.de>
 ;;; Copyright © 2021 Disseminate Dissent <disseminatedissent@protonmail.com>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Gabriel Wicki <gabriel@erlikon.ch>
 ;;;
 ;;; 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