On Thu, May 29, 2014 at 8:08 AM, Marko Käning <mk-li...@email.de> wrote: > Hi Ben, > Hi Olivier,
Hi Marko, > > On 28 May 2014, at 08:48 , Ben Cooksley <bcooks...@kde.org> wrote: >> Hmm. What about "Application Support" which kdoctools appears to use? > > as documented on [1] I have reconfigured the KDE/CI system along the lines of > the recent > discussion on this thread and rebuilt kconfig and kdoctools: > --- > $ cat ~/scripts/config/build/kconfig/darwin-mavericks.cfg > [DEFAULT] > configureExtraArgs=-DCMAKE_INSTALL_BUNDLEDIR="lib/libexec/kf5" > $ git diff > diff --git a/config/build/darwin-mavericks.cfg > b/config/build/darwin-mavericks.cfg > index cb62c49..0648464 100644 > --- a/config/build/darwin-mavericks.cfg > +++ b/config/build/darwin-mavericks.cfg > @@ -1,7 +1,9 @@ > [DEFAULT] > +scriptsLocation=/Users/kdeci/scripts > opSys=darwin > architecture=mavericks > compiler=clang > +configurePlatformArgs=-DCMAKE_INSTALL_BUNDLEDIR="Applications/KF5" > -DDATA_INSTALL_DIR="Library/Application Support" > > [General] > -installPrefix=/opt/kde/install/%(opSys)s/%(architecture)s/%(compiler)s/ > \ No newline at end of file > +installPrefix=/opt/kde/install/%(opSys)s/%(architecture)s/%(compiler)s/ > $ > --- > > > > After installing kdoctools I do find all the actually needed files in the the > KDE/CI > system’s “Application Support” folder (although I am not sure, whether it > should > actually go there or rather into {instPrefix}/share, but this is perhaps not > that > important at the moment): > --- > $ ./install.sh kdoctools > . > . > . > $ ls -lR > /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdoctools/inst/Library/ > . > . > . > /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdoctools/inst/Library/Application > Support/kf5/kdoctools/customization/zh-TW: > total 16 > -rw-r--r-- 1 marko staff 1906 May 28 21:16 catalog.xml > drwxr-xr-x 15 marko staff 510 May 28 21:16 entities > -rw-r--r-- 1 marko staff 2542 May 28 21:16 lang.entities > -rw-r--r-- 1 marko staff 1003 May 28 21:16 strings.entities > -rw-r--r-- 1 marko staff 2170 May 28 21:16 user.entities > > /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdoctools/inst/Library/Application > Support/kf5/kdoctools/customization/zh-TW/entities: > total 52 > -rw-r--r-- 1 marko staff 2135 May 28 21:16 fdl-notice.docbook > . > . > . > -rw-r--r-- 1 marko staff 25 May 28 21:16 update-doc.docbook > --- > > > > Although the installation of both frameworks is fine, when I try to build > e.g. kconfigwidgets > I do run into the old trouble, because the build system still only searches > for those kdoctools > files below “/Users/kdeci/Library/Application Support” and > “/Library/Application Support”: > --- > $ ./install.sh kconfigwidgets > . > . > . > Generating kconfigdialog_unittest.moc > [ 18%] Built target klanguagebuttontest_automoc > Could not locate file "kf5/kdoctools/customization" in > ("/Users/kdeci/Library/Application Support", "/Library/Application Support") > Could not locate file "kf5/kdoctools/customization" in > ("/Users/kdeci/Library/Application Support", "/Library/Application Support") > Error: Could not find kdoctools catalogs > make[2]: *** [docs/preparetips/preparetips5.1] Error 1 > make[1]: *** > [docs/preparetips/CMakeFiles/-Users-marko-WC-KDECI-builds-kconfigwidgets-build-docs-preparetips-preparetips5-1.dir/all] > Error 2 > make[1]: *** Waiting for unfinished jobs.... > . > . > . > [ 20%] Built target KF5ConfigWidgets_automoc > make: *** [all] Error 2 > Compiliation step exited with non-zero code, assuming failure to build from > source for project kconfigwidgets. > --- > which is very odd, since I had defined it in > config/build/darwin-mavericks.cfg above! > > > > But even I get more specific for this framework by introducing a new config > file with > the right prefix: > --- > $ cat config/build/kconfigwidgets/darwin-mavericks.cfg > [DEFAULT] > configureExtraArgs=-DDATA_INSTALL_DIR="{instPrefix}/Library/Application > Support" > --- > IT STILL DOES NOT WORK ... > > ... and outputs just as before: > --- > $ ./install.sh kconfigwidgets > . > . > . > Could not locate file "kf5/kdoctools/customization" in > ("/Users/kdeci/Library/Application Support", "/Library/Application Support") > --- > which leaves me a little puzzled now. It is nothing to do with the installation parameters now. What needs to be adjusted is kdoctools - we'll need to help it find things within the install prefix. Is there a environment variable which we can set which the code in question (which I assume uses QStandardPaths) will follow? In terms of the value of DATA_INSTALL_DIR, I suggest you examine the install jail (located at $WORKSPACE/install/) to determine where the files are actually being placed and act accordingly. > > > Any ideas? > > Greets, > Marko Thanks, Ben > > > > [1] https://trac.macports.org/wiki/KDEProblems/KDEMacPortsCI/Status _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel