public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-pms] [PATCH 20/28] domo installs to /usr in EAPI 7.
Date: Wed,  4 Oct 2017 22:47:04 +0200	[thread overview]
Message-ID: <20171004204712.10391-21-mgorny@gentoo.org> (raw)
In-Reply-To: <20171004204712.10391-1-mgorny@gentoo.org>

Bug: https://bugs.gentoo.org/595924
---
 eapi-differences.tex |  8 ++++++++
 pkg-mgr-commands.tex | 25 ++++++++++++++++++++-----
 2 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 3e06916..d9b5558 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,13 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{domo} install path & \compactfeatureref{domo-path} &
+    \t{\$\{DESTTREE\}\slash share\slash locale} &
+    \t{\$\{DESTTREE\}\slash share\slash locale} &
+    \t{\$\{DESTTREE\}\slash share\slash locale} &
+    \t{\$\{DESTTREE\}\slash share\slash locale} &
+    \t{/usr\slash share\slash locale} \\
+
 \t{PORTDIR} & \compactfeatureref{portdir} &
     Yes & Yes & Yes & Yes & No \\
 
@@ -439,6 +446,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
 \item \t{PORTDIR} removed, \featureref{portdir}.
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
+\item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, \featureref{domo-path}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 8ab8175..bfc3e99 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -542,11 +542,12 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
     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 the given \t{.mo} files with file mode \t{0644} into the appropriate
-    subdirectory of \t{DESTTREE\slash share\slash locale}, generated by taking the basename of the
-    file, removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of the installed
-    files is the package name with \t{.mo} appended. Failure behaviour is EAPI dependent as per
-    section~\ref{sec:failure-behaviour}.
+\item[domo] \featurelabel{domo-path} Installs the given \t{.mo} files with file mode \t{0644} into
+    the appropriate subdirectory of the locale tree, generated by taking the basename of the file,
+    removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of the installed files is
+    the package name with \t{.mo} appended. Failure behaviour is EAPI dependent as per
+    section~\ref{sec:failure-behaviour}. The locale tree location is EAPI dependent as per
+    table~\ref{tab:domo-path}.
 
 \item[dosbin] As \t{dobin}, but installs to \t{DESTTREE/sbin}.
 
@@ -666,6 +667,20 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
     \end{tabular}
 \end{centertable}
 
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPI-dependent install path for \t{domo} command}
+    \label{tab:domo-path}
+    \begin{tabular}{ll}
+      \toprule
+      \multicolumn{1}{c}{\textbf{EAPI}} &
+      \multicolumn{1}{c}{\textbf{destination path}} \\
+      \midrule
+      0, 1, 2, 3, 4, 5, 6 & \t{\$\{DESTTREE\}\slash share\slash locale} \\
+      7                   & \t{/usr/share/locale} \\
+      \bottomrule
+    \end{tabular}
+\end{centertable}
+
 \subsubsection{Commands affecting install destinations}
 The following commands are used to set the various destination trees, all relative to \t{\$\{ED\}} in
 offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix agnostic EAPIs, used by the
-- 
2.14.2



  parent reply	other threads:[~2017-10-04 20:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 20:46 [gentoo-pms] [PATCHES] EAPI 7, first draft for review Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 01/28] Add an EAPI 7 identical to EAPI 6 Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 02/28] EAPI feature table: Consolidate EAPIs 0 to 3 Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 03/28] EAPI 7: dohtml banned Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 04/28] EAPI 7 supports a directory for package.mask Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 05/28] EAPI 7 supports directories for profile files Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 06/28] EAPI 7 has version manipulation and comparison functions Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 07/28] EAPI 7 has eqawarn Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 08/28] EAPI 7 disallows stdout output of output functions Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 09/28] EAPI 7 no longer adds trailing slash to ROOT, EROOT, D, ED Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 10/28] EAPI 7 requires GNU patch 2.7 Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 11/28] EAPI 7 has SYSROOT and ESYSROOT Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 12/28] EAPI 7: econf adds --with-sysroot Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 13/28] EAPI 7 has BDEPEND Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 14/28] EAPI 7 has BROOT Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 15/28] EAPI 7 drops --host-root in favor of -b, -d, and -r Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 16/28] dependencies: Provide a nice summary table for dep APIs Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 17/28] EAPI 7 bans package.provided Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 18/28] EAPI 7 removes DESTTREE and INSDESTTREE Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 19/28] EAPI 7 removes PORTDIR and ECLASSDIR Michał Górny
2017-10-04 20:47 ` Michał Górny [this message]
2017-10-04 20:47 ` [gentoo-pms] [PATCH 21/28] pkg-mgr-commands: Redefine dolib* in terms of libdir.a Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 22/28] EAPI 7 bans dolib and libopts Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 23/28] EAPI 7 provides command fallback for nonfatal Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 24/28] EAPI 7 allows die in subshell Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 25/28] EAPI 7 has automatic USE enforcing Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 26/28] EAPI 7 has binding leftmost-of dep groups (||=) Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 27/28] EAPI 7 supports runtime-modifiable USE flags Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 28/28] EAPI 7 has sandbox directory removal functions Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171004204712.10391-21-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-pms@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox