<div dir="ltr"><div><a href="https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html#id4" target="_blank">https://cmake.org/cmake/help/<wbr>latest/manual/cmake-variables.<wbr>7.html#id4</a><br><br></div><code class="m_1427889676700310774gmail-docutils m_1427889676700310774gmail-literal"><span class="m_1427889676700310774gmail-pre">APPLE is True</span></code> when the target system is an Apple platform
(macOS, iOS, tvOS or watchOS).<br><br><div><div class="gmail_extra">There does not seem to have a specific for macOS.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">2018-01-24 16:52 GMT+01:00 B.J. <span dir="ltr"><<a href="mailto:bj@koupps.net" target="_blank">bj@koupps.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>right, got you—i meant i’m trying to avoid breaking whatever existing IOS definitions exist.  does it have its own definition separate from the APPLE one or should I be using something like <div><br></div><div><font face="Courier New">elseif(APPLE AND NOT IOS)</font><br><div><br></div><div>or better yet</div><div><br></div><div><font face="Courier New">elseif(MACOS)</font><br><br>i need to go back and check where all these are defined :) sorry…</div><div><div class="m_1427889676700310774gmail-h5"><div><br><blockquote type="cite"><div>On Jan 24, 2018, at 09:49, Johnny Jazeix <<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>> wrote:</div><br class="m_1427889676700310774gmail-m_-1422968671545889350Apple-interchange-newline"><div><div dir="ltr">Don't bother with iOS, we'll check once we have a maintainer :).<br><div class="gmail_extra"><br><div class="gmail_quote">2018-01-24 16:47 GMT+01:00 B.J. <span dir="ltr"><<a href="mailto:bj@koupps.net" target="_blank">bj@koupps.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Thanks.  Looks like CMakeLists.txt line 119 was calling $(_lib_prefix) as part of the plugin path, so I traced back and saw that the if(WIN32) up top also required the same “lib” trimming I’ve been doing manually to get the plugins to install correctly…I’ll add a if(APPLE) and do the same thing, but will that mess up iOS?  I can’t remember if the APPLE def means both OS’s or if it’s basically just for MacOS by itself.<div><br></div><div>In the meantime I should be able to try another build before noon today...</div><div><div class="m_1427889676700310774gmail-m_-1422968671545889350h5"><div><div><br><blockquote type="cite"><div>On Jan 23, 2018, at 10:06, Johnny Jazeix <<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>> wrote:</div><br class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428Apple-interchange-newline"><div><div dir="ltr">Great!<br><div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-23 16:52 GMT+01:00 B.J. <span dir="ltr"><<a href="mailto:bj@koupps.net" target="_blank">bj@koupps.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>It’s running, this time WITH images!  I did have to change 1 thing in the guide though.  There’s no Plugins folder in the .app bundle so I had to make that explicitly for this to work:<div><br></div><div><pre class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-m_-978216506256078972language-sh"><code class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-m_-978216506256078972language-sh">cp -R ~/Qt5.9.1/5.9.1/clang_64/plugi<wbr>ns/imageformats bin/gcompris-qt.app/Contents/P<wbr>lugIns/</code></pre><div><br></div><div>Otherwise it just put the imageformats plugins in the root of the newly made PlugIns folder, instead of making imageformats a folder inside of PlugIns, and the executable couldn’t find any images at runtime.</div><div><br></div></div></div></blockquote><div><br></div><div>For this one, I guess we'll need to add it in the CMakeLists.txt too, I'll take a look on how to do it.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div></div><div>BUT there’re new problems with making the actual package (i.e. deployable):</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">error: /Applications/Xcode.app/Conten<wbr>ts/Developer/Toolchains/XcodeD<wbr>efault.xctoolchain/usr/bin/ins<wbr>tall_name_tool: can't open file: /Users/bjcupps/src/gcompris-0.<wbr>81/build/_CPack_Packages/Darwi<wbr>n/DragNDrop/gcompris-qt-0.90-D<wbr>arwin/gcompris-qt.app/Contents<wbr>/plugins/mediaservice/libqavfm<wbr>ediaplayer.dylib (No such file or directory)</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">CMake Error at /Applications/CMake.app/Conten<wbr>ts/share/cmake-3.10/Modules/Bu<wbr>ndleUtilities.cmake:879 (message):</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  Command failed:</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">   'install_name_tool' '-id' '@executable_path/../MacOS/lib<wbr>qavfmediaplayer.dylib' '/Users/bjcupps/src/gcompris-0<wbr>.81/build/_CPack_Packages/Darw<wbr>in/DragNDrop/gcompris-qt-0.90-<wbr>Darwin/gcompris-qt.app/Content<wbr>s/plugins/mediaservice/libqavf<wbr>mediaplayer.dylib'</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">Call Stack (most recent call first):</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  /Applications/CMake.app/Conten<wbr>ts/share/cmake-3.10/Modules/Bu<wbr>ndleUtilities.cmake:953 (fixup_bundle_item)</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  /Users/bjcupps/src/gcompris-0.<wbr>81/build/src/core/FixBundle.cm<wbr>ake:2 (fixup_bundle)</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  /Users/bjcupps/src/gcompris-0.<wbr>81/build/src/core/cmake_instal<wbr>l.cmake:170 (include)</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  /Users/bjcupps/src/gcompris-0.<wbr>81/build/src/cmake_install.cma<wbr>ke:38 (include)</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  /Users/bjcupps/src/gcompris-0.<wbr>81/build/cmake_install.cmake:4<wbr>5 (include)</span></div></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><br></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div></div><div>I’ll see if I can remember how/if I resolved that, but it might just be about copying more plugins from what it sounds like.</div></div></div></blockquote><div><br></div><div>Yes, I think either the plugins have been renamed or changed. <br></div><div>In the Qt folder, there is a folder lib/cmake (I think, I don't have a complete install for now).You should replace in <a href="https://github.com/gcompris/GCompris-qt/blob/master/src/core/CMakeLists.txt#L119" target="_blank">https://github.com/gcompris/GC<wbr>ompris-qt/blob/master/src/core<wbr>/CMakeLists.txt#L119</a> with the good library names.<br></div><div>I'll check if I can extract the dmg on linux to see the structure of Qt package.</div><div><br></div><div>Thank you,</div><div><br></div><div>Johnny</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div>  LASTLY…should I update the .icns file to the new orange icon?  As much as I love the yellow airplane I know it was changed on Windows and Android.  Thanks</div><span class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-HOEnZb"><font color="#888888"><div><br></div><div>bj</div></font></span><div><br><blockquote type="cite"><span class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-"><div>On Jan 23, 2018, at 08:38, Johnny Jazeix <<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>> wrote:</div><br class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-m_-978216506256078972Apple-interchange-newline"></span><span class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-"><div><div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I just found<span class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-m_-978216506256078972Apple-converted-space"> </span><a href="https://www.ynonperek.com/2017/09/18/building-gcompris-qt-on-macos/" target="_blank">https://www.ynonperek.co<wbr>m/2017/09/18/building-gcompris<wbr>-qt-on-macos/</a><span class="m_1427889676700310774gmail-m_-1422968671545889350m_1259493005988848428gmail-m_-978216506256078972Apple-converted-space"> </span>that could help (it misses a elseif in the CMakeLists.txt).</div><div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I was waiting for more change on the full gcompris package but I will merge it tonight.</div></div></span></blockquote></div><br></div></div></blockquote></div><br></div></div></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div></div>