Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 222257 Details for
Bug 303919
Prefer -i18n option of doman to filename language suffix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for PMS
0001-Document-the-i18n-option-of-doman.patch (text/plain), 3.24 KB, created by
Ulrich Müller
on 2010-03-06 11:07:03 UTC
(
hide
)
Description:
Patch for PMS
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2010-03-06 11:07:03 UTC
Size:
3.24 KB
patch
obsolete
>From b717858150c63e8bd5c46d89f138accf52a1153c Mon Sep 17 00:00:00 2001 >From: Ulrich Mueller <ulm@gentoo.org> >Date: Sat, 6 Mar 2010 12:02:41 +0100 >Subject: [PATCH] Document the -i18n option of doman. > >--- > pkg-mgr-commands.tex | 35 +++++++++++++++++++++-------------- > 1 files changed, 21 insertions(+), 14 deletions(-) > >diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex >index 5054878..32f1455 100644 >--- a/pkg-mgr-commands.tex >+++ b/pkg-mgr-commands.tex >@@ -339,14 +339,20 @@ that can be passed to \t{dohtml} are as follows: > \end{algorithm} > > \item[doman] Installs a man page into the appropriate subdirectory of \t{/usr/share/man} depending >- upon its apparent section suffix (e.g. \t{foo.1} goes to \t{/usr/share/man/man1/foo.1} with file >- mode \t{0644}. >+ upon its apparent section suffix (e.\,g.\ \t{foo.1} goes to \t{/usr/share/man/man1/foo.1} with >+ file mode \t{0644}. > >- \featurelabel{doman-langs} In EAPIs listed in table~\ref{tab:doman-table} as supporting language >- codes, a man page with name of the form\t{foo.lang.1} shall go to >- \t{/usr/share/man/lang/man1/foo.1}, where \t{lang} refers to a pair of lower-case ASCII letters >- optionally followed by an underscore and a pair of upper-case ASCII letters. Failure behaviour >- is EAPI dependent as per section~\ref{sec:failure-behaviour}. >+ \featurelabel{doman-langs} In EAPIs listed in table~\ref{tab:doman-table} as supporting >+ language codes, a man page with name of the form \t{foo.}\i{lang}\t{.1} shall go to >+ \t{/usr/share/man/}\i{lang}\t{/man1/foo.1}, where \i{lang} refers to a pair of lower-case >+ ASCII letters optionally followed by an underscore and a pair of upper-case ASCII letters. >+ Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. >+ >+ With option \t{-i18n=}\i{lang}, a man page shall be installed into an appropriate subdirectory >+ of \t{/usr/share/man/}\i{lang} (e.\,g.\ \t{/usr/share/man/}\i{lang}\t{/man1/foo.pl.1} would be >+ the destination for \t{foo.pl.1}). The \i{lang} subdirectory level is skipped if \i{lang} is >+ the empty string. In EAPIs specified by table~\ref{tab:doman-table}, the \t{-i18n} option takes >+ precedence over the language code in the filename. > > \item[domo] Installs a \t{.mo} file with file mode \t{0644} into the appropriate subdirectory of > \t{DESTTREE/share/locale}, generated by taking the basename of the file, removing the \t{.*} >@@ -426,16 +432,17 @@ that can be passed to \t{dohtml} are as follows: > \end{centertable} > > \begin{centertable}{EAPIs supporting \t{doman} languages} \label{tab:doman-table} >- \begin{tabular}{ l l } >+ \begin{tabular}{ l l l } > \toprule > \multicolumn{1}{c}{\textbf{EAPI}} & >- \multicolumn{1}{c}{\textbf{Supports \t{doman} languages?}} \\ >+ \multicolumn{1}{c}{\textbf{Supports \t{doman} languages?}} & >+ \multicolumn{1}{c}{\textbf{Option \t{-i18n} takes precedence?}} \\ > \midrule >- \t{0} & No \\ >- \t{1} & No \\ >- \t{2} & Yes \\ >- \t{3} & Yes \\ >- \t{4} & Yes \\ >+ \t{0} & No & Not applicable \\ >+ \t{1} & No & Not applicable \\ >+ \t{2} & Yes & No \\ >+ \t{3} & Yes & No \\ >+ \t{4} & Yes & Yes \\ > \bottomrule > \end{tabular} > \end{centertable} >-- >1.7.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 303919
:
222201
|
222241
|
222243
|
222257
|
223393