pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc regen for upstream patch admonition.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce8a856fcad1
branches:  trunk
changeset: 497805:ce8a856fcad1
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Aug 04 17:53:11 2005 +0000

description:
regen for upstream patch admonition.
(Also noticed part numbering changed to I/II/A, but that seems ok.)

diffstat:

 doc/pkgsrc.html |  110 +++++++++++++++++++++++++++------------------------
 doc/pkgsrc.txt  |  117 +++++++++++++++++++++++++++++--------------------------
 2 files changed, 119 insertions(+), 108 deletions(-)

diffs (truncated from 639 to 300 lines):

diff -r e5c351bec129 -r ce8a856fcad1 doc/pkgsrc.html
--- a/doc/pkgsrc.html   Thu Aug 04 17:38:06 2005 +0000
+++ b/doc/pkgsrc.html   Thu Aug 04 17:53:11 2005 +0000
@@ -108,7 +108,7 @@
           </dl>
         </dd>
 
-        <dt><span class="part"><a href="#users-guide">1. The pkgsrc
+        <dt><span class="part"><a href="#users-guide">I. The pkgsrc
         user's guide</a></span></dt>
 
         <dd>
@@ -384,7 +384,7 @@
           </dl>
         </dd>
 
-        <dt><span class="part"><a href="#developers-guide">2. The
+        <dt><span class="part"><a href="#developers-guide">II. The
         pkgsrc developer's guide</a></span></dt>
 
         <dd>
@@ -909,63 +909,63 @@
           </dl>
         </dd>
 
-        <dt><span class="appendix"><a href="#examples">1. A simple
+        <dt><span class="appendix"><a href="#examples">A. A simple
         example package: bison</a></span></dt>
 
         <dd>
           <dl>
-            <dt><span class="sect1"><a href="#example-files">1.1.
+            <dt><span class="sect1"><a href="#example-files">A.1.
             files</a></span></dt>
 
             <dd>
               <dl>
                 <dt><span class="sect2"><a href=
-                "#example-Makefile">1.1.1. Makefile</a></span></dt>
+                "#example-Makefile">A.1.1. Makefile</a></span></dt>
 
                 <dt><span class="sect2"><a href=
-                "#example-descr">1.1.2. DESCR</a></span></dt>
+                "#example-descr">A.1.2. DESCR</a></span></dt>
 
                 <dt><span class="sect2"><a href=
-                "#example-plist">1.1.3. PLIST</a></span></dt>
+                "#example-plist">A.1.3. PLIST</a></span></dt>
 
                 <dt><span class="sect2"><a href=
-                "#checking-package-with-pkglint">1.1.4. Checking a
+                "#checking-package-with-pkglint">A.1.4. Checking a
                 package with <span><strong class=
                 "command">pkglint</strong></span></a></span></dt>
               </dl>
             </dd>
 
-            <dt><span class="sect1"><a href="#steps-for-b-i-p">1.2.
+            <dt><span class="sect1"><a href="#steps-for-b-i-p">A.2.
             Steps for building, installing,
             packaging</a></span></dt>
           </dl>
         </dd>
 
-        <dt><span class="appendix"><a href="#logs">2. Build
+        <dt><span class="appendix"><a href="#logs">B. Build
         logs</a></span></dt>
 
         <dd>
           <dl>
-            <dt><span class="sect1"><a href="#logs.building">2.1.
+            <dt><span class="sect1"><a href="#logs.building">B.1.
             Building figlet</a></span></dt>
 
-            <dt><span class="sect1"><a href="#logs.package">2.2.
+            <dt><span class="sect1"><a href="#logs.package">B.2.
             Packaging figlet</a></span></dt>
           </dl>
         </dd>
 
-        <dt><span class="appendix"><a href="#ftp-layout">3. Layout
+        <dt><span class="appendix"><a href="#ftp-layout">C. Layout
         of the FTP server's package archive</a></span></dt>
 
-        <dt><span class="appendix"><a href="#editing">4. Editing
+        <dt><span class="appendix"><a href="#editing">D. Editing
         guidelines for the pkgsrc guide</a></span></dt>
 
         <dd>
           <dl>
-            <dt><span class="sect1"><a href="#targets">4.1.
+            <dt><span class="sect1"><a href="#targets">D.1.
             Targets</a></span></dt>
 
