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 BA3831396D0 for ; Mon, 9 Oct 2017 17:31:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CFDEE0E47; Mon, 9 Oct 2017 17:31:16 +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 2628FE0E08 for ; Mon, 9 Oct 2017 17:31:16 +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 3E8593402FE for ; Mon, 9 Oct 2017 17:31:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DCEE90AF for ; Mon, 9 Oct 2017 17:31:11 +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: <1507569610.35900a461c1e0bb2cea225d9f7b3243b06c4245d.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-7 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 35900a461c1e0bb2cea225d9f7b3243b06c4245d X-VCS-Branch: eapi-7 Date: Mon, 9 Oct 2017 17:31:11 +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: 6b977e0e-2d2d-4d72-8303-fa1aef213362 X-Archives-Hash: fe27cb74305ddaabdf29c894cdc607c3 commit: 35900a461c1e0bb2cea225d9f7b3243b06c4245d Author: Michał Górny gentoo org> AuthorDate: Fri Sep 29 13:48:46 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Oct 9 17:20:10 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=35900a46 pkg-mgr-commands: Redefine dolib* in terms of libdir.a Since EAPI 7 removes dolib, it would be a bad fit to describe the two other commands on top of one that is removed. Instead, start by defining libdir.a and then define the two other commands on top of it. This also clarifies that dolib.a & dolib.so do not respect libopts, while the old wording was not clear on that. However, this is at least how it was implemented in Portage (with dolib.a and dolib.so overriding libopts completely). pkg-mgr-commands.tex | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 1fa2053..907c883 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -494,15 +494,16 @@ can be extended or reduced (see below). The options that can be passed to \t{doh symlink is encountered. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. -\item[dolib] For each argument, installs it into the appropriate library subdirectory under - \t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files are installed by default - with file mode \t{0644}, or with the \t{install} options set by the most recent \t{libopts} - call. Any symlinks are installed into the same directory as relative links to their original - target. Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}. +\item[dolib.a] For each argument, installs it into the appropriate library subdirectory under + \t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files are installed + with file mode \t{0644}. Any symlinks are installed into the same directory as relative links + to their original target. Failure behaviour is EAPI dependent as per + section~\ref{sec:failure-behaviour}. -\item[dolib.a] As for \t{dolib} except each file is installed with mode \t{0644}. +\item[dolib.so] As for \t{dolib.a} except each file is installed with mode \t{0755}. -\item[dolib.so] As for \t{dolib} except each file is installed with mode \t{0755}. +\item[dolib] As for \t{dolib.a} except that the default install mode can be overriden with + the \t{install} options set by the most recent \t{libopts} call. \begin{algorithm} \caption{Determining the library directory} \label{alg:ebuild-libdir}