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 ECE211396D0 for ; Wed, 4 Oct 2017 16:25:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DBCC2BC07E; Wed, 4 Oct 2017 16:25:24 +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 66CC12BC07E for ; Wed, 4 Oct 2017 16:25:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 65A2B341836 for ; Wed, 4 Oct 2017 16:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A34FA90AB for ; Wed, 4 Oct 2017 16:25:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1507134307.1a3d5b2d768b788a79ac391a66dd5bc8e860fe25.mgorny@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: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1a3d5b2d768b788a79ac391a66dd5bc8e860fe25 X-VCS-Branch: eapi-7 Date: Wed, 4 Oct 2017 16:25:18 +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: dbe07b42-5dc9-4c31-b2b3-0f54bf468db9 X-Archives-Hash: aedd73f2e3e008a4753ae90111a33f0f commit: 1a3d5b2d768b788a79ac391a66dd5bc8e860fe25 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 29 13:41:52 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 4 16:25:07 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=1a3d5b2d domo installs to /usr in EAPI 7. 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