Package request: libnoise
Package name
Libnoise
Package homepage
https://libnoise.sourceforge.net/index.html
Description
Portable C++ library that is used to generate coherent noise, a type of smoothly-changing noise. libnoise can generate Perlin noise, ridged multifractal noise, and other types of coherent-noise
Does the requested package meet the package requirements?
System, Compiled, Required
Is the requested package released?
Yes
This is required for #57981 This is an old library with a single version release 1.0.0 >10 years ago, but OrcaSlicer added it as a dependancy earlier this year.
It seems the original Makefile build is broken, and others have forked it to build with CMake. See: https://github.com/SoftFever/Orca-deps-libnoise https://github.com/eXpl0it3r/libnoise
But void won't package a fork that just changes the build style, so I'm trying to see if I can patch the original source to work. But if someone else wanted to try to take a stab at it, you're welcome to.
I'm running into the error
make[1]: Entering directory '/builddir/libnoise-1.0.0/lib'
make[1]: *** No rule to make target 'libnoise.a', needed by 'all'. Stop
Looking at the lib Makefile, it doesn't define libnoise.a however it does have VPATH=../src/ at the start and libnoise.a is defined in the src Makefile.
I'm not familiar enough with make to understand why that shouldn't work.
I did try to attempt to apply some patches to see if I could get something to work, but I'm also having trouble getting patch to actually find the Makefile from my patch file. It may be a formatting issue, because I'm getting an error about different line endings, but messing with that trying to apply various unixtodos, dostounix and such to the patch and/or Makefile, I couldn't get it work.
So I'm not sure where I should go from here with this.