public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
@ 2016-10-13 13:53 Ulrich Mueller
  2016-10-13 14:04 ` Michał Górny
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ulrich Mueller @ 2016-10-13 13:53 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

Hi all,

I suggest that we ban the dolib and libopts commands in EAPI 7.

Rationale:
1. There are about 60 instances of dolib in the tree. At least one
   third of them appears to be wrong (e.g., should be replaced by
   dolib.so for correct mode).
2. libopts affects only dolib, while the more special commands dolib.a
   and dolib.so install libraries with fixed modes 0644 and 0755,
   respectively. (The latter is also consistent with dobin installing
   with fixed mode 0755, i.e., there is no binopts command.)
3. There is no newlib command corresponding to dolib, whereas
   newlib.{a,so} commands exist.
4. libopts is not used at all in the tree, which strongly indicates
   that there is no need for it.

Replacement:
Use dolib.a or dolib.so instead.

Comments?

Ulrich

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
  2016-10-13 13:53 [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 Ulrich Mueller
@ 2016-10-13 14:04 ` Michał Górny
  2016-10-13 20:22   ` M. J. Everitt
  2016-10-14  4:20 ` Daniel Campbell
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Michał Górny @ 2016-10-13 14:04 UTC (permalink / raw
  To: Ulrich Mueller; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

On Thu, 13 Oct 2016 15:53:16 +0200
Ulrich Mueller <ulm@gentoo.org> wrote:

> Hi all,
> 
> I suggest that we ban the dolib and libopts commands in EAPI 7.
> 
> Rationale:
> 1. There are about 60 instances of dolib in the tree. At least one
>    third of them appears to be wrong (e.g., should be replaced by
>    dolib.so for correct mode).
> 2. libopts affects only dolib, while the more special commands dolib.a
>    and dolib.so install libraries with fixed modes 0644 and 0755,
>    respectively. (The latter is also consistent with dobin installing
>    with fixed mode 0755, i.e., there is no binopts command.)
> 3. There is no newlib command corresponding to dolib, whereas
>    newlib.{a,so} commands exist.
> 4. libopts is not used at all in the tree, which strongly indicates
>    that there is no need for it.
> 
> Replacement:
> Use dolib.a or dolib.so instead.

...or insinto + insopts + doins / exeinto + exeopts + doexe.

For the record.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 931 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
  2016-10-13 14:04 ` Michał Górny
@ 2016-10-13 20:22   ` M. J. Everitt
  0 siblings, 0 replies; 6+ messages in thread
From: M. J. Everitt @ 2016-10-13 20:22 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

On 13/10/16 15:04, Michał Górny wrote:
> On Thu, 13 Oct 2016 15:53:16 +0200
> Ulrich Mueller <ulm@gentoo.org> wrote:
>
>> Hi all,
>>
>> I suggest that we ban the dolib and libopts commands in EAPI 7.
>>
>> Rationale:
>> 1. There are about 60 instances of dolib in the tree. At least one
>>    third of them appears to be wrong (e.g., should be replaced by
>>    dolib.so for correct mode).
>> 2. libopts affects only dolib, while the more special commands dolib.a
>>    and dolib.so install libraries with fixed modes 0644 and 0755,
>>    respectively. (The latter is also consistent with dobin installing
>>    with fixed mode 0755, i.e., there is no binopts command.)
>> 3. There is no newlib command corresponding to dolib, whereas
>>    newlib.{a,so} commands exist.
>> 4. libopts is not used at all in the tree, which strongly indicates
>>    that there is no need for it.
>>
>> Replacement:
>> Use dolib.a or dolib.so instead.
> ...or insinto + insopts + doins / exeinto + exeopts + doexe.
>
> For the record.
>
You need to get out more ... :P lol !!!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
  2016-10-13 13:53 [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 Ulrich Mueller
  2016-10-13 14:04 ` Michał Górny
@ 2016-10-14  4:20 ` Daniel Campbell
  2016-10-14  8:06 ` David Seifert
  2016-11-01 18:45 ` Sergey Popov
  3 siblings, 0 replies; 6+ messages in thread
From: Daniel Campbell @ 2016-10-14  4:20 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 1135 bytes --]

On 10/13/2016 06:53 AM, Ulrich Mueller wrote:
> Hi all,
> 
> I suggest that we ban the dolib and libopts commands in EAPI 7.
> 
> Rationale:
> 1. There are about 60 instances of dolib in the tree. At least one
>    third of them appears to be wrong (e.g., should be replaced by
>    dolib.so for correct mode).
> 2. libopts affects only dolib, while the more special commands dolib.a
>    and dolib.so install libraries with fixed modes 0644 and 0755,
>    respectively. (The latter is also consistent with dobin installing
>    with fixed mode 0755, i.e., there is no binopts command.)
> 3. There is no newlib command corresponding to dolib, whereas
>    newlib.{a,so} commands exist.
> 4. libopts is not used at all in the tree, which strongly indicates
>    that there is no need for it.
> 
> Replacement:
> Use dolib.a or dolib.so instead.
> 
> Comments?
> 
> Ulrich
> 
Appears sane to me, though I don't work directly on any library packages
as of yet.

-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
  2016-10-13 13:53 [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 Ulrich Mueller
  2016-10-13 14:04 ` Michał Górny
  2016-10-14  4:20 ` Daniel Campbell
@ 2016-10-14  8:06 ` David Seifert
  2016-11-01 18:45 ` Sergey Popov
  3 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2016-10-14  8:06 UTC (permalink / raw
  To: gentoo-dev

On Do, 2016-10-13 at 15:53 +0200, Ulrich Mueller wrote:
> Hi all,
> 
> I suggest that we ban the dolib and libopts commands in EAPI 7.
> 
> Rationale:
> 1. There are about 60 instances of dolib in the tree. At least one
>    third of them appears to be wrong (e.g., should be replaced by
>    dolib.so for correct mode).
> 2. libopts affects only dolib, while the more special commands
> dolib.a
>    and dolib.so install libraries with fixed modes 0644 and 0755,
>    respectively. (The latter is also consistent with dobin installing
>    with fixed mode 0755, i.e., there is no binopts command.)
> 3. There is no newlib command corresponding to dolib, whereas
>    newlib.{a,so} commands exist.
> 4. libopts is not used at all in the tree, which strongly indicates
>    that there is no need for it.
> 
> Replacement:
> Use dolib.a or dolib.so instead.
> 
> Comments?
> 
> Ulrich

+1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7
  2016-10-13 13:53 [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 Ulrich Mueller
                   ` (2 preceding siblings ...)
  2016-10-14  8:06 ` David Seifert
@ 2016-11-01 18:45 ` Sergey Popov
  3 siblings, 0 replies; 6+ messages in thread
From: Sergey Popov @ 2016-11-01 18:45 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 1192 bytes --]

13.10.2016 16:53, Ulrich Mueller пишет:
> Hi all,
> 
> I suggest that we ban the dolib and libopts commands in EAPI 7.
> 
> Rationale:
> 1. There are about 60 instances of dolib in the tree. At least one
>    third of them appears to be wrong (e.g., should be replaced by
>    dolib.so for correct mode).
> 2. libopts affects only dolib, while the more special commands dolib.a
>    and dolib.so install libraries with fixed modes 0644 and 0755,
>    respectively. (The latter is also consistent with dobin installing
>    with fixed mode 0755, i.e., there is no binopts command.)
> 3. There is no newlib command corresponding to dolib, whereas
>    newlib.{a,so} commands exist.
> 4. libopts is not used at all in the tree, which strongly indicates
>    that there is no need for it.
> 
> Replacement:
> Use dolib.a or dolib.so instead.
> 
> Comments?
> 
> Ulrich
> 

Fine by me. I can not remember right now if i ever used dolib instead of
dolib.so or dolib.a(probably i did), but i do not see any caveats in
your arguments.

-- 
Best regards, Sergey Popov
Gentoo developer
Gentoo Desktop-effects project lead
Gentoo Quality Assurance project lead


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-01 18:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-13 13:53 [gentoo-dev] RFC: Ban dolib and libopts in EAPI 7 Ulrich Mueller
2016-10-13 14:04 ` Michał Górny
2016-10-13 20:22   ` M. J. Everitt
2016-10-14  4:20 ` Daniel Campbell
2016-10-14  8:06 ` David Seifert
2016-11-01 18:45 ` Sergey Popov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox