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 9A1261396D0 for ; Fri, 29 Sep 2017 14:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAB6CE0B4B; Fri, 29 Sep 2017 14:03:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 9D024E0B4B for ; Fri, 29 Sep 2017 14:03:07 +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 E026634173F for ; Fri, 29 Sep 2017 14:03:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 444898F83 for ; Fri, 29 Sep 2017 14:03:01 +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: <1506692926.fed17acde8d4345aab1f64c793ab5f9b313d9f14.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: fed17acde8d4345aab1f64c793ab5f9b313d9f14 X-VCS-Branch: eapi-7 Date: Fri, 29 Sep 2017 14:03:01 +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: 75bece66-816d-4aac-a8cb-789646657d77 X-Archives-Hash: 52ffbef58e4bf1eecc2904bea6e523a5 commit: fed17acde8d4345aab1f64c793ab5f9b313d9f14 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 29 13:48:46 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 29 13:48:46 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=fed17acd 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}