Thanks Bruno, I've bundled an old copy of libportmidi.dylib I had built before into the app. 

I'm not sure if it will work... as the versions look weird in ldd:
@executable_path/../Frameworks/libportmidi.dylib (compatibility version 0.0.0, current version 0.0.0)

but give it a shot... 



Here's what I did to get the bundle built and zipped...  scons must run first without "bundle" otherwise the linker doesn't get run:  
scons -j4 && scons bundle && cd osx64_build/ && zip -r ~/Desktop/Mixxx-macports-build-2010-07-20-2.zip Mixxx.app && cd -

Attachment: macports-build.patch
Description: Binary data


Hopefully the patch won't break non-macports bundling, it uses env['QTDIR'].find("/opt/local/libexec/qt4-mac") checks throughout, so it shouldn't... 

On 2010-07-20, at 12:53 PM, Bruno Buccolo wrote:

Hey Garth,

I gave up using Mixxx in my mac because I was struggling to get it right.
This is a fresh install of Snow Leopard (64bits), without any libs installed, MacPorts or by hand.
Running Mixxx.app throws:

dyld: Library not loaded: @executable_path/../Frameworks/libportmidi.dylib
  Referenced from: /Users/brunobuccolo/Downloads/./Mixxx.app/Contents/MacOS/mixxx
  Reason: no suitable image found.  Did find:
/usr/local/lib/libportmidi.dylib: no matching architecture in universal wrapper
Trace/BPT trap

I'm not sure about what to do with that, maybe some 32/64 bit incompatibility?

Cheers!

On Jul 20, 2010, at 5:35 AM, Garth Dahlstrom wrote:

Yeah, yeah, I know I'll probably get flamed for this (because "macports sucks")...   but you know me I'm lazy, and I really don't like managing tarball compiles of deps... 

I've thrown up a macports based OSX build of Mixxx/Trunk in http://mixxx.org/packages/osx/ -- if someone without MacPorts could try it and let me know if it works... 

There were something like 12 lines of changes I had to make to SConscript and SConscript.env, a couple of lines of hack to otool.py (to work around a phantom depend on libportmidi)...  and there was a manual step of copying qmenu.nib into the app bundle...

Anyway if the method is of interest to others I can throw a patch on the list after some sleep.

Cheers,

-G
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Bruno Buccolo




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to