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 | |
| 77 | Clone 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/ |
| 83 | macports-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 | |
| 102 | 3 directories, 14 files |
| 103 | }}} |
| 104 | In 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. |
| 105 | Up to now I always copied these files therefore directly into ~/scripts, which is - admittedly - not really a good solution! |
| 106 | |
| 107 | These scripts become important later on... |
| 108 | |
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: |
| 325 | In 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 | |
| 327 | KF5 builds have been successfully done so far for these projects: |