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

Re: Spliting packages between pkg and pkg-data



On Sun, Nov 20, 2005 at 12:03:33PM -0600, Steve Greenland wrote:
> On 20-Nov-05, 05:13 (CST), Bill Allombert <allomber@math.u-bordeaux.fr> wrote: 
> > When doing research about circular-deps, I looked at a lot of packages
> > that are split between a binary package and a data package. This is a
> > good thing since this reduce the total siez of the archive, however
> > there are simple rules that should be followed:
> > 
> > [*snip* good rules}
> >
> > 5) Of course move /usr/share/pkg to pkg-data.
> > 
> 
> Why? If I install foo, I really expect it's shared data to be in
> /usr/share/foo.

Well, the whole point of the package splitting is to move 
the architecture-independent part to a separate arch: all
package. If you keep /usr/share/foo in the arch: any package, 
then there is no much point splitting it ?

For example consider a game that has a small binary and a large
dataset:
/usr/games/foo
/usr/share/games/foo/dataset

You put /usr/games/foo in a arch: any package called foo and
/usr/share/games/foo/dataset in a arch: all package called foo-data.

Does it make sense now ?

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 



Reply to: