<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On lundi, 17 mars 2025 22.02:56 h heure normale d’Europe centrale Johnny Jazeix wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Hi,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Le lun. 17 mars 2025 Ã  21:23, Bruno Friedmann <bruno@ioda-net.ch> a Ã©crit :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Hello gcompris-qt team,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I'm struggling to renew the packages for openSUSE due to some issues.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > On Tumbleweed we have box2d 2.4.1 and qt6 6.8.2 etc ...</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I'm trying to get qml-box2d build and installed correctly</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > but if I've succeed somewhat to build a .so with current released</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > qml-box2d</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > this one is installed in /usr/lib64/Box2D</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > while gcompris-qt is looking in standard qml dir</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > which should be /usr/lib64/qml/Box2D2.0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > There's a few commits in qml-box2d that have removed qmake support and</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > ported to cmake but it doesn't seems to works all the time.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Also there's a PR open to support box2d 2.4.1 since now 2 years but I've</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > no clues about its real status.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> qml-box2d is not really maintained and only supports box2d 2.3 for now</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> (either the one shipped or a system one).</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I started this PR to update to 2.4.1 but at the time there were 3</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> major issues that I couldn't fix and the core maintainer did not have</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> time to take a look.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > To help me out, I wonder how you build the software, as on obs you can't</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > use git submodules (disconnected vm with protected root) for good</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > reasons.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> https://invent.kde.org/education/gcompris/-/blob/master/cmake/box2d.cmake?re</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> f_type=heads#L90 which translates to something like:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> mkdir build</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> cd build</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> cmake -DBUILD_EXAMPLES=OFF ..</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> cmake --build .</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> cp bin/plugins/Box2D/libqmlbox2d.so bin/plugins/Box2D/qmldir</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ${installFolder}/lib/qml/Box2D.2.0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> (so no real clean "make install" step)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Shall I stop trying to package qml-box2d (seems lots of distribution has</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > gone this way) and add a second tar.xz from qml-box2d source tree (at a</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > precise commit?)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I think it would be better as for now, qml-box2d is not compatible</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> with box2d 2.4.1. We use the latest commit in GCompris</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> (https://github.com/qml-box2d/qml-box2d/tree/3a85439726d1ac4d082308feba45f23</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 859ba71e0).</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Cheers,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Johnny</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Any helps, guidance is greatly appreciate.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks a lot Johnny, it look like the only consumer of qml-box2d is </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">GCompris-qt, I might go for adding a git checkout of it inside GCompris-qt</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">and drop the standalone package.</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Bruno Friedmann</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> Ioda-Net Sàrl www.ioda-net.ch</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">   expertise en open-source</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> GPG KEY: E4720D8715B696B4 </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"> irc: tigerfoot</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Computing freedom with openSUSE Tumbleweed - 20250317</p>
<br /></body>
</html>