Hi,

Attached patch fixes some issues with OS/X build regarding library frameworks 
and build flags. Without this, you needed to have a link to QT toolkit in 
/Library/Frameworks even if qtdir was given on command line.

The patch also check for existence of /sw /opt/local and /usr/local and doesn't 
add these to build if the directories don't exist: this is only cosmetic to get 
rid of some warnings in build log.

You may notice this patch changes a bit of linux build as well, where I set the 
list of QT modules earlier and use it to build linux library list instead of 
hadcoding it. This shouldn't have any functional difference, as long as the 
list of QT modules to link is same on linux and OSX.

Also happy to inform this build was made on a pretty much clean Xcode 4.3 + cli 
tools + homebrew setup on lion for 64bit target, and briefly testing the 
program it seems to be fine. All dependencies were built from homebrew except 
for portmidi which I compiled manually for 64bit (their homebrew package is 
currently broken after xcode 4.3 change).

My build command during testing was:

scons machine=x86_64 qtdir=/usr/local/Cellar/qt/4.8.0 coreaudio=1 wavpack=1

If you wish, I could have similar cleanup for the scons build scripts in 
general. 

    *hile*

Attachment: mixxx-osx-build-fixes.diff
Description: Binary data


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to