Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-16 Thread Mike Frysinger
On Thursday 16 June 2005 12:33 am, Diego 'Flameeyes' Petten wrote:
 On Thursday 16 June 2005 06:22, Mike Frysinger wrote:
  tracking packages which need getopt is a waste of time, just force it in
  your profile/bsd libc/whatever

 it's not getopt, it's getopt_long... which is used by few packages.
 well actually freebsd provide it in library in latest releases, aslo if
 it's developed on its own... maybe I can hack a bit the build process to
 have this external as we need.

yes i know the diff between getopt and getopt_long, that doesnt change the 
fact that tracking either is a waste of time
-mike

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-16 Thread Diego 'Flameeyes' Petten
On Thursday 16 June 2005 00:02, Diego 'Flameeyes' Petten wrote:
 There are other solutions a part the new virtuals?
Ok just to summarize.

a) getopt_long isn't important right now, FreeBSD 5 already takes care of it, 
if in the future it will be necessary for NetBSD, OpenBSD or DragonFly, it 
will be another issue.

b) most of the packages requiring gettext at runtime already requires it at 
build time atm... the simple thing to do is moving this on runtime on the 
packages which needs when we'll stumble across it

c) main problem is libiconv, but this is required just by a few packages 
(gettext, glib2, bogofilter) the other uses it with gettext; as they doesn't 
require a specific version, we can also add dev-libs/libiconv to glibc's 
PROVIDE and just depend on dev-libs/libiconv.

What about this?
-- 
Diego Flameeyes Petten
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/


pgpylTysnfeMT.pgp
Description: PGP signature


Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-16 Thread Chris Gianelloni
On Thu, 2005-06-16 at 04:41 +0200, Diego 'Flameeyes' Petten wrote:
 When I fist needed to install libiconv in the Gentoo/FreeBSD I was tinkering 
 with, was just because I needed it ot have glib2 working for irssi.. I was 
 already using that box as ftp and mail server.

HAHAHAHA

Thanks a ton!  I actually had removed irssi from my uclibc-based LiveCD
build because of this.  Now I should be able to add it back.  Whatever
you come up with on this for Gentoo/FreeBSD will also be needed for
uclibc.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-16 Thread Marius Mauch
On Thu, 16 Jun 2005 15:47:35 +0200
Diego 'Flameeyes' Petten [EMAIL PROTECTED] wrote:

 c) main problem is libiconv, but this is required just by a few
 packages (gettext, glib2, bogofilter) the other uses it with gettext;
 as they doesn't require a specific version, we can also add dev-libs/
 libiconv to glibc's PROVIDE and just depend on dev-libs/libiconv.
 
 What about this?

Sorry, but it's not a good idea to PROVIDE non-virtuals. Creates all
kinds of problems (just search for the gcc-4.7 bug).

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.


pgp8j6I3fbk7k.pgp
Description: PGP signature


Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-16 Thread Diego 'Flameeyes' Petten
On Thursday 16 June 2005 16:13, Martin Schlemmer wrote:
 DEPEND=!userland_GNU? ( dev-libs/libiconv )
I'd like to do that but there was disagreement about this before.
For me is enough.

 Just keeping on heaping virtuals for everything is not the only way.  Or
 just pull them in the profile.
As I said, I'm not considering adding libiconv to profile as an option, it's 
not directly required.

-- 
Diego Flameeyes Petten
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)


pgpPyV0PsVbDC.pgp
Description: PGP signature


Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-16 Thread Diego 'Flameeyes' Petten
On Thursday 16 June 2005 18:07, Mike Frysinger wrote:
 no, bsd libc doesnt directly require libiconv, but if you're using a
 bsd/Gentoo system and you have USE=nls, what are the chances you *dont
 want* libiconv ?
Quite a few as 'nls' useflag is already used by freebsd's libc for other 
means.
Maybe an iconv useflag can be acceptable, too? this probably would be better 
but still... when we'll have use-flags deps we should add the right deps.

-- 
Diego Flameeyes Petten
Gentoo Developer - http://dev.gentoo.org/~flameeyes/
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM)


pgpYjjWem3peZ.pgp
Description: PGP signature


Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-15 Thread Diego 'Flameeyes' Petten
On Thursday 16 June 2005 01:13, Olivier Crete wrote:
 Why dont you just add them to the profile as system packages ?
I though of that but I'm not sure about it. I wish to have a systme profile as 
cleaner as possible and libiconv, gettext and other packages aren't needed 
for a lot of different packages because they doesn't use them.
When I fist needed to install libiconv in the Gentoo/FreeBSD I was tinkering 
with, was just because I needed it ot have glib2 working for irssi.. I was 
already using that box as ftp and mail server.
So I much prefer having them just when needed and not because it's possible 
that someone uses them, else it will be exactly as they were in the libc 
(one of the key strengths of *BSD is the fact that the libc is minimal and 
this makes the things simpler to maintain).

-- 
Diego Flameeyes Petten
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/



pgpgTO4LCFMUG.pgp
Description: PGP signature


Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-15 Thread Mike Frysinger
On Wednesday 15 June 2005 06:02 pm, Diego 'Flameeyes' Pettenò wrote:
 another library, gnugetopt which provides getopt_long function non
 non-glibc systems.

tracking packages which need getopt is a waste of time, just force it in your 
profile/bsd libc/whatever

i dont see why this should affect any packages
-mike

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Glibc, non-glibc and external libs

2005-06-15 Thread Diego 'Flameeyes' Petten
On Thursday 16 June 2005 06:22, Mike Frysinger wrote:
 tracking packages which need getopt is a waste of time, just force it in
 your profile/bsd libc/whatever
it's not getopt, it's getopt_long... which is used by few packages.
well actually freebsd provide it in library in latest releases, aslo if it's 
developed on its own... maybe I can hack a bit the build process to have this 
external as we need.

This doesn't remove the problem on libiconv/gettext anyway.

-- 
Diego Flameeyes Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/



pgpZvCrqbsD1S.pgp
Description: PGP signature