From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF0831382C5 for ; Sun, 18 Feb 2018 13:36:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B4A5E0CB7; Sun, 18 Feb 2018 13:36:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0834E0CB7 for ; Sun, 18 Feb 2018 13:36:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02FC2335C51 for ; Sun, 18 Feb 2018 13:36:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16A86244 for ; Sun, 18 Feb 2018 13:36:20 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1518960954.3222485957d109257f3b727b9d6d96a319c8c35d.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-7 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 3222485957d109257f3b727b9d6d96a319c8c35d X-VCS-Branch: eapi-7 Date: Sun, 18 Feb 2018 13:36:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0278b50d-7beb-48b8-8e91-712dfaa444bd X-Archives-Hash: 5c7b9eca175e31b260812cf98e98679e commit: 3222485957d109257f3b727b9d6d96a319c8c35d Author: Michał Górny gentoo org> AuthorDate: Fri Sep 29 13:41:52 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Feb 18 13:35:54 2018 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=32224859 EAPI 7: domo installs to /usr. Bug: https://bugs.gentoo.org/595924 eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 25 ++++++++++++++++++++----- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index ddf480e..5fb2568 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -275,6 +275,9 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} & \t{doman -i18n} precedence & \compactfeatureref{doman-langs} & * & Yes & Yes & Yes & Yes \\ +\t{domo} destination path & \compactfeatureref{domo-path} & + \t{\$\{DESTTREE\}} & \t{\$\{DESTTREE\}} & \t{\$\{DESTTREE\}} & \t{\$\{DESTTREE\}} & \t{/usr} \\ + \t{new*} support stdin & \compactfeatureref{newfoo-stdin} & No & No & Yes & Yes & Yes \\ @@ -473,6 +476,7 @@ EAPI 7 is EAPI 6 with the following changes: \item Output commands no longer use stdout, \featureref{output-no-stdout}. \item \t{eqawarn}, \featureref{eqawarn}. \item \t{die} is guaranteed to work in a subshell, \featureref{subshell-die}. +\item \t{domo} installs to \t{/usr}, \featureref{domo-path}. \end{compactitem} \ChangeWhenAddingAnEAPI{7} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 91c19b6..c02f136 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -588,11 +588,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}. @@ -712,6 +713,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}{\t{domo} destination path in EAPIs} + \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\}/share/locale} \\ + 7 & \t{/usr/share/locale} \\ + \bottomrule + \end{tabular} +\end{centertable} + \subsection{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