[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Once again: libc6 packages compatibility etc...



On Mon, Sep 15, 1997 at 12:33:32AM -0700, Philippe Troin wrote:
> I know this has been debated at length, but the few libc6 libraries 
> we have are not extremely explicit on this.
> Assuming I want to package libfoo5 for libc6, I should create:
> 
> 	libfoo5g: 
> 		o Contains shared libs in /usr/lib compiled with libc6
> 	libfoo5g-dev:
> 		o Contains includes in /usr/include
> 		o Contains static libs in /usr/lib + the .so symlink
> 		  pointing to /usr/lib
> 	libfoo5:
> 		o Contains shared libs in /usr/lib/libc5-compat,
> 		  compiled for libc5
> 	libfoo5-altdev:
> 		o Contains includes in /usr/i486-linuxlibc1/include
> 		o Contains static libs in /usr/i486-linuxlibc1/lib + the
> 		  .so symlink pointing to /usr/lib/libc5-compat.
> 
> Is that correct (including the `g' placement) ?

Yes.  Some people might quibble about the 'g' placement, but this is
what I intended when I first propsed the scheme.

> Is it acceptable that libfoo5 depends on libfoo5g ? I think so 
> because:
>   1) When upgrading, dselect will automagically grab the libc6 library
>   2) Some documentation for example can be put in libfoo5g only.

I think so too.  In fact, I did this on some of my packages because
they share files needed at run-time.

> Is it acceptable that libfoo5-altdev depends on libfoo5g-dev ?
> My reasons are:
>   1) The library manpages can be put in the libfoo5g-dev package.

I thought about doing this but decided against it.  The reason is that
when a newer version comes along, users may want to have both
libfoo6-dev and libfoo5-altdev installed at the same time.

> And finally, for seldomly used libraries (I'm thinking mainly of a 
> library package which is only used with one package, eg 
> libmagick/imagemagick), is it acceptable to have only libc6 libraries 
> (aka no `g', no altdev, only libmagick compiled libc6) ?

If a libc5 version existed at any time, it's probably best to add the
'g'.

David
-- 
David Engel                        ODS Networks
david@sw.ods.com                   1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: