Mailinglist Archive: opensuse-packaging (135 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Shared Library Policy
- From: Richard Guenther <rguenther@xxxxxxx>
- Date: Wed, 22 Aug 2007 14:05:01 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0708221359240.4343@xxxxxxxxxxx>
On Wed, 22 Aug 2007, Dirk Mueller wrote:
> On Wednesday, 22. August 2007, Richard Guenther wrote:
>
> > Though in general we do not want to ship static libraries, so .la files
> > without a static library should be avoided.
>
> its imho fine shipping them in the -devel subpackage *if* its not a security
> relevant package.
Well "fine" as in if it doesn't only uselessly waste space. And which
packages are _not_ security relevant...
So as a rule of thumb don't package static libs unless the lib is a
base library written in C (that is, it doesn't require other static libs
to link a program static).
Like for example I have on my 10.2 system static boost libraries installed
which is pointless. Current stable has 959 static libs in /usr/lib
including "interesting" stuff like libxml++-2.6.a. All in all 320MB
worth of static libs. Ugh.
Richard.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
> On Wednesday, 22. August 2007, Richard Guenther wrote:
>
> > Though in general we do not want to ship static libraries, so .la files
> > without a static library should be avoided.
>
> its imho fine shipping them in the -devel subpackage *if* its not a security
> relevant package.
Well "fine" as in if it doesn't only uselessly waste space. And which
packages are _not_ security relevant...
So as a rule of thumb don't package static libs unless the lib is a
base library written in C (that is, it doesn't require other static libs
to link a program static).
Like for example I have on my 10.2 system static boost libraries installed
which is pointless. Current stable has 959 static libs in /usr/lib
including "interesting" stuff like libxml++-2.6.a. All in all 320MB
worth of static libs. Ugh.
Richard.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |