GitXplorerGitXplorer
j

dwm-clean-patches

public
36 stars
8 forks
3 issues

Commits

List of commits on branch master.
Unverified
85fd413eb11eb29193ef681797b8d52a97bc3a9e

Update patch

jjceb committed 8 years ago
Unverified
bb9bced32bd3b3483c4e6cf23df2afb267bb91db

Add focusurgent patch

jjceb committed 8 years ago
Unverified
7e1203772b2ed0269c86f497a83cee2d18ec1510

Update patches

jjceb committed 8 years ago
Unverified
39a7e60006ed0338941abe98f616b93a7974a1ae

Add support for dwm's new patch format

jjceb committed 8 years ago
Unverified
cfbaa7db22b73a9706481034634ac34d57286b71

update systray patch

jjceb committed 11 years ago
Unverified
afb4fe3697e4c80db62a458d5fc4ce1a25a751fe

update clean scripts

jjceb committed 11 years ago

README

The README file for this repository.

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/*