Changes between Version 15 and Version 16 of KDEProblems/KDEMacPortsCI


Ignore:
Timestamp:
May 15, 2014, 8:40:14 PM (10 years ago)
Author:
mkae (Marko Käning)
Comment:

More detailed rundown on what has to be done to set up KDE/CI on Mavericks

Legend:

Unmodified
Added
Removed
Modified
  • KDEProblems/KDEMacPortsCI

    v15 v16  
    4545
    4646== Setting up the CI system (still hanging on OSX up to now) ==
     47 
     48This is what has to be done to get a KDE/CI system up and running on OSX (partially by also using MacPorts):
     49 
     50 A) Start with fresh Mavericks install
     51
     52 B) Install MacPorts 2.2.1 using the official PKG
     53
     54 C) Install ports for bash use:
     55{{{
     56$ sudo port install bash bash-completion
     57}}}
     58
     59 D) Set up [https://projects.kde.org/projects/playground/sdk/macports-kde/repository/revisions/master/show/contrib/user-setup bash environment for MacPorts use] regarding search paths (PATH, MANPATH)
     60
     61 E) Install Xcode from AppStore (and agree actively to the developer license agreement)
     62
     63 F) Install developer command line tools and install some of MacPorts' ports needed for later
     64{{{
     65$ xcode-select --install
     66$ sudo port install py27-lxml bazaar mercurial wget automake autoconf
     67}}}
     68Installing bazaar brings the also needed port gnutar into the system!
     69
     70 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
     71
     72 H) Clone and update KDE's CI system:
    4773{{{
    4874$ git clone git://anongit.kde.org/websites/build-kde-org
     
    5076$ git checkout production
    5177$ ./update-setup.sh   # Ignore 404 occurring due to error cloning ECMA262 by hg
     78}}}
     79
     80 I) Prepare environment for Qt5 build:
     81{{{
    5282$ cd ~/scripts
    5383$ python2.7 tools/prepare-environment.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
    54 $ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
     84...
     85$
    5586}}}
    5687
     88 J) Building Qt5 currently fails due to denied permissions:
     89{{{
     90$ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
     91...
     92OSError: [Errno 13] Permission denied: '/opt/kde'
     93$
     94}}}
    5795
    5896