Changes between Version 19 and Version 20 of KDEProblems/KDEMacPortsCI
- Timestamp:
- May 20, 2014, 7:41:22 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KDEProblems/KDEMacPortsCI
v19 v20 66 66 $ sudo port install py27-lxml bazaar mercurial wget automake autoconf 67 67 }}} 68 Installing bazaar brings the also needed port gnutar into the system!68 Installing bazaar brings the also needed port gnutar into the system! 69 69 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 … … 75 75 $ cd build-kde-org 76 76 $ git checkout production 77 $ ./update-setup.sh # Ignore 404 occurring due to error cloning ECMA262 by hg77 $ ./update-setup.sh # Ignore 404 occurring due to error cloning ECMA262 by hg 78 78 }}} 79 79 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): 81 81 {{{ 82 82 $ 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] 86 scriptsLocation=/Users/kdeci/scripts 87 opSys=darwin 88 architecture=mavericks 89 compiler=clang 90 91 [General] 92 installPrefix=/opt/kde/install/%(opSys)s/%(architecture)s/%(compiler)s/ 85 93 $ python2.7 tools/prepare-environment.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built 86 94 ... … … 88 96 }}} 89 97 90 J) Set up build environment:98 J) Set up build environment: 91 99 {{{ 92 100 $ cat /Users/marko/scripts/config/build/qt5/darwin-mavericks.cfg … … 94 102 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 95 103 }}} 104 Consider here the use of options {{{-debug -separate-debug-info}}} instead of {{{-release}}}, but this will need about 60G disk space. 96 105 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): 98 107 {{{ 99 108 export PATH=/opt/local/lib/mysql55/bin:$PATH 100 109 }}} 101 110 102 L) Set uprsync access to build host, then start building Qt5:111 L) Set up SSH for rsync access to build host, then start building Qt5: 103 112 {{{ 104 113 $ cat ~/.ssh/config 105 114 Host build.kde.org 106 115 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 107 117 $ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built 108 118 .