guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: stumpwm: Remove obsolete patch.


From: guix-commits
Subject: 02/02: gnu: stumpwm: Remove obsolete patch.
Date: Sun, 8 Dec 2019 22:29:53 -0500 (EST)

brettgilio pushed a commit to branch master
in repository guix.

commit 9beec2173f9243456b6aca470acd926d0dcf9b45
Author: Evan Straw <address@hidden>
Date:   Thu Dec 5 11:33:37 2019 -0800

    gnu: stumpwm: Remove obsolete patch.
    
    * gnu/local.mk (stumpwm-fix-broken-read-one-line.patch): Remove obsolete.
    
    Co-authored-by: Brett Gilio <address@hidden>
    Signed-off-by: Brett Gilio <address@hidden>
---
 gnu/local.mk                                       |  3 +-
 .../patches/stumpwm-fix-broken-read-one-line.patch | 45 ----------------------
 2 files changed, 2 insertions(+), 46 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index fbfbc56..ddeec4f 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -23,6 +23,8 @@
 # Copyright © 2019 Guillaume Le Vaillant <address@hidden>
 # Copyright © 2019 John Soo <address@hidden>
 # Copyright © 2019 Jonathan Brielmaier <address@hidden>
+# Copyright © 2019 Evan Straw <address@hidden>
+# Copyright © 2019 Brett Gilio <address@hidden>
 #
 # This file is part of GNU Guix.
 #
@@ -1361,7 +1363,6 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/soundconverter-remove-gconf-dependency.patch    \
   %D%/packages/patches/steghide-fixes.patch                    \
   %D%/packages/patches/streamlink-update-test.patch            \
-  %D%/packages/patches/stumpwm-fix-broken-read-one-line.patch  \
   %D%/packages/patches/supercollider-boost-1.70-build-fix.patch        \
   %D%/packages/patches/superlu-dist-awpm-grid.patch            \
   %D%/packages/patches/superlu-dist-fix-mpi-deprecations.patch \
diff --git a/gnu/packages/patches/stumpwm-fix-broken-read-one-line.patch 
b/gnu/packages/patches/stumpwm-fix-broken-read-one-line.patch
deleted file mode 100644
index f8dac61..0000000
--- a/gnu/packages/patches/stumpwm-fix-broken-read-one-line.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From a13db62a4da06426cf2eb2376d1a3723b5ee52d5 Mon Sep 17 00:00:00 2001
-From: Vasily Postnicov <address@hidden>
-Date: Fri, 14 Dec 2018 20:01:53 +0300
-Subject: [PATCH] READ-ONE-LINE: Turn COMPLETIONS into a keyword argument
-
-This keeps READ-ONE-line backwards compatible to changes prior
-dae0422811771d179077b9336618f2b19be85b7b. Currently both
-ARGUMENT-POP-OR-READ and ARGUMENT-POP-REST-OR-READ are still being
-called with the previous lambda list. Update the calls to the
-READ-ONE-LINE that used the 'new' lambda list, COMPLETING-READ and
-YES-OR-NO-P.
-
-Closes #538
----
- input.lisp | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/input.lisp b/input.lisp
-index b698a368..7904b35f 100644
---- a/input.lisp
-+++ b/input.lisp
-@@ -307,10 +307,13 @@ passed the substring to complete on and is expected to 
return a list
- of matches. If require-match argument is non-nil then the input must
- match with an element of the completions."
-   (check-type completions (or list function symbol))
--  (let ((line (read-one-line screen prompt completions :initial-input 
initial-input :require-match require-match)))
-+  (let ((line (read-one-line screen prompt
-+                             :completions completions
-+                             :initial-input initial-input
-+                             :require-match require-match)))
-     (when line (string-trim " " line))))
- 
--(defun read-one-line (screen prompt completions &key (initial-input "") 
require-match password)
-+(defun read-one-line (screen prompt &key completions (initial-input "") 
require-match password)
-   "Read a line of input through stumpwm and return it. Returns nil if the 
user aborted."
-   (let ((*input-last-command* nil)
-         (*input-completions* completions)
-@@ -842,6 +845,7 @@ user presses 'y'"
- user presses 'yes'"
-   (loop for line = (read-one-line (current-screen)
-                                   (format nil "~a(yes or no) " message)
-+                                  :completions
-                                   '("yes" "no"))
-         until (find line '("yes" "no") :test 'string-equal)
-         do (message "Please answer yes or no")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]