[wiki] [sites] slock: add patches index file, misc typo correction || David Phillips

From: <git_AT_suckless.org>
Date: Thu, 07 Apr 2016 07:11:37 +0200

commit 3b09196966d4d1fc6de03073ac1d3544ec6212c8
Author: David Phillips <dbphillipsnz_AT_gmail.com>
Date: Thu Apr 7 17:11:04 2016 +1200

    slock: add patches index file, misc typo correction

diff --git a/tools.suckless.org/slock/patches/index.md b/tools.suckless.org/slock/patches/index.md
new file mode 100644
index 0000000..8f85dce
--- /dev/null
+++ b/tools.suckless.org/slock/patches/index.md
_AT_@ -0,0 +1,29 @@
+Patches
+=======
+
+diff generation
+---------------
+For git users:
+
+ cd slock-directory
+ git diff > slock-X.Y-yourpatchname.diff
+
+For tarballs:
+
+ cd modified-slock-directory/..
+ diff -up original-slock-directory modified-slock-directory > slock-X.Y-yourpatchname.diff
+
+where `X.Y` is a slock tag name or version number.
+
+
+patch application
+-----------------
+For git users:
+
+ cd slock-directory
+ git apply path/to/patch.diff
+
+For tarballs:
+
+ cd slock-directory
+ patch -p1 < path/to/patch.diff
diff --git a/tools.suckless.org/slock/patches/quickcancel.md b/tools.suckless.org/slock/patches/quickcancel.md
index 5e5e518..3da527c 100644
--- a/tools.suckless.org/slock/patches/quickcancel.md
+++ b/tools.suckless.org/slock/patches/quickcancel.md
_AT_@ -7,7 +7,7 @@ Description
 Allow slock to be cancelled by simple mouse movement within the
 first 3 seconds after starting.
 
-This is usefull if you forgot to disable `xautolock` during
+This is useful if you forgot to disable `xautolock` during
 an activity that requires no input (e.g. reading text, watching video).
 
 Notes
Received on Thu Apr 07 2016 - 07:11:37 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 07 2016 - 07:12:21 CEST