r/voidlinux • u/More-Tone3270 • 9h ago
Installing ManogWM from source. v.0.19.4
Update: i finished updating mango to the newest branch. While doing so, author committed another one. But NAH. "My job here is done"
Commit itself: ed0436d / mangowc: update to 0.19.4 - #63939
Hello. I want to ask some advice about usage of specific package outside the package manager.
I know I know. This topic was brought back a long time ago and Im definetly not the first nor the last that would ask for help. AND yes doing this can lead to vulnerabilities or bricked system, but still.
I would like some advice on it.
Would it be better if I somehow push a new update of MangoWM to the repo? or I can simply just build it from source on my machine and let it be?
Because I dont restart nor power off But hibernate my PC's (Main and a laptop) I didnt even notice that someone updated MangoWM to 0.18.0 version whilst I had 0.16.2 installed. Which did shock me but I fixed it later on anyway.
And so I thought: "Why not contribute to the people? If the guy that updated it to 0.18.0 did. Why cant I?"
I havent really tried pushing new updates for existing packages and I WOULD like to dig down this "Rabbit hole".
Any advice?
6
Upvotes
1
u/More-Tone3270 3h ago
I tested it. and it works quite well.
I have a dedicated entry for my regreet, Which allows DBus to interact with MangoWC and create a portal for OBS to capture video footage
2
u/Silly_Culture_7722 8h ago edited 7h ago
I do it by myself as well. what i did was creating a fork of void-packages on github and then clone it locally.
https://github.com/BlackScorp/void-packages/tree/local there i add my own packages
then i create a config file in /etc/xbps.d/00-local-packages.conf with this content
repository=/home/myusername/path/to/void-packages/hostdir/binpkgs/local
you can now set in the template file the required version and build it with xbps-src and then you can install it.
i also build a script which checks on github for new tags calcucalate the hashes and updates the version https://github.com/BlackScorp/dotfiles/blob/main/update-packages if building fails,usually because new dependencies are set, i ask my local agent to update the dependencies and run the script again.
i had some issues in the past because my local code was not up to date, then package update did not worked properly. so i would rather recommend to use the -R parameter instead of creating an entry in /etc/xbps.d/
EDIT: btw the easiest way is to pay like 2 dollar for deepseek install zed editor and use goose over ACP then you can point to your void-package repository and let the ai to prepare everything and build for you. it will costs you around 18 cents. so with 2 dollar you can even build your own void linux based system :D
1
u/thyristor_pt 8h ago
I can only say I wish the mangobar was in the musl repository. I tried compiling the source just last month but it was a dead end for me. The little I know goes up to "make install".