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 78A4C1396D0 for ; Wed, 4 Oct 2017 20:47:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5DABE0DC2; Wed, 4 Oct 2017 20:47:58 +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 C99C9E0DC2 for ; Wed, 4 Oct 2017 20:47:58 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 12B883417C4; Wed, 4 Oct 2017 20:47:56 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-pms@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-pms] [PATCH 21/28] pkg-mgr-commands: Redefine dolib* in terms of libdir.a Date: Wed, 4 Oct 2017 22:47:05 +0200 Message-Id: <20171004204712.10391-22-mgorny@gentoo.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171004204712.10391-1-mgorny@gentoo.org> References: <20171004204712.10391-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org X-Archives-Salt: 63f4d363-f5e9-40a8-b2be-3f88d67776de X-Archives-Hash: 39e7b83d6be40f108f3eac4b07dfeeac 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} -- 2.14.2