Bug #255
closedProvide extensions to system packages
Description
Hi,
Currently, ubuntu provides OpenSceneGraph with Qt4. This is boring, because compiling anything for Qt4 is a pain.
Use OSG from the system and build only its Qt plugin for Qt 5 is pretty straitforward:
apt source libopenscenegraph # untar and cd to source mkdir build && cd build cmake -DDESIRED_QT_VERSION=5 .. cd osgQt make install
Is there a way to do this with robotpkg ? Or would we have to provide another full OSG, at the same version for all targets ?
And if so, is it possible to provide a robotpkg-pyXY-qt4-gepetto-viewer dependent on the osgqt4 from ubuntu, and robotpkg-pyXY-qt5-gepetto-viewer dependant on the osgqt5 from robotpkg ?
Thanks,
Guilhem.
Updated by Anthony Mallet over 4 years ago
On Wednesday 13 May 2020, at 10:47, Guilhem Saurel wrote:
Is there a way to do this with robotpkg ? Or would we have to
provide another full OSG, at the same version for all targets ?
I guess you could provide just a robotpkg package openscenegraph-qt
that depends on the system osg.
Tuning the PREFER.openscenegraph-qt depending on the qt version might
be doable with e.g. $(if $(filter 4,${QT_SELECT}),system,robotpkg)
(to be checked).
Note that on ubuntu-20.04 I can't find a osg-qt. Is it expected?
Updated by Guilhem Saurel over 4 years ago
- Status changed from New to Closed
That's right.
dpkg -L libopenscenegraph-dev | grep -i qt
shows osgqt in 18.04 and not in 20.04.
So I guess I'll have to write this robotpkg-qtX-openscenegraph anyway.
Thanks for the answers !
Updated by Anthony Mallet over 4 years ago
On Wednesday 13 May 2020, at 13:30, Guilhem Saurel wrote:
dpkg -L libopenscenegraph-dev | grep -i qt shows osgqt in 18.04 and
not in 20.04.
It might be worth to check why. If it's only a matter of waiting for
the maintainer, or if it's deemed deprecated, or if there are issues
...
Updated by Guilhem Saurel over 4 years ago
Well, the debian upstream switched to Qt5 long ago:
https://salsa.debian.org/openscenegraph-team/openscenegraph-3.2/-/commit/bd8fbe3a35d47357bbf956a3da7b2fba11bf27cf
https://salsa.debian.org/openscenegraph-team/openscenegraph-3.2/-/commit/3dbd461f69b744874d6868f4fae2247ecba217e9
But on ubuntu, https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1279268 has been open for 6 years.