#920752 gcompris-qt-data: Gcompris Debian version is missing activities found in flatpak version

Package:
gcompris-qt-data
Source:
gcompris-qt
Submitter:
Matthew Crews
Date:
2021-08-28 05:54:02 UTC
Severity:
normal
Blocked By:
Bug Title
921118

  2

RFP: qml-box2d -- The goal of the qml-box2d plugin is to expose the functionality of Box2D (C++) as a QML plugin in order to make it easier to write physics based software in QML.

wishlist stable testing unstable 9 months ago

#920752#5
Date:
2019-01-28 17:55:11 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I was comparing the Flatpak version of Gcompris and the Debian version of
Gcompris, and I noticed that the Debian version in Testing is missing a few
activities found in the Flatpak version. I verified that the software version
of both is the same (0.95) so I believe the issue is in the gcompris-qt-data
package.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

N/A

    * What was the outcome of this action?

N/A

   * What outcome did you expect instead?

I expected the Debian version of Gcompris to have the same activities as the
Flatpak version.

#920752#10
Date:
2019-01-30 12:49:35 UTC
From:
To:
Hi,

can you be more precise on which activities are missing?

Regards,

Johnny
appropriate ***
few
version
gcompris-qt-data
the
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)

#920752#15
Date:
2019-01-31 03:32:06 UTC
From:
To:
I can.

Under the Pig (science?) section, the Debian version is missing "Land
Safe" and "Pilot a Submarine"

Under Konqi (Games?) section, the Debian version is missing "Balance Box"

Fortunately, those three seem to be the only ones missing.

Cheers.

#920752#20
Date:
2019-02-01 12:46:42 UTC
From:
To:
Sorry, I didn't see the reply, I thought I would have a notification.

These activities use box2d and according to the logs (
https://buildd.debian.org/status/fetch.php?pkg=gcompris-qt&arch=alpha&ver=0.95-1&stamp=1547387638&raw=0)
it is disabled and we don't add them in the package on this case
("Disabling qml-box2d module and depending activities:
balancebox,land_safe,submarine").

This means that, even if box2d is installed afterwards, these activities
won't be present.

I created a new task on GCompris bug server to check if it is possible to
have the box2d check at runtime instead of compilation time:
https://phabricator.kde.org/T10432

On Debian side, it seems the qml-box2d library is not packaged (
https://github.com/qml-box2d/qml-box2d).
In GCompris, when it's not available we compile it ourselves (via
-DQML_BOX2D_MODULE=submodule) but I'm not sure if it would be acceptable to do
it in Debian?
Best way would probably be for qml-box2d to be packaged, set it as a
mandatory dependency and use -DQML_BOX2D_MODULE=system.

Note: I'm one of the GCompris developers, I don't know much about the
packaging.

Johnny

#920752#25
Date:
2019-02-01 16:35:39 UTC
From:
To:
Thank you Johnny for the insight!

Looking at the license for qml-box2d, I don't see any reason that it
shouldn't be included in Debian, but considering how late we are into
the Buster release cycle, I don't think we can get it in the repos in
time for Buster?

In any case, I think this bug should be reclassified as a missing
dependency.