You are not logged in.

#1 2013-12-05 04:14:26

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Patching dwm [solved]

Hey
So I have been trying to patch dwm today with no success. Here are the steps that I thought were it.

1. Download source.
2. tar into ~/.abs
3. CD to ~/.abs/dwm-6.0
4. mv dwm-6.0-systray.diff to dwm-6.0
5 modify config.mk ( I modified it to look like this)
   

X11INC = /usr/include/X11
              X11LIB = /usr/lib/X11

6. patch > dwm-6.0-systray.diff
7. Shows no errors
8. I can not find any changes in config.def.h

Here have been my resources for patching dwm

https://bbs.archlinux.org/viewtopic.php?id=131480
http://dwm.suckless.org/patches/


Also I apologize about the post I am just stumped
https://wiki.archlinux.org/index.php/Talk:Dwm

Last edited by mich04 (2013-12-05 04:44:13)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2013-12-05 04:36:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Patching dwm [solved]

6. man patch


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-12-05 04:37:22

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Patching dwm [solved]

"Bangs head against wall"....

I did not think to try another patch before I cluttered up the fourm. aperently I was doing things correctly.


after I ran another patch it produced the results I was expecting

patch > dwm-6.0-fancybar.diff 

than I did 

make clean install

and logged out and in and it worked.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2013-12-05 05:07:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Patching dwm [solved]

mich04 wrote:

after I ran another patch it produced the results I was expecting

patch > dwm-6.0-fancybar.diff 

I don't know how that command could have worked as it overwrites the diff file with the patch command...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-12-05 14:31:15

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Patching dwm [solved]

I am not sure, when I logged out and in the expected change had taken place. hmm I can provide more information if you want.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

Board footer

Powered by FluxBB