[MacPorts] KDEProblems/KDEMacPortsCI modified

MacPorts noreply at macports.org
Tue May 20 12:41:24 PDT 2014


Page "KDEProblems/KDEMacPortsCI" was changed by mk at macports.org
Diff URL: <https://trac.macports.org/wiki/KDEProblems/KDEMacPortsCI?action=diff&version=20>
Revision 20
Comment: config file for I) and SSH for L) and rework formatting for list A)-L)
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: KDEProblems/KDEMacPortsCI
=========================================================================
--- KDEProblems/KDEMacPortsCI (version: 19)
+++ KDEProblems/KDEMacPortsCI (version: 20)
@@ -65,7 +65,7 @@
 $ xcode-select --install
 $ sudo port install py27-lxml bazaar mercurial wget automake autoconf
 }}}
-Installing bazaar brings the also needed port gnutar into the system!
+ Installing bazaar brings the also needed port gnutar into the system!
 
  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
 
@@ -74,36 +74,46 @@
 $ git clone git://anongit.kde.org/websites/build-kde-org
 $ cd build-kde-org
 $ git checkout production
-$ ./update-setup.sh   # Ignore 404 occurring due to error cloning ECMA262 by hg
+$ ./update-setup.sh     # Ignore 404 occurring due to error cloning ECMA262 by hg
 }}}
 
- I) Prepare environment for Qt5 build (set correct path to kde install directory in darwin.mavericks.cfg):
+ I) Prepare environment for Qt5 build (set correct path to kde install directory in config/build/darwin-mavericks.cfg):
 {{{
 $ sudo port install dbus libmng libpng mysql55 pkgconfig sqlite2 tiff
-$ cd ~/scripts
-$ vi config/build/darwin-mavericks.cfg
+$ cd ~/scripts          # Assume /Users/kdeci for the user directory from here on! 
+$ cat config/build/darwin-mavericks.cfg
+[DEFAULT]
+scriptsLocation=/Users/kdeci/scripts
+opSys=darwin
+architecture=mavericks
+compiler=clang
+
+[General]
+installPrefix=/opt/kde/install/%(opSys)s/%(architecture)s/%(compiler)s/
 $ python2.7 tools/prepare-environment.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
 ...
 $
 }}}
 
-J) Set up build environment:
+ J) Set up build environment:
 {{{
 $ cat /Users/marko/scripts/config/build/qt5/darwin-mavericks.cfg
 [Build]
 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
 }}}
+ Consider here the use of options {{{-debug -separate-debug-info}}} instead of {{{-release}}}, but this will need about 60G disk space.
 
-K) Include MySQL's binary path into PATH (assuming /opt/local as MacPort's prefix):
+ K) Include MySQL's binary path into PATH (assuming /opt/local as MacPort's prefix):
 {{{
 export PATH=/opt/local/lib/mysql55/bin:$PATH
 }}}
 
-L) Set up rsync access to build host, then start building Qt5:
+ L) Set up SSH for rsync access to build host, then start building Qt5:
 {{{
 $ cat ~/.ssh/config 
 Host build.kde.org
    Port 2022
+$ ssh-keygen -C YOUR at EMAIL.ADDRESS       # <-- send your public SSH key to Ben Cooksley in order to get access to the build server
 $ python2.7 tools/perform-build.py --project qt5 --branchGroup kf5-qt5 --platform darwin-mavericks --sources /path/to/directory/where/qt5/will/be/built
 .
 .
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/KDEProblems/KDEMacPortsCI>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'KDEProblems/KDEMacPortsCI' page.
If it was not you, please report to .


More information about the macports-changes mailing list