<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks a ton!  I’ll adjust my build script so we lose the .pro and hopefully can contribute something to the 233 bug.  I thought I was able to run the  post-0.52 app w/working SVG and Box2D after some finaggling but I wasn’t ever able to package it up into the distributable .app bundle :(  If I get the pieces before “make package” working I’ll be happy…anywho.  Will get back to you soon hopefully.  Thanks again.<div class=""><br class=""></div><div class="">B.J.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 16, 2019, at 13:20, Johnny Jazeix <<a href="mailto:jazeix@gmail.com" class="">jazeix@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">Qt5.9.7 is still good for compilation.</div><div class=""><br class=""></div><div class="">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 class="">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 class=""></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Basically:</div><div class="">* cd 
gcompris-0.95-orig</div><div class="">* mkdir build</div><div class="">* cd build</div><div class="">* 
export Qt5_DIR="/Users/faculty/Qt/5.9.7/clang_64/lib/cmake/Qt5"<br class="">* export PATH=$PATH:/Users/faculty/Qt/5.9.7/clang_64/bin</div><div class=""> * cmake -DQML_BOX2D_MODULE=disable -DACTIVATION_MODE=internal ../gcompris-0.95-orig<br class="">* make <br class=""></div><div class="">(* make package -> to create the dmg once it has compiled well)</div><div class=""><br class=""></div><div class="">From Github, we have a bug for macOS: <a href="https://github.com/gcompris/GCompris-qt/issues/233" class="">https://github.com/gcompris/GCompris-qt/issues/233</a> when trying to run with box2d (so everything before should be fine).</div><div class=""><br class=""></div><div class="">Johnny</div><div class=""><br class=""></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" class="">bj@koupps.net</a>> a écrit :<br class=""></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 class="">
I have QT 5.9.7 ready to go (sounds like we've moved there).  Are there <br class="">
any new steps for getting the MacOS source tree to compile?  After <br class="">
trying to set up the src & build dirs and running cmake I'm getting a <br class="">
new error I don't remember:<br class="">
<br class="">
$ make<br class="">
[  0%] Generating shareFolders<br class="">
[  0%] Built target createShareFolders<br class="">
[  0%] Generating gcompris_zh_TW.qm<br class="">
make[2]: msgattrib: No such file or directory<br class="">
make[2]: *** [gcompris_zh_TW.qm] Error 1<br class="">
make[1]: *** [CMakeFiles/BuildTranslations.dir/all] Error 2<br class="">
make: *** [all] Error 2<br class="">
<br class="">
The full shell out can be found below if it's useful...thanks for any <br class="">
feedback!<br class="">
<br class="">
=========================================<br class="">
<br class="">
        • cd gcompris-0.95-orig<br class="">
        • cp platforms/macosx/config.h platforms/macosx/<a href="http://gcompris.pro/" rel="noreferrer" target="_blank" class="">gcompris.pro</a> <br class="">
platforms/macosx/gcompris.icns platforms/macosx/Info.plist <br class="">
platforms/macosx/gcompris.entitlements .<br class="">
        • // need to figure out what should go in rcc & translations if created<br class="">
        • {change src/core/CMakeLists.txt line 133, adding AND NOT APPLE after <br class="">
sailfishos} // couldn't find this time around!<br class="">
        • change src/core/CMakeLists.txt line 111, adding <br class="">
"set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)" in "APPLE" in <br class="">
"BUILD_STANDALONE"<br class="">
        • cd .. && mkdir gcompris-0.95-build && cd gcompris-0.95-build<br class="">
        • export Qt5_DIR="/Users/faculty/Qt/5.9.7/clang_64/lib/cmake/Qt5"<br class="">
        • export PATH=$PATH:/Users/faculty/Qt/5.9.7/clang_64/bin<br class="">
        • qmake -config release ../gcompris-0.95-orig/<a href="http://gcompris.pro/" rel="noreferrer" target="_blank" class="">gcompris.pro</a><br class="">
        • cmake -DQML_BOX2D_MODULE=disable -DACTIVATION_MODE=internal <br class="">
../gcompris-0.95-orig<br class="">
        • make<br class="">
<br class="">
// that's where I've gotten so far (will change "disable" cmake <br class="">
parameter to "submodule" for box2D after this compiles)...plans for next <br class="">
steps follow<br class="">
<br class="">
        • cp  -r  ~/Qt/5.9.7/clang_64/plugins  bin/gcompris-qt.app/Contents<br class="">
        • {change ./src/core/cmake_install.cmake "clang_64/lib/qml" strings to <br class="">
"clang_64/qml"}<br class="">
        • {change ./src/core/cmake_install.cmake "clang_64/lib/plugins" strings <br class="">
to "clang_64/plugins"}<br class="">
        • // codesign --deep -s "3rd Party Mac Developer Application: Bruno <br class="">
Coudoin" --entitlements <br class="">
../gcompris/platforms/macosx/gcompris.entitlements gcompris-qt.app<br class="">
        • macdeployqt bin/gcompris.app <br class="">
        • // codesign --deep -s "3rd Party Mac Developer Application: Bruno <br class="">
Coudoin" gcompris.app/Contents/Resources/translations/*<br class="">
        • // codesign --deep -s "3rd Party Mac Developer Application: Bruno <br class="">
Coudoin" gcompris.app/Contents/Resources/rcc/*<br class="">
        • // make product ?? - old?<br class="">
        • make package<br class="">
</blockquote></div></div></div>
</div></blockquote></div><br class=""></div></body></html>