Subject: Fw: Re: [bug#70803] [PATCH] gnu: wm.scm: Add Binwarp to stumpwm-contrib

From: not emma <[email-masked]>
Date: Thu, 09 May 2024 15:29:58 +0000

Sent with Proton Mail secure email.

------- Forwarded Message -------
From: not emma <[email-masked]>
Date: On Thursday, May 9th, 2024 at 3:27 PM
Subject: Re: [bug#70803] [PATCH] gnu: wm.scm: Add Binwarp to stumpwm-contrib
To: Guillaume Le Vaillant <[email-masked]>

> Thanks for the heads up! I'm attaching the diff as a text file - and will attatch the the modified wm.scm as well
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> On Thursday, May 9th, 2024 at 2:57 PM, Guillaume Le Vaillant [email-masked] wrote:
> 
> > Hi.
> > The patch you sent is corrupted and does not apply.
> > It looks like your email client destroyed the indentation. Could you
> > send the patch again after setting your email client not to do that?
> > You can also sent the patch as an attached file if your email client
> > refuses to cooperate.

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index f4c6dbda0a..19414eec53 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -71,6 +71,7 @@
 ;;; Copyright © 2024 chris <[email-masked]>
 ;;; Copyright © 2024 Erik Eduardo Alonso Hernández <[email-masked]>
 ;;; Copyright © 2024 James Smith <[email-masked]>
+;;; Copyright © 2024 bigbug <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2590,6 +2591,22 @@ (define-public sbcl-stumpwm-pamixer
 control module for StumpWM.")
       (license license:gpl3))))
 
+(define-public sbcl-stumpwm-binwarp
+    (package
+     (inherit stumpwm-contrib)
+     (name "sbcl-stumpwm-binwarp")
+     (arguments
+      '(#:asd-systems '("binwarp")
+	#:tests? #f
+	#:phases
+	(modify-phases %standard-phases
+		       (add-after 'unpack 'chdir
+				  (lambda _ (chdir "util/binwarp") #t)))))
+      (home-page "https://github.com/stumpwm/stumpwm-contrib")
+      (synopsis "Keyboard-driven divide-and-conquer mouse control mode.")
+      (description "This package provides a new keyboard-driven keymap.")
+      (license (list license:gpl2+ license:gpl3+ license:bsd-2))))
+
 (define-public sbcl-stumpwm-ttf-fonts
   (package
     (inherit stumpwm-contrib)