Changes between Version 24 and Version 25 of KDEProblems/KDEMacPortsCI
- Timestamp:
- May 22, 2014, 6:53:03 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KDEProblems/KDEMacPortsCI
v24 v25 48 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 49 50 A) Start with fresh Mavericks install 50 A) Start with fresh Mavericks install and make sure your disk has at least 20G free space left 51 51 52 52 B) Install MacPorts 2.2.1 using the official PKG … … 70 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 71 72 H) C lone and update KDE's CI system:72 H) Create some folders, clone and update KDE's CI system (assuming a user "kdeci" with its home directory "/Users/kdeci"): 73 73 {{{ 74 $ cd 75 $ mkdir -p WC/KDECI-build; 76 $ cd WC 74 77 $ git clone git://anongit.kde.org/websites/build-kde-org 75 78 $ cd build-kde-org … … 77 80 $ ./update-setup.sh # Ignore 404 occurring due to error cloning ECMA262 by hg 78 81 }}} 82 The update shell script created a folder {{{~/scripts}}} in which subsequent commands will have to be executed. 79 83 80 84 I) Prepare environment for Qt5 build (set correct path to kde install directory in config/build/darwin-mavericks.cfg): … … 82 86 $ sudo port install dbus libmng libpng mysql55 pkgconfig sqlite2 tiff 83 87 $ sudo port uninstall cmake # Remove MacPorts' cmake (which came into the system as build-dependency for mysql55) 84 $ cd ~/scripts # Assume /Users/kdeci for the user directory from here on!88 $ cd ~/scripts 85 89 $ cat config/build/darwin-mavericks.cfg 86 90 [DEFAULT] … … 92 96 [General] 93 97 installPrefix=/opt/kde/install/%(opSys)s/%(architecture)s/%(compiler)s/ 94 $ python2.7 tools/prepare-environment.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built98 $ python2.7 tools/prepare-environment.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/qt5 95 99 ... 96 100 $ … … 99 103 J) Set up build environment: 100 104 {{{ 101 $ c at /Users/marko/scripts/config/build/qt5/darwin-mavericks.cfg105 $ cd ~/scripts; cat config/build/qt5/darwin-mavericks.cfg 102 106 [Build] 103 107 configureCommand=%(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 104 108 }}} 105 Consider here the use of options {{{-debug -separate-debug-info}}} instead of {{{-release}}}, but this will require 35G total disk space.109 Consider here the use of options "{{{-debug -separate-debug-info}}}" instead of "{{{-release}}}". 106 110 107 111 K) Include MySQL's binary path into PATH (assuming /opt/local as MacPort's prefix): … … 116 120 Port 2022 117 121 $ ssh-keygen -C YOUR@EMAIL.ADDRESS # <-- send your public SSH key to Ben Cooksley in order to get access to the build server 118 $ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built122 $ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/qt5 119 123 ... 120 124 }}} 121 125 122 M) Proceed with installation of cmake (which currently still fails):126 M) Proceed with installation of cmake: 123 127 {{{ 124 $ python2.7 tools/prepare-environment.py --project cmake --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/cmake/will/be/built128 $ python2.7 tools/prepare-environment.py --project cmake --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/cmake 125 129 ... 126 $ python2.7 tools/perform-build.py --project cmake --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/cmake/will/be/built 130 $ git clone git://cmake.org/cmake.git /path/to/directory/where/cmake/will/be/built 131 $ python2.7 tools/perform-build.py --project cmake --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/cmake 127 132 ... 128 133 }}}