[CMake] Release of new Debian Source Package Generator

Rosen Diankov rosen.diankov at gmail.com
Fri Apr 22 10:01:18 EDT 2011


Hi all,

We just finished a new debian source package generator script for cmake:

https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/modules-cmake/DebSourcePPA.cmake

This is based on the initial UploadPPA.cmake file (
http://purplekarrot.net/blog/dputCMake.html )  by Daniel Pfeifer,
except it adds 3 new cool features:

1. Simultaneous output of multiple debian source packages for each
distribution. Users can specify them by

set(CPACK_DEBIAN_DISTRIBUTION_RELEASES karmic lucid maverick natty)

and 4 dsc files, 4 changes files, 4 debian.tar.gz files, and one
src.orig.tar.gz file will be outputted. These can be sent directly to
launchpad via dput

2. Automatically generates symbols and run-time dependencies from the
build dependencies

3 Custom copy of source directory via CPACK_DEBIAN_PACKAGE_SOURCE_COPY

there's also a lot of small mods here and there.

The usage of this file for generating all the OpenRAVE packages can be
seen here:

https://launchpad.net/~openrave/+archive/release/+packages

For ubuntu users, you can execute the following line to see the
generated packages:

sudo add-apt-repository ppa:openrave/release

rosen,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DebSourcePPA.cmake
Type: text/x-cmake
Size: 9167 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110422/fdba4dad/attachment.bin>


More information about the CMake mailing list