1 |
commit: f93f456838edc1206228e98fbdaed0281bbca50e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 29 13:41:52 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 12:55:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=f93f4568 |
7 |
|
8 |
EAPI 7: domo installs to /usr. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/595924 |
11 |
|
12 |
eapi-differences.tex | 4 ++++ |
13 |
pkg-mgr-commands.tex | 25 ++++++++++++++++++++----- |
14 |
2 files changed, 24 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
17 |
index ddf480e..5fb2568 100644 |
18 |
--- a/eapi-differences.tex |
19 |
+++ b/eapi-differences.tex |
20 |
@@ -275,6 +275,9 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} & |
21 |
\t{doman -i18n} precedence & \compactfeatureref{doman-langs} & |
22 |
* & Yes & Yes & Yes & Yes \\ |
23 |
|
24 |
+\t{domo} destination path & \compactfeatureref{domo-path} & |
25 |
+ \t{\$\{DESTTREE\}} & \t{\$\{DESTTREE\}} & \t{\$\{DESTTREE\}} & \t{\$\{DESTTREE\}} & \t{/usr} \\ |
26 |
+ |
27 |
\t{new*} support stdin & \compactfeatureref{newfoo-stdin} & |
28 |
No & No & Yes & Yes & Yes \\ |
29 |
|
30 |
@@ -473,6 +476,7 @@ EAPI 7 is EAPI 6 with the following changes: |
31 |
\item Output commands no longer use stdout, \featureref{output-no-stdout}. |
32 |
\item \t{eqawarn}, \featureref{eqawarn}. |
33 |
\item \t{die} is guaranteed to work in a subshell, \featureref{subshell-die}. |
34 |
+\item \t{domo} installs to \t{/usr}, \featureref{domo-path}. |
35 |
\end{compactitem} |
36 |
|
37 |
\ChangeWhenAddingAnEAPI{7} |
38 |
|
39 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
40 |
index 0a0997a..b0ed22e 100644 |
41 |
--- a/pkg-mgr-commands.tex |
42 |
+++ b/pkg-mgr-commands.tex |
43 |
@@ -592,11 +592,12 @@ can be extended or reduced (see below). The options that can be passed to \t{doh |
44 |
the empty string. In EAPIs specified by table~\ref{tab:doman-table}, the \t{-i18n} option takes |
45 |
precedence over the language code in the filename. |
46 |
|
47 |
-\item[domo] Installs the given \t{.mo} files with file mode \t{0644} into the appropriate |
48 |
- subdirectory of \t{DESTTREE\slash share\slash locale}, generated by taking the basename of the |
49 |
- file, removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of the installed |
50 |
- files is the package name with \t{.mo} appended. Failure behaviour is EAPI dependent as per |
51 |
- section~\ref{sec:failure-behaviour}. |
52 |
+\item[domo] \featurelabel{domo-path} Installs the given \t{.mo} files with file mode \t{0644} into |
53 |
+ the appropriate subdirectory of the locale tree, generated by taking the basename of the file, |
54 |
+ removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of the installed files |
55 |
+ is the package name with \t{.mo} appended. Failure behaviour is EAPI dependent as per |
56 |
+ section~\ref{sec:failure-behaviour}. The locale tree location is EAPI dependent as per |
57 |
+ table~\ref{tab:domo-path}. |
58 |
|
59 |
\item[dosbin] As \t{dobin}, but installs to \t{DESTTREE/sbin}. |
60 |
|
61 |
@@ -716,6 +717,20 @@ can be extended or reduced (see below). The options that can be passed to \t{doh |
62 |
\end{tabular} |
63 |
\end{centertable} |
64 |
|
65 |
+\ChangeWhenAddingAnEAPI{7} |
66 |
+\begin{centertable}{\t{domo} destination path in EAPIs} |
67 |
+ \label{tab:domo-path} |
68 |
+ \begin{tabular}{ll} |
69 |
+ \toprule |
70 |
+ \multicolumn{1}{c}{\textbf{EAPI}} & |
71 |
+ \multicolumn{1}{c}{\textbf{Destination path}} \\ |
72 |
+ \midrule |
73 |
+ 0, 1, 2, 3, 4, 5, 6 & \t{\$\{DESTTREE\}/share/locale} \\ |
74 |
+ 7 & \t{/usr/share/locale} \\ |
75 |
+ \bottomrule |
76 |
+ \end{tabular} |
77 |
+\end{centertable} |
78 |
+ |
79 |
\subsection{Commands affecting install destinations} |
80 |
The following commands are used to set the various destination trees, all relative to \t{\$\{ED\}} in |
81 |
offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix agnostic EAPIs, used by the |