Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-8 commit in: /
Date: Sun, 16 May 2021 19:13:42
Message-Id: 1621166864.0d733c074bc7c4eebd01164904e73059433888ad.ulm@gentoo
1 commit: 0d733c074bc7c4eebd01164904e73059433888ad
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 24 09:46:26 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun May 16 12:07:44 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=0d733c07
7
8 EAPI 8 has econf passing --datarootdir
9
10 Bug: https://bugs.gentoo.org/651958
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 eapi-differences.tex | 3 ++-
15 pkg-mgr-commands.tex | 23 ++++++++++++++---------
16 2 files changed, 16 insertions(+), 10 deletions(-)
17
18 diff --git a/eapi-differences.tex b/eapi-differences.tex
19 index 8c75e7d..c98f572 100644
20 --- a/eapi-differences.tex
21 +++ b/eapi-differences.tex
22 @@ -254,7 +254,7 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} &
23 disable dependency tracking, disable silent rules &
24 disable dependency tracking, disable silent rules, docdir, htmldir &
25 disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot &
26 - disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot \\
27 + disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot, datarootdir \\
28
29 \t{dodoc -r} & \compactfeatureref{dodoc} &
30 * & Yes & Yes & Yes & Yes \\
31 @@ -489,6 +489,7 @@ EAPI 8 is EAPI 7 with the following changes:
32 \begin{compactitem}
33 \item Selective fetch/mirror restriction, \featureref{uri-restrict}.
34 \item \t{IDEPEND}, \featureref{idepend}.
35 +\item \t{econf} adds \t{-{}-datarootdir}, \featureref{econf-options}.
36 \end{compactitem}
37
38 \ChangeWhenAddingAnEAPI{8}
39
40 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
41 index f401472..c61ad20 100644
42 --- a/pkg-mgr-commands.tex
43 +++ b/pkg-mgr-commands.tex
44 @@ -301,6 +301,9 @@ commands once the current phase function has returned.
45 \item \t{-{}-mandir} must be \t{\$\{EPREFIX\}/usr/share/man}
46 \item \t{-{}-infodir} must be \t{\$\{EPREFIX\}/usr/share/info}
47 \item \t{-{}-datadir} must be \t{\$\{EPREFIX\}/usr/share}
48 + \item \t{-{}-datarootdir} must be \t{\$\{EPREFIX\}/usr/share}, if the EAPI is listed in
49 + table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
50 + string \t{-{}-datarootdir} occurs in the output of \t{configure -{}-help}.
51 \item \t{-{}-sysconfdir} must be \t{\$\{EPREFIX\}/etc}
52 \item \t{-{}-localstatedir} must be \t{\$\{EPREFIX\}/var/lib}
53 \item \t{-{}-docdir} must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}}, if the EAPI is listed in
54 @@ -329,20 +332,22 @@ commands once the current phase function has returned.
55 \ChangeWhenAddingAnEAPI{8}
56 \begin{centertable}{Extra \t{econf} arguments for EAPIs}
57 \label{tab:econf-options-table}
58 - \begin{tabular}{llllll}
59 + \begin{tabular}{lllllll}
60 \toprule
61 \multicolumn{1}{c}{\textbf{EAPI}} &
62 - \multicolumn{1}{P{9em}}{\textbf{-{}-disable-dependency-tracking}} &
63 - \multicolumn{1}{P{5em}}{\textbf{-{}-disable-silent-rules}} &
64 + \multicolumn{1}{P{5.5em}}{\textbf{-{}-disable-dependency-tracking}} &
65 + \multicolumn{1}{P{4em}}{\textbf{-{}-disable-silent-rules}} &
66 \multicolumn{1}{c}{\textbf{-{}-docdir}} &
67 \multicolumn{1}{c}{\textbf{-{}-htmldir}} &
68 - \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} \\
69 + \multicolumn{1}{P{4em}}{\textbf{-{}-with-sysroot}} &
70 + \multicolumn{1}{c}{\textbf{-{}-datarootdir}} \\
71 \midrule
72 - 0, 1, 2, 3 & No & No & No & No & No \\
73 - 4 & Yes & No & No & No & No \\
74 - 5 & Yes & Yes & No & No & No \\
75 - 6 & Yes & Yes & Yes & Yes & No \\
76 - 7, 8 & Yes & Yes & Yes & Yes & Yes \\
77 + 0, 1, 2, 3 & No & No & No & No & No & No \\
78 + 4 & Yes & No & No & No & No & No \\
79 + 5 & Yes & Yes & No & No & No & No \\
80 + 6 & Yes & Yes & Yes & Yes & No & No \\
81 + 7 & Yes & Yes & Yes & Yes & Yes & No \\
82 + 8 & Yes & Yes & Yes & Yes & Yes & Yes \\
83 \bottomrule
84 \end{tabular}
85 \end{centertable}