[cmake-developers] [CMake 0012141]: Add Debian Source Generator Module

Mantis Bug Tracker mantis at public.kitware.com
Sat Apr 30 05:50:10 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12141 
====================================================================== 
Reported By:                Rosen Diankov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12141
Category:                   (No Category)
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-04-30 05:50 EDT
Last Modified:              2011-04-30 05:50 EDT
====================================================================== 
Summary:                    Add Debian Source Generator Module
Description: 
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 4 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

4. Handles distro and release specific dependencies through:
DEPENDS_DISTRO_RELEASE, DEPENDS_DISTRO, DEPENDS. For example:

CPACK_DEBIAN_PACKAGE_DEPENDS_UBUNTU_LUCID


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

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

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-30 05:50 Rosen Diankov  New Issue                                    
2011-04-30 05:50 Rosen Diankov  File Added: DebSourcePPA.cmake                  
 
======================================================================




More information about the cmake-developers mailing list