Changes between Version 19 and Version 20 of KDEProblems/KDEMacPortsCI


Ignore:
Timestamp:
May 20, 2014, 7:41:22 PM (10 years ago)
Author:
mkae (Marko Käning)
Comment:

config file for I) and SSH for L) and rework formatting for list A)-L)

Legend:

Unmodified
Added
Removed
Modified
  • KDEProblems/KDEMacPortsCI

    v19 v20  
    6666$ sudo port install py27-lxml bazaar mercurial wget automake autoconf
    6767}}}
    68 Installing bazaar brings the also needed port gnutar into the system!
     68 Installing bazaar brings the also needed port gnutar into the system!
    6969
    7070 G) Since some tools are already installed on OSX due to Xcode (like git, svn, ssh, rsync, make, clang etc.) they don't need to be installed via MacPorts for now
     
    7575$ cd build-kde-org
    7676$ git checkout production
    77 $ ./update-setup.sh   # Ignore 404 occurring due to error cloning ECMA262 by hg
     77$ ./update-setup.sh     # Ignore 404 occurring due to error cloning ECMA262 by hg
    7878}}}
    7979
    80  I) Prepare environment for Qt5 build (set correct path to kde install directory in darwin.mavericks.cfg):
     80 I) Prepare environment for Qt5 build (set correct path to kde install directory in config/build/darwin-mavericks.cfg):
    8181{{{
    8282$ sudo port install dbus libmng libpng mysql55 pkgconfig sqlite2 tiff
    83 $ cd ~/scripts
    84 $ vi config/build/darwin-mavericks.cfg
     83$ cd ~/scripts          # Assume /Users/kdeci for the user directory from here on!
     84$ cat config/build/darwin-mavericks.cfg
     85[DEFAULT]
     86scriptsLocation=/Users/kdeci/scripts
     87opSys=darwin
     88architecture=mavericks
     89compiler=clang
     90
     91[General]
     92installPrefix=/opt/kde/install/%(opSys)s/%(architecture)s/%(compiler)s/
    8593$ python2.7 tools/prepare-environment.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
    8694...
     
    8896}}}
    8997
    90 J) Set up build environment:
     98 J) Set up build environment:
    9199{{{
    92100$ cat /Users/marko/scripts/config/build/qt5/darwin-mavericks.cfg
     
    94102configureCommand=%(configureExecutable)s -release -system-zlib -system-libpng -system-libjpeg -system-sqlite -dbus -plugin-sql-mysql -nomake examples -confirm-license -opensource -prefix {instPrefix} -no-framework -v -I/opt/local/include -L/opt/local/lib
    95103}}}
     104 Consider here the use of options {{{-debug -separate-debug-info}}} instead of {{{-release}}}, but this will need about 60G disk space.
    96105
    97 K) Include MySQL's binary path into PATH (assuming /opt/local as MacPort's prefix):
     106 K) Include MySQL's binary path into PATH (assuming /opt/local as MacPort's prefix):
    98107{{{
    99108export PATH=/opt/local/lib/mysql55/bin:$PATH
    100109}}}
    101110
    102 L) Set up rsync access to build host, then start building Qt5:
     111 L) Set up SSH for rsync access to build host, then start building Qt5:
    103112{{{
    104113$ cat ~/.ssh/config
    105114Host build.kde.org
    106115   Port 2022
     116$ ssh-keygen -C YOUR@EMAIL.ADDRESS       # <-- send your public SSH key to Ben Cooksley in order to get access to the build server
    107117$ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
    108118.