Open juippis opened 7 months ago
I am not sure how to do pull requests, but I got it to build doing this:
git clone https://github.com/ahodesuka/ahoviewer
cd ahoviewer/
sudo find ./ -type f -exec sed -i 's/libnsgif/nsgif/g' {} \;
mv ./ext/libnsgif/libnsgif.c ./ext/libnsgif/nsgif.c
mv ./ext/libnsgif/libnsgif.h ./ext/libnsgif/nsgif.h
mv ./ext/libnsgif ./ext/nsgif
meson setup build
cd build
sudo find ./ -type f -exec sed -i 's/libnsgif/nsgif/g' {} \;
ninja
sudo ninja install
I can confirm. Gentoo Linux stabilized libnsgif-1.0.0-r1 on 2024-03-04 and for now I've masked the upgrade as the support is missing from Ahoviewer.
Fri Jul 5 06:59:37 PM EEST 2024 update: After giving up waiting for an upstream fix, I can confirm @Tuerai's solution works for the time being. It is unnecessary to execute the find commands with elevated privileges.
Hey,
upstream https://www.netsurf-browser.org/projects/libnsgif/ 1.0.0 renamed the header file from libnsgif.h to nsgif.h causing a breakage in ahoviewer.