Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 05:55:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233462] audio/lmms: Unbreak build with FluidSynth 2.x
Message-ID:  <bug-233462-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233462

            Bug ID: 233462
           Summary: audio/lmms: Unbreak build with FluidSynth 2.x
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: tobik@freebsd.org
                CC: rodrigo@FreeBSD.org
            Blocks: 233448
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org
 Attachment #199507 maintainer-approval?(rodrigo@FreeBSD.org)
             Flags:
                CC: rodrigo@FreeBSD.org

Created attachment 199507
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199507&action=
=3Dedit
lmms-fluidsynth2.diff

LMMS doesn't currently build with FluidSynth 2.x.  Add the patch from
[1] to fix the build with both FluidSynth 1 and 2.

/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:101:20:
error: use of undeclared identifier 'FLUID_REVERB_DEFAULT_ROOMSIZE'
        m_reverbRoomSize( FLUID_REVERB_DEFAULT_ROOMSIZE, 0, 1.0, 0.01f, thi=
s,
tr( "Reverb Roomsize" ) ),
                          ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:102:19:
error: use of undeclared identifier 'FLUID_REVERB_DEFAULT_DAMP'; did you me=
an
'FLUID_INTERP_DEFAULT'?
        m_reverbDamping( FLUID_REVERB_DEFAULT_DAMP, 0, 1.0, 0.01, this, tr(
"Reverb Damping" ) ),
                         ^~~~~~~~~~~~~~~~~~~~~~~~~
                         FLUID_INTERP_DEFAULT
/usr/local/include/fluidsynth/synth.h:200:5: note: 'FLUID_INTERP_DEFAULT'
declared here
    FLUID_INTERP_DEFAULT =3D FLUID_INTERP_4THORDER, /**< Default interpolat=
ion
method */
    ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:103:17:
error: use of undeclared identifier 'FLUID_REVERB_DEFAULT_WIDTH'
        m_reverbWidth( FLUID_REVERB_DEFAULT_WIDTH, 0, 1.0, 0.01f, this, tr(
"Reverb Width" ) ),
                       ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:104:17:
error: use of undeclared identifier 'FLUID_REVERB_DEFAULT_LEVEL'
        m_reverbLevel( FLUID_REVERB_DEFAULT_LEVEL, 0, 1.0, 0.01f, this, tr(
"Reverb Level" ) ),
                       ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:106:15:
error: use of undeclared identifier 'FLUID_CHORUS_DEFAULT_N'; did you mean
'FLUID_VOICE_DEFAULT'?
        m_chorusNum( FLUID_CHORUS_DEFAULT_N, 0, 10.0, 1.0, this, tr( "Chorus
Lines" ) ),
                     ^~~~~~~~~~~~~~~~~~~~~~
                     FLUID_VOICE_DEFAULT
/usr/local/include/fluidsynth/voice.h:46:5: note: 'FLUID_VOICE_DEFAULT'
declared here
    FLUID_VOICE_DEFAULT           /**< For default modulators only, no need=
 to
check for duplicates */
    ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:107:17:
error: use of undeclared identifier 'FLUID_CHORUS_DEFAULT_LEVEL'
        m_chorusLevel( FLUID_CHORUS_DEFAULT_LEVEL, 0, 10.0, 0.01, this, tr(
"Chorus Level" ) ),
                       ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:108:17:
error: use of undeclared identifier 'FLUID_CHORUS_DEFAULT_SPEED'
        m_chorusSpeed( FLUID_CHORUS_DEFAULT_SPEED, 0.29, 5.0, 0.01, this, t=
r(
"Chorus Speed" ) ),
                       ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:109:17:
error: use of undeclared identifier 'FLUID_CHORUS_DEFAULT_DEPTH'
        m_chorusDepth( FLUID_CHORUS_DEFAULT_DEPTH, 0, 46.0, 0.05, this, tr(
"Chorus Depth" ) )
                       ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:395:17:
error: variable has incomplete type 'fluid_preset_t' (aka '_fluid_preset_t')
        fluid_preset_t preset;
                       ^
/usr/local/include/fluidsynth/types.h:41:16: note: forward declaration of
'_fluid_preset_t'
typedef struct _fluid_preset_t fluid_preset_t;                  /**< SoundF=
ont
preset */
               ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:408:14:
error: member access into incomplete type 'fluid_sfont_t' (aka
'_fluid_sfont_t')
                        pSoundFont->iteration_start( pSoundFont );
                                  ^
/usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of
'_fluid_sfont_t'
typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundF=
ont
*/
               ^
/construction/home/tobias/ports/fluidsynth/audio/lmms/work/lmms-1.2.0-rc7/p=
lugins/sf2_player/sf2_player.cpp:409:21:
error: member access into incomplete type 'fluid_sfont_t' (aka
'_fluid_sfont_t')
                        while( pSoundFont->iteration_next( pSoundFont,
                                         ^
/usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of
'_fluid_sfont_t'
typedef struct _fluid_sfont_t fluid_sfont_t;                    /**< SoundF=
ont
*/
               ^
11 errors generated.

[1]
https://github.com/LMMS/lmms/commit/1f7cd3ed5af6640c0e38a2dc2d9be5a9ae036dc=
8.patch


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233448
[Bug 233448] audio/fluidsynth: Update to 2.0.2
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233462-7788>