<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi B.J.,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Just to let you know I finally have a
working .dmg here! :)</div>
<div class="moz-cite-prefix">I still have a few things to look at
before publishing it officially, but I hope to get it ready by
next week.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Thank you for triggering the motivation
to fix the mac build!</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Timothée<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 19/01/2019 à 00:56, B.J. a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:D348B038-FE2E-438D-8DF9-2AED2A214C0E@koupps.net">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
will do—sorry i didn’t get to it yester/today though! more soon
for sure; have a great weekend.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Il giorno 18 gen 2019, alle ore 04:43, Johnny
Jazeix <<a href="mailto:jazeix@gmail.com" class=""
moz-do-not-send="true">jazeix@gmail.com</a>> ha
scritto:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">Hi,<br class="">
<br class="">
</div>
it's not the part I handle the best too :).<br class="">
<br class="">
<a
href="https://github.com/gcompris/GCompris-qt/blob/master/cmake/qt_helper.cmake#58"
class="" moz-do-not-send="true">https://github.com/gcompris/GCompris-qt/blob/master/cmake/qt_helper.cmake#58</a>
is where the plugins are handled.<br class="">
</div>
<div class="">Once you have managed to compile again and
start the package generation, it would be nice to get
the logs to see the actual error.<br class="">
</div>
<div class="">Thanks,<br class="">
<br class="">
</div>
<div class="">Johnny<br class="">
<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le jeu. 17 janv. 2019
à 14:42, B.J. <<a href="mailto:bj@koupps.net"
class="" moz-do-not-send="true">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">
<div style="overflow-wrap: break-word;" class="">I’m
still confused how QT does all the app bundling to be
honest…I never took the time to go through the docs
and figure it out unfortunately. I do have 2
interesting notes from last year though. 1 says
there’s a cmake_install.cmake file that needs a couple
fields trimmed (the lib piece)...
<div class=""><br class="">
</div>
<div class="">:%s/clang_64\/lib\/qml/clang_64\/qml/g<br
class="">
:%s/clang_64\/lib\/plugins/clang_64\/plugins/g</div>
<div class=""><br class="">
</div>
<div class="">…which matches the weirdness I was
getting from the ldd darwin equivlent (otool
maybe?). Another step, for which I maybe should
have taken better notes,
said in src/core/CMakeLists.txt around line 119 to
add these for #Qml plugins to install:<br class="">
<br class="">
</div>
<div class=""> elseif(APPLE)<br class="">
set(_lib_prefix "")<br class="">
else()<br class="">
<br class="">
</div>
<div class="">...but it changed the .dylib files such
that they were missing the "lib" prefix; it misread
and thought it'd remove the ../lib/... from
the directories of the .dylib files being copied :(
anyway. Thanks; I will keep messing around w/the
helpful pieces you’ve provided, hopefully today.<br
class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 16, 2019, at 14:29,
Timothée Giet <<a
href="mailto:animtim@gmail.com"
target="_blank" class=""
moz-do-not-send="true">animtim@gmail.com</a>>
wrote:</div>
<br
class="gmail-m_-3004764250324190865Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" class="">
<div
class="gmail-m_-3004764250324190865moz-cite-prefix">Hi
B.J.,</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix"><br
class="">
</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix">Indeed
I also have started looking at packaging
the mac version recently, got the build
working but got stuck at making a
distributable package.</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix">If
you find the missing pieces I'm
interested, you can contact me and Johnny
directly :)</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix"><br
class="">
</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix">Cheers,</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix">Timothée<br
class="">
</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix"><br
class="">
</div>
<div
class="gmail-m_-3004764250324190865moz-cite-prefix">Le
16/01/2019 à 21:24, B.J. a écrit :<br
class="">
</div>
<blockquote type="cite" 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 class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 16, 2019, at
13:20, Johnny Jazeix <<a
href="mailto:jazeix@gmail.com"
target="_blank" class=""
moz-do-not-send="true">jazeix@gmail.com</a>>
wrote:</div>
<br
class="gmail-m_-3004764250324190865Apple-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-m_-3004764250324190865gmail-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"
target="_blank" class=""
moz-do-not-send="true">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-m_-3004764250324190865gmail_attr">Le mer.
16 janv. 2019 à 20:01,
B.J. <<a
href="mailto:bj@koupps.net"
target="_blank" class=""
moz-do-not-send="true">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=""
moz-do-not-send="true">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=""
moz-do-not-send="true">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>
</blockquote>
<p class=""><br class="">
</p>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</blockquote>
<p><br>
</p>
</body>
</html>