Gentoo Archives: gentoo-dev

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
Date: Tue, 01 Nov 2016 18:45:43
Message-Id: 458bc04c-0599-bbaf-605d-47977873e607@gentoo.org
In Reply to: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 by Ulrich Mueller
1 13.10.2016 16:53, Ulrich Mueller пишет:
2 > Hi all,
3 >
4 > I suggest that we ban the dolib and libopts commands in EAPI 7.
5 >
6 > Rationale:
7 > 1. There are about 60 instances of dolib in the tree. At least one
8 > third of them appears to be wrong (e.g., should be replaced by
9 > dolib.so for correct mode).
10 > 2. libopts affects only dolib, while the more special commands dolib.a
11 > and dolib.so install libraries with fixed modes 0644 and 0755,
12 > respectively. (The latter is also consistent with dobin installing
13 > with fixed mode 0755, i.e., there is no binopts command.)
14 > 3. There is no newlib command corresponding to dolib, whereas
15 > newlib.{a,so} commands exist.
16 > 4. libopts is not used at all in the tree, which strongly indicates
17 > that there is no need for it.
18 >
19 > Replacement:
20 > Use dolib.a or dolib.so instead.
21 >
22 > Comments?
23 >
24 > Ulrich
25 >
26
27 Fine by me. I can not remember right now if i ever used dolib instead of
28 dolib.so or dolib.a(probably i did), but i do not see any caveats in
29 your arguments.
30
31 --
32 Best regards, Sergey Popov
33 Gentoo developer
34 Gentoo Desktop-effects project lead
35 Gentoo Quality Assurance project lead

Attachments

File name MIME type
signature.asc application/pgp-signature