You are not logged in.

#1 2020-05-29 11:03:54

Stargarth
Member
Registered: 2020-02-08
Posts: 21

[SOLVED] DWM systray

Hi,

I am trying to apply systray patch to my DWM but it says that patch does not apply.

error: patch failed: config.def.h:3
error: config.def.h: patch does not apply

I am trying to apply 6.2 patch to DWM version 6.2.
Anybody knows why I have this problem? Am I missing something?

My dwm source: https://github.com/Stargarth/dwmBuild

Last edited by Stargarth (2020-05-29 17:09:51)

Offline

#2 2020-05-29 11:42:38

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: [SOLVED] DWM systray

Is that the only output?


Mr Green

Offline

#3 2020-05-29 11:59:38

Stargarth
Member
Registered: 2020-02-08
Posts: 21

Re: [SOLVED] DWM systray

Unfortunately it is the only output hmm

Offline

#4 2020-05-29 12:36:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [SOLVED] DWM systray

Please describe your steps.  Are you using a PKGBUILD?  Is the patch applied in a prepare function?  Or if you apply the patch manually, post your complete commands and output.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2020-05-29 13:19:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,796

Re: [SOLVED] DWM systray

Did you maybe manually edit some values in config.def.h?

Offline

#6 2020-05-29 16:29:46

Stargarth
Member
Registered: 2020-02-08
Posts: 21

Re: [SOLVED] DWM systray

Trilby wrote:

Please describe your steps.

I downloaded dwm source from https://dwm.suckless.org/ and I applied few patches using git apply (I added Fibonacci and borders patches). I've build it with make command.

seth wrote:

Did you maybe manually edit some values in config.def.h?

I am pretty sure that I didn't. Maybe one of the patches did? Honestly I don't look at their content tongue. I only edit config.h.

I've uploaded my dwm source to github: https://github.com/Stargarth/dwmBuild

Offline

#7 2020-05-29 16:38:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [SOLVED] DWM systray

Trilby wrote:

... post your complete commands and output.

You only vaguely referred to other patches ... which ones, exactly which ones.  Where did you get them and exactly how did you apply them?

The other patches are almost certainly the cause of the failure.  This is a typical problem when one is applying multiple patches.  But if you don't give specifics about what you are doing so that we can replicate your steps, there is no more help that could be given other than saying that's why and you may need to manually apply the patch.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2020-05-29 17:01:43

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] DWM systray

Moving to Newbie Corner.

Offline

#9 2020-05-29 17:09:32

Stargarth
Member
Registered: 2020-02-08
Posts: 21

Re: [SOLVED] DWM systray

Trilby wrote:

.. which ones, exactly which ones.

I didn't remember exactly, so I've downloaded fresh dwm source, applied patches, build it again.... and it works!
I must have messed up something that I don't remember in previous build.

Anyway - thanks for help! As always it's much appreciated!

Offline

Board footer

Powered by FluxBB