Quellcode durchsuchen

dpkg (1.3.14) unstable; urgency=low

  * dpkg-buildpackage new -tc (clean source tree) option.

  * Formatted documentation removed by `make clean' and so not in source.
  * Manuals and own Standards-Version: updated to 2.1.0.0.
  * Distribute {policy,programmer}.{html.tar,ps}.gz with each upload.

 -- Ian Jackson <ian@chiark.chu.cam.ac.uk>  Sun, 1 Sep 1996 20:43:40 +0100
Ian Jackson vor 30 Jahren
Ursprung
Commit
40aa7cbb80
19 geänderte Dateien mit 80 neuen und 58021 gelöschten Zeilen
  1. 10 0
      debian/changelog
  2. 7 1
      debian/rules
  3. 2 2
      doc/Makefile.in
  4. 15 0
      doc/changelog
  5. 2 2
      doc/manuals-version
  6. 0 2039
      doc/policy.lout
  7. 0 3170
      doc/policy.lout.ld
  8. 0 6625
      doc/policy.ps
  9. 0 6302
      doc/policy.ps1
  10. 24 7
      doc/policy.sgml
  11. 0 1423
      doc/policy.text
  12. 0 4538
      doc/programmer.lout
  13. 0 5307
      doc/programmer.lout.ld
  14. 0 14607
      doc/programmer.ps
  15. 0 13997
      doc/programmer.ps1
  16. 5 0
      doc/programmer.sgml
  17. 8 0
      scripts/dpkg-buildpackage.sh
  18. 6 0
      scripts/dpkg-source.1
  19. 1 1
      version.h

+ 10 - 0
debian/changelog

@@ -1,3 +1,13 @@
+dpkg (1.3.14) unstable; urgency=low
+
+  * dpkg-buildpackage new -tc (clean source tree) option.
+
+  * Formatted documentation removed by `make clean' and so not in source.
+  * Manuals and own Standards-Version: updated to 2.1.0.0.
+  * Distribute {policy,programmer}.{html.tar,ps}.gz with each upload.
+
+ -- Ian Jackson <ian@chiark.chu.cam.ac.uk>  Sun, 1 Sep 1996 20:43:40 +0100
+
 dpkg (1.3.13) unstable; urgency=low (HIGH for building new src X programs)
 dpkg (1.3.13) unstable; urgency=low (HIGH for building new src X programs)
 
 
   * X shared libraries added to shlibs.default (=> `elf-x11r6lib').
   * X shared libraries added to shlibs.default (=> `elf-x11r6lib').

+ 7 - 1
debian/rules

@@ -21,8 +21,14 @@ clean:
 
 
 binary:		binary-arch binary-indep
 binary:		binary-arch binary-indep
 
 
-binary-indep:
+binary-indep:	build
 	$(checkdir)
 	$(checkdir)
+	set -e -x; cd doc; for f in policy programmer; do \
+		debiandoc2ps -pa4 -O $$f.sgml | gzip -9v >../../$$f.ps.gz; \
+		dpkg-distaddfile -f../debian/files $$f.ps.gz byhand -; \
+		GZIP=-9v tar zcf ../../$$f.html.tar.gz $$f.html; \
+		dpkg-distaddfile -f../debian/files $$f.html.tar.gz byhand -; \
+	done
 
 
 binary-arch:	checkroot build
 binary-arch:	checkroot build
 	$(checkdir)
 	$(checkdir)

+ 2 - 2
doc/Makefile.in

@@ -74,8 +74,8 @@ clean:
 		rm -f $(SGMLDOCSTAMPS)
 		rm -f $(SGMLDOCSTAMPS)
 		rm -f database-structure.ps database-structure.monops ps
 		rm -f database-structure.ps database-structure.monops ps
 		rm -f *.{aux,cp,dvi,fn,ky,log,pg,toc,tp,vr,bak}
 		rm -f *.{aux,cp,dvi,fn,ky,log,pg,toc,tp,vr,bak}
-		rm -f guidelines.info* *.sasp*
-		rm -rf {programmer,policy}.html
+		rm -f guidelines.info*
+		rm -rf {programmer,policy}.{html*,sasp*,text*,ps*,lout*}
 
 
 distclean:
 distclean:
 		rm -f Makefile *.orig *~ *.~* ./#*#
 		rm -f Makefile *.orig *~ *.~* ./#*#

+ 15 - 0
doc/changelog

@@ -1,3 +1,18 @@
+debian-manuals (2.1.0.0) unstable;
+
+  * Upstream changelog must be installed too (was just recommended).
+
+  * Modification to use dpkg-shlibdeps added to conversion instructions.
+  * Packages which are buggy and orphaned but which are preserved for
+    compatibility go in contrib.
+
+  * Programmers' manual source package section refers to conversion
+    instructions in policy manual.
+  * Make it clear that recommending a non-free or contrib package puts a
+    package in contrib.
+
+ -- Ian Jackson <ian@chiark.chu.cam.ac.uk>  Sun, 1 Sep 1996 17:47:18 +0100
+
 debian-manuals (2.0.1.0) unstable;
 debian-manuals (2.0.1.0) unstable;
 
 
   * varargs.h and libtermcap are obsolete - use stdarg.h and ncurses.
   * varargs.h and libtermcap are obsolete - use stdarg.h and ncurses.

+ 2 - 2
doc/manuals-version

@@ -1,2 +1,2 @@
-<!entity manuals-version "2.0.0.0">
-<!entity dpkg-version "1.3.12">
+<!entity manuals-version "2.1.0.0">
+<!entity dpkg-version "1.3.14">

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 2039
doc/policy.lout


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 3170
doc/policy.lout.ld


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 6625
doc/policy.ps


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 6302
doc/policy.ps1


+ 24 - 7
doc/policy.sgml

@@ -141,7 +141,10 @@ distributed is not the complete source code required to compile the
 program (ie, the program cannot be compiled using only packages in the
 program (ie, the program cannot be compiled using only packages in the
 main Debian distribution), or
 main Debian distribution), or
 <item>
 <item>
-which depend for their use on non-free or contrib packages, or
+which depend for their use on non-free or contrib
+packages<footnote>This includes all packages which declare a
+dependency on a non-free or contrib package, and almost all packages
+which declare a recommendation.</footnote>, or
 <item>
 <item>
 allow free use only for a trial period (shareware), or
 allow free use only for a trial period (shareware), or
 <item>
 <item>
@@ -151,6 +154,9 @@ or
 are only installer-packages which require the user to supply a
 are only installer-packages which require the user to supply a
 separate file to be installed, or
 separate file to be installed, or
 <item>
 <item>
+which are buggy and no longer maintained, but are preserved for
+backward compatibility, or
+<item>
 which fail to meet some other policy requirements,
 which fail to meet some other policy requirements,
 </list>
 </list>
 may only be placed in the semi-supported contrib section of the Debian
 may only be placed in the semi-supported contrib section of the Debian
@@ -520,21 +526,27 @@ These files should not be referenced by any program - they're there
 for the benefit of the system administrator and users, as
 for the benefit of the system administrator and users, as
 documentation only.
 documentation only.
 
 
-<sect1 id="instchangelog"><tt>/usr/doc/<var/package//changelog.Debian.gz</tt>
+<sect1 id="instchangelog"><tt>/usr/doc/<var/package//changelog.Debian.gz</>
+and <tt>/usr/doc/<var/package//changelog.upstream.gz</>.
 <p>
 <p>
 
 
 This installed file must contain a copy of the <tt>debian/changelog</>
 This installed file must contain a copy of the <tt>debian/changelog</>
-file from your Debian source tree.
+file from your Debian source tree, and a copy of the upstream
+changelog file if there is one.  They should usually be installed in
+<tt>/usr/doc/<var/package/</> as <tt/changelog.Debian.gz/ and
+<tt/changelog.gz/ respectively.
 <p>
 <p>
 
 
-It should be installed compressed using <tt/gzip -9/, as it will
-become large with time even if it starts out small.
+Both should be installed compressed using <tt/gzip -9/, as they will
+become large with time even if they start out small.
 <p>
 <p>
 
 
 If the package has only one changelog which is used both as the Debian
 If the package has only one changelog which is used both as the Debian
 changelog and the upstream one because there is no separate upstream
 changelog and the upstream one because there is no separate upstream
-maintainer then the changelog should usually be installed as
-<tt>/usr/doc/<var/package//changelog.gz</> instead.
+maintainer then that changelog should usually be installed as
+<tt>/usr/doc/<var/package//changelog.gz</>; if there is a separate
+upstream maintainer, but no upstream changelog, then the Debian
+changelog should still be called <tt/changelog.Debian.gz/.
 
 
 <sect1 id="copyrightfile"><tt>/usr/doc/<var/package//copyright</tt>
 <sect1 id="copyrightfile"><tt>/usr/doc/<var/package//copyright</tt>
 <p>
 <p>
@@ -1512,6 +1524,11 @@ Ensure that the package's Debian-specific and upstream changelogs are
 installed.
 installed.
 </list>
 </list>
 
 
+<item>
+Change the package to use <prgn/dpkg-shlibdeps/ to determine its
+shared library dependencies and substitute them in.  Shared library
+dependencies should no longer be hardwired in the source package.
+
 <item>
 <item>
 Check that the <tt>debian/README</> is really the copyright file, and
 Check that the <tt>debian/README</> is really the copyright file, and
 if so rename it to <tt>debian/copyright</> and edit
 if so rename it to <tt>debian/copyright</> and edit

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 1423
doc/policy.text


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 4538
doc/programmer.lout


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 5307
doc/programmer.lout.ld


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 14607
doc/programmer.ps


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 13997
doc/programmer.ps1


+ 5 - 0
doc/programmer.sgml

@@ -359,6 +359,11 @@ fields is available in <ref id="controlfields">.
 The Debian binary packages in the distribution are generated from
 The Debian binary packages in the distribution are generated from
 Debian sources, which are in a special format to assist the easy and
 Debian sources, which are in a special format to assist the easy and
 automatic building of binaries.
 automatic building of binaries.
+<p>
+
+There was a previous version of the Debian source format, which is now
+being phased out.  Instructions for converting an old-style package
+are given in the Debian policy manual.
 
 
 <sect id="sourcetools">Tools for processing source packages
 <sect id="sourcetools">Tools for processing source packages
 <p>
 <p>

+ 8 - 0
scripts/dpkg-buildpackage.sh

@@ -24,6 +24,7 @@ Options: -r<gain-root-command>
          -si (default) src includes orig for rev. 0 or 1    } genchanges
          -si (default) src includes orig for rev. 0 or 1    } genchanges
          -sa           uploaded src always includes orig    }
          -sa           uploaded src always includes orig    }
          -sd           uploaded src is diff and .dsc only   }
          -sd           uploaded src is diff and .dsc only   }
