Hallo Justin,

It seems you can use for all of the built packages the priority
"optional". And, to be correct, you need to. (Otherwise for example
protobuf_compiler would violate the Policy.) 

I made an dependency analysis for the packages built by protobuf (with
the help of a small buggy script).
So you seem only to depend on required and standard packages, and the
extra priorities are be your own packages. (as -dev are usually priority
extra, I did not test them). 

Tobias

libprotobuf-lite7
Package            Priority
libc6              required
zlib1g             required
libgcc1            required
libstdc__6         required

libprotobuf7: 
Package       Priority
libc6         required
zlib1g        required
libgcc1       required
libstdc__6    required
        
libprotoc7:
libc6         required
zlib1g        required
libprotobuf7  extra
libgcc1       required
libstdc__6    required

protobuf_compiler: 
Package            Priority
libc6              required
zlib1g             required
libprotobuf7       extra
libgcc1            required
libstdc__6         required
libprotoc7         extra

python-protobuf:
Package          Priority
libc6            required
libprotobuf7     extra
libgcc1          required
python_support   standard
libstdc__6       required
python           standard



Am Dienstag, den 20.03.2012, 22:58 +0100 schrieb Iustin Pop:
> On Tue, Mar 20, 2012 at 02:57:57PM +0100, Tobias Frost wrote:
> > Package: libprotobuf7
> > Version: 2.4.1-1
> > Severity: minor
> > 
> > Dear Maintainer,
> > 
> > Please adjust the package priority of the package libprotobuf7 to optional.
> > 
> > Rationale:
> > - It depends only on packages which are in priority optional or higher, so 
> > it is policy-wise ok to have optional as well.
> > - Other depending packages (like libdrizzledmessage0 and its dependecy 
> > drizzle) are forced to have a lower-than-required priority.
> 
> Hi Tobias,
> 
> Thanks, this is a good idea - I don't remember why I set the priority to
> extra, but reading now
> http://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities I
> see no reason for the extra priority.
> 
> Question: you referred to libprotobuf7 only, but I wonder if this
> shouldn't go across all packages; what do you think?
> 
> thanks,
> iustin




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to