0.95 & MacOS attempt

B.J. bj at koupps.net
Wed Jan 16 18:31:31 GMT 2019


In celebration of 0.95 I'm taking another whack at the MacOS release :)  
I have QT 5.9.7 ready to go (sounds like we've moved there).  Are there 
any new steps for getting the MacOS source tree to compile?  After 
trying to set up the src & build dirs and running cmake I'm getting a 
new error I don't remember:

$ make
[  0%] Generating shareFolders
[  0%] Built target createShareFolders
[  0%] Generating gcompris_zh_TW.qm
make[2]: msgattrib: No such file or directory
make[2]: *** [gcompris_zh_TW.qm] Error 1
make[1]: *** [CMakeFiles/BuildTranslations.dir/all] Error 2
make: *** [all] Error 2

The full shell out can be found below if it's useful...thanks for any 
feedback!

=========================================

	• cd gcompris-0.95-orig
	• cp platforms/macosx/config.h platforms/macosx/gcompris.pro 
platforms/macosx/gcompris.icns platforms/macosx/Info.plist 
platforms/macosx/gcompris.entitlements .
	• // need to figure out what should go in rcc & translations if created
	• {change src/core/CMakeLists.txt line 133, adding AND NOT APPLE after 
sailfishos} // couldn't find this time around!
	• change src/core/CMakeLists.txt line 111, adding 
"set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)" in "APPLE" in 
"BUILD_STANDALONE"
	• cd .. && mkdir gcompris-0.95-build && cd gcompris-0.95-build
	• export Qt5_DIR="/Users/faculty/Qt/5.9.7/clang_64/lib/cmake/Qt5"
	• export PATH=$PATH:/Users/faculty/Qt/5.9.7/clang_64/bin
	• qmake -config release ../gcompris-0.95-orig/gcompris.pro
	• cmake -DQML_BOX2D_MODULE=disable -DACTIVATION_MODE=internal 
../gcompris-0.95-orig
	• make

// that's where I've gotten so far (will change "disable" cmake 
parameter to "submodule" for box2D after this compiles)...plans for next 
steps follow

	• cp  -r  ~/Qt/5.9.7/clang_64/plugins  bin/gcompris-qt.app/Contents
	• {change ./src/core/cmake_install.cmake "clang_64/lib/qml" strings to 
"clang_64/qml"}
	• {change ./src/core/cmake_install.cmake "clang_64/lib/plugins" strings 
to "clang_64/plugins"}
	• // codesign --deep -s "3rd Party Mac Developer Application: Bruno 
Coudoin" --entitlements 
../gcompris/platforms/macosx/gcompris.entitlements gcompris-qt.app
	• macdeployqt bin/gcompris.app 
	• // codesign --deep -s "3rd Party Mac Developer Application: Bruno 
Coudoin" gcompris.app/Contents/Resources/translations/*
	• // codesign --deep -s "3rd Party Mac Developer Application: Bruno 
Coudoin" gcompris.app/Contents/Resources/rcc/*
	• // make product ?? - old?
	• make package


More information about the GCompris-devel mailing list