Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Donnie Berkholz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ervin Nemeth wrote:
| I see, but how about defining ForceNormalLib as NO in host.def?

Yes, that is the way to do it, and I actually have xorg doing this
already on USE=minimal. But at this point, monolithic xorg-x11 is in
security mode -- it's not getting any changes outside of security fixes
or possibly an incredibly critical bug.

As Paul alluded, all of our current development is going into modular X,
which is autotooled so Mike's suggestion of EXTRA_ECONF ought to work.

Thanks,
Donnie
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDND1AXVaO67S1rtsRAgNWAKDbc8BVWyFlStuG64hv8Vkpfe41CQCfex+r
H3DBSLZ2g7etm1HhTS4kz/0=
=Xbxb
-END PGP SIGNATURE-
--
gentoo-dev@gentoo.org mailing list



[gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Ervin Nemeth

Brian Jackson wrote:
Solar had a nifty per package INSTALL_MASK in his bashrc at one point I 
think.


Now I think the USE flag should be "install no static libraries for 
which shared version is provided".


In Solaris 10 Sun engineers have eliminated static libraries. Linux is 
not yet ready for this.


So INSTALL_MASK is not sufficient - see Mike's post about xorg-x11.


/Ervin
--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Brian Jackson

Ervin Nemeth wrote:




I've got no full solution.

The EXTRA_ECONF way works only for automake packages.

Using INSTALL_MASK='*.a' makes me really, really terrified if I think
about sys-devel/gcc.


/Ervin



Solar had a nifty per package INSTALL_MASK in his bashrc at one point I think.

--Iggy
--
gentoo-dev@gentoo.org mailing list



[gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Ervin Nemeth
Mike Frysinger wrote:
> On Friday 23 September 2005 09:53 am, Ervin Nemeth wrote:
>>I see, but how about defining ForceNormalLib as NO in host.def?
> 
> it produces a bunch of static-only libraries

And ForceNormalLib doesn't affect those libraries. INSTALL_MASK does,
however.


/Ervin
-- 
gentoo-dev@gentoo.org mailing list



[gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Ervin Nemeth
Mike Frysinger wrote:
> On Friday 23 September 2005 04:10 am, Ervin Nemeth wrote:
> 
>>Mike Frysinger wrote:
>>
>>>On Thursday 22 September 2005 05:23 am, Ervin Németh wrote:
>>>
For automake packages it is as simple as giving a --disable-static to
configure.
>>>
>>>you can put 'EXTRA_ECONF=--disable-static' into your /etc/make.conf ...
>>
>>Now let's do the same for xorg-x11, zlib, acl, attr, db, jpeg and so on.
>>
>>Do you feel the need for a new USE flag?
> 
> i dont feel the need to change anything.  you already have two good examples 
> for controlling static libraries on your system.

I've got no full solution.

The EXTRA_ECONF way works only for automake packages.

Using INSTALL_MASK='*.a' makes me really, really terrified if I think
about sys-devel/gcc.


/Ervin
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Mike Frysinger
On Friday 23 September 2005 09:53 am, Ervin Nemeth wrote:
> Donnie Berkholz wrote:
> > Ervin Nemeth wrote:
> > | Now let's do the same for xorg-x11,
> >
> > Ha, good luck trying to pass standard configure options into imake.
>
> I see, but how about defining ForceNormalLib as NO in host.def?

probably best to just leave monolithic xorg-x11 alone

it produces a bunch of static-only libraries
-mike
-- 
gentoo-dev@gentoo.org mailing list



[gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Ervin Nemeth
Donnie Berkholz wrote:
> Ervin Nemeth wrote:
> | Now let's do the same for xorg-x11,
> 
> Ha, good luck trying to pass standard configure options into imake.

I see, but how about defining ForceNormalLib as NO in host.def?


/Ervin
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Mike Frysinger
On Friday 23 September 2005 04:10 am, Ervin Nemeth wrote:
> Mike Frysinger wrote:
> > On Thursday 22 September 2005 05:23 am, Ervin Németh wrote:
> >>For automake packages it is as simple as giving a --disable-static to
> >>configure.
> >
> > you can put 'EXTRA_ECONF=--disable-static' into your /etc/make.conf ...
>
> Now let's do the same for xorg-x11, zlib, acl, attr, db, jpeg and so on.
>
> Do you feel the need for a new USE flag?

i dont feel the need to change anything.  you already have two good examples 
for controlling static libraries on your system.
-mike

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Mike Frysinger
On Friday 23 September 2005 05:02 am, Thomas de Grenier de Latour wrote:
> On Fri, 23 Sep 2005 10:10:11 +0200
>
> Ervin Nemeth <[EMAIL PROTECTED]> wrote:
> > Do you feel the need for a new USE flag?
>
> There is already a "static" flag, and that's what it actually does
> for some packages (most gnome-related libs for instance).

the static USE flags is NOT for controlling the generation of static 
libraries ... if packages exhibit that behavior, they are broken, please file 
bugs
-mike
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Philippe Trottier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ervin Nemeth wrote:
> Mike Frysinger wrote:
> 
>>On Thursday 22 September 2005 05:23 am, Ervin Németh wrote:
>>
>>>For automake packages it is as simple as giving a --disable-static to
>>>configure.
>>
>>
>>you can put 'EXTRA_ECONF=--disable-static' into your /etc/make.conf ...
> 
> 
> Thanks Mika, it works perfectly!
> 
> Now let's do the same for xorg-x11, zlib, acl, attr, db, jpeg and so on.
> 
> Do you feel the need for a new USE flag?

Some people, like me, uses these static libraries, a lot, so a USE flag
would be the way to go.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDM7t2P0/FkJ0eBc0RAlkbAJ9Q6TTiKJuVTUZETAUUqCIeEi3yhgCfdJW0
+dvJcsg10K3LEBfzOiAwgbU=
=mvAu
-END PGP SIGNATURE-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Thomas de Grenier de Latour
On Fri, 23 Sep 2005 10:10:11 +0200
Ervin Nemeth <[EMAIL PROTECTED]> wrote:

> Do you feel the need for a new USE flag?

There is already a "static" flag, and that's what it actually does
for some packages (most gnome-related libs for instance).

Side note: i'm not saying it's the perfect solution though, at
least not until USE-deps get supported by portage... Imho,
it's two different things to "statically compile an application"
and to "also provide the static version of a library".  If it was
two separate flags, i would probably leave the first one off, but
turn on the second, because i care less about the wasted space than
about random compilation issues with packages who want libxml2.a or
things like that.  Sure with USE-deps it would be different since
this packages could depend on "dev-libs/libxml2:+static" (or
whatever syntax it will be). 

--
TGL.
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Paul de Vrieze
On Friday 23 September 2005 10:45, Donnie Berkholz wrote:
> Ervin Nemeth wrote:
> | Now let's do the same for xorg-x11,
>
> Ha, good luck trying to pass standard configure options into imake.

I though the 7.0 release of xorg-x11 would be split AND autotooled ;-)

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgpjNr6lIKDhV.pgp
Description: PGP signature


Re: [gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Donnie Berkholz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ervin Nemeth wrote:
| Now let's do the same for xorg-x11,

Ha, good luck trying to pass standard configure options into imake.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDM8ChXVaO67S1rtsRAqtiAJ9HTNKxUKpEJq/O/BAjZ8WkBq510QCgj89Y
zvyBx3sx+RTheup0ZzURfUA=
=VFXF
-END PGP SIGNATURE-
--
gentoo-dev@gentoo.org mailing list



[gentoo-dev] Re: Say no to static libraries!

2005-09-23 Thread Ervin Nemeth
Mike Frysinger wrote:
> On Thursday 22 September 2005 05:23 am, Ervin Németh wrote:
>>For automake packages it is as simple as giving a --disable-static to
>>configure.
> 
> 
> you can put 'EXTRA_ECONF=--disable-static' into your /etc/make.conf ...

Thanks Mika, it works perfectly!

Now let's do the same for xorg-x11, zlib, acl, attr, db, jpeg and so on.

Do you feel the need for a new USE flag?


/Ervin
-- 
gentoo-dev@gentoo.org mailing list