On Fri, May 2, 2008 at 12:21 PM, Paul Wise <[EMAIL PROTECTED]> wrote:
> I'm going to have a go at killing all these libraries right now, but > someone needs to get in contact with upstream and educate them about > the evilness of embedded code copies. I thought this would be as simple as turning on the SYSLIBS option to the SConstruct, but... I began by fighting with scons because it decided boost doesn't exist and doesn't want to run the compiler to find out. Worked around this by ignoring the error. Getting help in #scons though. There are a bunch of libraries, but it is hard to tell which are internal ardour libs and which are code copies. After turning on SYSLIBS (USE AT YOUR OWN RISK: CANCELS ALL SUPPORT FROM ARDOUR AUTHORS) I see the below stuff that might be problematic. Does anyone know if the below stuff are external libraries? I know that clearlooks is a gtk theme and libsndfile is an external library, but I'm not sure about the rest. It builds fine without the embedded copy of libsndfile, didn't test it though because I've never used it. libraries['ardour'] = LibraryInfo (LIBS='ardour', LIBPATH='#libs/ardour', CPPPATH='#libs/ardour') libraries['midi++2'] = LibraryInfo (LIBS='midi++', LIBPATH='#libs/midi++2', CPPPATH='#libs/midi++2') libraries['pbd'] = LibraryInfo (LIBS='pbd', LIBPATH='#libs/pbd', CPPPATH='#libs/pbd') libraries['gtkmm2ext'] = LibraryInfo (LIBS='gtkmm2ext', LIBPATH='#libs/gtkmm2ext', CPPPATH='#libs/gtkmm2ext') ... # # these are part of the Ardour source tree because they are C++ # libraries['vamp'] = LibraryInfo (LIBS='vampsdk', LIBPATH='#libs/vamp-sdk', CPPPATH='#libs/vamp-sdk') libraries['vamphost'] = LibraryInfo (LIBS='vamphostsdk', LIBPATH='#libs/vamp-sdk', CPPPATH='#libs/vamp-sdk') ... libraries['rubberband'] = LibraryInfo (LIBS='rubberband', LIBPATH='#libs/rubberband', CPPPATH='#libs/rubberband', CCFLAGS='-DUSE_RUBBERBAND') ... libraries['sndfile-ardour'] = LibraryInfo(LIBS='libsndfile-ardour', LIBPATH='#libs/libsndfile', CPPPATH=['#libs/libsndfile/src']) ... libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', LIBPATH='#libs/appleutility', CPPPATH='#libs/appleutility') ... subdirs = [ 'libs/libsndfile', 'libs/pbd', 'libs/midi++2', 'libs/ardour', 'libs/vamp-sdk', 'libs/vamp-plugins/', # these are unconditionally included but have # tests internally to avoid compilation etc # if VST is not set 'libs/fst', 'vst', # this is unconditionally included but has # tests internally to avoid compilation etc # if COREAUDIO is not set 'libs/appleutility' ] ... gtk_subdirs = [ 'libs/gtkmm2ext', 'gtk2_ardour', 'libs/clearlooks' ] ... surface_subdirs = [ 'libs/surfaces/control_protocol', 'libs/surfaces/generic_midi', 'libs/surfaces/tranzport', 'libs/surfaces/mackie', 'libs/surfaces/powermate' ] ... surface_subdirs += [ 'libs/surfaces/sony9pin' ] ... timefx_subdirs = ['libs/soundtouch'] if env['RUBBERBAND']: timefx_subdirs += ['libs/rubberband'] -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]