Hi All, Now that I've tagged 2.8.0-rc1 my focus has now moved on to helping out on the packaging front. The packaging that I'd like to contribute is the debian packages, so I've started down this journey by enable cpack support in the OSG, then doing:
cpack -G DEB --config CPackConfig-libopenscenegraph.cmake -D CPACK_PACKAGE_CONTACT="[email protected]" Which generates a OpenSceneGraph-2.8.0.deb, which is but... if I then do create a package libopenscenegraph-dev pacakge I also get an OpenSceneGraph-2.8.0.deb. Looking at the CPackConfig-libopenscenegraph.cmake I note the CPACK_PACKAGE_FILE_NAME is OpenSceneGraph-2.8.0 which goes a long way to explain why the name is what it is. I have been able to override it using: cpack -G DEB --config CPackConfig-libopenscenegraph.cmake -D CPACK_PACKAGE_CONTACT="[email protected]" -D CPACK_PACKAGE_FILE_NAME="libopenscenegraph-2.8.0.deb" I don't yet have the right architecture info in the debian name, and no doubt other items aren't yet set which I'll need to add. I found the following page on the CMake/CPack wiki: http://www.vtk.org/Wiki/CMake:CPackPackageGenerators I do wonder whether there isn't some more we could be doing on the generation of the CPackConfig-* files such as setting the base name a bit more appropriately. I'm rather new to cpack and debian packaging so I'm rather floundering around a bit clueless, but that's how we start learning is it not... Feel free to point me in the right direction. In particular I'm keen to QA the packages I create, is there such a tool for debian? Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

