Needs helps for understanding builds with recent qml-box2d & qt6 & gcompris-qt 25
Johnny Jazeix
jazeix at gmail.com
Mon Mar 17 21:02:56 GMT 2025
Hi,
Le lun. 17 mars 2025 à 21:23, Bruno Friedmann <bruno at ioda-net.ch> a écrit :
>
> Hello gcompris-qt team,
>
>
> I'm struggling to renew the packages for openSUSE due to some issues.
>
> On Tumbleweed we have box2d 2.4.1 and qt6 6.8.2 etc ...
>
>
> I'm trying to get qml-box2d build and installed correctly
>
> but if I've succeed somewhat to build a .so with current released qml-box2d
>
> this one is installed in /usr/lib64/Box2D
>
> while gcompris-qt is looking in standard qml dir
>
> which should be /usr/lib64/qml/Box2D2.0
>
>
> There's a few commits in qml-box2d that have removed qmake support and ported to cmake but it doesn't seems to works all the time.
>
>
> Also there's a PR open to support box2d 2.4.1 since now 2 years but I've no clues about its real status.
>
qml-box2d is not really maintained and only supports box2d 2.3 for now
(either the one shipped or a system one).
I started this PR to update to 2.4.1 but at the time there were 3
major issues that I couldn't fix and the core maintainer did not have
time to take a look.
>
> To help me out, I wonder how you build the software, as on obs you can't use git submodules (disconnected vm with protected root) for good reasons.
>
https://invent.kde.org/education/gcompris/-/blob/master/cmake/box2d.cmake?ref_type=heads#L90
which translates to something like:
mkdir build
cd build
cmake -DBUILD_EXAMPLES=OFF ..
cmake --build .
cp bin/plugins/Box2D/libqmlbox2d.so bin/plugins/Box2D/qmldir
${installFolder}/lib/qml/Box2D.2.0
(so no real clean "make install" step)
>
> Shall I stop trying to package qml-box2d (seems lots of distribution has gone this way) and add a second tar.xz from qml-box2d source tree (at a precise commit?)
>
I think it would be better as for now, qml-box2d is not compatible
with box2d 2.4.1. We use the latest commit in GCompris
(https://github.com/qml-box2d/qml-box2d/tree/3a85439726d1ac4d082308feba45f23859ba71e0).
Cheers,
Johnny
>
> Any helps, guidance is greatly appreciate.
>
>
> --
>
> Bruno Friedmann
>
> Ioda-Net Sàrl www.ioda-net.ch
>
> expertise en open-source
>
>
> GPG KEY: E4720D8715B696B4
>
> irc: tigerfoot
>
> Computing freedom with openSUSE Tumbleweed - 20250315
>
>
More information about the GCompris-devel
mailing list