Hi Paul,

2011/12/29 Paul Wise <p...@debian.org>:
> The following files are in violation of policy section 8.2. Please move
> them to a different package and then drop the Breaks on all the old
> versions of libogremain.

I don't doubt that you are right, but there are some complications and
I hope that you will help me to solve this in a nice way.

AFAIK the OGRE package in Debian has worked like this since originally
packaged in 2004, and it follows closely upstream's way of doing
things.  In particular the plugins.cfg thing never made much sense to
me (and it's usually a user application thing, not a system-wide one),
compared to how other similar 3D engines handle these matters.  I
never changed that for tradition, and because OGRE was never very
focused on the way that things work in places like Debian, compared to
other projects (they value more the development on consoles, ad-hoc
installations and things like that).

Apart from that, I'm not completely sure (because I am not an expert
in OGRE world), but I don't think that the plugins can work with
different major versions of the library (1.6 vs 1.7, or the upcoming
1.8).  If I'm right, the proposed solution would be technically
correct for the Debian packaging tools side of things, but it wouldn't
work when trying to use it.  Think of Firefox plugins, for example,
they usually fail to work with different upstream versions, and
usually there's no provision in Debian to have several versions of
Firefox plugins installed.  (Unlike browser extensions, I think that
most/all projects using OGRE use several plugins at the same time, so
there's no much difference with libOgreTerrain and the plugins, so
maybe the separation is for historic reasons).

So for several versions of the library to be usable at the same time,
I think that the solution would be to make these versioned (e.g.
installed in /lib/OGRE-1.7.3/Plugin_Whatever.so).  That's the way that
OpenSceneGraph (that I co-maintain) do it.

# dpkg -L libopenscenegraph80 | grep -i plugins | head -n 5
/usr/lib/osgPlugins-3.0.1
/usr/lib/osgPlugins-3.0.1/osgdb_cfg.so
/usr/lib/osgPlugins-3.0.1/osgdb_rot.so
/usr/lib/osgPlugins-3.0.1/osgdb_pnm.so
/usr/lib/osgPlugins-3.0.1/osgdb_curl.so

What do you think?

Regards.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to