if(($ACT == 'edit' || $ACT == 'preview') && $INFO['editable']){ ?> } else { ?> } ?>
on osx 10.4 PPC
prereqisites
svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg cd ffmpeg ./configure --enable-swscale --enable-gpl --enable-pthreads make sudo make install
* freetype - untar, ./configure && make && sudo make install
* portmidi
curl -o portmedia-src-82.zip http://surfnet.dl.sourceforge.net/sourceforge/portmedia/portmidi-src-82.zip unzip portmedia-src-82.zi cd portmidi cc -single_module -g -DPM_CHECK_ERRORS -Iporttime -Ipm_common -dynamiclib \ pm_mac/pmmac.c pm_common/pmutil.c pm_common/portmidi.c pm_mac/pmmacosxcm.c \ -flat_namespace -undefined suppress -o libportmidi.dylib \ -framework CoreMIDI -framework CoreFoundation -framework CoreAudio cc -dynamiclib porttime/porttime.c porttime/ptmacosx_mach.c \ -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -flat_namespace \ -undefined suppress -o libporttime.dylib PF=/usr/local/ sudo install porttime/porttime.h $PF/include/ sudo install pm_common/portmidi.h $PF/include sudo install libportmidi.dylib $PF/lib/ sudo install libporttime.dylib $PF/lib/
or simply
xcodebuild -project pm_mac/pm_mac.xcodeproj
static link with .a libs:
gcc -g -O3 -lz -lbz2 -framework Carbon -framework Quicktime -o xjadeo xjadeo-xjadeo.o xjadeo-getopt.o xjadeo-getopt1.o xjadeo-display.o xjadeo-jack.o xjadeo-midi.o xjadeo-freetype.o xjadeo-display_x11.o xjadeo-smpte.o xjadeo-main.o xjadeo-remote.o xjadeo-configfile.o xjadeo-lash.o xjadeo-mqueue.o xjadeo-display_mac.o -ljack -L/usr/local/lib -lavformat -lavcodec -lavutil -lswscale -lXext ~/robin/portmidi/porttime/libporttime.a ~/robin/portmidi/pm_mac/libportmidi.a /usr/local/lib/libfreetype.a -L/usr/local/lib/ -lz -ljack -L/usr/X11R6/lib -framework CoreMIDI -framework CoreFoundation -framework CoreAudio
mimeta:~/robin/xjadeo/src/xjadeo missdilizzy$ otool -L xjadeo