I’m currently playing around with void and discovering xbps.
What I’m trying to accomplish: Apply some patches to dwm ( http://dwm.suckless.org , https://github.com/voidlinux/void-packages/tree/master/srcpkgs/dwm ), build a package with xbps-src, install dwm from my local repository.
Everything seems to work fine, however the binary which ends up on my system doesn’t seem to be patched.
What I did so far:
- Cloned void’s package repository:
git clone https://github.com/voidlinux/void-packages
- Created a bootstrap environment
Created a direcotory for patches in void-packages/srcpkgs/dwm called “patches” and put some patches in there.
Added patch_args="-p1"’ to the template.
Built the package with
xbps-src pkg dwm
(It clealry shows that the patches are applied and succesfully compiles)
Registered the binpkgs directory as a local repo with
(it says “dwm added” or something like this)
Created config files in /etc/xbps.d, one starting with 00-… for my local repo, pointing to …/void-packages/hostdir/binpkgs and one starting with 01-… pointing to the remote repository.
Tried to install the package with xbps-install -S dwm.
If I log in and start dwm, it doesn’t behave as if the patches were applied. How would I find out if the installed binary is the one which I compiled or the one available in the void repos?
Are there any obvious mistakes or misconceptions? Thank you in advance