Re: Depends on -dev package

2011-08-24 Thread Bernhard R. Link
* Russ Allbery r...@debian.org [110823 22:49]: I agree with your line of reasoning, but I'd rather be explicit about such things rather than relying on everyone separately coming to the same conclusion. I think one has to be careful about what special cases to describe, as every special case

Re: Depends on -dev package

2011-08-24 Thread Russ Allbery
Bernhard R. Link brl...@debian.org writes: Should we then also list -data packages not usually depending on the non-data package and not the other way around. -data packages *should* depend on the non-data package in an ideal world, and the only reason why they don't is because circular

Re: Depends on -dev package

2011-08-24 Thread Bernhard R. Link
* Russ Allbery r...@debian.org [110824 19:34]: Should we then also list -data packages not usually depending on the non-data package and not the other way around. -data packages *should* depend on the non-data package in an ideal world, and the only reason why they don't is because circular

Re: Depends on -dev package

2011-08-24 Thread Russ Allbery
Bernhard R. Link brl...@debian.org writes: * Russ Allbery r...@debian.org [110824 19:34]: -data packages *should* depend on the non-data package in an ideal world, and the only reason why they don't is because circular dependencies are a bigger problem. But -data packages are generally

Re: Depends on -dev package

2011-08-23 Thread Sune Vuorela
On 2011-08-22, Russ Allbery r...@debian.org wrote: Bernhard R. Link brl...@debian.org writes: * Russ Allbery r...@debian.org [110822 19:59]: That's a fascinating point. I have never done that with any -dev package, since essentially every -dev package would require that, which seems rather

Re: Depends on -dev package

2011-08-23 Thread Bernhard R. Link
* Russ Allbery r...@debian.org [110822 21:47]: There are not, so far as I know, any exceptions for -dev packages from the normal requirements for Depends, which say simply: The Depends field should be used if the depended-on package is required for the depending package to provide a

Re: Depends on -dev package

2011-08-23 Thread Kyle Willmon
On Tue, Aug 23, 2011 at 11:57:37AM +0200, Bernhard R. Link wrote: * Russ Allbery r...@debian.org [110822 21:47]: and given that C -dev packages are unusable in general without libc6-dev installed, that would, on the surface, seem to qualify. If you compile a program, you will usually need

Re: Depends on -dev package

2011-08-23 Thread Russ Allbery
Sune Vuorela nos...@vuorela.dk writes: On 2011-08-22, Russ Allbery r...@debian.org wrote: There are not, so far as I know, any exceptions for -dev packages from the normal requirements for Depends, which say simply: The Depends field should be used if the depended-on package is

Re: Depends on -dev package

2011-08-23 Thread Russ Allbery
Bernhard R. Link brl...@debian.org writes: I think this is the old general discussion what useful is. A pdf viewer is not useful without a pdf file to view, still a pdf viewer should of course not depend on some package with pdf files in it. I think some good heuristic is usually looking at

Re: Depends on -dev package

2011-08-22 Thread Christoph Egger
Hi! Paul Elliott pelli...@blackpatchpanel.com writes: I quote from Debian Library Packaging guide 2. -DEV package dependencies The -DEV package would usually declare Depends: relationship on all -DEV packages for libraries that the library package directly depends upon, with the specific

Re: Depends on -dev package

2011-08-22 Thread Sven Joachim
On 2011-08-22 11:54 +0200, Christoph Egger wrote: Paul Elliott pelli...@blackpatchpanel.com writes: Does this mean that if my library has an include reference #include stdio.h in one of its .c or .h files, then my -dev package must have a depends line like this in its debian/control file:

Re: Depends on -dev package

2011-08-22 Thread Paul Elliott
A number of responses to my question seem to be confusing Debian Policy 4.2 which refers to Build-depends: that is packages necessary to build the package and the Debian Library Packaging guide section 6.2 which refers to the Depends: dependancies of the -dev packages that is the packages that

Re: Depends on -dev package

2011-08-22 Thread Russ Allbery
Paul Elliott pelli...@blackpatchpanel.com writes: I quote from Debian Library Packaging guide 2. -DEV package dependencies The -DEV package would usually declare Depends: relationship on all -DEV packages for libraries that the library package directly depends upon, with the specific

Re: Depends on -dev package

2011-08-22 Thread Bernhard R. Link
* Russ Allbery r...@debian.org [110822 19:59]: Paul Elliott pelli...@blackpatchpanel.com writes: That's a fascinating point. I have never done that with any -dev package, since essentially every -dev package would require that, which seems rather silly. (There are almost no non-trivial C

Re: Depends on -dev package

2011-08-22 Thread Russ Allbery
Bernhard R. Link brl...@debian.org writes: * Russ Allbery r...@debian.org [110822 19:59]: That's a fascinating point. I have never done that with any -dev package, since essentially every -dev package would require that, which seems rather silly. (There are almost no non-trivial C libraries

Depends on -dev package

2011-08-21 Thread Paul Elliott
I quote from Debian Library Packaging guide 2. -DEV package dependencies The -DEV package would usually declare Depends: relationship on all -DEV packages for libraries that the library package directly depends upon, with the specific SONAME version that the library package is linked

Re: Depends on -dev package

2011-08-21 Thread Fernando Lemos
Hi, On Mon, Aug 22, 2011 at 12:59 AM, Paul Elliott pelli...@blackpatchpanel.com wrote: I quote from Debian Library Packaging guide 2. -DEV package dependencies The -DEV package would usually declare Depends: relationship on all -DEV packages for libraries that the library package directly

Re: Depends on -dev package

2011-08-21 Thread Paul Elliott
On Sunday, August 21, 2011 11:06:35 PM Fernando Lemos wrote: Hi, On Mon, Aug 22, 2011 at 12:59 AM, Paul Elliott pelli...@blackpatchpanel.com wrote: I quote from Debian Library Packaging guide 2. -DEV package dependencies The -DEV package would usually declare Depends: