On Oct 12, 2010, at 8:05 AM, Ebrahim Mayat wrote:

> A Note to the fink packagers of audacious2-plugins, scummvm, sdl-mixer and 
> gst-buzztard
> 
> There are two packages of fluidsynth version 1.1.3 in fink presently.
> 
> The first one called "fluidsynth" is the autotools-built version of 
> fluidsynth which is recommended for end-users. In addition to coreaudio 
> support, portaudio support will also be compiled into the binary prior to the 
> install process.  For more detailed information, please read the README-OSX 
> document included in the upper-level fluidsynth-1.1.3 directory.
> 
> The usage description of the "fluidsynth" package advises:
> 
> Usage Notes:
> Packages needing fluidsynth are recommended to use the package fluidsynth1
> which uses the new recommended upstream build system.  Future updates will
> only happen to the fluidsynth1 package.
> 
> This brings me to the "fluidsynth1" package. This package is the cmake-built 
> one and it also includes notes for packagers who are adding programs that 
> link to libfluidsynth. All updates of fink packages linking to fluidsynth (in 
> addition to the ones mentioned above) should be done using the "fluidsynth1" 
> package and NOT the "fluidsynth" package:
> 
> Usage Notes:
> To properly link to fluidsynth1, packagers will need to set some combination
> of CFLAGS, LDFLAGS, or similar compiler flags to point to
> /sw/lib/fluidsynth1/(include/lib).
> 
> Your co-operation would be appreciated.
> Ebrahim Mayat

I tried updating audacious2-plugins to use fluidsynth1 but fluidsynth1 doesn't 
build for me on 10.6/x86_64 because freaking cmake is a moron and puts the 
library into lib64 instead of lib. Have I mentioned that I hate cmake?

#!/bin/sh -ev
 /sw/bin/cmake -DCMAKE_INSTALL_PREFIX=/sw/lib/fluidsynth1 .
-- The C compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /sw/var/lib/fink/path-prefix-10.6/gcc
-- Check for working C compiler: /sw/var/lib/fink/path-prefix-10.6/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether system has ANSI C header files
-- Looking for include files StandardHeadersExist
-- Looking for include files StandardHeadersExist - found
-- Performing Test memchrExists
-- Performing Test memchrExists - Success
-- Performing Test freeExists
-- Performing Test freeExists - Success
-- ANSI C header files - found
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - found
-- Looking for DIR in sys/stat.h;sys/types.h;dirent.h
-- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for math.h
-- Looking for math.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for netinet/tcp.h
-- Looking for netinet/tcp.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Performing Test _have_inline
-- Performing Test _have_inline - Success
-- Performing Test _have_vla
-- Performing Test _have_vla - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found Pthreads: /usr/lib/libpthread.dylib
-- Looking for CoreAudio/AudioHardware.h
-- Looking for CoreAudio/AudioHardware.h - found
-- Looking for CoreMIDI/MIDIServices.h
-- Looking for CoreMIDI/MIDIServices.h - found
-- checking for modules 'glib-2.0>=2.6.5;gthread-2.0>=2.6.5'
--   found glib-2.0, version 2.22.4
--   found gthread-2.0, version 2.22.4
-- checking for module 'sndfile>=1.0.0'
--   found sndfile, version 1.0.23
-- checking for module 'sndfile>=1.0.18'
--   found sndfile, version 1.0.23
-- checking for module 'libpulse-simple>=0.9.8'
--   package 'libpulse-simple>=0.9.8' not found
-- checking for module 'alsa>=0.9.1'
--   package 'alsa>=0.9.1' not found
-- checking for module 'portaudio-2.0>=19'
--   found portaudio-2.0, version 19
-- checking for module 'jack'
--   found jack, version 0.116.0
-- Found READLINE: /usr/include
-- checking for module 'lash-1.0>=0.3'
--   package 'lash-1.0>=0.3' not found
-- checking for module 'dbus-1>=1.0.0'
--   found dbus-1, version 1.2.24
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)

**************************************************************
Summary:
libsndfile:            yes (with ogg vorbis support)
D-Bus:                 yes
PulseAudio:            no
JACK:                  yes
ALSA:                  no
PortAudio:             yes
OSS:                   no
MidiShare:             no
CoreAudio:             yes
CoreMIDI:              yes
Windows:               no
LADSPA support:        no
LASH support:          no
LADCCA support:        no
OS/2 DART support:     no
Audio to file driver:  yes
Readline:              yes (NOTE: GPL library)
Samples type=float:    no (using double)
Profiling:             no
Debug:                 no
Trap on FPE (debug):   no
Check FPE (debug):     no
**************************************************************


-- Configuring done
-- Generating done
-- Build files have been written to: 
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3
 /usr/bin/make
Scanning dependencies of target libfluidsynth
[  2%] Building C object 
src/CMakeFiles/libfluidsynth.dir/drivers/fluid_coreaudio.c.o
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:
 In function 'new_fluid_core_audio_driver2':
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:115:
 warning: 'AudioHardwareGetProperty' is deprecated (declared at 
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:122:
 warning: 'AudioDeviceGetProperty' is deprecated (declared at 
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:131:
 warning: 'AudioDeviceGetProperty' is deprecated (declared at 
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:159:
 warning: 'AudioDeviceAddIOProc' is deprecated (declared at 
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2146)
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:
 In function 'delete_fluid_core_audio_driver':
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coreaudio.c:192:
 warning: 'AudioDeviceRemoveIOProc' is deprecated (declared at 
/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2160)
[  5%] Building C object 
src/CMakeFiles/libfluidsynth.dir/drivers/fluid_coremidi.c.o
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coremidi.c:
 In function 'delete_fluid_coremidi_driver':
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coremidi.c:162:
 warning: comparison between pointer and integer
/sw/src/fink.build/fluidsynth1-1.1.3-378/fluidsynth-1.1.3/src/drivers/fluid_coremidi.c:165:
 warning: comparison between pointer and integer
[  7%] Building C object 
src/CMakeFiles/libfluidsynth.dir/bindings/fluid_rtkit.c.o
[ 10%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_jack.c.o
[ 12%] Building C object 
src/CMakeFiles/libfluidsynth.dir/drivers/fluid_portaudio.c.o
[ 15%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.o
[ 17%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.o
[ 20%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.o
[ 23%] Building C object 
src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.o
[ 25%] Building C object 
src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.o
[ 28%] Building C object src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.o
[ 30%] Building C object 
src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.o
[ 33%] Building C object 
src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.o
[ 35%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.o
[ 38%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.o
[ 41%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.o
[ 43%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.o
[ 46%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.o
[ 48%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.o
[ 51%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.o
[ 53%] Building C object 
src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.o
[ 56%] Building C object src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.o
[ 58%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.o
[ 61%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.o
[ 64%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.o
[ 66%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.o
[ 69%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.o
[ 71%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.o
[ 74%] Building C object src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.o
[ 76%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.o
[ 79%] Building C object 
src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.o
[ 82%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.o
[ 84%] Building C object src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.o
[ 87%] Building C object 
src/CMakeFiles/libfluidsynth.dir/drivers/fluid_adriver.c.o
[ 89%] Building C object 
src/CMakeFiles/libfluidsynth.dir/drivers/fluid_mdriver.c.o
[ 92%] Building C object 
src/CMakeFiles/libfluidsynth.dir/drivers/fluid_aufile.c.o
[ 94%] Building C object src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.o
[ 97%] Building C object 
src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.o
Linking C shared library libfluidsynth.dylib
[ 97%] Built target libfluidsynth
Scanning dependencies of target fluidsynth
[100%] Building C object src/CMakeFiles/fluidsynth.dir/fluidsynth.c.o
Linking C executable fluidsynth
[100%] Built target fluidsynth
phase test: passed
/bin/rm -rf /sw/src/fink.build/root-fluidsynth1-1.1.3-378
/bin/mkdir -p /sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw
/bin/mkdir -p /sw/src/fink.build/root-fluidsynth1-1.1.3-378/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378
sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.3.btcCBf
/var/tmp/tmp.0.7FJ1VA
#! /bin/sh -ev
make install DESTDIR=/sw/src/fink.build/root-fluidsynth1-1.1.3-378 
[ 97%] Built target libfluidsynth
[100%] Built target fluidsynth
Install the project...
-- Install configuration: ""
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/lib64/pkgconfig/fluidsynth.pc
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/bin/fluidsynth
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/lib64/libfluidsynth.1.4.1.dylib
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/lib64/libfluidsynth.1.dylib
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/lib64/libfluidsynth.dylib
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/audio.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/event.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/gen.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/log.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/midi.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/misc.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/mod.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/ramsfont.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/seq.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/seqbind.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/settings.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/sfont.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/shell.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/synth.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/types.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/voice.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/include/fluidsynth/version.h
-- Installing: 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/share/man/man1/fluidsynth.1
mkdir -p /sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/pkgconfig
ln -s /sw/lib/fluidsynth1/lib/pkgconfig/fluidsynth.pc 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/pkgconfig/fluidsynth.pc
sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.4.CeuOA1
/usr/bin/install -d -m 700 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/doc/fluidsynth1
/bin/cp -r COPYING 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/doc/fluidsynth1/
/bin/cp -r README 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/doc/fluidsynth1/
/bin/cp -r README-OSX 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/doc/fluidsynth1/
/bin/chmod -R go=u-w 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/doc/fluidsynth1
/bin/rm -f /sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/info/dir 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/info/dir.old 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/info/dir 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/share/info/dir.old
/bin/rm -rf /sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378
/bin/mkdir -p /sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378/sw
/bin/mkdir -p /sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378/DEBIAN
/usr/sbin/chown -R fink-bld:fink-bld 
/sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378
sudo -u fink-bld [ENV] sh -c/var/tmp/tmp.5.Egjuw9
/usr/bin/install -d -m 755 
/sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378/sw/lib/fluidsynth1/lib
/bin/mv 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/lib/libfluidsynth.*.dylib
 /sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378/sw/lib/fluidsynth1/lib/
mv: rename 
/sw/src/fink.build/root-fluidsynth1-1.1.3-378/sw/lib/fluidsynth1/lib/libfluidsynth.*.dylib
 to 
/sw/src/fink.build/root-fluidsynth1-shlibs-1.1.3-378/sw/lib/fluidsynth1/lib/libfluidsynth.*.dylib:
 No such file or directory
### execution of /bin/mv failed, exit code 1

Daniel


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to