calf-studio-gear / calf

Developers repository of Calf Studio Gear. Expect some issues when using it for production.
http://calf-studio-gear.org
GNU Lesser General Public License v2.1
683 stars 96 forks source link

Fails to build when LV2 is not enabled #178

Open yurivict opened 6 years ago

yurivict commented 6 years ago

Version 0.90 fails when --without-lv2 is set:

gmake[2]: Leaving directory '/usr/ports/audio/calf-lv2/work/calf-0.90.0'
install: /usr/ports/audio/calf-lv2/work/stage/usr/local/lib/lv2/calf.lv2: realpath: No such file or directory
*** Error code 71
yurivict commented 6 years ago

Since calf is defined as a "set of LV2 plugins", should this option be just removed for simplicity?

boomshop commented 6 years ago

To me the option looks like historical from the days when Calf was LADSPA, DSSI and LV2 but I'm not sure about this. Krzystof?

boomshop commented 6 years ago

I think the option should be kept since it is reasonable to just install standalone calfjackhost without the need of plugins for ardour and the like. Some people tend to use Calf as system wide EQ/Crossover/Limiter.

Problem is: I cannot verify the issue, on my system everything works as expected. Any other hints?

yurivict commented 6 years ago

I got this error while updating the FreeBSD port. Now the LV2 option there is removed, but the problem still reproduces when --with-lv2 is changed to --without-lv2.

The easiest way to repeat is to install FreeBSD into a VM, and cd /usr/ports/audio/calf-lv2, change the option in Makefile, and make.

boomshop commented 6 years ago

Okay cool, thanks for the reply. I'll try it as described. Just a side note (without any request for action): Not sure if the FreeBSD Calf should be reduced to its LV2 capabilities.

yurivict commented 6 years ago

Not sure if the FreeBSD Calf should be reduced to its LV2 capabilities.

I think it's not reduced. With --with-lv2 it builds the same as with --without-lv2, plus LV2 plugins. There used to be an option LV2 in the FreeBSD port, but it was removed because if the port is billed as a set of LV2 plugins, this option is illogical. But this is a minor detail anyways.