descriptions.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. To: Debian developers list <debian-devel@pixar.com>
  2. Subject: Package maintainers please look at your Description fields.
  3. dselect will be much more useful when more packages are more
  4. informative in the Description they provide in their control file.
  5. So, when you next release a package, could you please check whether
  6. the `control' file has a good description of the package, formatted as
  7. described below ?
  8. A small amount of effort here on the part of package maintainers will
  9. improve the looks of things quite a bit, I think.
  10. BTW, a number of packages have been indenting continuation lines in
  11. their Description fields thus:
  12. Description: gnomovision
  13. Gnomovision is ....
  14. further blurb ...
  15. Please don't do this. According to the scheme described below (which
  16. I've now implemented), dselect interprets the extra indentation to
  17. mean `preformatted' text, and doesn't wordwrap it.
  18. Ian.
  19. The format of the Description field is as follows:
  20. Description: <single line synopsis>
  21. <extended description over several lines>
  22. The extended description has several kinds of line:
  23. - those starting with a single space are part of a paragraph.
  24. Successive lines of this form will be word-wrapped when displayed.
  25. The leading space will usually be stripped off.
  26. - those starting with two or more spaces. These will be displayed
  27. verbatim. If the display cannot be panned horizontally the displaying
  28. program will linewrap them `hard' (ie, without taking account of word
  29. breaks). If it can they will be allowed to trail off to the right.
  30. None, one or two initial spaces may be deleted, but the number of
  31. spaces deleted from each line will be the same (so that you can have
  32. indenting work right, for example).
  33. - those containing a single space followed by a single full stop
  34. character. These are rendered as blank lines. This is the ONLY way
  35. to get a blank line - see below.
  36. - those containing a space, a full stop and some more characters.
  37. These are for future expansion. Don't use them.
  38. IMPORTANT and not so important TIPS:
  39. * ALWAYS START EXTENDED DESCRIPTION LINES WITH AT LEAST ONE WHITESPACE
  40. CHARACTER. Fields in the control file and in the Packages file are
  41. separated by field names starting in the first column, just as in
  42. RFC822. Forgetting the whitespace will cause dpkg-deb (>=0.93.23) to
  43. produce a syntax error when trying to build the package. If you force
  44. it to build anyway dpkg will refuse to install the resulting mess.
  45. * DO NOT INCLUDE ANY COMPLETELY EMPTY LINES. These separate different
  46. records in the Packages file, and are forbidden in control files. See
  47. the previous paragraph for what happens if you get this wrong.
  48. * The single line synopsis should be kept brief - certainly under 80
  49. characters. My current working half-dselect displays the first 49
  50. characters if you're using an 80-column terminal.
  51. * Don't include the package name in the synopsis line. The display
  52. software knows how to display this already, and you don't need to
  53. state it.
  54. * The extended description should describe what the package does, and
  55. what component it forms of any larger subsystem of which it is a part.
  56. * Put important information first, both in the synopis and extended
  57. description. Sometimes only the first part of the synopsis or of the
  58. description will be displayed. You can assume that there will usually
  59. be a way to see the whole extended description.
  60. * You may include information about dependencies and so forth in the
  61. extended description, if you wish.
  62. * Don't use tab characters. Their effect is not predictable.
  63. Example control file for Smail:
  64. Package: smail
  65. Version: 3.1.29.1
  66. Package_Revision: 8
  67. Maintainer: Ian Jackson <iwj10@cus.cam.ac.uk>
  68. Recommended: pine | elm | emacs | mh | mailx
  69. Optional: metamail
  70. Depends: cron
  71. Conflicts: sendmail
  72. Description: Electronic mail transport system.
  73. Smail is the recommended mail transport agent (MTA) for Debian.
  74. .
  75. An MTA is the innards of the mail system - it takes messages from
  76. user-friendly mailer programs and arranges for them to be delivered
  77. locally or passed on to other systems as required.
  78. .
  79. In order to make use of it you must have one or more user level
  80. mailreader programs such as elm, pine, mailx or Emacs (which has Rmail
  81. and VM as mailreaders) installed. If you wish to send messages other
  82. than just to other users of your system you must also have appropriate
  83. networking support, in the form of IP or UUCP.
  84. --
  85. Ian Jackson, at home. ijackson@nyx.cs.du.edu or iwj10@cus.cam.ac.uk
  86. +44 1223 575512 Escoerea on IRC. http://www.cl.cam.ac.uk/users/iwj10/
  87. 2 Lexington Close, Cambridge, CB4 3LS, England. Urgent: iwj@cam-orl.co.uk