+         -tc           clean source tree when finished
          -h            print this message
          -h            print this message
 END
 END
 }
 }
@@ -32,6 +33,7 @@ rootcommand=''
 pgpcommand=pgp
 pgpcommand=pgp
 signsource='withecho signfile'
 signsource='withecho signfile'
 signchanges='withecho signfile'
 signchanges='withecho signfile'
+cleansource=false
 binarytarget=binary
 binarytarget=binary
 sourcestyle=''
 sourcestyle=''
 version=''
 version=''
@@ -50,6 +52,7 @@ do
 	-si)	sourcestyle=-si ;;
 	-si)	sourcestyle=-si ;;
 	-sa)	sourcestyle=-sa ;;
 	-sa)	sourcestyle=-sa ;;
 	-sd)	sourcestyle=-sd ;;
 	-sd)	sourcestyle=-sd ;;
+	-tc)	cleansource=true ;;
 	-b)	binaryonly=-b ;;
 	-b)	binaryonly=-b ;;
 	-B)	binaryonly=-b; binarytarget=binary-arch ;;
 	-B)	binaryonly=-b; binarytarget=binary-arch ;;
 	-v*)	version="$value" ;;
 	-v*)	version="$value" ;;
@@ -124,4 +127,9 @@ else
 fi
 fi
 
 
 $signchanges "$pva.changes"
 $signchanges "$pva.changes"
+
+if $cleansource; then
+	withecho $rootcommand debian/rules clean
+fi
+
 echo "dpkg-buildpackage: $srcmsg"
 echo "dpkg-buildpackage: $srcmsg"

+ 6 - 0
scripts/dpkg-source.1

@@ -530,6 +530,12 @@ would have done.
 .I pgp-command
 .I pgp-command
 should not contain spaces or any other shell metacharacters.
 should not contain spaces or any other shell metacharacters.
 .TP
 .TP
+.B -tc
+Clean the source tree (using
+.I gain-root-command
+.BR "debian/rules clean" )
+after the package has been built.
+.TP
 .BR -us ", " -uc
 .BR -us ", " -uc
 Do not PGP-sign the source package or the changelog, respectively.
 Do not PGP-sign the source package or the changelog, respectively.
 .SH DPKG-DISTADDFILE ARGUMENTS
 .SH DPKG-DISTADDFILE ARGUMENTS

+ 1 - 1
version.h

@@ -1 +1 @@
-#define DPKG_VERSION "1.3.12" /* This line modified by Makefile */
+#define DPKG_VERSION "1.3.14" /* This line modified by Makefile */