https://github.com/jceb/dwm-clean-patches
My patches for http://dwm.suckless.org/ that apply to vanilla dwm
https://github.com/jceb/dwm-clean-patches
Last synced: about 1 year ago
JSON representation
My patches for http://dwm.suckless.org/ that apply to vanilla dwm
- Host: GitHub
- URL: https://github.com/jceb/dwm-clean-patches
- Owner: jceb
- Created: 2013-12-01T12:52:20.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-11-25T11:33:32.000Z (over 8 years ago)
- Last Synced: 2025-03-22T21:02:20.693Z (about 1 year ago)
- Language: Shell
- Size: 208 KB
- Stars: 36
- Watchers: 6
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dwm-clean-patches
=================
This repository contains a selection of patches for different versions of dwm.
For every version of dwm there is a directory. Every directory contains with the
changeset id as its name. Below this directory the patches are stored, together
with a detailed README file.
The two scripts `clean.mk` and `clean.sh` are used for creating clean patches.
The tools `git` and `quilt` are required for modifying the patches.
## Installation
Check out the dwm-patches repository:
$ git clone https://github.com/jceb/dwm-patches
$ cd dwm-patches
Check out the dwm-clean-patches repository:
$ git clone https://github.com/jceb/dwm-clean-patches
Create symlinks to `clean.mk` and `clean.sh`:
$ ln -s dwm-clean-patches/clean.* .
## Usage
Update all patches from the dwm-patches repository to apply cleanly against the
tip of the dwm repository:
$ ./clean.mk
Certainly errors will occur when running the above command. Fix the error and
run:
$ export QUILT_SERIES=single_series
$ quilt refresh
Continue updating patches till all apply cleanly:
$ ./clean.mk
Specific patches can be updated by passing them as arguments:
$ ./clean.mk ARGS="PATCH1 [PATCH2]"
Finally upload the resulting directory containing only patches that apply
cleanly against the tip of the dwm repository:
$ cp -r $VERSION dwm-clean-patches/
$ cd dwm-clean-patches
$ git add $VERSION
Don't forget to revert the changes you did to the patches of the dwm-patches
repository:
$ git checkout -- patches/*