Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Fri, 29 Sep 2017 13:42:16
Message-Id: 1506692512.04425199142505b734e05f53d44cc55354e079b9.mgorny@gentoo
1 commit: 04425199142505b734e05f53d44cc55354e079b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 13:41:52 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 13:41:52 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=04425199
7
8 domo installs to /usr in EAPI 7.
9
10 eapi-differences.tex | 8 ++++++++
11 pkg-mgr-commands.tex | 25 ++++++++++++++++++++-----
12 2 files changed, 28 insertions(+), 5 deletions(-)
13
14 diff --git a/eapi-differences.tex b/eapi-differences.tex
15 index 3e06916..d9b5558 100644
16 --- a/eapi-differences.tex
17 +++ b/eapi-differences.tex
18 @@ -41,6 +41,13 @@ of this document for a complete table of previous EAPIs.
19 \bottomrule
20 \endlastfoot
21
22 +\t{domo} install path & \compactfeatureref{domo-path} &
23 + \t{\$\{DESTTREE\}\slash share\slash locale} &
24 + \t{\$\{DESTTREE\}\slash share\slash locale} &
25 + \t{\$\{DESTTREE\}\slash share\slash locale} &
26 + \t{\$\{DESTTREE\}\slash share\slash locale} &
27 + \t{/usr\slash share\slash locale} \\
28 +
29 \t{PORTDIR} & \compactfeatureref{portdir} &
30 Yes & Yes & Yes & Yes & No \\
31
32 @@ -439,6 +446,7 @@ EAPI 7 is EAPI 6 with the following changes:
33 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
34 \item \t{PORTDIR} removed, \featureref{portdir}.
35 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
36 +\item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, \featureref{domo-path}.
37 \end{compactitem}
38
39 \ChangeWhenAddingAnEAPI{7}
40
41 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
42 index 8ab8175..bfc3e99 100644
43 --- a/pkg-mgr-commands.tex
44 +++ b/pkg-mgr-commands.tex
45 @@ -542,11 +542,12 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
46 the empty string. In EAPIs specified by table~\ref{tab:doman-table}, the \t{-i18n} option takes
47 precedence over the language code in the filename.
48
49 -\item[domo] Installs the given \t{.mo} files with file mode \t{0644} into the appropriate
50 - subdirectory of \t{DESTTREE\slash share\slash locale}, generated by taking the basename of the
51 - file, removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of the installed
52 - files is the package name with \t{.mo} appended. Failure behaviour is EAPI dependent as per
53 - section~\ref{sec:failure-behaviour}.
54 +\item[domo] \featurelabel{domo-path} Installs the given \t{.mo} files with file mode \t{0644} into
55 + the appropriate subdirectory of the locale tree, generated by taking the basename of the file,
56 + removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of the installed files is
57 + the package name with \t{.mo} appended. Failure behaviour is EAPI dependent as per
58 + section~\ref{sec:failure-behaviour}. The locale tree location is EAPI dependent as per
59 + table~\ref{tab:domo-path}.
60
61 \item[dosbin] As \t{dobin}, but installs to \t{DESTTREE/sbin}.
62
63 @@ -666,6 +667,20 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
64 \end{tabular}
65 \end{centertable}
66
67 +\ChangeWhenAddingAnEAPI{7}
68 +\begin{centertable}{EAPI-dependent install path for \t{domo} command}
69 + \label{tab:domo-path}
70 + \begin{tabular}{ll}
71 + \toprule
72 + \multicolumn{1}{c}{\textbf{EAPI}} &
73 + \multicolumn{1}{c}{\textbf{destination path}} \\
74 + \midrule
75 + 0, 1, 2, 3, 4, 5, 6 & \t{\$\{DESTTREE\}\slash share\slash locale} \\
76 + 7 & \t{/usr/share/locale} \\
77 + \bottomrule
78 + \end{tabular}
79 +\end{centertable}
80 +
81 \subsubsection{Commands affecting install destinations}
82 The following commands are used to set the various destination trees, all relative to \t{\$\{ED\}} in
83 offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix agnostic EAPIs, used by the