-            <dt><span class="sect1"><a href="#procedure">4.2.
+            <dt><span class="sect1"><a href="#procedure">D.2.
             Procedure</a></span></dt>
           </dl>
         </dd>
@@ -1150,16 +1150,16 @@
 
         <p>This document is divided into two parts. The first,
         <a href="#users-guide" title=
-        "Part&nbsp;1.&nbsp;The pkgsrc user's guide">The pkgsrc
+        "Part&nbsp;I.&nbsp;The pkgsrc user's guide">The pkgsrc
         user's guide</a>, describes how one can use one of the
         packages in the Package Collection, either by installing a
         precompiled binary package, or by building one's own copy
         using the NetBSD package system. The second part, <a href=
         "#developers-guide" title=
-        "Part&nbsp;2.&nbsp;The pkgsrc developer's guide">The pkgsrc
-        developer's guide</a>, explains how to prepare a package so
-        it can be easily built by other NetBSD users without
-        knowing about the package's building details.</p>
+        "Part&nbsp;II.&nbsp;The pkgsrc developer's guide">The
+        pkgsrc developer's guide</a>, explains how to prepare a
+        package so it can be easily built by other NetBSD users
+        without knowing about the package's building details.</p>
 
         <p>This document is available in various formats:</p>
 
@@ -1310,8 +1310,7 @@
         <div>
           <div>
             <h1 class="title"><a name="users-guide" id=
-            "users-guide"></a>Part&nbsp;1.&nbsp;The pkgsrc user's
-            guide</h1>
+            "users-guide"></a>The pkgsrc user's guide</h1>
           </div>
         </div>
       </div>
@@ -2869,7 +2868,7 @@
 
           <p>This assumes that the package is already in pkgsrc. If
           it is not, see <a href="#developers-guide" title=
-          "Part&nbsp;2.&nbsp;The pkgsrc developer's guide">Part&nbsp;2,
+          "Part&nbsp;II.&nbsp;The pkgsrc developer's guide">Part&nbsp;II,
           &#8220;The pkgsrc developer's guide&#8221;</a> for
           instructions how to create your own packages.</p>
 
@@ -2976,7 +2975,7 @@
             <p>Taking the figlet utility as an example, we can
             install it on our system by building as shown in
             <a href="#logs" title=
-            "Appendix&nbsp;2.&nbsp;Build logs">Appendix 2, <i>Build
+            "Appendix&nbsp;B.&nbsp;Build logs">Appendix B, <i>Build
             logs</i></a>.</p>
 
             <p>The program is installed under the default root of
@@ -3676,7 +3675,7 @@
           "http://www.w3.org/TR/xhtml1/transitional"; class=
           "filename">/usr/pkgsrc/packages</code>, in the form of a
           gzipped tar file. See <a href="#logs.package" title=
-          "2.2.&nbsp;Packaging figlet">Section 2.2,
+          "B.2.&nbsp;Packaging figlet">Section B.2,
           &#8220;Packaging figlet&#8221;</a> for a continuation of
           the above <a xmlns=
           "http://www.w3.org/TR/xhtml1/transitional"; href=
@@ -5519,8 +5518,8 @@
         <div>
           <div>
             <h1 class="title"><a name="developers-guide" id=
-            "developers-guide"></a>Part&nbsp;2.&nbsp;The pkgsrc
-            developer's guide</h1>
+            "developers-guide"></a>The pkgsrc developer's
+            guide</h1>
           </div>
         </div>
       </div>
@@ -6512,6 +6511,13 @@
           &#8220;<code xmlns="http://www.w3.org/TR/xhtml1/transitional";
           class="filename">distinfo</code>&#8221;</a>.</p>
 
+          <p>When adding a patch that corrects a problem in the
+          distfile (rather than e.g. enforcing pkgsrc's view of
+          where man pages should go), send the patch as a bug
+          report to the maintainer. This benefits non-pkgsrc users
+          of the package, and usually enables removing the patch in
+          future version.</p>
+
           <p>Patch files that are distributed by the author or
           other maintainers can be listed in <code class=
           "varname">$PATCHFILES</code>.</p>
@@ -13689,7 +13695,7 @@
         <div>
           <div>
             <h2 class="title"><a name="examples" id=
-            "examples"></a>Appendix&nbsp;1.&nbsp;A simple example
+            "examples"></a>Appendix&nbsp;A.&nbsp;A simple example
             package: bison</h2>
           </div>
         </div>
