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 7B3B21396D0 for ; Wed, 4 Oct 2017 20:26:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 713DCE0CAE; Wed, 4 Oct 2017 20:25:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4EA6CE0CB6 for ; Wed, 4 Oct 2017 20:25:59 +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 32A373417B2 for ; Wed, 4 Oct 2017 20:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E570390AA for ; Wed, 4 Oct 2017 20:25:53 +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: <1507148658.8a7ff2dabbbbae4afdb618c3f636039ef9b6a1b7.mgorny@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: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8a7ff2dabbbbae4afdb618c3f636039ef9b6a1b7 X-VCS-Branch: eapi-7 Date: Wed, 4 Oct 2017 20:25:53 +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: 1a594129-a776-4f17-b965-33d763e6ea2d X-Archives-Hash: d062415ed9bed33fb6432b8cbbadbdaa commit: 8a7ff2dabbbbae4afdb618c3f636039ef9b6a1b7 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 29 13:48:46 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 4 20:24:18 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8a7ff2da 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 bfc3e99..ae9a615 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}