Joachim Reichel wrote :
What about the following package layout (I just give the essential
files, no symbolic links, documentation, etc.). Basically it is a
slightly updated version of my proposal (1):
libqglviewer-headers: (could probably be Arch:all)
- /usr/include/QGlViewer/qglviewer.h (and all the other header files)
libqglviewer2:
- /usr/lib/libqglviewer.so.2.3.1
libqglviewer-dev: (depends on libqglviewer-headers)
- /usr/lib/libqglviewer.a
libqglviewer-qt3-2:
- /usr/lib/libqglviewer-qt3.so.2.3.1
libqglviewer-qt3-dev: (depends on libqglviewer-headers)
- /usr/lib/libqglviewer-qt3.a
This approach has the following advantages:
- the Qt4 variant is usable without any changes (compared with an
standard install of the upstream sources)
- examples should build without further modifications against the Qt4
variant
- same for other packages depending on the Qt4 variant
- If one still wants to use the Qt3 variant, one has to make only
minimal changes (just the library name, the headers are shared)
- The library SONAME for the Qt4 variant does not deviate from the
upstream SONAME
Disadvantages:
- a transition for squeeze (but there are no packages in Debian yet
depending on libqglviewer -- apart from my cgal package)
- the packaging is "asymmetric" in some sense (but I think it ok to
"prefer" the upstream default and newer Qt4 variant in some way)
I fully second this layout proposal. Let me know if there is anything I
can do in the main sources to help you in the packaging process.
--
Gilles
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org