Gentoo Archives: gentoo-osx

From: Finn Thain <fthain@××××××××××××××××.au>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] Re: sys-apps/findutils (GNU)
Date: Wed, 09 Nov 2005 03:43:47
Message-Id: Pine.LNX.4.64.0511091414380.2481@loopy.telegraphics.com.au
In Reply to: Re: [gentoo-osx] Re: sys-apps/findutils (GNU) by Lina Pezzella
1 On Tue, 8 Nov 2005, Lina Pezzella wrote:
2
3 > -----BEGIN PGP SIGNED MESSAGE-----
4 > Hash: SHA1
5 >
6 > >
7 > >My opinion actually was to just let it be ~ppc-macos, since there are
8 > >no known problems with the OS provided find and xargs. When we have a
9 > >prefix, we can just install the normal GNU find and xargs (without g
10 > >prefix) and have maximum compatibility with the other arches on that
11 > >point.
12 >
13 > Agreed 100%.
14
15 Doesn't that mean that new code that comes to depend on the gfind and
16 gxargs usage will also have to be changed at that later date? If you avoid
17 this policy now, you avoid that problem later. No-one has yet come up with
18 an inadequacy of BSD xargs and find, so why do it? Just for the sake of a
19 misguided policy?
20
21 But, it seems to me that there is a good compromise, along the lines of
22 Diego's eselect proposal (similar to Debian's /etc/alternatives). We could
23 use eselect or similar to maintain a "symlink farm" of g-prefixed symlinks
24 to the GNU binaries. A baselayout revision could safely permit a
25 Gentoo-wide policy whereby such gfoo binaries could be called from any
26 boot script, tool script etc. In this way, you can avoid having to special
27 case the distro in ebuilds and scripts, and you can avoid pulling in
28 redundant deps on systems that ship the same binaries without g-prefixes.
29 On those systems, the vendor package could just be "eselected" to create
30 the symlinks, and indeed the baselayout for such systems could ship with
31 the symlinks already in place.
32
33 That is the only way I can see for compatibility both with the variety of
34 Darwin distros, and with the variety of Gentoo OS's.
35
36 -f
37
38 > - --Lina Pezzella
39 > Gentoo Developer
40 >
41 >
42 >
43 > -----BEGIN PGP SIGNATURE-----
44 > Version: GnuPG v1.4.2 (Darwin)
45 >
46 > iD8DBQFDcWceNJ9STR9DbYERAiiVAKCCAUl5Q1LgwgTPQ72FTdODoWUTqACdHxiC
47 > y+kg0W3Szfo60cbe+hENgws=
48 > =FuVB
49 > -----END PGP SIGNATURE-----
50 >
51 --
52 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] Re: sys-apps/findutils (GNU) Nathan <nathan.stocks@×××××.com>