[wpkg-users] chain/depend strangeness...

Carlos R. Pasqualini pasqualinic at fcal.uner.edu.ar
Fri Jun 28 03:05:22 CEST 2013


El vie, 28-06-2013 a las 00:08 +0200, Stefan Pendl escribió:
> Am 27.06.2013 20:43, schrieb Carlos R. Pasqualini:
> > El jue, 27-06-2013 a las 17:31 +0200, Marco Gaiarin escribió:
> >> I've setup libreoffice and the italian help package as:
> >>
> >>    <package
> >>          id="libreoffice"
> >> 	[...]
> >>          <chain package-id="libreoffice-help-it" />
> >>
> >>    <package
> >>          id="libreoffice-help-it"
> >> 	[...]
> >>          <depends package-id="libreoffice" />
> >>
> >
> > I have defined libreoffice in the other way, using an include:
> >
> > <package id="libreoffice" ...
> > 	<depends package-id="java7" />
> > 	<include package-id="libreoffice-help" />
> >
> > </package>
> > <package id="libreoffice-help" ...
> > 	<depends package-id="libreoffice" />
> > </package>
> >
> 
> If the help depends on the base package, then you only need to add the 
> help to the profile.
> 
> If the help is "chained" by the base package, the you only need to add 
> the base package to the profile.
> 
> There is no need to use include/chain and depend in both packages.
> 
> Chain is a reverse depend, but the chained package is installed 
> immediately after the first package.
> 
> 
> -

i have the depend to make sure to not have installed the help package
without the base package.

it is just a second way if something goes wrong

do it produces an error??


Regards



More information about the wpkg-users mailing list