Changes between Version 15 and Version 16 of KDEProblems/KDEMacPortsCI
- Timestamp:
- May 15, 2014, 8:40:14 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KDEProblems/KDEMacPortsCI
v15 v16 45 45 46 46 == Setting up the CI system (still hanging on OSX up to now) == 47 48 This 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 }}} 68 Installing 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: 47 73 {{{ 48 74 $ git clone git://anongit.kde.org/websites/build-kde-org … … 50 76 $ git checkout production 51 77 $ ./update-setup.sh # Ignore 404 occurring due to error cloning ECMA262 by hg 78 }}} 79 80 I) Prepare environment for Qt5 build: 81 {{{ 52 82 $ cd ~/scripts 53 83 $ 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 $ 55 86 }}} 56 87 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 ... 92 OSError: [Errno 13] Permission denied: '/opt/kde' 93 $ 94 }}} 57 95 58 96