On 2020/06/28 11:01, Kinichiro Inoguchi wrote:
> On Sat, Jun 27, 2020 at 04:55:47PM +0100, Stuart Henderson wrote:
> > On 2020/06/27 15:37, Kinichiro Inoguchi wrote:
> > > Currently, lmms is disabling the ZynAddSubFX plugin.
> > > This diff enables it.
> > > 
> > > - remove patches/patch-plugins_CMakeLists_txt to build zynaddsubfx
> > > - add required libraries to WANTLIB and LIB_DEPENDS
> > > - bump up REVISION to 1
> > > 
> > >   In this diff, I just delete all lines in patch-plugins_CMakeLists_txt.
> > >   I would like to 'cvs remove' it if this diff is ok.
> > > 
> > > I had confirmed that build and install on my OpenBSD 6.7 (amd64) 
> > > succeeded.
> > > And I could play ZynAddSubFX within lmms.
> > > 
> > > ok?
> > 
> > Doesn't seem to work here (I couldn't get it to work when I tried
> > before when I updated the port to 1.2.0).
> > 
> > I don't see ZynAddSubFX show up in the plugins list in lmms.
> > And I see this on the console when starting lmms,
> > 
> > lmms:/usr/local/lib/lmms/libZynAddSubFxCore.so: lmms : WARNING: 
> > symbol(_ZTI6Effect) size mismatch, relink your program
> > lmms:/usr/local/lib/lmms/libZynAddSubFxCore.so: lmms : WARNING: 
> > symbol(_ZTV6Effect) size mismatch, relink your program
> > "LMMS plugin /usr/local/lib/lmms/libZynAddSubFxCore.so does not have a 
> > plugin descriptor named ZynAddSubFxCore_plugin_descriptor!"
> 
> Thanks for checking this.
> 
> I'm getting the same console messages.
> ============================================================
> $ lmms
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-inoguchi'
> lmms:/usr/local/lib/lmms/libZynAddSubFxCore.so: lmms : WARNING: 
> symbol(_ZTI6Effect) size mismatch, relink your program
> lmms:/usr/local/lib/lmms/libZynAddSubFxCore.so: lmms : WARNING: 
> symbol(_ZTV6Effect) size mismatch, relink your program
> "LMMS plugin /usr/local/lib/lmms/libZynAddSubFxCore.so does not have a plugin 
> descriptor named ZynAddSubFxCore_plugin_descriptor!"
> ============================================================
> But I can see ZynAddSubFX in "Instrument Plugins" and "My Preset".
> 
> I will attach my "make port-lib-depends-check" and "make config" below.
> difference seems:
> - I'm using lo.1 (recently I re-added liblo-0.31 to ports)
> - Mine showed up patch apply section (intentionally omitted ?)
> - I have no cmake warning (I installed 3.16.2)
> - fluidsynth 1.1.6 vs 2.1.2 (I'm using pkg_add on my OpenBSD 6.7,
>   and the latest was fluidsynth-1.1.6p5)
> 
> Can I try fluidsynth 2.1.2 to check if this is the problem ?
> In that case, could you tell me where I can obtain 2.1.2, please.

Apologies, I had forgotten about the local update to fluidsynth (I didn't
successfully get sndio working so I had abandoned it, but still had it
installed)..

My liblo version is from testing your submission before it was committed,
I think there was no change other than the version number.

Replacing liblo and fluidsynth with the versions from current packages
doesn't help. I only see Sine Oscillator (x4) and White Noise Source in
instrument plugins.

The missing linkages in port-lib-depends-check are still there:

lmms-1.2.0p1(audio/lmms):
Extra:  fftw3.7 lo.1 mxml.0

"Extra" means that the libraries are listed in WANTLIB but are not used
by any of the programs/libraries in the package, this might mean that
static libraries are used instead, but it's a bit suspicious.

Can you try updating your system? cmake 3.17 has been in the ports tree
for a month, maybe it's related to that.

Reply via email to