Changes between Version 137 and Version 138 of KDEProblems/KDEMacPortsCI/Status


Ignore:
Timestamp:
Jul 23, 2014, 9:51:01 PM (10 years ago)
Author:
mkae (Marko Käning)
Comment:

Inform immediately about CI scripts in our KDE repo, note about freetype and Qt5, highlight patch_mp-osx-ci.diff,

Legend:

Unmodified
Added
Removed
Modified
  • KDEProblems/KDEMacPortsCI/Status

    v137 v138  
    6969$ ./update-setup.sh                    # Ignore 404 occurring due to error cloning ECMA262 by hg
    7070}}}
    71 The update shell script created a folder {{{~/scripts}}} in which subsequent commands will have to be executed.
     71'''The update shell script created a folder {{{~/scripts}}} in which subsequent commands will have to be executed.'''
     72
     73
     74
     75=== Grab the scripts for the CI system from the MacPorts/KDE testing repository ===
     76
     77Clone the [https://projects.kde.org/projects/playground/sdk/macports-kde "MacPorts/testing repository"] and have a look at the CI scripts:
     78{{{
     79$ cd ~/WC
     80$ git clone git://anongit.kde.org/macports-kde
     81$ sudo port install tree
     82$ tree macports-kde/contrib/scripts/KDECI/
     83macports-kde/contrib/scripts/KDECI/
     84├── README.txt
     85├── build.sh
     86├── create-env.sh
     87├── install.sh
     88├── mp-osx-ci_diff.sh
     89├── patch_mp-osx-ci.diff
     90├── patches
     91│   └── qt5
     92│       └── kf5-qt5
     93│           └── patch-qstandardpaths_mac.cpp.diff
     94├── prepare.sh
     95├── tier-install.sh
     96├── tier1.fw
     97├── tier2.fw
     98├── tier3.fw
     99├── tier4.fw
     100└── tier5.fw
     101
     1023 directories, 14 files
     103}}}
     104In principle those files can be run from within that clone, but they are not perfect yet, so they might end up in ~/scripts if you interrupt the script execution.
     105Up to now I always copied these files therefore directly into ~/scripts, which is - admittedly - not really a good solution!
     106
     107These scripts become important later on...
     108
    72109
    73110
     
    95132$
    96133}}}
     134BTW, it could be important to also install freetype for Qt5, but it hasn't been clarified yet whether it should be there or not.
    97135
    98136
     
    127165== Installation of cmake ==
    128166
    129 Cmake needs a manual checkout of its sources:
     167Cmake needs a '''manual''' checkout of its sources:
    130168{{{
    131169$ python2.7 tools/prepare-environment.py --project cmake --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/cmake
     
    242280'''Note 2:''' DYLD_LIBRARY_PATH has only temporally been added due to wrong linking of phonon (e.g. for kate and kwrite).
    243281
     282Have a look at [https://projects.kde.org/projects/playground/sdk/macports-kde/repository/revisions/master/entry/contrib/scripts/KDECI/patch_mp-osx-ci.diff the patch file in our MacPorts/KDE git repository]:
     283{{{
     284macports-kde/contrib/scripts/KDECI/patch_mp-osx-ci.diff
     285}}}
     286which contains most changes to configuration options of the CI system needed for OSX.
     287
    244288
    245289
     
    279323}}}
    280324
    281 In order to be able to build KF5 frameworks of tier 3 it is - '''as a temporary workaround''' - necessary to copy kdoctools' files from its install directory to where framework builds can find them (i.e. below "/Library/Application Support"):
    282 {{{
    283 $ sudo cp -Rp /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdoctools/inst/Library/Application\ Support/kf5 /Library/Application\ Support
    284 }}}
    285 '''{It should be possible to avoid this by patching Qt5's QStandardPaths in an appropriate manner, which is atm still investigated...}'''
    286 
    287 Beyond tier 4 it is important to also copy kdelibs4support files:
    288 {{{
    289 $ sudo cp -Rp /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/Library/Application\ Support/kf5 /Library/Application\ Support
    290 }}}
    291 
    292 KF5 builds have been successfully done so far for:
     325In order to be able to build KF5 frameworks of tier 3 it is - '''as a temporary workaround''' - necessary to copy kdoctools' and kdelibs4support's files from their install directories to where framework builds can find them (i.e. below "/Library/Application Support"), which is already implemented in build.sh.
     326
     327KF5 builds have been successfully done so far for these projects:
    293328{{{
    294329Additional dependencies:
     
    521556}}}
    522557
     558Legend:
     559
    523560 ($) does not start because it can't find dbus atm, i.e. exits gracefully[[BR]]
    524561 (-) crashes on startup ([https://bugs.kde.org/show_bug.cgi?id=337140 b.k.o. issue 337140]) and needs DYLD_LIBRARY_PATH set for phonon[[BR]]