<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>Qt5.9.7 is still good for compilation.</div><div><br></div><div>it looks like you have some files (the translation files) in the po folder in the source and it tries to compile them.</div><div>Either install msgattrib (<span class="gmail-js-issue-title">gettext</span> package) or remove the files from the po folder and run cmake again.<br></div><div><br></div><div>I'm almost sure we won't need to compile from the .pro file (so only with the cmake command, no more qmake) if we don't plan to go on the stores and only provide a dmg.</div><div><br></div><div>Basically:</div><div>* cd
gcompris-0.95-orig</div><div>* mkdir build</div><div>* cd build</div><div>*
export Qt5_DIR="/Users/faculty/Qt/5.9.7/clang_64/lib/cmake/Qt5"<br>* export PATH=$PATH:/Users/faculty/Qt/5.9.7/clang_64/bin</div><div> * cmake -DQML_BOX2D_MODULE=disable -DACTIVATION_MODE=internal ../gcompris-0.95-orig<br>* make <br></div><div>(* make package -> to create the dmg once it has compiled well)</div><div><br></div><div>From Github, we have a bug for macOS: <a href="https://github.com/gcompris/GCompris-qt/issues/233">https://github.com/gcompris/GCompris-qt/issues/233</a> when trying to run with box2d (so everything before should be fine).</div><div><br></div><div>Johnny</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 16 janv. 2019 à 20:01, B.J. <<a href="mailto:bj@koupps.net">bj@koupps.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In celebration of 0.95 I'm taking another whack at the MacOS release :) <br>
I have QT 5.9.7 ready to go (sounds like we've moved there). Are there <br>
any new steps for getting the MacOS source tree to compile? After <br>
trying to set up the src & build dirs and running cmake I'm getting a <br>
new error I don't remember:<br>
<br>
$ make<br>
[ 0%] Generating shareFolders<br>
[ 0%] Built target createShareFolders<br>
[ 0%] Generating gcompris_zh_TW.qm<br>
make[2]: msgattrib: No such file or directory<br>
make[2]: *** [gcompris_zh_TW.qm] Error 1<br>
make[1]: *** [CMakeFiles/BuildTranslations.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
The full shell out can be found below if it's useful...thanks for any <br>
feedback!<br>
<br>
=========================================<br>
<br>
• cd gcompris-0.95-orig<br>
• cp platforms/macosx/config.h platforms/macosx/<a href="http://gcompris.pro" rel="noreferrer" target="_blank">gcompris.pro</a> <br>
platforms/macosx/gcompris.icns platforms/macosx/Info.plist <br>
platforms/macosx/gcompris.entitlements .<br>
• // need to figure out what should go in rcc & translations if created<br>
• {change src/core/CMakeLists.txt line 133, adding AND NOT APPLE after <br>
sailfishos} // couldn't find this time around!<br>
• change src/core/CMakeLists.txt line 111, adding <br>
"set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)" in "APPLE" in <br>
"BUILD_STANDALONE"<br>
• cd .. && mkdir gcompris-0.95-build && cd gcompris-0.95-build<br>
• export Qt5_DIR="/Users/faculty/Qt/5.9.7/clang_64/lib/cmake/Qt5"<br>
• export PATH=$PATH:/Users/faculty/Qt/5.9.7/clang_64/bin<br>
• qmake -config release ../gcompris-0.95-orig/<a href="http://gcompris.pro" rel="noreferrer" target="_blank">gcompris.pro</a><br>
• cmake -DQML_BOX2D_MODULE=disable -DACTIVATION_MODE=internal <br>
../gcompris-0.95-orig<br>
• make<br>
<br>
// that's where I've gotten so far (will change "disable" cmake <br>
parameter to "submodule" for box2D after this compiles)...plans for next <br>
steps follow<br>
<br>
• cp -r ~/Qt/5.9.7/clang_64/plugins bin/gcompris-qt.app/Contents<br>
• {change ./src/core/cmake_install.cmake "clang_64/lib/qml" strings to <br>
"clang_64/qml"}<br>
• {change ./src/core/cmake_install.cmake "clang_64/lib/plugins" strings <br>
to "clang_64/plugins"}<br>
• // codesign --deep -s "3rd Party Mac Developer Application: Bruno <br>
Coudoin" --entitlements <br>
../gcompris/platforms/macosx/gcompris.entitlements gcompris-qt.app<br>
• macdeployqt bin/gcompris.app <br>
• // codesign --deep -s "3rd Party Mac Developer Application: Bruno <br>
Coudoin" gcompris.app/Contents/Resources/translations/*<br>
• // codesign --deep -s "3rd Party Mac Developer Application: Bruno <br>
Coudoin" gcompris.app/Contents/Resources/rcc/*<br>
• // make product ?? - old?<br>
• make package<br>
</blockquote></div></div></div>