<div>Yeah, I really should. :)</div><div><br></div><div>Is this ok? Or shall I create a bug and attach the patch to that? (attach patch; it's very minor; just missing 3 of the variables)</div><div><br></div><div><div>doug@shadowmint:~/ext/cmake$ ./bin/cpack --help-variable-list |grep DEB <-- All in there now~</div>
<div>CPACK_RPM_PACKAGE_DEBUG</div>
<div>CPACK_DEBIAN_PACKAGE_ARCHITECTURE</div><div>CPACK_DEBIAN_PACKAGE_BREAKS</div><div>CPACK_DEBIAN_PACKAGE_CONFLICTS</div><div>CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</div><div>CPACK_DEBIAN_PACKAGE_DEBUG</div><div>CPACK_DEBIAN_PACKAGE_DEPENDS</div>
<div>CPACK_DEBIAN_PACKAGE_DESCRIPTION</div><div>CPACK_DEBIAN_PACKAGE_ENHANCES</div><div>CPACK_DEBIAN_PACKAGE_HOMEPAGE</div><div>CPACK_DEBIAN_PACKAGE_MAINTAINER</div><div>CPACK_DEBIAN_PACKAGE_NAME</div><div>CPACK_DEBIAN_PACKAGE_PREDEPENDS</div>
<div>CPACK_DEBIAN_PACKAGE_PRIORITY</div><div>CPACK_DEBIAN_PACKAGE_PROVIDES</div><div>CPACK_DEBIAN_PACKAGE_RECOMMENDS</div><div>CPACK_DEBIAN_PACKAGE_REPLACES</div><div>CPACK_DEBIAN_PACKAGE_SECTION</div><div>CPACK_DEBIAN_PACKAGE_SHLIBDEPS</div>
<div>CPACK_DEBIAN_PACKAGE_SUGGESTS</div><div>CPACK_DEBIAN_PACKAGE_VERSION</div><div>doug@shadowmint:~/ext/cmake$ ./bin/cpack --help-variable CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</div><div>cpack version 2.8.8.20120618-g1d819-dirty</div>
<div> CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</div><div><br></div><div> Mandatory : NO</div><div> Default : -</div><div> This variable allow advanced user to add custom script to the control.tar.gz </div>
<div> Typical usage is for conffiles, postinst, postrm, prerm.</div><div> Usage: SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</div><div> "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")</div>
<div><br></div><div><br></div><div>doug@shadowmint:~/ext/cmake$ ./bin/cpack --help-variable CPACK_DEBIAN_PACKAGE_SUGGESTS </div><div>cpack version 2.8.8.20120618-g1d819-dirty</div><div> CPACK_DEBIAN_PACKAGE_SUGGESTS</div>
<div><br></div><div> Mandatory : NO</div><div> Default : -</div><div> see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps" target="_blank">http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps</a></div>
<div> Allows packages to declare a suggested package install grouping.</div><div><br></div><div><br></div><div>doug@shadowmint:~/ext/cmake$ ./bin/cpack --help-variable CPACK_DEBIAN_PACKAGE_RECOMMENDS</div><div>
cpack version 2.8.8.20120618-g1d819-dirty</div><div> CPACK_DEBIAN_PACKAGE_RECOMMENDS</div><div><br></div><div> Mandatory : NO</div><div> Default : -</div><div> see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps" target="_blank">http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps</a></div>
<div> Allows packages to declare a strong, but not absolute, dependency on other packages.</div><div><br></div><div><br></div><div>doug@shadowmint:~/ext/cmake$ </div></div><div><br></div><div>~</div><div>Doug.</div>
<div><br></div>On Mon, Jun 18, 2012 at 2:47 PM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/6/18 Doug <<a href="mailto:douglas.linder@gmail.com" target="_blank">douglas.linder@gmail.com</a>>:<br>
<div>> Hm... I can't edit the wiki myself without going through the process of<br>
> getting an account.<br>
<br>
</div>Then you should get an account :-)<br>
<div><br>
> Would it be possible to add just a note to this page:<br>
> <a href="http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29" target="_blank">http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29</a><br>
<br>
</div>I did it at the top:<br>
<a href="http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#CPack_Package_Generators" target="_blank">http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#CPack_Package_Generators</a><br>
<div><br>
> Some of the supported options are not listed.<br>
<br>
</div>As stated in the just-added paragraph. ALL the CPack variables should<br>
now be documented<br>
by the builtin documentation support of CPack 2.8.8 and up.<br>
<div><br>
> These are probably seldom used by most people, but they're actually quite<br>
> important if you're making configuration packages or virtual packages.<br>
> (and they _are_ supported, so there's no reason to scare people off by<br>
> making them think they aren't~)<br>
><br>
> Already listed:<br>
> CPACK_DEBIAN_PACKAGE_ARCHITECTURE<br>
> CPACK_DEBIAN_PACKAGE_MAINTAINER<br>
> CPACK_DEBIAN_PACKAGE_DESCRIPTION<br>
> CPACK_DEBIAN_PACKAGE_DEPENDS<br>
> CPACK_DEBIAN_PACKAGE_RECOMMENDS<br>
> CPACK_DEBIAN_PACKAGE_SUGGESTS<br>
> CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA<br>
><br>
> Not listed, but supported in Source/CPack/cmCPackDebGenerator.cxx:<br>
<br>
</div>cpack --help-variable-list | grep CPACK_DEBIAN_<br>
<br>
will give you the currently builtin-documented variables but...<br>
some variables you listed hereafter are not listed or the documentation<br>
is not as complete as the one you gave.<br>
<div><br>
<br>
<br>
<br>
> CPACK_DEBIAN_PACKAGE_HOMEPAGE<br>
> The URL of the web site for this package, preferably (when applicable) the<br>
> site from which the original source can be obtained and any additional<br>
> upstream documentation or information may be found. The content of this<br>
> field is a simple URL without any surrounding characters such as <>.<br>
<br>
</div>[...]<br>
<br>
The builtin documentation is extracted from CPackDeb.cmake<br>
would you be able to provide a patch for this file:<br>
<a href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/CPackDeb.cmake;h=fe81dc92c9ee7958e5cbb82d9990e659e8dbf484;hb=HEAD" target="_blank">http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/CPackDeb.cmake;h=fe81dc92c9ee7958e5cbb82d9990e659e8dbf484;hb=HEAD</a><br>
<br>
containing your update?<br>
<br>
The CPack builtin doc uses a basic markup which should be easy to understand.<br>
<span><font color="#888888"><br>
<br>
--<br>
Erk<br>
Le gouvernement représentatif n'est pas la démocratie --<br>
<a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a><br>
</font></span></blockquote></div><br>