@@ -13699,28 +13705,28 @@
         <p><b>Table of Contents</b></p>
 
         <dl>
-          <dt><span class="sect1"><a href="#example-files">1.1.
+          <dt><span class="sect1"><a href="#example-files">A.1.
           files</a></span></dt>
 
           <dd>
             <dl>
               <dt><span class="sect2"><a href=
-              "#example-Makefile">1.1.1. Makefile</a></span></dt>
+              "#example-Makefile">A.1.1. Makefile</a></span></dt>
 
               <dt><span class="sect2"><a href=
-              "#example-descr">1.1.2. DESCR</a></span></dt>
+              "#example-descr">A.1.2. DESCR</a></span></dt>
 
               <dt><span class="sect2"><a href=
-              "#example-plist">1.1.3. PLIST</a></span></dt>
+              "#example-plist">A.1.3. PLIST</a></span></dt>
 
               <dt><span class="sect2"><a href=
-              "#checking-package-with-pkglint">1.1.4. Checking a
+              "#checking-package-with-pkglint">A.1.4. Checking a
               package with <span><strong class=
               "command">pkglint</strong></span></a></span></dt>
             </dl>
           </dd>
 
-          <dt><span class="sect1"><a href="#steps-for-b-i-p">1.2.
+          <dt><span class="sect1"><a href="#steps-for-b-i-p">A.2.
           Steps for building, installing, packaging</a></span></dt>
         </dl>
       </div>
@@ -13739,7 +13745,7 @@
             <div>
               <h2 class="title" style="clear: both"><a name=
               "example-files" id=
-              "example-files"></a>1.1.&nbsp;files</h2>
+              "example-files"></a>A.1.&nbsp;files</h2>
             </div>
           </div>
         </div>
@@ -13749,7 +13755,7 @@
             <div>
               <div>
                 <h3 class="title"><a name="example-Makefile" id=
-                "example-Makefile"></a>1.1.1.&nbsp;Makefile</h3>
+                "example-Makefile"></a>A.1.1.&nbsp;Makefile</h3>
               </div>
             </div>
           </div>
@@ -13777,7 +13783,7 @@
             <div>
               <div>
                 <h3 class="title"><a name="example-descr" id=
-                "example-descr"></a>1.1.2.&nbsp;DESCR</h3>
+                "example-descr"></a>A.1.2.&nbsp;DESCR</h3>
               </div>
             </div>
           </div>
@@ -13794,7 +13800,7 @@
             <div>
               <div>
                 <h3 class="title"><a name="example-plist" id=
-                "example-plist"></a>1.1.3.&nbsp;PLIST</h3>
+                "example-plist"></a>A.1.3.&nbsp;PLIST</h3>
               </div>
             </div>
           </div>
@@ -13813,7 +13819,7 @@
               <div>
                 <h3 class="title"><a name=
                 "checking-package-with-pkglint" id=
-                "checking-package-with-pkglint"></a>1.1.4.&nbsp;Checking
+                "checking-package-with-pkglint"></a>A.1.4.&nbsp;Checking
                 a package with <span><strong class=
                 "command">pkglint</strong></span></h3>
               </div>
@@ -13849,7 +13855,7 @@
             <div>
               <h2 class="title" style="clear: both"><a name=
               "steps-for-b-i-p" id=
-              "steps-for-b-i-p"></a>1.2.&nbsp;Steps for building,
+              "steps-for-b-i-p"></a>A.2.&nbsp;Steps for building,
               installing, packaging</h2>
             </div>
           </div>
@@ -14007,7 +14013,7 @@
         <div>
           <div>
             <h2 class="title"><a name="logs" id=
-            "logs"></a>Appendix&nbsp;2.&nbsp;Build logs</h2>
+            "logs"></a>Appendix&nbsp;B.&nbsp;Build logs</h2>
           </div>
         </div>
       </div>
@@ -14016,10 +14022,10 @@
         <p><b>Table of Contents</b></p>
 
         <dl>
-          <dt><span class="sect1"><a href="#logs.building">2.1.
+          <dt><span class="sect1"><a href="#logs.building">B.1.
           Building figlet</a></span></dt>
 
-          <dt><span class="sect1"><a href="#logs.package">2.2.
+          <dt><span class="sect1"><a href="#logs.package">B.2.



Home | Main Index | Thread Index | Old Index