[med-svn] r24975 - trunk/community/website/docs
Andreas Tille
tille at moszumanska.debian.org
Mon Jan 15 18:08:11 UTC 2018
Author: tille
Date: 2018-01-15 18:08:08 +0000 (Mon, 15 Jan 2018)
New Revision: 24975
Modified:
trunk/community/website/docs/policy.xml
Log:
Update cme hints
Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml 2018-01-10 15:33:18 UTC (rev 24974)
+++ trunk/community/website/docs/policy.xml 2018-01-15 18:08:08 UTC (rev 24975)
@@ -610,14 +610,21 @@
It is a very good idea to use <command>Config::Model</command> to unify the formatting of <filename>debian/control</filename>.
To do so make sure you have installed
<formalpara>
- <command>apt-get</command> <option> install cme libconfig-model-dpkg-perl libconfig-model-itself-perl</option>
+ <command>apt-get</command> <option> install cme libconfig-model-dpkg-perl</option>
</formalpara>
and than you can simply call
<formalpara>
<command>cme</command> <option> fix dpkg-control</option>
</formalpara>
to get a properly formated, sanity checked <filename>debian/control</filename> file. Please note that sometimes you need to
- call this more than once.
+ call this more than once. In case you want to use the cme GUI you also need to
+ <formalpara>
+ <command>apt-get</command> <option> install libconfig-model-tkui-perl</option>
+ </formalpara>
+ which enables you to do something like
+ <formalpara>
+ <command>cme</command> <option> edit dpkg</option>
+ </formalpara>
</para>
</sect2>
@@ -626,16 +633,18 @@
<para>
We use the <ulink url="http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/">machine-readable format</ulink> for the <filename>debian/copyright</filename> file. The <computeroutput>Source</computeroutput> field does not need to contain the full URL to the particular version that is being packaged, since this can be determined by the <command>uscan</command> program with the <filename>debian/watch</filename> file (but note that some packagers use it as a bookmark to record when was the last copyright check). Please list yourself in the <computeroutput>Files: debian/*</computeroutput> section if you think that your contributions are not trivial and therefore subjected to copyright. Please chose a license that is compatible with the program you package. You can also use <quote>same as if it were in the public domain</quote> or <quote>same as the packaged program itself</quote>.
</para>
+ You can create a <filename>debian/copyright</filename> file from scratch using
+ <formalpara>
+ <command>cme</command> <option> update dpkg-copyright</option>
+ </formalpara>
<para>
- To create some reasonable skeleton for a <filename>debian/copyright</filename> file you can try the following:<programlisting>
+ Alternatively you can create some reasonable skeleton for a <filename>debian/copyright</filename> file you can try the following:<programlisting>
<command>sudo apt-get install</command> <replaceable>devscripts</replaceable> <replaceable>cdbs</replaceable>
<command>licensecheck</command> <option>--copyright</option> <option>-r <replaceable>`find -type f`</replaceable></option> | <command>/usr/lib/cdbs/licensecheck2dep5</command> > <filename>debian/copyright</filename></programlisting>
</para>
<para>
To verify the correct syntax of the <filename>debian/copyright</filename> file you can use:<programlisting>
-<command>config-edit</command> <option>-application <replaceable>dpkg-copyright</replaceable></option> <option>-ui <replaceable>none</replaceable></option>
-</programlisting> or <programlisting>
-<command>cme fix</command> <option>dpkg-copyright</option></programlisting>
+<command>cme </command> <option>check|fix|edit dpkg-copyright</option></programlisting>
from package <filename>libconfig-model-dpkg-perl</filename> (see above).
</para>
</sect2>
More information about the debian-med-commit
mailing list