From: bubulle Date: Wed, 13 Aug 2008 03:58:59 +0000 (+0000) Subject: More translated strings X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f3bb5f096d3f86acd0027cced48f0156b9bfb3db;p=developers-reference.git More translated strings git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@5344 313b444b-1b9f-4f58-a734-7bb04f332e8d --- diff --git a/po4a/fr/best-pkging-practices.po b/po4a/fr/best-pkging-practices.po index 0610b7e..bb3e2cc 100644 --- a/po4a/fr/best-pkging-practices.po +++ b/po4a/fr/best-pkging-practices.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-07-01 21:16+0000\n" -"PO-Revision-Date: 2008-08-06 17:27+0200\n" +"POT-Creation-Date: 2008-08-08 11:43-0300\n" +"PO-Revision-Date: 2008-08-08 11:45-0300\n" "Last-Translator: Christian Perrier \n" "Language-Team: French \n" "MIME-Version: 1.0\n" @@ -33,7 +33,13 @@ msgid "" "excellent packages." msgstr "" "La qualité de Debian est largement due à la Charte Debian qui définit les prérequis explicites de base que tous les paquets Debian doivent satisfaire. Cependant, il existe également une expérience générale partagée qui va bien au delà de la Charte Debian et constitue une somme d'années d'expérience dans la construction de paquets. De nombreux contributeurs talentueux ont créé d'excellents outils qui peuvent vous aider, en tant que mainteneur Debian, à créer et maintenir des paquets d'excellente qualité." +"\">Charte Debian qui définit les prérequis explicites de base que " +"tous les paquets Debian doivent satisfaire. Cependant, il existe également " +"une expérience générale partagée qui va bien au delà de la Charte Debian et " +"constitue une somme d'années d'expérience dans la construction de paquets. " +"De nombreux contributeurs talentueux ont créé d'excellents outils qui " +"peuvent vous aider, en tant que mainteneur Debian, à créer et maintenir des " +"paquets d'excellente qualité." # type: Content of: #: best-pkging-practices.dbk:18 @@ -42,7 +48,12 @@ msgid "" "recommendations are merely that, and are not requirements or policy. These " "are just some subjective hints, advice and pointers collected from Debian " "developers. Feel free to pick and choose whatever works best for you." -msgstr "Ce chapitre rassemble les meilleures pratiques pou rles mainteneurs Debian. La majorité de son contenu est constitué de recommandations plus que d'obligations. Il s'agit essentiellement d'informations subjectives, d'avis et de pointeurs, rassemblés par les développeurs Debian. Il est conseillé d'y choisir ce qui vous convient le mieux." +msgstr "" +"Ce chapitre rassemble les meilleures pratiques pou rles mainteneurs Debian. " +"La majorité de son contenu est constitué de recommandations plus que " +"d'obligations. Il s'agit essentiellement d'informations subjectives, d'avis " +"et de pointeurs, rassemblés par les développeurs Debian. Il est conseillé " +"d'y choisir ce qui vous convient le mieux." # type: Content of:
#: best-pkging-practices.dbk:24 @@ -56,7 +67,12 @@ msgid "" "file. Since <filename>debian/rules</filename> controls the build process " "and selects the files which go into the package (directly or indirectly), " "it's usually the file maintainers spend the most time on." -msgstr "Les recommandations qui suivent s'appliquent au fichier <filename>debian/rules</filename>. Comme ce fichier contrôle le processus de construction des paquets et fait le choix des fichiers qui entreront dans ce paquet, directement ou indirectement, il s'agit du fichier dont les mainteneurs s'occupent généralement le plus." +msgstr "" +"Les recommandations qui suivent s'appliquent au fichier <filename>debian/" +"rules</filename>. Comme ce fichier contrôle le processus de construction des " +"paquets et fait le choix des fichiers qui entreront dans ce paquet, " +"directement ou indirectement, il s'agit du fichier dont les mainteneurs " +"s'occupent généralement le plus." # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:32 @@ -65,20 +81,30 @@ msgstr "Scripts d'assistance" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:34 +#, fuzzy msgid "" "The rationale for using helper scripts in <filename>debian/rules</filename> " "is that they let maintainers use and share common logic among many " "packages. Take for instance the question of installing menu entries: you " -"need to put the file into <filename>/usr/lib/menu</filename> (or <filename>/" -"usr/lib/menu</filename> for executable binary menufiles, if this is needed), " -"and add commands to the maintainer scripts to register and unregister the " -"menu entries. Since this is a very common thing for packages to do, why " -"should each maintainer rewrite all this on their own, sometimes with bugs? " -"Also, supposing the menu directory changed, every package would have to be " -"changed." -msgstr "" -"La justification à l'utilisation de scripts d'assistance dans <filename>debian/rules</filename> est de permettre aux mainteneurs de définir puis utiliser une logique commune pour de nombreux paquets. Si on prend par exemple l'installaiton d'entrées de menu, il est nécessaire de placer le fichier dans <filename>/usr/lib/menu</filename> (ou <filename>/" -"usr/lib/menu</filename> des fichiers de menu exécutables, s'il en existe), puis d'ajouter des commandes aux scripts des mainteneurs pour enregistrer ou désenregistrer les entrées de menu. Comme cette action est commune à de très nombreux paquets, pourquoi faudrait-il que chaque mainteneur ait à réécrire ses propres méthodes pour cela, bogues compris ? De plus, si jamais le répertoire des menus venait à changer, chaque paquet devrait être modifié." +"need to put the file into <filename>/usr/share/menu</filename> (or " +"<filename>/usr/lib/menu</filename> for executable binary menufiles, if this " +"is needed), and add commands to the maintainer scripts to register and " +"unregister the menu entries. Since this is a very common thing for packages " +"to do, why should each maintainer rewrite all this on their own, sometimes " +"with bugs? Also, supposing the menu directory changed, every package would " +"have to be changed." +msgstr "" +"La justification à l'utilisation de scripts d'assistance dans " +"<filename>debian/rules</filename> est de permettre aux mainteneurs de " +"définir puis utiliser une logique commune pour de nombreux paquets. Si on " +"prend par exemple l'installaiton d'entrées de menu, il est nécessaire de " +"placer le fichier dans <filename>/usr/lib/menu</filename> (ou <filename>/usr/" +"lib/menu</filename> des fichiers de menu exécutables, s'il en existe), puis " +"d'ajouter des commandes aux scripts des mainteneurs pour enregistrer ou " +"désenregistrer les entrées de menu. Comme cette action est commune à de très " +"nombreux paquets, pourquoi faudrait-il que chaque mainteneur ait à réécrire " +"ses propres méthodes pour cela, bogues compris ? De plus, si jamais le " +"répertoire des menus venait à changer, chaque paquet devrait être modifié." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:45 @@ -88,7 +114,12 @@ msgid "" "details. Changes in policy can be made in the helper script; then packages " "just need to be rebuilt with the new version of the helper and no other " "changes." -msgstr "Les scripts d'assistance s'occupent de ce type de tâche. À condition d'être compatible avec les conventions utilisées par le script d'assistance, celui-ci s'occupe de tous les détails. Les modifications dans la charte peuvent alors être implémentées dans le script d'assistance et les paquets n'ont plus qu'à être reconstruits sans autre modification." +msgstr "" +"Les scripts d'assistance s'occupent de ce type de tâche. À condition d'être " +"compatible avec les conventions utilisées par le script d'assistance, celui-" +"ci s'occupe de tous les détails. Les modifications dans la charte peuvent " +"alors être implémentées dans le script d'assistance et les paquets n'ont " +"plus qu'à être reconstruits sans autre modification." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:52 @@ -106,10 +137,19 @@ msgid "" "helper scripts, where useful, in conjunction with hand-crafted commands in " "<filename>debian/rules</filename>." msgstr "" -"<xref linkend=\"tools\"/> contient un certain nombre d'assistants variés. Le système le plus répandu et (selon nous) le plus adapté est <systemitem role=\"package" -"\">debhelper</systemitem>. Des systèmes antérieurs, tels que <systemitem " -"role=\"package\">debmake</systemitem>, étaient monolithiques ; ils ne permettaient pas de choisir quelle partie de l'assistant serait utile, en obligeant à se servir de l'ensemble de l'assistant. A contrario, <systemitem role=\"package\">debhelper</" -"systemitem> est constitué d'un grand nombre de petits programmes <command>dh_*</command> différents. Par exemple, <command>dh_installman</command> installe et compresse les pages de manuel, <command>dh_installmenu</command> istalle les fichiers de menu, et ainsi de suite. En conséquence, il offre la possibilité d'utiliser certains des scripts d'assistance tout en conservant des commandes manuelles dans <filename>debian/rules</filename>." +"<xref linkend=\"tools\"/> contient un certain nombre d'assistants variés. Le " +"système le plus répandu et (selon nous) le plus adapté est <systemitem role=" +"\"package\">debhelper</systemitem>. Des systèmes antérieurs, tels que " +"<systemitem role=\"package\">debmake</systemitem>, étaient monolithiques ; " +"ils ne permettaient pas de choisir quelle partie de l'assistant serait " +"utile, en obligeant à se servir de l'ensemble de l'assistant. A contrario, " +"<systemitem role=\"package\">debhelper</systemitem> est constitué d'un grand " +"nombre de petits programmes <command>dh_*</command> différents. Par exemple, " +"<command>dh_installman</command> installe et compresse les pages de manuel, " +"<command>dh_installmenu</command> istalle les fichiers de menu, et ainsi de " +"suite. En conséquence, il offre la possibilité d'utiliser certains des " +"scripts d'assistance tout en conservant des commandes manuelles dans " +"<filename>debian/rules</filename>." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:66 @@ -126,11 +166,17 @@ msgid "" "helper, you do need to take the time to learn to use that helper, to learn " "its expectations and behavior." msgstr "" -"Pour démarrer avec <systemitem role=\"package\">debhelper</systemitem>, il est conseillé de lire " -"<citerefentry> <refentrytitle>debhelper</refentrytitle> " -"<manvolnum>1</manvolnum> </citerefentry> et de consulter les exemples fournis avec le paquet. <command>dh_make</command>, fourni avec le paquet <systemitem " -"role=\"package\">dh-make</systemitem> (voir <xref linkend=\"dh-make\"/> ) peut être utilisé pour convertir un paquet source originel en paquet géré par <systemitem role=" -"\"package\">debhelper</systemitem>. Cette méthode rapide ne doit cependant pas se substituer à une compréhension individuelle des commandes <command>dh_*</command>. Si vous utilisez un assistant, vous devez prendre le temps de l'apprendre, pour comprendre ses besoins et son comportement." +"Pour démarrer avec <systemitem role=\"package\">debhelper</systemitem>, il " +"est conseillé de lire <citerefentry> <refentrytitle>debhelper</" +"refentrytitle> <manvolnum>1</manvolnum> </citerefentry> et de consulter les " +"exemples fournis avec le paquet. <command>dh_make</command>, fourni avec le " +"paquet <systemitem role=\"package\">dh-make</systemitem> (voir <xref linkend=" +"\"dh-make\"/> ) peut être utilisé pour convertir un paquet source originel " +"en paquet géré par <systemitem role=\"package\">debhelper</systemitem>. " +"Cette méthode rapide ne doit cependant pas se substituer à une compréhension " +"individuelle des commandes <command>dh_*</command>. Si vous utilisez un " +"assistant, vous devez prendre le temps de l'apprendre, pour comprendre ses " +"besoins et son comportement." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:79 @@ -141,11 +187,19 @@ msgid "" "examples of vanilla <filename>debian/rules</filename> files are available at " "<ulink url=\"&url-rules-files;\"></ulink>." msgstr "" +"Certains mainteneurs pensent que l'utilisation de fichiers <filename>debian/" +"rules</filename> sans assistants est préférable car elle évite d'avoir à " +"apprendre les subtilité de ces systèmes d'assistance. Utiliser l'une ou " +"l'autre méthode est un entièrement à la discrétion du mainteneur d'un paquet " +"qui devrait utiliser la méthode qui lui convient le mieux. De nombreux " +"exemples de fichiers <filename>debian/rules</filename> qui n'utilisent pas " +"d'assistants sont disponibles à l'adresse <ulink url=\"&url-rules-files;\"></" +"ulink>." # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:88 msgid "Separating your patches into multiple files" -msgstr "" +msgstr "Séparation des modifications (« patches ») en plusieurs fichiers" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:90 @@ -158,6 +212,16 @@ msgid "" "the total set of diffs (e.g., from <filename>.diff.gz</filename>) and work " "out which patch sets to back out as a unit as bugs are fixed upstream." msgstr "" +"Les paquets complexes ont souvent de nombreux bogues qui doivent être gérés " +"par le mainteneur. Si certains de ces bogues sont corrigés par des " +"modifications effectuées directement dans le code source, sans discernement, " +"il peut devenir difficile de retrouver l'origine et la motivation de ces " +"modifications. Cela peut également rendre bien plus complexe l'intégration " +"d'une nouvelle version amont qui pourrait inclure certaines de ces " +"modifications (mais pas toutes). Il est en effet alors quasiment impossible " +"de reprendre le jeu initial de changements (p. ex. dans le fichier " +"<filename>.diff.gz</filename>) et supprimer ceux qui correspondent à des " +"correctifs appliqués par le mainteneur amont." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:99 @@ -171,6 +235,15 @@ msgid "" "<filename>debian/rules</filename>. Conversely, they are reverted in the " "<literal>clean</literal> rule." msgstr "" +"Malheureusement, le système de gestion des paquets ne permet pas " +"actuellement, tel quel, de séparer les correctif en plusieurs fichiers. " +"Cependant, il existe des méthodes permettant d'individualiser les correctifs " +"dans le fichier général de correctifs Debian (<filename>.diff.gz</" +"filename>), en général à l'intérieur du répertoire <filename>debian/</" +"filename>. La seule différence est que ces correctifs ne sont pas appliqués " +"par dpkg-source mais par la règle <literal>build</literal> de " +"<filename>debian/rules</filename>. À l'inverse, les correctifs sont retirés " +"par la règle <literal>clean</literal>." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:109 @@ -181,6 +254,12 @@ msgid "" "for more information and <systemitem role=\"package\">hello-dbs</systemitem> " "for an example." msgstr "" +"<command>dbs</command> est une des méthodes populaires pour ce besoin. Il " +"effectue l'ensemble des actiosn mentionnées précédemment et offre la " +"possibilité de créer de nouveaux correctifs ou en adapter des existants. " +"Veuillez regarder le paquet <systemitem role=\"package\">dbs</systemitem> " +"pour plus d'informations et <systemitem role=\"package\">hello-dbs</" +"systemitem> pour un exemple d'utilisation." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:116 @@ -190,11 +269,15 @@ msgid "" "\">dpatch</systemitem> for documentation and examples (in <filename>/usr/" "share/doc/dpatch</filename>)." msgstr "" +"<command>dpatch</command> a également le même objectif mais se veut être " +"plus simple à utiliser. Veuillez cosulter la documentation du paquet " +"<systemitem role=\"package\">dpatch</systemitem> ainsi que les exemples " +"fournis (dans <filename>/usr/share/doc/dpatch</filename>)." # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:124 msgid "Multiple binary packages" -msgstr "" +msgstr "Paquets binaires multiples" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:126 @@ -205,6 +288,12 @@ msgid "" "packages instead of a big one (e.g., so the user can install only the subset " "needed, and thus save some disk space)." msgstr "" +"A seul paquet source créera souvent plusieurs paquets binaires, soit pour " +"fournir plusieurs variantes du même logiciels (p. ex. le paquet source " +"<systemitem role=\"package\">vim</systemitem>) ou pour répartir les fichiers " +"en plusieurs paquets plus petits au lieu d'un seul paquet monolithique (ce " +"qui peut permettre à un utilisateur de d'installer que les éléments " +"nécessaires et donc préserver l'espace disque)." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:133 @@ -217,6 +306,14 @@ msgid "" "the various packages, ensuring that you have the inter-package dependencies " "set right in <filename>debian/control</filename>." msgstr "" +"Le second cas est simple à gérer dans le fichier <filename>debian/rules</" +"filename>. Il suffit de déplacer les fichiers nécessaires depuis le " +"répertoire de construction vers l'arborescence temporaire du paquet. Cela " +"peut se faire avec les commandes <command>install</command> ou " +"<command>dh_install</command> du paquet <systemitem role=\"package" +"\">debhelper</systemitem>. Veillez alors à contrôler les différentes " +"permutations des paquets, afin de pouvoir indiquer les dépendances inter-" +"paquets appropriées dans <filename>debian/control</filename>." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:142 @@ -227,11 +324,16 @@ msgid "" "of how to manage this using an hand-crafted <filename>debian/rules</" "filename> file." msgstr "" +"Le premier cas est plus délicat à gérer car il implique des recompilations " +"multiples du même logiciel avec différentes options de configuration. Le " +"paquet source <systemitem role=\"package\">vim</systemitem> en est un " +"exemple, avec la gestion manuelle de l'ensemble des actions dans le fichier " +"<filename>debian/rules</filename> géré manuellement." # type: Content of: <chapter><section><title> #: best-pkging-practices.dbk:154 msgid "Best practices for <filename>debian/control</filename>" -msgstr "" +msgstr "Mailleures pratiques pour <filename>debian/control</filename>" # type: Content of: <chapter><section><para> #: best-pkging-practices.dbk:156 @@ -240,6 +342,10 @@ msgid "" "filename> file. They supplement the <ulink url=\"&url-debian-policy;ch-" "binary.html#s-descriptions\">Policy on package descriptions</ulink>." msgstr "" +"Les conseils qui suivent sont destinés au fichier <filename>debian/control</" +"filename>. Ils complètent la <ulink url=\"&url-debian-policy;ch-binary." +"html#s-descriptions\">Charte Debian</ulink> pour ce qui concerne les " +"descriptions de paquets." # type: Content of: <chapter><section><para> #: best-pkging-practices.dbk:162 @@ -252,11 +358,17 @@ msgid "" "specific to the synopsis, and <xref linkend=\"bpp-pkg-desc\"/> contains " "guidelines specific to the description." msgstr "" +"La description d'un paquet telle que définie par le champ correspondant du " +"fichier <filename>control</filename>, comprend à la fois le résumé et la " +"description longue du paquet. <xref linkend=\"bpp-desc-basics\"/> donne des " +"indications communes à ces deux parties, <xref linkend=\"bpp-pkg-synopsis\"/" +"> donne des indications spécifiques pour le résumé et <xref linkend=\"bpp-" +"pkg-desc\"/> donne des indications pour la description." # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:171 msgid "General guidelines for package descriptions" -msgstr "" +msgstr "Conseils généraux pour les descriptions de paquets" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:173 @@ -267,6 +379,12 @@ msgid "" "language. More general-purpose applications, such as editors, should be " "written for a less technical user." msgstr "" +"La description d'un paquet doit être écrite pour son utilisateur moyen, " +"c'est à dire la personne qui utilisera et tirera profit du paquet. Par " +"exemple, les paquets de développement sont destinés aux développeurs et leur " +"description peut comporter des détails techniques alors que les applications " +"d'usage plus général, tels que les éditeurs, doivent avoir une description " +"accessible à tout utilisateur." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:180 @@ -276,6 +394,10 @@ msgid "" "technical users. Unless your package really is only for technical users, " "this is a problem." msgstr "" +"Un examen général des description de paquets tend à montrer que la plupart " +"d'entre elles ont une orientation fortement technique et ne sont donc pas " +"destinées à l'utilisateur moyen. Sauf dans le cas de paquets destinés à des " +"spécialistes, cela doit être considéré comme un problème." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:186 @@ -286,6 +408,14 @@ msgid "" "but GTK+ is probably not. Try not to assume any knowledge at all. If you " "must use technical terms, introduce them." msgstr "" +"Une des recommendations pour rester accessibles à tout utilisateur est " +"d'éviter l'utilisation de jargon. Il est déconseillé de faire référence à " +"des applications ou environnements qui pourraient être inconnus de " +"l'utilisateur : parler de GNOME ou KDE est correct, car la plupart des " +"utilisateurs sont familiers avec ces termes mais parler de GTK+ ne l'est " +"pas. Il est préférable de supposer que le lecteur n'aura pas de connaissance " +"du sujet et, si des termes techniques doivent être utilisés, ils doivent " +"être expliqués." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:193 @@ -294,6 +424,9 @@ msgid "" "package, no matter how much you love it. Remember that the reader may not " "care about the same things you care about." msgstr "" +"Il est conseillé de rester objectif. Les descriptions de paquets ne sont pas " +"une plaquette publicitaire, quelles que soient vos opinions personnelles. Le " +"lecteur peut très bien ne pas avoir les mêmes centres d'intérêt que vous." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:198 @@ -304,6 +437,12 @@ msgid "" "Windows, or X Window. Use GTK+, not GTK or gtk. Use GNOME, not Gnome. Use " "PostScript, not Postscript or postscript." msgstr "" +"Les références aux noms d'autres logiciels, de protocoles, normes ou " +"spécifications doivent utiliser leur forme canonique si elle existe. Par " +"exemple, utilisez « X Window System », « X11 » ou « X » mais pas « X Windows », " +"« X-Windows », ou « X Window ». Utilisez « GTK+ » et non « GTK » ou « gtk », " +"« GNOME » et non « Gnome », « PostScript » et non « Postscript » ou " +"« postscript »." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:205 @@ -311,11 +450,14 @@ msgid "" "If you are having problems writing your description, you may wish to send it " "along to &email-debian-l10n-english; and request feedback." msgstr "" +"Si vous rencontrez des difficultés pour écrire la description d'un paquet, " +"vous pouvez demander de l'aide ou une relecture sur &email-debian-l10n-" +"english;." # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:211 msgid "The package synopsis, or short description" -msgstr "" +msgstr "Le résumé, ou description courte, d'un paquet" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:213 @@ -323,6 +465,8 @@ msgid "" "The synopsis line (the short description) should be concise. It must not " "repeat the package's name (this is policy)." msgstr "" +"La ligne de résumé (la description courte) doit être concise. Elle ne doit " +"pas répéter le nom du paquet (cela est imposé par la Charte)." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:217 @@ -336,6 +480,15 @@ msgid "" "should also not begin with an article, either definite (the) or indefinite " "(a or an)." msgstr "" +"Il est conseillé de voir le résumé comme un « clause appositive » (NdT : il " +"s'agit d'un terme syntaxique en anglais) et pas comme une phrase complète. " +"Une clause appositive est définie par WordNet comme la relation grammaticale " +"entre un nom et une phrase nomilae qui le suit. Par exemple, « Rudolph the " +"red-nosed reindeer ». La clause appositive ici est « red-nosed reindeer ». " +"Comme le résumé est une telle clause et non une phrase, il ne doit donc pas " +"commencer par une majuscule ni se terminer par un point. Il ne doit " +"également pas commencer par un article défini (« the ») ou indéfini (« a » ou " +"« an »)." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:226 @@ -343,34 +496,45 @@ msgid "" "It might help to imagine that the synopsis is combined with the package name " "in the following way:" msgstr "" +"Un moyen commode est d'imaginer que le résumé est combiné avec le nom du " +"paquet de la façon suivante (NdT : certaines parties volontairement non " +"traduites car ces exemples s'appliquent à la langue anglaise) :" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:230 -#, no-wrap -msgid "<replaceable>package-name</replaceable> is a <replaceable>synopsis</replaceable>." -msgstr "" +#: best-pkging-practices.dbk:229 +#, fuzzy, no-wrap +msgid "" +"\n" +"<replaceable>package-name</replaceable> is a <replaceable>synopsis</replaceable>.\n" +msgstr "<replaceable>nom-du-paquet</replaceable> is a <replaceable>résumé</replaceable>." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:233 msgid "Alternatively, it might make sense to think of it as" -msgstr "" +msgstr "Il est également possible de visualiser l'ensemble sous la forme" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:236 -#, no-wrap -msgid "<replaceable>package-name</replaceable> is <replaceable>synopsis</replaceable>." -msgstr "" +#: best-pkging-practices.dbk:235 +#, fuzzy, no-wrap +msgid "" +"\n" +"<replaceable>package-name</replaceable> is <replaceable>synopsis</replaceable>.\n" +msgstr "<replaceable>nom-du-paquet</replaceable> is <replaceable>résumé</replaceable>." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:239 msgid "or, if the package name itself is a plural (such as developers-tools)" msgstr "" +"ou, si le nom du paquet est lui-même une forme plurielle (par exemple " +"developers-tools)" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:242 -#, no-wrap -msgid "<replaceable>package-name</replaceable> are <replaceable>synopsis</replaceable>." -msgstr "" +#: best-pkging-practices.dbk:241 +#, fuzzy, no-wrap +msgid "" +"\n" +"<replaceable>package-name</replaceable> are <replaceable>synopsis</replaceable>.\n" +msgstr "<replaceable>nom du paquet</replaceable> are <replaceable>résumé</replaceable>." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:245 @@ -379,11 +543,14 @@ msgid "" "considered as a heuristic and not a strict rule. There are some cases where " "it doesn't make sense to try to form a sentence." msgstr "" +"Cette méthode permettant de créer une phrase à partir du nom du paquet et de " +"sa description courte doit être considérée comme une heuristique et non une " +"règle stricte. Dans certains cas, former une phrase n'aura aucun sens." # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:252 msgid "The long description" -msgstr "" +msgstr "La description longue" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:254 @@ -393,11 +560,16 @@ msgid "" "needed to let the user decide whether to install the package. Assume that " "the user has already read the package synopsis." msgstr "" +"La description longue est l'information principale disponible pour les " +"utilisateurs avant qu'ils ne décident d'installer un paquet. Elle doit " +"fournir toute l'information nécessaire pour détermienr si le paquet doit " +"être installé. Elle complète le résumé qui est donc supposé avoir été lu " +"précédemment." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:260 msgid "The long description should consist of full and complete sentences." -msgstr "" +msgstr "La description longue est constituée de phrases complètes." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:263 @@ -407,6 +579,11 @@ msgid "" "accomplish? It is important to describe this in a non-technical way, unless " "of course the audience for the package is necessarily technical." msgstr "" +"Le premier paragraphe de cette description devrait tenter de répondre aux " +"questions suivantes : que fait ce paquet ? Dans quelle tâche aidera-t-il " +"l'utilisateur ? Il est important que cette description se fasse de la " +"manière la moins technique possible, sauf si le public auquel est destiné le " +"paquet est par définition technique." # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:269 @@ -418,6 +595,13 @@ msgid "" "packages in some way that is not handled by the package manager (e.g., this " "is the client for the foo server)?" msgstr "" +"Les paragraphes suivants devraient répondre aux questions : pourquoi, en " +"tant qu'utilisateur, ai-je besoin de ce paquet ? Quelles autres " +"fonctionnalités ce paquet apporte-t-il ? Quelles fonctionnalités et défauts " +"comporte-t-il par rapport à d'autres paquets (p. ex.,  « si vous avez besoin " +"de X, utilisez plutôt Y ») ? Ce paquet est-il lié à d'autres paquets d'une " +"manière non gérée par le système de gestion des paquets (p. ex., « ceci est " +"le client destiné au serveur toto ») ?" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:277 @@ -426,18 +610,26 @@ msgid "" "check it. Both <command>ispell</command> and <command>aspell</command> have " "special modes for checking <filename>debian/control</filename> files:" msgstr "" +"Veillez à éviter les erreurs d'orthographe et de grammaire. Vérifier " +"l'orthographe avec un outil adapté. Les deux programmes <command>ispell</" +"command> et <command>aspell</command> comportent un mode spécial permettant " +"de contrôler un fichier <filename>debian/control</filename> files :" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:282 -#, no-wrap -msgid "ispell -d american -g debian/control" -msgstr "" +#: best-pkging-practices.dbk:281 +#, fuzzy, no-wrap +msgid "" +"\n" +"ispell -d american -g debian/control\n" +msgstr "ispell -d american -g debian/control" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:285 -#, no-wrap -msgid "aspell -d en -D -c debian/control" -msgstr "" +#: best-pkging-practices.dbk:284 +#, fuzzy, no-wrap +msgid "" +"\n" +"aspell -d en -D -c debian/control\n" +msgstr "aspell -d en -D -c debian/control" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:288 @@ -445,6 +637,8 @@ msgid "" "Users usually expect these questions to be answered in the package " "description:" msgstr "" +"Les utilisateurs attente en général des descriptions de paquets les réponses " +"aux questions suivantes :" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> #: best-pkging-practices.dbk:293 @@ -452,6 +646,8 @@ msgid "" "What does the package do? If it is an add-on to another package, then the " "short description of the package we are an add-on to should be put in here." msgstr "" +"Que fait ce paquet ? S'il s'agit d'un additif à un autre paquet, la " +"description de cet autre paquet doit y être reprise." # type: Content of: <chapter><section><section><itemizedlist><listitem><para> #: best-pkging-practices.dbk:299 @@ -460,6 +656,10 @@ msgid "" "same (this is a mail user agent; this is cool, fast, interfaces with PGP and " "LDAP and IMAP, has features X, Y, and Z)." msgstr "" +"Pourquoi ai-je besoin de ce paquet ? Cela est lié à la remarque précédente, " +"de manière différente : ceci est un agent utilisateur pour le courrier " +"électronique, avec une interface répide et pratique vers PGP, LDAP et IMAP " +"et les fonctionnalités X, Y ou Z." # type: Content of: <chapter><section><section><itemizedlist><listitem><para> #: best-pkging-practices.dbk:306 @@ -467,14 +667,20 @@ msgid "" "If this package should not be installed directly, but is pulled in by " "another package, this should be mentioned." msgstr "" +"Si ce paquet ne doit pas être installé seul, mais est installé avec un autre " +"paquet, cela devrait être mentionné." # type: Content of: <chapter><section><section><itemizedlist><listitem><para> #: best-pkging-practices.dbk:312 +#, fuzzy msgid "" -"If the package is experimental, or there are other reasons it should not be " -"used, if there are other packages that should be used instead, it should be " -"here as well." +"If the package is <literal>experimental</literal>, or there are other " +"reasons it should not be used, if there are other packages that should be " +"used instead, it should be here as well." msgstr "" +"Si le paquet est expérimental ou ne doit pas être utilisé pour toute autre " +"raison et que d'autres paquets doivent être utilisés à la place, cela doit " +"également être mentionné." # type: Content of: <chapter><section><section><itemizedlist><listitem><para> #: best-pkging-practices.dbk:319 @@ -483,72 +689,49 @@ msgid "" "implementation? more features? different features? Why should I choose this " "package." msgstr "" +"En quoi ce paquet diffère-t-il de ses concurrents ? Est-il une meilleure " +"implémentation ? A-t-il plus de focntionnalités ? Des fonctionnalités " +"différentes ? Pourquoi devrais-je choisir ce paquet ?" # type: Content of: <chapter><section><section><title> #: best-pkging-practices.dbk:332 msgid "Upstream home page" -msgstr "" +msgstr "Page d'accueil amont" # type: Content of: <chapter><section><section><para> #: best-pkging-practices.dbk:334 +#, fuzzy msgid "" -"We recommend that you add the URL for the package's home page to the package " -"description in <filename>debian/control</filename>. This information should " -"be added at the end of description, using the following format:" -msgstr "" - -# type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:339 -#, no-wrap -msgid "" -".\n" -" Homepage: http://some-project.some-place.org/" -msgstr "" - -# type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:343 -msgid "" -"Note the spaces prepending the line, which serves to break the lines " -"correctly. To see an example of how this displays, see <ulink url=\"&url-eg-" -"desc-upstream-info;\"></ulink>." -msgstr "" - -# type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:348 -msgid "If there is no home page for the software, this should naturally be left out." -msgstr "" - -# type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:351 -msgid "" -"Note that we expect this field will eventually be replaced by a proper " -"<filename>debian/control</filename> field understood by <command>dpkg</" -"command> and <literal>&packages-host;</literal>. 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 <literal>/^ Homepage: [^ ]*$/</literal>, " -"as this allows <filename>&packages-host;</filename> to parse it correctly." +"We recommend that you add the URL for the package's home page in the " +"<literal>Homepage</literal> field of the <literal>Source</literal> section " +"in <filename>debian/control</filename>. Adding this information in the " +"package description itself is considered deprecated." msgstr "" +"(NdT : cette information est obsolète. Il est désormais possible d'utiliser " +"un champ <literal>Homepage:</literal> dans <filename>debian/control</" +"filename>). Il est recommandé d'ajouter l'URL d'accès à la page d'accueil du " +"paquet dans <filename>debian/control</filename>. Cette information devrait " +"être ajoutée à la fin de la description, avec la forme suivante :" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:362 +#: best-pkging-practices.dbk:342 msgid "Version Control System location" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:364 +#: best-pkging-practices.dbk:344 msgid "" "There are additional fields for the location of the Version Control System " "in <filename>debian/control</filename>." msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:368 -msgid "XS-Vcs-Browser" +#: best-pkging-practices.dbk:348 +msgid "Vcs-Browser" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:370 +#: best-pkging-practices.dbk:350 msgid "" "Value of this field should be a <literal>http://</literal> URL pointing to a " "web-browsable copy of the Version Control System repository used to maintain " @@ -556,7 +739,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:375 +#: best-pkging-practices.dbk:355 msgid "" "The information is meant to be useful for the final user, willing to browse " "the latest work done on the package (e.g. when looking for the patch fixing " @@ -564,12 +747,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:382 -msgid "XS-Vcs-*" +#: best-pkging-practices.dbk:362 +msgid "Vcs-*" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:384 +#: best-pkging-practices.dbk:364 msgid "" "Value of this field should be a string identifying unequivocally the " "location of the Version Control System repository used to maintain the given " @@ -583,7 +766,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:395 +#: best-pkging-practices.dbk:375 msgid "" "The information is meant to be useful for a user knowledgeable in the given " "Version Control System and willing to build the current version of a package " @@ -597,47 +780,49 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:406 +#: best-pkging-practices.dbk:386 msgid "" "In the following example, an instance of the field for a Subversion " "repository of the <systemitem role=\"package\">vim</systemitem> package is " "shown. Note how the URL is in the <literal>svn://</literal> scheme (instead " "of <literal>svn+ssh://</literal>) and how it points to the <filename>trunk/</" -"filename> branch. The use of the <literal>XS-Vcs-Browser</literal> field " -"described above is also shown." +"filename> branch. The use of the <literal>Vcs-Browser</literal> and " +"<literal>Homepage</literal> fields described above is also shown." msgstr "" # type: Content of: <chapter><section><section><section><screen> -#: best-pkging-practices.dbk:414 +#: best-pkging-practices.dbk:394 #, no-wrap msgid "" -"Source: vim\n" +"\n" +" Source: vim\n" " Section: editors\n" " Priority: optional\n" " <snip>\n" -" XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim\n" -" 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\n" +" Vcs-Browser: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim\n" +" Homepage: http://www.vim.org\n" msgstr "" # type: Content of: <chapter><section><title> -#: best-pkging-practices.dbk:428 +#: best-pkging-practices.dbk:410 msgid "Best practices for <filename>debian/changelog</filename>" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:430 +#: best-pkging-practices.dbk:412 msgid "" "The following practices supplement the <ulink url=\"&url-debian-policy;ch-" "docs.html#s-changelogs\">Policy on changelog files</ulink>." msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:435 +#: best-pkging-practices.dbk:417 msgid "Writing useful changelog entries" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:437 +#: best-pkging-practices.dbk:419 msgid "" "The changelog entry for a package revision documents changes in that " "revision, and only them. Concentrate on describing significant and user-" @@ -645,7 +830,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:442 +#: best-pkging-practices.dbk:424 msgid "" "Focus on <emphasis>what</emphasis> was changed — who, how and when are " "usually less important. Having said that, remember to politely attribute " @@ -654,7 +839,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:448 +#: best-pkging-practices.dbk:430 msgid "" "There's no need to elaborate the trivial and obvious changes. You can also " "aggregate several changes in one entry. On the other hand, don't be overly " @@ -664,7 +849,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:455 +#: best-pkging-practices.dbk:437 msgid "" "Use common English so that the majority of readers can comprehend it. Avoid " "abbreviations, tech-speak and jargon when explaining changes that close " @@ -673,7 +858,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:461 +#: best-pkging-practices.dbk:443 msgid "" "It is sometimes desirable to prefix changelog entries with the names of the " "files that were changed. However, there's no need to explicitly list each " @@ -682,7 +867,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:467 +#: best-pkging-practices.dbk:449 msgid "" "When referring to bugs, don't assume anything. Say what the problem was, " "how it was fixed, and append the closes: #nnnnn string. See <xref linkend=" @@ -690,12 +875,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:474 +#: best-pkging-practices.dbk:456 msgid "Common misconceptions about changelog entries" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:476 +#: best-pkging-practices.dbk:458 msgid "" "The changelog entries should <emphasis role=\"strong\">not</emphasis> " "document generic packaging issues (Hey, if you're looking for foo.conf, it's " @@ -706,7 +891,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:484 +#: best-pkging-practices.dbk:466 msgid "" "The only bugs closed with a changelog entry should be those that are " "actually fixed in the same package revision. Closing unrelated bugs in the " @@ -714,7 +899,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:489 +#: best-pkging-practices.dbk:471 msgid "" "The changelog entries should <emphasis role=\"strong\">not</emphasis> be " "used for random discussion with bug reporters (I don't see segfaults when " @@ -728,7 +913,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:500 +#: best-pkging-practices.dbk:482 msgid "" "It is an old tradition to acknowledge bugs fixed in non-maintainer uploads " "in the first changelog entry of the proper maintainer upload. As we have " @@ -737,73 +922,83 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:508 +#: best-pkging-practices.dbk:490 msgid "Common errors in changelog entries" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:510 +#: best-pkging-practices.dbk:492 msgid "" "The following examples demonstrate some common errors or examples of bad " "style in changelog entries." msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:514 +#: best-pkging-practices.dbk:495 #, no-wrap -msgid "* Fixed all outstanding bugs." +msgid "" +"\n" +" * Fixed all outstanding bugs.\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:517 +#: best-pkging-practices.dbk:499 msgid "This doesn't tell readers anything too useful, obviously." msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:520 +#: best-pkging-practices.dbk:501 #, no-wrap -msgid "* Applied patch from Jane Random." +msgid "" +"\n" +" * Applied patch from Jane Random.\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:523 +#: best-pkging-practices.dbk:505 msgid "What was the patch about?" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:526 +#: best-pkging-practices.dbk:507 #, no-wrap -msgid "* Late night install target overhaul." +msgid "" +"\n" +" * Late night install target overhaul.\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:529 +#: best-pkging-practices.dbk:511 msgid "" "Overhaul which accomplished what? Is the mention of late night supposed to " "remind us that we shouldn't trust that code?" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:533 +#: best-pkging-practices.dbk:514 #, no-wrap -msgid "* Fix vsync FU w/ ancient CRTs." +msgid "" +"\n" +" * Fix vsync FU w/ ancient CRTs.\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:536 +#: best-pkging-practices.dbk:518 msgid "" "Too many acronyms, and it's not overly clear what the, uh, fsckup (oops, a " "curse word!) was actually about, or how it was fixed." msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:540 +#: best-pkging-practices.dbk:521 #, no-wrap -msgid "* This is not a bug, closes: #nnnnnn." +msgid "" +"\n" +" * This is not a bug, closes: #nnnnnn.\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:543 +#: best-pkging-practices.dbk:525 msgid "" "First of all, there's absolutely no need to upload the package to convey " "this information; instead, use the bug tracking system. Secondly, there's " @@ -811,13 +1006,15 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:548 +#: best-pkging-practices.dbk:529 #, no-wrap -msgid "* Has been fixed for ages, but I forgot to close; closes: #54321." +msgid "" +"\n" +" * Has been fixed for ages, but I forgot to close; closes: #54321.\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:551 +#: best-pkging-practices.dbk:533 msgid "" "If for some reason you didn't mention the bug number in a previous changelog " "entry, there's no problem, just close the bug normally in the BTS. There's " @@ -828,50 +1025,55 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:558 +#: best-pkging-practices.dbk:539 #, no-wrap -msgid "* Closes: #12345, #12346, #15432" +msgid "" +"\n" +" * Closes: #12345, #12346, #15432\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:561 +#: best-pkging-practices.dbk:543 msgid "" "Where's the description? If you can't think of a descriptive message, start " "by inserting the title of each different bug." msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:567 +#: best-pkging-practices.dbk:549 msgid "Supplementing changelogs with NEWS.Debian files" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:569 +#: best-pkging-practices.dbk:551 msgid "" -"Important news about changes in a package can also be put in NEWS.Debian " -"files. The news will be displayed by tools like apt-listchanges, before all " -"the rest of the changelogs. This is the preferred means to let the user " -"know about significant changes in a package. It is better than using " -"debconf notes since it is less annoying and the user can go back and refer " -"to the NEWS.Debian file after the install. And it's better than listing " -"major changes in README.Debian, since the user can easily miss such notes." +"Important news about changes in a package can also be put in <filename> NEWS." +"Debian</filename> files. The news will be displayed by tools like apt-" +"listchanges, before all the rest of the changelogs. This is the preferred " +"means to let the user know about significant changes in a package. It is " +"better than using debconf notes since it is less annoying and the user can " +"go back and refer to the <filename> NEWS.Debian</filename> file after the " +"install. And it's better than listing major changes in <filename>README." +"Debian</filename>, since the user can easily miss such notes." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:578 +#: best-pkging-practices.dbk:562 msgid "" "The file format is the same as a debian changelog file, but leave off the " "asterisks and describe each news item with a full paragraph when necessary " "rather than the more concise summaries that would go in a changelog. It's a " -"good idea to run your file through dpkg-parsechangelog to check its " -"formatting as it will not be automatically checked during build as the " -"changelog is. Here is an example of a real NEWS.Debian file:" +"good idea to run your file through <literal>dpkg-parsechangelog</literal> to " +"check its formatting as it will not be automatically checked during build as " +"the changelog is. Here is an example of a real <filename>NEWS.Debian </" +"filename> file:" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:586 +#: best-pkging-practices.dbk:570 #, no-wrap msgid "" +"\n" "cron (3.0pl1-74) unstable; urgency=low\n" "\n" " The checksecurity script is no longer included with the cron package:\n" @@ -879,34 +1081,36 @@ msgid "" " functionality provided with that script, please install the new\n" " package.\n" "\n" -" -- Steve Greenland <stevegr@debian.org> Sat, 6 Sep 2003 17:15:03 -0500" +" -- Steve Greenland <stevegr@debian.org> Sat, 6 Sep 2003 17:15:03 -0500\n" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:596 +#: best-pkging-practices.dbk:581 msgid "" -"The NEWS.Debian file is installed as /usr/share/doc/<package>/NEWS." -"Debian.gz. It is compressed, and always has that name even in Debian native " -"packages. If you use debhelper, dh_installchangelogs will install debian/" -"NEWS files for you." +"The <filename>NEWS.Debian</filename> file is installed as <filename> /usr/" +"share/doc/<replaceable>package</replaceable>/NEWS.Debian.gz</filename>. It " +"is compressed, and always has that name even in Debian native packages. If " +"you use <literal>debhelper</literal>, <literal>dh_installchangelogs </" +"literal> will install <filename>debian/NEWS</filename> files for you." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:602 +#: best-pkging-practices.dbk:588 msgid "" -"Unlike changelog files, you need not update NEWS.Debian files with every " -"release. Only update them if you have something particularly newsworthy " -"that user should know about. If you have no news at all, there's no need to " -"ship a NEWS.Debian file in your package. No news is good news!" +"Unlike changelog files, you need not update <filename>NEWS.Debian</filename> " +"files with every release. Only update them if you have something " +"particularly newsworthy that user should know about. If you have no news at " +"all, there's no need to ship a <filename>NEWS.Debian</filename> file in your " +"package. No news is good news!" msgstr "" # type: Content of: <chapter><section><title> -#: best-pkging-practices.dbk:623 +#: best-pkging-practices.dbk:610 msgid "Best practices for maintainer scripts" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:625 +#: best-pkging-practices.dbk:612 msgid "" "Maintainer scripts include the files <filename>debian/postinst</filename>, " "<filename>debian/preinst</filename>, <filename>debian/prerm</filename> and " @@ -917,7 +1121,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:633 +#: best-pkging-practices.dbk:620 msgid "" "Maintainer scripts must be idempotent. That means that you need to make " "sure nothing bad will happen if the script is called twice where it would " @@ -925,14 +1129,14 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:638 +#: best-pkging-practices.dbk:625 msgid "" "Standard input and output may be redirected (e.g. into pipes) for logging " "purposes, so don't rely on them being a tty." msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:642 +#: best-pkging-practices.dbk:629 msgid "" "All prompting or interactive configuration should be kept to a minimum. " "When it is necessary, you should use the <systemitem role=\"package" @@ -942,7 +1146,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:649 +#: best-pkging-practices.dbk:636 msgid "" "Keep the maintainer scripts as simple as possible. We suggest you use pure " "POSIX shell scripts. Remember, if you do need any bash features, the " @@ -952,7 +1156,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:656 +#: best-pkging-practices.dbk:643 msgid "" "If you change your maintainer scripts, be sure to test package removal, " "double installation, and purging. Be sure that a purged package is " @@ -961,27 +1165,27 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:662 +#: best-pkging-practices.dbk:649 msgid "" "If you need to check for the existence of a command, you should use " "something like" msgstr "" # type: Content of: <chapter><section><programlisting> -#: best-pkging-practices.dbk:665 +#: best-pkging-practices.dbk:652 #, no-wrap msgid "if [ -x /usr/sbin/install-docs ]; then ..." msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:667 +#: best-pkging-practices.dbk:654 msgid "" "If you don't wish to hard-code the path of a command in your maintainer " "script, the following POSIX-compliant shell function may help:" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:672 +#: best-pkging-practices.dbk:659 msgid "" "You can use this function to search <literal>$PATH</literal> for a command " "name, passed as an argument. It returns true (zero) if the command was " @@ -991,7 +1195,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:679 +#: best-pkging-practices.dbk:666 msgid "" "While <command>which</command> is an acceptable alternative, since it is " "from the required <systemitem role=\"package\">debianutils</systemitem> " @@ -1002,14 +1206,14 @@ msgid "" msgstr "" # type: Content of: <chapter><section><title> -#: best-pkging-practices.dbk:689 +#: best-pkging-practices.dbk:676 msgid "" "Configuration management with <systemitem role=\"package\">debconf</" "systemitem>" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:691 +#: best-pkging-practices.dbk:678 msgid "" "<systemitem role=\"package\">Debconf</systemitem> is a configuration " "management system which can be used by all the various packaging scripts " @@ -1020,7 +1224,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:699 +#: best-pkging-practices.dbk:686 msgid "" "Debconf is a great tool but it is often poorly used. Many common mistakes " "are listed in the <citerefentry> <refentrytitle>debconf-devel</" @@ -1030,7 +1234,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><para> -#: best-pkging-practices.dbk:706 +#: best-pkging-practices.dbk:693 msgid "" "These guidelines include some writing style and typography recommendations, " "general considerations about debconf usage as well as more specific " @@ -1039,12 +1243,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:712 +#: best-pkging-practices.dbk:699 msgid "Do not abuse debconf" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:714 +#: best-pkging-practices.dbk:701 msgid "" "Since debconf appeared in Debian, it has been widely abused and several " "criticisms received by the Debian distribution come from debconf abuse with " @@ -1053,7 +1257,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:720 +#: best-pkging-practices.dbk:707 msgid "" "Keep usage notes to what they belong: the NEWS.Debian, or README.Debian " "file. Only use notes for important notes which may directly affect the " @@ -1062,7 +1266,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:726 +#: best-pkging-practices.dbk:713 msgid "" "Carefully choose the questions priorities in maintainer scripts. See " "<citerefentry> <refentrytitle>debconf-devel</refentrytitle> <manvolnum>7</" @@ -1071,38 +1275,38 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:734 +#: best-pkging-practices.dbk:721 msgid "General recommendations for authors and translators" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:736 +#: best-pkging-practices.dbk:723 msgid "Write correct English" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:738 +#: best-pkging-practices.dbk:725 msgid "" "Most Debian package maintainers are not native English speakers. So, " "writing properly phrased templates may not be easy for them." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:742 +#: best-pkging-practices.dbk:729 msgid "" "Please use (and abuse) &email-debian-l10n-english; mailing list. Have your " "templates proofread." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:746 +#: best-pkging-practices.dbk:733 msgid "" "Badly written templates give a poor image of your package, of your work...or " "even of Debian itself." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:750 +#: best-pkging-practices.dbk:737 msgid "" "Avoid technical jargon as much as possible. If some terms sound common to " "you, they may be impossible to understand for others. If you cannot avoid " @@ -1111,12 +1315,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:758 +#: best-pkging-practices.dbk:745 msgid "Be kind to translators" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:760 +#: best-pkging-practices.dbk:747 msgid "" "Debconf templates may be translated. Debconf, along with its sister package " "<command>po-debconf</command> offers a simple framework for getting " @@ -1124,15 +1328,15 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:765 +#: best-pkging-practices.dbk:752 msgid "" "Please use gettext-based templates. Install <systemitem role=\"package\">po-" "debconf</systemitem> on your development system and read its documentation " -"(man po-debconf is a good start)." +"(<literal>man po-debconf</literal> is a good start)." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:770 +#: best-pkging-practices.dbk:757 msgid "" "Avoid changing templates too often. Changing templates text induces more " "work to translators which will get their translation fuzzied. If you plan " @@ -1144,22 +1348,23 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:779 +#: best-pkging-practices.dbk:766 msgid "" -"The use of the <command>podebconf-report-po</command> from the po-debconf " -"package is highly recommended to warn translators which have incomplete " -"translations and request them for updates." +"The use of the <command>podebconf-report-po</command> from the <systemitem " +"role=\"package\">po-debconf</systemitem> package is highly recommended to " +"warn translators which have incomplete translations and request them for " +"updates." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:784 +#: best-pkging-practices.dbk:771 msgid "" "If in doubt, you may also contact the translation team for a given language " "(debian-l10n-xxxxx@&lists-host;), or the &email-debian-i18n; mailing list." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:789 +#: best-pkging-practices.dbk:776 msgid "" "Calls for translations posted to &email-debian-i18n; with the " "<filename>debian/po/templates.pot</filename> file attached or referenced in " @@ -1169,12 +1374,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:798 +#: best-pkging-practices.dbk:785 msgid "Unfuzzy complete translations when correcting typos and spelling" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:800 +#: best-pkging-practices.dbk:787 msgid "" "When the text of a debconf template is corrected and you are <emphasis role=" "\"strong\">sure</emphasis> that the change does <emphasis role=\"strong" @@ -1183,21 +1388,21 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:806 +#: best-pkging-practices.dbk:793 msgid "" "If you don't do so, the whole template will not be translated as long as a " "translator will send you an update." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:810 +#: best-pkging-practices.dbk:797 msgid "" -"To <emphasis role=\"strong\">unfuzzy</emphasis> translations, you can " -"proceed the following way:" +"To <literal>unfuzzy</literal> translations, you can proceed the following " +"way:" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:816 +#: best-pkging-practices.dbk:803 msgid "" "Put all incomplete PO files out of the way. You can check the completeness " "by using (needs the <systemitem role=\"package\">gettext</systemitem> " @@ -1205,7 +1410,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><programlisting> -#: best-pkging-practices.dbk:820 +#: best-pkging-practices.dbk:807 #, no-wrap msgid "" "for i in debian/po/*po; do echo -n $i: ; msgfmt -o /dev/null\n" @@ -1213,7 +1418,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:825 +#: best-pkging-practices.dbk:812 msgid "" "move all files which report either fuzzy strings to a temporary place. " "Files which report no fuzzy strings (only translated and untranslated) will " @@ -1221,7 +1426,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:832 +#: best-pkging-practices.dbk:819 msgid "" "now <emphasis role=\"strong\">and now only</emphasis>, modify the template " "for the typos and check again that translation are not impacted (typos, " @@ -1229,40 +1434,40 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:839 +#: best-pkging-practices.dbk:826 msgid "" "run <command>debconf-updatepo</command>. This will fuzzy all strings you " "modified in translations. You can see this by running the above again" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:845 +#: best-pkging-practices.dbk:832 msgid "use the following command:" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><programlisting> -#: best-pkging-practices.dbk:847 +#: best-pkging-practices.dbk:834 #, no-wrap msgid "for i in debian/po/*po; do msgattrib --output-file=$i --clear-fuzzy $i; done" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:851 +#: best-pkging-practices.dbk:838 msgid "move back to debian/po the files which showed fuzzy strings in the first step" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:856 +#: best-pkging-practices.dbk:843 msgid "run <command>debconf-updatepo</command> again" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:863 +#: best-pkging-practices.dbk:850 msgid "Do not make assumptions about interfaces" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:865 +#: best-pkging-practices.dbk:852 msgid "" "Templates text should not make reference to widgets belonging to some " "debconf interfaces. Sentences like If you answer Yes... have no meaning " @@ -1270,7 +1475,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:870 +#: best-pkging-practices.dbk:857 msgid "" "String templates should also avoid mentioning the default values in their " "description. First, because this is redundant with the values seen by the " @@ -1279,19 +1484,19 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:876 +#: best-pkging-practices.dbk:863 msgid "" "More generally speaking, try to avoid referring to user actions. Just give " "facts." msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:882 +#: best-pkging-practices.dbk:869 msgid "Do not use first person" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:884 +#: best-pkging-practices.dbk:871 msgid "" "You should avoid the use of first person (I will do this... or We " "recommend...). The computer is not a person and the Debconf templates do " @@ -1303,24 +1508,24 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:894 +#: best-pkging-practices.dbk:881 msgid "Be gender neutral" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:896 +#: best-pkging-practices.dbk:883 msgid "" "The world is made of men and women. Please use gender-neutral constructions " "in your writing." msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:904 +#: best-pkging-practices.dbk:891 msgid "Templates fields definition" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:906 +#: best-pkging-practices.dbk:893 msgid "" "This part gives some information which is mostly taken from the " "<citerefentry> <refentrytitle>debconf-devel</refentrytitle> <manvolnum>7</" @@ -1328,27 +1533,27 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:911 +#: best-pkging-practices.dbk:898 msgid "Type" msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:913 +#: best-pkging-practices.dbk:900 msgid "string:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:915 +#: best-pkging-practices.dbk:902 msgid "Results in a free-form input field that the user can type any string into." msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:920 +#: best-pkging-practices.dbk:907 msgid "password:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:922 +#: best-pkging-practices.dbk:909 msgid "" "Prompts the user for a password. Use this with caution; be aware that the " "password the user enters will be written to debconf's database. You should " @@ -1356,24 +1561,24 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:929 +#: best-pkging-practices.dbk:916 msgid "boolean:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:931 +#: best-pkging-practices.dbk:918 msgid "" "A true/false choice. Remember: true/false, <emphasis role=\"strong\">not " "yes/no</emphasis>..." msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:937 +#: best-pkging-practices.dbk:924 msgid "select:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:939 +#: best-pkging-practices.dbk:926 msgid "" "A choice between one of a number of values. The choices must be specified " "in a field named 'Choices'. Separate the possible values with commas and " @@ -1381,24 +1586,24 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:946 +#: best-pkging-practices.dbk:933 msgid "multiselect:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:948 +#: best-pkging-practices.dbk:935 msgid "" "Like the select data type, except the user can choose any number of items " "from the choices list (or chose none of them)." msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:954 +#: best-pkging-practices.dbk:941 msgid "note:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:956 +#: best-pkging-practices.dbk:943 msgid "" "Rather than being a question per se, this datatype indicates a note that can " "be displayed to the user. It should be used only for important notes that " @@ -1408,22 +1613,22 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:965 +#: best-pkging-practices.dbk:952 msgid "text:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:967 +#: best-pkging-practices.dbk:954 msgid "This type is now considered obsolete: don't use it." msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:972 +#: best-pkging-practices.dbk:959 msgid "error:" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:974 +#: best-pkging-practices.dbk:961 msgid "" "This type is designed to handle error messages. It is mostly similar to the " "note type. Frontends may present it differently (for instance, the dialog " @@ -1431,26 +1636,26 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><para> -#: best-pkging-practices.dbk:979 +#: best-pkging-practices.dbk:966 msgid "" "It is recommended to use this type for any message that needs user attention " "for a correction of any kind." msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:987 +#: best-pkging-practices.dbk:974 msgid "Description: short and extended description" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:989 +#: best-pkging-practices.dbk:976 msgid "" "Template descriptions have two parts: short and extended. The short " "description is in the Description: line of the template." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:993 +#: best-pkging-practices.dbk:980 msgid "" "The short description should be kept short (50 characters or so) so that it " "may be accomodated by most debconf interfaces. Keeping it short also helps " @@ -1459,7 +1664,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:999 +#: best-pkging-practices.dbk:986 msgid "" "The short description should be able to stand on its own. Some interfaces " "do not show the long description by default, or only if the user explicitely " @@ -1468,14 +1673,14 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1005 +#: best-pkging-practices.dbk:992 msgid "" "The short description does not necessarily have to be a full sentence. This " "is part of the keep it short and efficient recommendation." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1009 +#: best-pkging-practices.dbk:996 msgid "" "The extended description should not repeat the short description word for " "word. If you can't think up a long description, then first, think some " @@ -1485,7 +1690,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1016 +#: best-pkging-practices.dbk:1003 msgid "" "The extended description should use complete sentences. Paragraphs should " "be kept short for improved readability. Do not mix two ideas in the same " @@ -1493,7 +1698,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1021 +#: best-pkging-practices.dbk:1008 msgid "" "Don't be too verbose. User tend to ignore too long screens. 20 lines are " "by experience a border you shouldn't cross, because that means that in the " @@ -1502,26 +1707,26 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1027 +#: best-pkging-practices.dbk:1014 msgid "" "The extended description should <emphasis role=\"strong\">never</emphasis> " "include a question." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1031 +#: best-pkging-practices.dbk:1018 msgid "" "For specific rules depending on templates type (string, boolean, etc.), " "please read below." msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1037 +#: best-pkging-practices.dbk:1024 msgid "Choices" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1039 +#: best-pkging-practices.dbk:1026 msgid "" "This field should be used for Select and Multiselect types. It contains the " "possible choices which will be presented to users. These choices should be " @@ -1529,12 +1734,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1046 +#: best-pkging-practices.dbk:1033 msgid "Default" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1048 +#: best-pkging-practices.dbk:1035 msgid "" "This field is optional. It contains the default answer for string, select " "and multiselect templates. For multiselect templates, it may contain a " @@ -1542,41 +1747,41 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1057 +#: best-pkging-practices.dbk:1044 msgid "Templates fields specific style guide" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1059 +#: best-pkging-practices.dbk:1046 msgid "Type field" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1061 +#: best-pkging-practices.dbk:1048 msgid "" "No specific indication except: use the appropriate type by referring to the " "previous section." msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1067 +#: best-pkging-practices.dbk:1054 msgid "Description field" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1069 +#: best-pkging-practices.dbk:1056 msgid "" "Below are specific instructions for properly writing the Description (short " "and extended) depending on the template type." msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:1073 +#: best-pkging-practices.dbk:1060 msgid "String/password templates" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1077 +#: best-pkging-practices.dbk:1064 msgid "" "The short description is a prompt and <emphasis role=\"strong\">not</" "emphasis> a title. Avoid question style prompts (IP Address?) in favour of " @@ -1584,7 +1789,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1084 +#: best-pkging-practices.dbk:1071 msgid "" "The extended description is a complement to the short description. In the " "extended part, explain what is being asked, rather than ask the same " @@ -1593,12 +1798,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:1094 +#: best-pkging-practices.dbk:1081 msgid "Boolean templates" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1098 +#: best-pkging-practices.dbk:1085 msgid "" "The short description should be phrased in the form of a question which " "should be kept short and should generally end with a question mark. Terse " @@ -1607,19 +1812,19 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1106 +#: best-pkging-practices.dbk:1093 msgid "" "Again, please avoid referring to specific interface widgets. A common " "mistake for such templates is if you answer Yes-type constructions." msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:1114 +#: best-pkging-practices.dbk:1101 msgid "Select/Multiselect" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1118 +#: best-pkging-practices.dbk:1105 msgid "" "The short description is a prompt and <emphasis role=\"strong\">not</" "emphasis> a title. Do <emphasis role=\"strong\">not</emphasis> use useless " @@ -1628,7 +1833,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1126 +#: best-pkging-practices.dbk:1113 msgid "" "The extended description will complete the short description. It may refer " "to the available choices. It may also mention that the user may choose more " @@ -1637,24 +1842,24 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><section><title> -#: best-pkging-practices.dbk:1136 +#: best-pkging-practices.dbk:1123 msgid "Notes" msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1140 +#: best-pkging-practices.dbk:1127 msgid "The short description should be considered to be a *title*." msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1145 +#: best-pkging-practices.dbk:1132 msgid "" "The extended description is what will be displayed as a more detailed " "explanation of the note. Phrases, no terse writing style." msgstr "" # type: Content of: <chapter><section><section><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1151 +#: best-pkging-practices.dbk:1138 msgid "" "<emphasis role=\"strong\">Do not abuse debconf.</emphasis> Notes are the " "most common way to abuse debconf. As written in debconf-devel manual page: " @@ -1666,12 +1871,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1166 +#: best-pkging-practices.dbk:1153 msgid "Choices field" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1168 +#: best-pkging-practices.dbk:1155 msgid "" "If the Choices are likely to change often, please consider using the " "__Choices trick. This will split each individual choice into a single " @@ -1679,12 +1884,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1175 best-pkging-practices.dbk:1213 +#: best-pkging-practices.dbk:1162 best-pkging-practices.dbk:1200 msgid "Default field" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1177 +#: best-pkging-practices.dbk:1164 msgid "" "If the default value, for a select template, is likely to vary depending on " "the user language (for instance, if the choice is a language choice), please " @@ -1692,7 +1897,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1182 +#: best-pkging-practices.dbk:1169 msgid "" "This special field allow translators to put the most appropriate choice " "according to their own language. It will become the default choice when " @@ -1701,14 +1906,15 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1188 +#: best-pkging-practices.dbk:1175 msgid "Example, taken from the geneweb package templates:" msgstr "" # type: Content of: <chapter><section><section><section><screen> -#: best-pkging-practices.dbk:1191 +#: best-pkging-practices.dbk:1177 #, no-wrap msgid "" +"\n" "Template: geneweb/lang\n" "Type: select\n" "__Choices: Afrikaans (af), Bulgarian (bg), Catalan (ca), Chinese (zh), Czech (cs), Danish (da), Dutch (nl), English (en), Esperanto (eo), Estonian (et), Finnish (fi), French (fr), German (de), Hebrew (he), Icelandic (is), Italian (it), Latvian (lv), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Spanish (es), Swedish (sv)\n" @@ -1717,11 +1923,11 @@ msgid "" "# WARNING : you MUST use the ENGLISH FORM of your language\n" "# For instance, the french translator will need to put French (fr) here.\n" "_DefaultChoice: English (en)[ translators, please see comment in PO files]\n" -"_Description: Geneweb default language:" +"_Description: Geneweb default language:\n" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1202 +#: best-pkging-practices.dbk:1189 msgid "" "Note the use of brackets which allow internal comments in debconf fields. " "Also note the use of comments which will show up in files the translators " @@ -1729,21 +1935,21 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1207 +#: best-pkging-practices.dbk:1194 msgid "" "The comments are needed as the DefaultChoice trick is a bit confusing: the " "translators may put their own choice" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1215 +#: best-pkging-practices.dbk:1202 msgid "" "Do NOT use empty default field. If you don't want to use default values, do " "not use Default at all." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1219 +#: best-pkging-practices.dbk:1206 msgid "" "If you use po-debconf (and you <emphasis role=\"strong\">should</emphasis>, " "see 2.2), consider making this field translatable, if you think it may be " @@ -1751,7 +1957,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1224 +#: best-pkging-practices.dbk:1211 msgid "" "If the default value may vary depending on language/country (for instance " "the default value for a language choice), consider using the special " @@ -1760,17 +1966,17 @@ msgid "" msgstr "" # type: Content of: <chapter><section><title> -#: best-pkging-practices.dbk:1236 +#: best-pkging-practices.dbk:1223 msgid "Internationalization" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1238 +#: best-pkging-practices.dbk:1225 msgid "Handling debconf translations" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1240 +#: best-pkging-practices.dbk:1227 msgid "" "Like porters, translators have a difficult task. They work on many packages " "and must collaborate with many different maintainers. Moreover, most of the " @@ -1779,7 +1985,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1246 +#: best-pkging-practices.dbk:1233 msgid "" "The goal of <systemitem role=\"package\">debconf</systemitem> was to make " "packages configuration easier for maintainers and for users. Originally, " @@ -1792,7 +1998,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1256 +#: best-pkging-practices.dbk:1243 msgid "" "Using <systemitem role=\"package\">po-debconf</systemitem>, the translation " "is stored in <filename>po</filename> files (drawing from <command>gettext</" @@ -1808,12 +2014,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1272 +#: best-pkging-practices.dbk:1259 msgid "Internationalized documentation" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1274 +#: best-pkging-practices.dbk:1261 msgid "" "Internationalizing documentation is crucial for users, but a lot of labor. " "There's no way to eliminate all that work, but you can make things easier " @@ -1821,7 +2027,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1279 +#: best-pkging-practices.dbk:1266 msgid "" "If you maintain documentation of any size, its easier for translators if " "they have access to a source control system. That lets translators see the " @@ -1838,7 +2044,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1293 +#: best-pkging-practices.dbk:1280 msgid "" "If you maintain XML or SGML documentation, we suggest that you isolate any " "language-independent information and define those as entities in a separate " @@ -1847,17 +2053,17 @@ msgid "" msgstr "" # type: Content of: <chapter><section><title> -#: best-pkging-practices.dbk:1303 +#: best-pkging-practices.dbk:1290 msgid "Common packaging situations" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1314 +#: best-pkging-practices.dbk:1301 msgid "Packages using <command>autoconf</command>/<command>automake</command>" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1316 +#: best-pkging-practices.dbk:1303 msgid "" "Keeping <command>autoconf</command>'s <filename>config.sub</filename> and " "<filename>config.guess</filename> files up to date is critical for porters, " @@ -1870,12 +2076,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1328 +#: best-pkging-practices.dbk:1315 msgid "Libraries" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1330 +#: best-pkging-practices.dbk:1317 msgid "" "Libraries are always difficult to package for various reasons. The policy " "imposes many constraints to ease their maintenance and to make sure upgrades " @@ -1884,26 +2090,26 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1336 +#: best-pkging-practices.dbk:1323 msgid "" "Good practices for library packaging have been grouped in <ulink url=\"&url-" "libpkg-guide;\">the library packaging guide</ulink>." msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1343 +#: best-pkging-practices.dbk:1330 msgid "Documentation" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1345 +#: best-pkging-practices.dbk:1332 msgid "" "Be sure to follow the <ulink url=\"&url-debian-policy;ch-docs.html\">Policy " "on documentation</ulink>." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1350 +#: best-pkging-practices.dbk:1337 msgid "" "If your package contains documentation built from XML or SGML, we recommend " "you not ship the XML or SGML source in the binary package(s). If users want " @@ -1911,7 +2117,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1355 +#: best-pkging-practices.dbk:1342 msgid "" "Policy specifies that documentation should be shipped in HTML format. We " "also recommend shipping documentation in PDF and plain text format if " @@ -1921,7 +2127,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1362 +#: best-pkging-practices.dbk:1349 msgid "" "Major shipped manuals should register themselves with <systemitem role=" "\"package\">doc-base</systemitem> on installation. See the <systemitem role=" @@ -1929,19 +2135,19 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1370 +#: best-pkging-practices.dbk:1357 msgid "Specific types of packages" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1372 +#: best-pkging-practices.dbk:1359 msgid "" "Several specific types of packages have special sub-policies and " "corresponding packaging rules and practices:" msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1378 +#: best-pkging-practices.dbk:1365 msgid "" "Perl related packages have a <ulink url=\"&url-perl-policy;\">Perl policy</" "ulink>, some examples of packages following that policy are <systemitem role=" @@ -1950,28 +2156,28 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1387 +#: best-pkging-practices.dbk:1374 msgid "" "Python related packages have their python policy; see &file-python-policy; " "in the <systemitem role=\"package\">python</systemitem> package." msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1394 +#: best-pkging-practices.dbk:1381 msgid "" "Emacs related packages have the <ulink url=\"&url-emacs-policy;\">emacs " "policy</ulink>." msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1401 +#: best-pkging-practices.dbk:1388 msgid "" "Java related packages have their <ulink url=\"&url-java-policy;\">java " "policy</ulink>." msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1408 +#: best-pkging-practices.dbk:1395 msgid "" "Ocaml related packages have their own policy, found in &file-ocaml-policy; " "from the <systemitem role=\"package\">ocaml</systemitem> package. A good " @@ -1980,14 +2186,14 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1416 +#: best-pkging-practices.dbk:1403 msgid "" "Packages providing XML or SGML DTDs should conform to the recommendations " "found in the <systemitem role=\"package\">sgml-base-doc</systemitem> package." msgstr "" # type: Content of: <chapter><section><section><itemizedlist><listitem><para> -#: best-pkging-practices.dbk:1422 +#: best-pkging-practices.dbk:1409 msgid "" "Lisp packages should register themselves with <systemitem role=\"package" "\">common-lisp-controller</systemitem>, about which see &file-lisp-" @@ -1995,12 +2201,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1452 +#: best-pkging-practices.dbk:1439 msgid "Architecture-independent data" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1454 +#: best-pkging-practices.dbk:1441 msgid "" "It is not uncommon to have a large amount of architecture-independent data " "packaged with a program. For example, audio files, a collection of icons, " @@ -2010,7 +2216,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1461 +#: best-pkging-practices.dbk:1448 msgid "" "However, if the size of the data is considerable, consider splitting it out " "into a separate, architecture-independent package (_all.deb). By doing " @@ -2018,25 +2224,24 @@ msgid "" "debs, one per each architecture. While this adds some extra overhead into " "the <filename>Packages</filename> files, it saves a lot of disk space on " "Debian mirrors. Separating out architecture-independent data also reduces " -"processing time of <command>lintian</command> or <command>linda</command> " -"(see <xref linkend=\"tools-lint\"/> ) when run over the entire Debian " -"archive." +"processing time of <command>lintian</command> (see <xref linkend=\"tools-lint" +"\"/> ) when run over the entire Debian archive." msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1473 +#: best-pkging-practices.dbk:1460 msgid "Needing a certain locale during build" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1475 +#: best-pkging-practices.dbk:1462 msgid "" "If you need a certain locale during build, you can create a temporary file " "via this trick:" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1479 +#: best-pkging-practices.dbk:1466 msgid "" "If you set <varname>LOCPATH</varname> to the equivalent of <filename>/usr/" "lib/locale</filename>, and <varname>LC_ALL</varname> to the name of the " @@ -2045,9 +2250,10 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:1484 +#: best-pkging-practices.dbk:1470 #, no-wrap msgid "" +"\n" "LOCALE_PATH=debian/tmpdir/usr/lib/locale\n" "LOCALE_NAME=en_IN\n" "LOCALE_CHARSET=UTF-8\n" @@ -2056,16 +2262,16 @@ msgid "" "localedef -i $LOCALE_NAME.$LOCALE_CHARSET -f $LOCALE_CHARSET $LOCALE_PATH/$LOCALE_NAME.$LOCALE_CHARSET\n" "\n" "# Using the locale\n" -"LOCPATH=$LOCALE_PATH LC_ALL=$LOCALE_NAME.$LOCALE_CHARSET date" +"LOCPATH=$LOCALE_PATH LC_ALL=$LOCALE_NAME.$LOCALE_CHARSET date\n" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1497 +#: best-pkging-practices.dbk:1484 msgid "Make transition packages deborphan compliant" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1499 +#: best-pkging-practices.dbk:1486 msgid "" "Deborphan is a program for helping users to detect which packages can safely " "be removed from the system, i.e. the ones that have no packages depending " @@ -2075,16 +2281,16 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1506 +#: best-pkging-practices.dbk:1493 msgid "" -"For example, with --guess-dummy, deborphan tries to search all transitional " -"packages which were needed for upgrade but which can now safely be removed. " -"For that, it looks for the string dummy or transitional in their short " -"description." +"For example, with <literal>--guess-dummy</literal>, <command>deborphan</" +"command> tries to search all transitional packages which were needed for " +"upgrade but which can now safely be removed. For that, it looks for the " +"string dummy or transitional in their short description." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1512 +#: best-pkging-practices.dbk:1500 msgid "" "So, when you are creating such a package, please make sure to add this text " "to your short description. If you are looking for examples, just run: " @@ -2093,32 +2299,32 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1520 +#: best-pkging-practices.dbk:1508 msgid "Best practices for <filename>orig.tar.gz</filename> files" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1522 +#: best-pkging-practices.dbk:1510 msgid "" "There are two kinds of original source tarballs: Pristine source and " "repackaged upstream source." msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1526 +#: best-pkging-practices.dbk:1514 msgid "Pristine source" msgstr "" # type: Content of: <chapter><section><section><section><para><footnote> -#: best-pkging-practices.dbk:1528 +#: best-pkging-practices.dbk:1516 msgid "" -"The defining characteristic of a pristine source tarball is that the .orig." -"tar.gz file is byte-for-byte identical to a tarball officially distributed " -"by the upstream author. <footnote>" +"The defining characteristic of a pristine source tarball is that the " +"<literal>.orig.tar.gz</literal> file is byte-for-byte identical to a tarball " +"officially distributed by the upstream author. <footnote>" msgstr "" # type: Content of: <chapter><section><section><section><para><footnote><para> -#: best-pkging-practices.dbk:1530 +#: best-pkging-practices.dbk:1518 msgid "" "We cannot prevent upstream authors from changing the tarball they distribute " "without also incrementing the version number, so there can be no guarantee " @@ -2127,13 +2333,13 @@ msgid "" "that it is identical to something that upstream once <emphasis>did</" "emphasis> distribute. If a difference arises later (say, if upstream " "notices that he wasn't using maximal comression in his original distribution " -"and then re-<literal>gzip</literal>s it), that's just too bad. Since there " -"is no good way to upload a new .orig.tar.gz for the same version, there is " -"not even any point in treating this situation as a bug." +"and then re-<command>gzip</command>s it), that's just too bad. Since there " +"is no good way to upload a new <literal>.orig.tar.gz</literal> for the same " +"version, there is not even any point in treating this situation as a bug." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1540 +#: best-pkging-practices.dbk:1528 msgid "" "</footnote> This makes it possible to use checksums to easily verify that " "all changes between Debian's version and upstream's are contained in the " @@ -2143,7 +2349,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1548 +#: best-pkging-practices.dbk:1536 msgid "" "There is no universally accepted guidelines that upstream authors follow " "regarding to the directory structure inside their tarball, but <command>dpkg-" @@ -2152,18 +2358,20 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1556 +#: best-pkging-practices.dbk:1544 msgid "It unpacks the tarball in an empty temporary directory by doing" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><screen> -#: best-pkging-practices.dbk:1559 +#: best-pkging-practices.dbk:1546 #, no-wrap -msgid "zcat path/to/<packagename>_<upstream-version>.orig.tar.gz | tar xf -" +msgid "" +"\n" +"zcat path/to/<packagename>_<upstream-version>.orig.tar.gz | tar xf -\n" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1564 +#: best-pkging-practices.dbk:1552 msgid "" "If, after this, the temporary directory contains nothing but one directory " "and no other files, <command>dpkg-source</command> renames that directory to " @@ -2173,7 +2381,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1573 +#: best-pkging-practices.dbk:1561 msgid "" "Otherwise, the upstream tarball must have been packaged without a common top-" "level directory (shame on the upstream author!). In this case, " @@ -2183,12 +2391,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1584 +#: best-pkging-practices.dbk:1572 msgid "Repackaged upstream source" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1586 +#: best-pkging-practices.dbk:1574 msgid "" "You <emphasis role=\"strong\">should</emphasis> upload packages with a " "pristine source tarball if possible, but there are various reasons why it " @@ -2198,19 +2406,19 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1593 +#: best-pkging-practices.dbk:1581 msgid "" -"In these cases the developer must construct a suitable .orig.tar.gz file " -"himself. We refer to such a tarball as a repackaged upstream source. Note " -"that a repackaged upstream source is different from a Debian-native " -"package. A repackaged source still comes with Debian-specific changes in a " -"separate <literal>.diff.gz</literal> and still has a version number composed " -"of <literal><upstream-version></literal> and <literal><debian-" -"revision></literal>." +"In these cases the developer must construct a suitable <literal>.orig.tar.gz " +"</literal> file himself. We refer to such a tarball as a repackaged " +"upstream source. Note that a repackaged upstream source is different from a " +"Debian-native package. A repackaged source still comes with Debian-specific " +"changes in a separate <literal>.diff.gz</literal> and still has a version " +"number composed of <literal><upstream-version></literal> and " +"<literal><debian-revision></literal>." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1602 +#: best-pkging-practices.dbk:1590 msgid "" "There may be cases where it is desirable to repackage the source even though " "upstream distributes a <literal>.tar.gz</literal> that could in principle be " @@ -2222,12 +2430,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1611 -msgid "A repackaged .orig.tar.gz" +#: best-pkging-practices.dbk:1599 +msgid "A repackaged <literal>.orig.tar.gz</literal>" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1616 +#: best-pkging-practices.dbk:1604 msgid "" "<emphasis role=\"strong\">must</emphasis> contain detailed information how " "the repackaged source was obtained, and how this can be reproduced in the " @@ -2239,7 +2447,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para><footnote> -#: best-pkging-practices.dbk:1628 +#: best-pkging-practices.dbk:1616 msgid "" "<emphasis role=\"strong\">should not</emphasis> contain any file that does " "not come from the upstream author(s), or whose contents has been changed by " @@ -2248,7 +2456,7 @@ msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para><footnote><para> #. or similarly named -#: best-pkging-practices.dbk:1630 +#: best-pkging-practices.dbk:1618 msgid "" "As a special exception, if the omission of non-free files would lead to the " "source failing to build without assistance from the Debian diff, it might be " @@ -2260,7 +2468,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1642 +#: best-pkging-practices.dbk:1625 +msgid "</footnote>" +msgstr "" + +# type: Content of: <chapter><section><section><section><orderedlist><listitem><para> +#: best-pkging-practices.dbk:1630 msgid "" "<emphasis role=\"strong\">should</emphasis>, except where impossible for " "legal reasons, preserve the entire building and portablility infrastructure " @@ -2272,7 +2485,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1651 +#: best-pkging-practices.dbk:1639 msgid "" "(<emphasis>Rationale:</emphasis> It is common for Debian users who need to " "build software for non-Debian platforms to fetch the source from a Debian " @@ -2280,7 +2493,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1658 +#: best-pkging-practices.dbk:1646 msgid "" "<emphasis role=\"strong\">should</emphasis> use <literal><packagename>-" "<upstream-version>.orig</literal> as the name of the top-level " @@ -2289,14 +2502,14 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><orderedlist><listitem><para> -#: best-pkging-practices.dbk:1666 +#: best-pkging-practices.dbk:1654 msgid "" "<emphasis role=\"strong\">should</emphasis> be gzipped with maximal " "compression." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1671 +#: best-pkging-practices.dbk:1659 msgid "" "The canonical way to meet the latter two points is to let <literal>dpkg-" "source -b</literal> construct the repackaged tarball from an unpacked " @@ -2304,12 +2517,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><title> -#: best-pkging-practices.dbk:1677 +#: best-pkging-practices.dbk:1665 msgid "Changing binary files in <literal>diff.gz</literal>" msgstr "" # type: Content of: <chapter><section><section><section><para><footnote> -#: best-pkging-practices.dbk:1679 +#: best-pkging-practices.dbk:1667 msgid "" "Sometimes it is necessary to change binary files contained in the original " "tarball, or to add binary files that are not in it. If this is done by " @@ -2322,7 +2535,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para><footnote><para> -#: best-pkging-practices.dbk:1686 +#: best-pkging-practices.dbk:1674 msgid "" "The file should have a name that makes it clear which binary file it " "encodes. Usually, some postfix indicating the encoding should be appended " @@ -2333,14 +2546,14 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1694 +#: best-pkging-practices.dbk:1682 msgid "" "&example-uu; </footnote>. The file would then be decoded and copied to its " "place during the build process. Thus the change will be visible quite easy." msgstr "" # type: Content of: <chapter><section><section><section><para> -#: best-pkging-practices.dbk:1700 +#: best-pkging-practices.dbk:1688 msgid "" "Some packages use <command>dbs</command> to manage patches to their upstream " "source, and always create a new <literal>orig.tar.gz</literal> file that " @@ -2352,12 +2565,12 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><title> -#: best-pkging-practices.dbk:1713 +#: best-pkging-practices.dbk:1701 msgid "Best practices for debug packages" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1715 +#: best-pkging-practices.dbk:1703 msgid "" "A debug package is a package with a name ending in -dbg, that contains " "additional information that gdb can use. Since Debian binaries are stripped " @@ -2368,7 +2581,7 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1723 +#: best-pkging-practices.dbk:1711 msgid "" "It is up to a package's maintainer whether to create a debug package or " "not. Maintainers are encouraged to create debug packages for library " @@ -2381,49 +2594,53 @@ msgid "" msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1733 +#: best-pkging-practices.dbk:1721 msgid "" "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 <filename>/usr/lib/debug/path</filename>, where " -"<emphasis>path</emphasis> is the path to the executable or library. For " -"example, debugging symbols for <filename>/usr/bin/foo</filename> go in " -"<filename>/usr/lib/debug/usr/bin/foo</filename>, and debugging symbols for " -"<filename>/usr/lib/libfoo.so.1</filename> go in <filename>/usr/lib/debug/usr/" -"lib/libfoo.so.1</filename>." +"keep these symbols in <filename>/usr/lib/debug/<replaceable>path</" +"replaceable></filename>, where <replaceable>path</replaceable> is the path " +"to the executable or library. For example, debugging symbols for <filename>/" +"usr/bin/foo</filename> go in <filename>/usr/lib/debug/usr/bin/foo</" +"filename>, and debugging symbols for <filename>/usr/lib/libfoo.so.1</" +"filename> go in <filename>/usr/lib/debug/usr/lib/libfoo.so.1</filename>." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1745 +#: best-pkging-practices.dbk:1733 msgid "" -"The debugging symbols can be extracted from an object file using objcopy --" -"only-keep-debug. Then the object file can be stripped, and objcopy --add-" -"gnu-debuglink used to specify the path to the debugging symbol file. " -"<citerefentry> <refentrytitle>objcopy</refentrytitle> <manvolnum>1</" -"manvolnum> </citerefentry> explains in detail how this works." +"The debugging symbols can be extracted from an object file using <command> " +"objcopy --only-keep-debug</command>. Then the object file can be stripped, " +"and <command>objcopy --add-gnu-debuglink</command> used to specify the path " +"to the debugging symbol file. <citerefentry> <refentrytitle>objcopy</" +"refentrytitle> <manvolnum>1</manvolnum> </citerefentry> explains in detail " +"how this works." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1752 +#: best-pkging-practices.dbk:1741 msgid "" -"The dh_strip command in debhelper supports creating debug packages, and can " -"take care of using objcopy to separate out the debugging symbols for you. " -"If your package uses debhelper, all you need to do is call dh_strip --dbg-" -"package=libfoo-dbg, and add an entry to debian/control for the debug package." +"The <command>dh_strip</command> command in debhelper supports creating debug " +"packages, and can take care of using <command>objcopy</command> to separate " +"out the debugging symbols for you. If your package uses debhelper, all you " +"need to do is call <command>dh_strip --dbg-package=libfoo-dbg</command>, and " +"add an entry to <filename>debian/control</filename> for the debug package." msgstr "" # type: Content of: <chapter><section><section><para> -#: best-pkging-practices.dbk:1759 +#: best-pkging-practices.dbk:1748 msgid "" "Note that the Debian package should depend on the package that it provides " "debugging symbols for, and this dependency should be versioned. For example:" msgstr "" # type: Content of: <chapter><section><section><screen> -#: best-pkging-practices.dbk:1763 +#: best-pkging-practices.dbk:1751 #, no-wrap -msgid "Depends: libfoo-dbg (= ${binary:Version})" +msgid "" +"\n" +"Depends: libfoo-dbg (= ${binary:Version})\n" msgstr ""