[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updated maint-guide contents, question on style



Justin B Rye wrote:
> Meanwhile I've noticed quite a few (mostly very dull) things that
> still needed changing after my patch 4a, so here's 4b.  Fortunately
> it's only a few kb.

Unfortunately there's a typo:

> @@ -2994,8 +2994,8 @@
>  The <command>dh_installchangelogs</command> command requires
>  <filename>FIXES</filename> as its argument to install it.  <footnote><para> The
>  <filename>debian/changelog</filename> and <filename>debian/NEWS</filename>
> -files are always automatically installed.  The upstream changelog is searched
> -by converting filenames to the lower case and matching them with the
> +files are always automatically installed.  The upstream changelog is ound
> +by converting filenames to lower case and matching them against
>  <filename>changelog</filename>, <filename>changes</filename>,
>  <filename>changelog.txt</filename>, and <filename>changes.txt</filename>.
>  </para> </footnote>

s/is ound/is found/
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
--- maint-guide.en.dbk.pristine	2011-05-02 20:40:28.208922660 +0100
+++ maint-guide.en.dbk	2011-05-02 22:54:19.208021966 +0100
@@ -1891,7 +1891,7 @@
 <literal>debian/rules build</literal> (see <xref
 linkend="autobuilder"/>), the <literal>Build-Depends</literal> field
 needs to  list practically all the required packages and
-<literal>Build-Depends-indep</literal> is rarely used.
+<literal>Build-Depends-Indep</literal> is rarely used.
 </para>
 </listitem>
 <listitem>
@@ -1909,7 +1909,7 @@
 <literal>Build-Depends</literal> field to be on the safe side.
 <footnote><para> This somewhat strange situation is a feature well documented
 in the <ulink url="&policy-build-depends-indep;">Debian Policy
-Manual, Footnotes 48</ulink>.  This is not due to the use of the
+Manual, Footnotes 55</ulink>.  This is not due to the use of the
 <command>dh</command> command in the <filename>debian/rules</filename> file but
 due to how the <command>dpkg-buildpackage</command> works.  The same situation
 applies to the <ulink url="https://bugs.launchpad.net/launchpad-buildd/+bug/238141";>auto build system
@@ -1935,7 +1935,7 @@
 $ dpkg -S libfoo.so.6
 </screen>
 <para>
-Then just take <literal>-dev</literal> version of every package as a
+Then just take the <literal>-dev</literal> version of every package as a
 <literal>Build-Depends</literal> entry.  If you use <command>ldd</command> for
 this purpose, it will report indirect lib dependencies as well, resulting in
 the problem of excessive build dependencies.
@@ -1981,7 +1981,7 @@
 </para>
 <para>
 The package management tools usually behave the same way when dealing with
-these relations; if not, it will be explained.  (see <citerefentry>
+these relations; if not, it will be explained.  (See <citerefentry>
 <refentrytitle>dpkg</refentrytitle> <manvolnum>8</manvolnum> </citerefentry>,
 <citerefentry> <refentrytitle>dselect</refentrytitle> <manvolnum>8</manvolnum>
 </citerefentry>, <citerefentry> <refentrytitle>apt</refentrytitle>
@@ -2099,7 +2099,7 @@
 named package.  These versions are listed in parentheses after each individual
 package name, and should contain a relation from the list below followed
 by the version number.  The relations allowed are: <literal>&lt;&lt;</literal>,
-<literal>&lt;=</literal>, <literal>=</literal>, <literal>&gt;=</literal> and
+<literal>&lt;=</literal>, <literal>=</literal>, <literal>&gt;=</literal>, and
 <literal>&gt;&gt;</literal> for strictly lower, lower or equal, exactly equal,
 greater or equal, and strictly greater, respectively.  For example,
 </para>
@@ -2125,7 +2125,7 @@
 <para>
 <citerefentry> <refentrytitle>dh_perl</refentrytitle> <manvolnum>1</manvolnum>
 </citerefentry> calculates Perl dependencies.  It generates a list of a
-dependency on <literal>perl</literal> or <literal>perlapi</literal> for each binary package.  This list is used for
+dependencies on <literal>perl</literal> or <literal>perlapi</literal> for each binary package.  This list is used for
 substituting <literal>${perl:Depends}</literal>.
 </para>
 <para>
@@ -2167,7 +2167,7 @@
 </para>
 <para>
 We can insert <literal>Vcs-*</literal> fields to document the Version Control
-System (VCS) location between line 6 and 7.
+System (VCS) location between lines 6 and 7.
 <footnote><para>See 
 <ulink url="&devref-bpp-vcs;">Debian Developer's Reference, 6.2.5. "Version Control System location"</ulink>.
 </para></footnote>
@@ -2226,11 +2226,11 @@
 gpl2</literal> option here to get a template file for the <systemitem role="package">gentoo</systemitem> package released under GPL-2.
 </para>
 <para>
-You must fill in missing information such as the place you got the package
-from, the actual copyright notice and their license to complete this file.  For
-the common free software licenses such as GNU GPL-1, GNU GPL-2, GNU GPL-3,
-LGPL-2, LGPL-2.1, LGPL-3, GNU FDL-1.2, GNU FDL-1.3, Apache-2.0 or the Artistic
-license, you can just refer to the appropriate file in the
+You must fill in missing information to complete this file, such as the place you got the package
+from, the actual copyright notice, and the license.  For certain
+common free software licenses (GNU GPL-1, GNU GPL-2, GNU GPL-3,
+LGPL-2, LGPL-2.1, LGPL-3, GNU FDL-1.2, GNU FDL-1.3, Apache-2.0, or the Artistic
+license), you can just refer to the appropriate file in the
 <filename>/usr/share/common-licenses/</filename> directory that exists on every
 Debian system.  Otherwise, you must include the complete license.
 </para>
@@ -2326,7 +2326,7 @@
 created by the upstream authors, which you will later install as
 <filename>/usr/share/doc/gentoo/changelog.gz</filename>).  Let's assume your
 ITP (Intent To Package) bug report number was <literal>12345</literal>.  New
-lines must be inserted just before the uppermost line that begins with
+lines must be inserted just below the uppermost line that begins with
 <literal>*</literal> (asterisk).  You can do it with <citerefentry>
 <refentrytitle>dch</refentrytitle> <manvolnum>1</manvolnum> </citerefentry>, or
 manually with a text editor.
@@ -2428,7 +2428,7 @@
 Rules that you want to execute are invoked as command line arguments (for
 example, <literal>./debian/rules build</literal> or <literal>fakeroot make -f
 debian/rules binary</literal>).  After the target name, you can name the
-dependency, program or file that the rule depends on.  After that, there can be
+dependency, program, or file that the rule depends on.  After that, there can be
 any number of commands, indented with
 <literal><replaceable>TAB</replaceable></literal>.  A new rule begins with the
 target declaration in the first column.  Empty lines and lines beginning with
@@ -2463,7 +2463,7 @@
 </screen>
 <para>
 (I've added the line numbers.  In the actual <filename>rules</filename> file,
-the leading white spaces are TAB codes.)
+the leading spaces are a TAB code.)
 </para>
 <para>
 You are probably familiar with lines like line 1 from shell and Perl scripts.
@@ -2487,7 +2487,7 @@
 targets", which then call a single program, <command>dh</command>, with the target
 name.  <footnote><para> This uses the new <systemitem role="package">debhelper</systemitem> v7 features.  Its design concepts are
 explained in <ulink url="&debhelper-slides;">Not Your
-Grandpa's Debhelper</ulink> presented at Debconf9 by the <systemitem role="package">debhelper</systemitem> upstream.  Under
+Grandpa's Debhelper</ulink> presented at DebConf9 by the <systemitem role="package">debhelper</systemitem> upstream.  Under
 <literal>lenny</literal>, <command>dh_make</command> created a much more
 complicated <filename>rules</filename> file with explicit rules
 and many <command>dh_*</command> scripts listed for each one, most of
@@ -2605,7 +2605,7 @@
 <command>dh_*</command> scripts do exactly, and what their other options are,
 please read their respective manual pages and the <systemitem role="package">debhelper</systemitem> documentation.  </para> </footnote> There
 are a few notable ones that are worth giving (over)simplified explanations here assuming
-typical build environment based on a <filename>Makefile</filename>.
+a typical build environment based on a <filename>Makefile</filename>.
 <footnote><para> These commands support other build environments such as
 <filename>setup.py</filename> which can be listed by executing
 <literal>dh_auto_build --list</literal> in a package source directory.  </para>
@@ -2994,8 +2994,8 @@
 The <command>dh_installchangelogs</command> command requires
 <filename>FIXES</filename> as its argument to install it.  <footnote><para> The
 <filename>debian/changelog</filename> and <filename>debian/NEWS</filename>
-files are always automatically installed.  The upstream changelog is searched
-by converting filenames to the lower case and matching them with the
+files are always automatically installed.  The upstream changelog is found
+by converting filenames to lower case and matching them against
 <filename>changelog</filename>, <filename>changes</filename>,
 <filename>changelog.txt</filename>, and <filename>changes.txt</filename>.
 </para> </footnote>

Reply to: