X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=best-pkging-practices.dbk;h=0376b3aa9d189a38e00bd80d56d2751f65125733;hb=c860a39ea13f7d552fc940a546b01be70c09b3a0;hp=ca1bfb38ffe1ee40eb9538d01e66b17c364f11ab;hpb=a52b7e8c084a73282543e5e870ae8c68ed2abcb1;p=developers-reference.git diff --git a/best-pkging-practices.dbk b/best-pkging-practices.dbk index ca1bfb3..0376b3a 100644 --- a/best-pkging-practices.dbk +++ b/best-pkging-practices.dbk @@ -331,30 +331,10 @@ this about this particular package, if you have information related to both).
Upstream home page -We recommend that you add the URL for the package's home page to the package -description in debian/control. This information should be -added at the end of description, using the following format: - - - . - Homepage: http://some-project.some-place.org/ - - -Note the spaces prepending the line, which serves to break the lines correctly. -To see an example of how this displays, see . - - -If there is no home page for the software, this should naturally be left out. - - -Note that we expect this field will eventually be replaced by a proper -debian/control field understood by dpkg -and &packages-host;. If you don't want to bother -migrating the home page from the description to this field, you should probably -wait until that is available. Please make sure that this line matches the -regular expression /^ Homepage: [^ ]*$/, as this allows -&packages-host; to parse it correctly. +We recommend that you add the URL for the package's home page in the +Homepage field of the Source section +in debian/control. Adding this information in the +package description itself is considered deprecated.
@@ -365,7 +345,7 @@ There are additional fields for the location of the Version Control System in debian/control.
-XS-Vcs-Browser +Vcs-Browser Value of this field should be a http:// URL pointing to a web-browsable copy of the Version Control System repository used to maintain @@ -379,7 +359,7 @@ tagged as pending in the bug tracking system).
-XS-Vcs-* +Vcs-* Value of this field should be a string identifying unequivocally the location of the Version Control System repository used to maintain the given package, if @@ -408,15 +388,17 @@ of the vim package is shown. Note how the URL is in the svn:// scheme (instead of svn+ssh://) and how it points to the trunk/ branch. The use of the -XS-Vcs-Browser field described above is also shown. +Vcs-Browser and Homepage fields +described above is also shown. Source: vim Section: editors Priority: optional <snip> - XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim - XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim + Vcs-Svn: svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim + Vcs-Browser: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim + Homepage: http://www.vim.org
@@ -807,7 +789,7 @@ If you don't do so, the whole template will not be translated as long as a translator will send you an update. -To unfuzzy translations, you can proceed the +To unfuzzy translations, you can proceed the following way: @@ -1464,7 +1446,7 @@ you avoid needless duplication of the same data into eleven or more .debs, one per each architecture. While this adds some extra overhead into the Packages files, it saves a lot of disk space on Debian mirrors. Separating out architecture-independent data also reduces processing -time of lintian or linda (see lintian (see ) when run over the entire Debian archive. @@ -1734,8 +1716,8 @@ Some debug packages may contain an entire special debugging build of a library or other binary, but most of them can save space and build time by instead containing separated debugging symbols that gdb can find and load on the fly when debugging a program or library. The convention in Debian is to keep these -symbols in /usr/lib/debug/path, where -path is the path to the executable or library. For +symbols in /usr/lib/debug/path, where +path is the path to the executable or library. For example, debugging symbols for /usr/bin/foo go in /usr/lib/debug/usr/bin/foo, and debugging symbols for /usr/lib/libfoo.so.1 go in