Difference between revisions of "Creating a dmg"
From Scribus Wiki
(Created page with "Category:InstallationCategory:EN Category:MacOS ==Creating a .dmg for Tiger== * Do a clean install of Mac OS X 10.4 (Tiger) * Install xcode * Install Fink * Instal...") |
|||
Line 6: | Line 6: | ||
* Do a clean install of Mac OS X 10.4 (Tiger) | * Do a clean install of Mac OS X 10.4 (Tiger) | ||
* Install xcode | * Install xcode | ||
− | * Install Fink | + | * Install Fink and update it |
− | * Install Scribus and its | + | * Install Scribus and its dependencies through Fink |
* Install Subversion (through fink) | * Install Subversion (through fink) | ||
+ | * mkdir -p ~/scribus/builddir ~/scribus/Version135 ; cd scribus | ||
+ | * Checkout from svn (svn co svn://scribus.net/branches/Version135) | ||
+ | * Make a cmake build with the following content: | ||
+ | |||
+ | # Use Fink's freetype219, qt4-mac, fontconfig2, | ||
+ | # but Apple's Python framework | ||
+ | export PATH=/sw/lib/freetype219/bin:$PATH | ||
+ | unset QMAKESPEC | ||
+ | export QTDIR=/sw/lib/qt4-mac | ||
+ | cd builddir | ||
+ | cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ | ||
+ | -DFREETYPE_DIR:PATH=/sw/lib/freetype219 \ | ||
+ | -DFREETYPE_INCLUDE_DIR_ft2build:PATH=/sw/lib/freetype219/include \ | ||
+ | -DFREETYPE_INCLUDE_DIR_freetype2:PATH=/sw/lib/freetype219/include/freetype2 \ | ||
+ | -DFREETYPE_LIBRARY:FILEPATH=/sw/lib/freetype219/lib/libfreetype.dylib \ | ||
+ | -DFONTCONFIG_INCLUDE_DIR:PATH=/sw/lib/fontconfig2/include \ | ||
+ | -DFONTCONFIG_LIBRARY:FILEPATH=/sw/lib/fontconfig2/lib/libfontconfig.dylib \ | ||
+ | -DPYTHON_INCLUDE_PATH:PATH=/System/Library/Frameworks/Python.framework/Headers \ | ||
+ | -DPYTHON_LIBRARY:FILEPATH="-framework Python" \ | ||
+ | -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" \ | ||
+ | -DCMAKE_OSX_SYSROOT:PATH="/" \ | ||
+ | -DCMAKE_OSX_ARCHITECTURES="i386" \ | ||
+ | -DWANT_NOHEADERINSTALL=1 \ | ||
+ | -DCMAKE_INSTALL_PREFIX:PATH=/Users/<username>/Applications/Scribus.app/Contents/ ../Version135/Scribus/ | ||
+ | make install | ||
+ | |||
+ | * Run your script and wait for it to complete and build and install Scribus |
Revision as of 16:55, 11 March 2011
Creating a .dmg for Tiger
- Do a clean install of Mac OS X 10.4 (Tiger)
- Install xcode
- Install Fink and update it
- Install Scribus and its dependencies through Fink
- Install Subversion (through fink)
- mkdir -p ~/scribus/builddir ~/scribus/Version135 ; cd scribus
- Checkout from svn (svn co svn://scribus.net/branches/Version135)
- Make a cmake build with the following content:
# Use Fink's freetype219, qt4-mac, fontconfig2, # but Apple's Python framework export PATH=/sw/lib/freetype219/bin:$PATH unset QMAKESPEC export QTDIR=/sw/lib/qt4-mac cd builddir cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DFREETYPE_DIR:PATH=/sw/lib/freetype219 \ -DFREETYPE_INCLUDE_DIR_ft2build:PATH=/sw/lib/freetype219/include \ -DFREETYPE_INCLUDE_DIR_freetype2:PATH=/sw/lib/freetype219/include/freetype2 \ -DFREETYPE_LIBRARY:FILEPATH=/sw/lib/freetype219/lib/libfreetype.dylib \ -DFONTCONFIG_INCLUDE_DIR:PATH=/sw/lib/fontconfig2/include \ -DFONTCONFIG_LIBRARY:FILEPATH=/sw/lib/fontconfig2/lib/libfontconfig.dylib \ -DPYTHON_INCLUDE_PATH:PATH=/System/Library/Frameworks/Python.framework/Headers \ -DPYTHON_LIBRARY:FILEPATH="-framework Python" \ -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" \ -DCMAKE_OSX_SYSROOT:PATH="/" \ -DCMAKE_OSX_ARCHITECTURES="i386" \ -DWANT_NOHEADERINSTALL=1 \ -DCMAKE_INSTALL_PREFIX:PATH=/Users/<username>/Applications/Scribus.app/Contents/ ../Version135/Scribus/ make install
- Run your script and wait for it to complete and build and install Scribus