[MacPorts] KDEProblems/KDEMacPortsCI/Status modified
MacPorts
noreply at macports.org
Wed Jul 23 14:51:03 PDT 2014
Page "KDEProblems/KDEMacPortsCI/Status" was changed by mk at macports.org
Diff URL: <https://trac.macports.org/wiki/KDEProblems/KDEMacPortsCI/Status?action=diff&version=138>
Revision 138
Comment: Inform immediately about CI scripts in our KDE repo, note about freetype and Qt5, highlight patch_mp-osx-ci.diff,
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: KDEProblems/KDEMacPortsCI/Status
=========================================================================
--- KDEProblems/KDEMacPortsCI/Status (version: 137)
+++ KDEProblems/KDEMacPortsCI/Status (version: 138)
@@ -68,7 +68,44 @@
$ git checkout production
$ ./update-setup.sh # Ignore 404 occurring due to error cloning ECMA262 by hg
}}}
-The update shell script created a folder {{{~/scripts}}} in which subsequent commands will have to be executed.
+'''The update shell script created a folder {{{~/scripts}}} in which subsequent commands will have to be executed.'''
+
+
+
+=== Grab the scripts for the CI system from the MacPorts/KDE testing repository ===
+
+Clone the [https://projects.kde.org/projects/playground/sdk/macports-kde "MacPorts/testing repository"] and have a look at the CI scripts:
+{{{
+$ cd ~/WC
+$ git clone git://anongit.kde.org/macports-kde
+$ sudo port install tree
+$ tree macports-kde/contrib/scripts/KDECI/
+macports-kde/contrib/scripts/KDECI/
+├── README.txt
+├── build.sh
+├── create-env.sh
+├── install.sh
+├── mp-osx-ci_diff.sh
+├── patch_mp-osx-ci.diff
+├── patches
+│ └── qt5
+│ └── kf5-qt5
+│ └── patch-qstandardpaths_mac.cpp.diff
+├── prepare.sh
+├── tier-install.sh
+├── tier1.fw
+├── tier2.fw
+├── tier3.fw
+├── tier4.fw
+└── tier5.fw
+
+3 directories, 14 files
+}}}
+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.
+Up to now I always copied these files therefore directly into ~/scripts, which is - admittedly - not really a good solution!
+
+These scripts become important later on...
+
== 1st step: Qt5 build ==
@@ -94,6 +131,7 @@
...
$
}}}
+BTW, it could be important to also install freetype for Qt5, but it hasn't been clarified yet whether it should be there or not.
@@ -126,7 +164,7 @@
== Installation of cmake ==
-Cmake needs a manual checkout of its sources:
+Cmake needs a '''manual''' checkout of its sources:
{{{
$ python2.7 tools/prepare-environment.py --project cmake --branchGroup kf5-qt5 --platform darwin-mavericks --sources ~/WC/KDECI-build/cmake
...
@@ -241,6 +279,12 @@
'''Note 2:''' DYLD_LIBRARY_PATH has only temporally been added due to wrong linking of phonon (e.g. for kate and kwrite).
+Have 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]:
+{{{
+macports-kde/contrib/scripts/KDECI/patch_mp-osx-ci.diff
+}}}
+which contains most changes to configuration options of the CI system needed for OSX.
+
@@ -278,18 +322,9 @@
...
}}}
-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"):
-{{{
-$ sudo cp -Rp /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdoctools/inst/Library/Application\ Support/kf5 /Library/Application\ Support
-}}}
-'''{It should be possible to avoid this by patching Qt5's QStandardPaths in an appropriate manner, which is atm still investigated...}'''
-
-Beyond tier 4 it is important to also copy kdelibs4support files:
-{{{
-$ sudo cp -Rp /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/Library/Application\ Support/kf5 /Library/Application\ Support
-}}}
-
-KF5 builds have been successfully done so far for:
+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.
+
+KF5 builds have been successfully done so far for these projects:
{{{
Additional dependencies:
- extra-cmake-modules
@@ -520,6 +555,8 @@
- xapian
}}}
+Legend:
+
($) does not start because it can't find dbus atm, i.e. exits gracefully[[BR]]
(-) 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]]
(+) crashes on startup due to missing dbus[[BR]]
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/KDEProblems/KDEMacPortsCI/Status>
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/Status' page.
If it was not you, please report to .
More information about the macports-changes
mailing list