[CMake] [CPACK] debian package + CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA patch

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Apr 1 10:22:13 EDT 2008


Hi Bill,

On Tue, Apr 1, 2008 at 4:00 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> Mathieu Malaterre wrote:
>
>  > Ok, found the issue (*). There is an empty line. I am guessing that
>  > there is a duplicate \n in the CPACK_DEBIAN_PACKAGE_ARCHITECTURE line.
>  > This can easily be fixed applying this patch (**). Bill do you think
>  > this is enough for cmake 2.6.0 or do you want the full patch that make
>  > sure that CPACKE_DEBIAN* entry are all single line ?
>  >
>
>  I just did a commit:
>
>  hoffman at CORRIN ~/My Builds/CMake/Modules
>  $ cvs commit -m "ENH: remove trailing space " CPackDeb.cmake
>
> /cvsroot/CMake/CMake/Modules/CPackDeb.cmake,v  <--  CPackDeb.cmake
>  new revision: 1.13; previous revision: 1.12
>
>  Let me know if this works, and I will move it to the 2.6 branch.

Yup, works perfectly for me ! thanks

If possible I would like another patch to be applied to the 2.6.0
branch. There is currently no way to add 'extra' script typically very
debian specific. For instance I am packaging a daemon and during the
install process I'd like that the daemon be automatically started
(which is very OS specific). To handle that I need to be able to
specify extra file that are neither target, not installed file (no
cpack do not see them).

I have implemented a solution (see attached patch).

thanks again !


-- 
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deb.patch
Type: text/x-diff
Size: 2424 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080401/b4619acf/attachment-0001.patch>


More information about the CMake mailing list