enricoros / fotowall

Home | Edit | New

OSX package instructions

Configuring and building Qt

./configure -static -release -universal -prefix $PWD -no-exceptions -no-stl -no-webkit -no-xmlpatterns -no-phonon -no-qt3support -no-opengl -D QT_NO_STYLE_CDE -D QT_NO_STYLE_CLEANLOOKS -D QT_NO_STYLE_MOTIF -D QT_NO_STYLE_PLASTIQUE -nomake examples -nomake demos
export MACOSX_DEPLOYMENT_TARGET=10.3
make sub-src

Building and packaging Fotowall

qmake
make
strip fotowall.app/Contents/MacOS/fotowall
rm -rf deployment
mkdir -p deployment/Fotowall.app
cp -r fotowall.app/ deployment/Fotowall.app/
cp README.markdown deployment/README
cp GPL_V2 deployment/LICENSE
rm Fotowall-*-OSX.dmg
hdiutil create -volname "Fotowall" -ov -format UDZO -imagekey zlib-level=9 -srcfolder "deployment" "Fotowall-0.8-OSX.dmg"
Last edited by aportale, Mon Sep 14 12:53:18 -0700 2009
Home | Edit | New
Versions: