Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Manoj Srivastava
On Thu, 17 Apr 2008 07:58:44 +0200, Tollef Fog Heen <[EMAIL PROTECTED]> said: > * Manoj Srivastava >> On Wed, 16 Apr 2008 19:15:53 +0200, Goswin von Brederlow >> <[EMAIL PROTECTED]> said: >> >> > You are missing the point. >> >> > What if the library says "You must call /usr/bin/foo during buil

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Tollef Fog Heen
* Neil Williams | That is an example of a library including pkg-config into the library | API. Changing that behaviour (dropping the script) means a SONAME bump. No, changing an API without changing the ABI does not mean a SONAME bump. SONAMEs are for ABIs, not APIs and one can change without t

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Tollef Fog Heen
* Manoj Srivastava | On Wed, 16 Apr 2008 19:15:53 +0200, Goswin von Brederlow | <[EMAIL PROTECTED]> said: | | > You are missing the point. | | > What if the library says "You must call /usr/bin/foo during build"? | | How does the library say that? Why can't I just have | gcc -o baz

Bug#475101: obsolete linuxthreads requirement

2008-04-16 Thread Steve Langasek
On Thu, Apr 10, 2008 at 08:32:44AM +0200, Kurt Roeckx wrote: > On Tue, Apr 08, 2008 at 08:22:10PM -0400, Joey Hess wrote: > > Package: debian-policy > > Version: 3.7.3.0 > > Severity: normal > > You must specify the gcc option `-D_REENTRANT' when building a library > > (either static or

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Neil Williams
On Wed, 2008-04-16 at 22:12 +0200, Jakob Bohm wrote: > On Wed, Apr 16, 2008 at 04:12:45PM +0200, Gabor Gombas wrote: > > On Wed, Apr 16, 2008 at 11:23:51AM +0100, Neil Williams wrote: > > > > > What about these clauses as a Policy amendment? > > > > > > 1. If a library *only supports the retrieva

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Manoj Srivastava
On Wed, 16 Apr 2008 19:15:53 +0200, Goswin von Brederlow <[EMAIL PROTECTED]> said: > You are missing the point. > What if the library says "You must call /usr/bin/foo during build"? How does the library say that? Why can't I just have gcc -o baz baz.c -lfoo How can the librar

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Jakob Bohm
On Wed, Apr 16, 2008 at 04:12:45PM +0200, Gabor Gombas wrote: > On Wed, Apr 16, 2008 at 11:23:51AM +0100, Neil Williams wrote: > > > What about these clauses as a Policy amendment? > > > > 1. If a library *only supports the retrieval of FOO_LIBS and / or > > FOO_CFLAGS by the use of pkg-config*,

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Neil Williams
On Wed, 2008-04-16 at 17:23 +0200, Bas Wijnen wrote: > First of all, I skipped a large part of this thread, so I'm sorry if > this has come up before. > > On Wed, Apr 16, 2008 at 03:53:03PM +0100, Neil Williams wrote: > > > And by this definition, it is the package _invoking_ pkg-config that > > >

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Gabor Gombas
On Wed, Apr 16, 2008 at 07:15:53PM +0200, Goswin von Brederlow wrote: > You are missing the point. > > What if the library says "You must call /usr/bin/foo during build"? But the library can't say "foo must come from a Debian package". What if I have my local replacement? Why should I be forced

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Goswin von Brederlow
Gabor Gombas <[EMAIL PROTECTED]> writes: > On Wed, Apr 16, 2008 at 11:23:51AM +0100, Neil Williams wrote: > >> What about these clauses as a Policy amendment? >> >> 1. If a library *only supports the retrieval of FOO_LIBS and / or >> FOO_CFLAGS by the use of pkg-config*, pkg-config becomes part o

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Bas Wijnen
First of all, I skipped a large part of this thread, so I'm sorry if this has come up before. On Wed, Apr 16, 2008 at 03:53:03PM +0100, Neil Williams wrote: > > And by this definition, it is the package _invoking_ pkg-config that > > should Build-Depend on it, not the package that happens to ship

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Neil Williams
On Wed, 2008-04-16 at 16:12 +0200, Gabor Gombas wrote: > On Wed, Apr 16, 2008 at 11:23:51AM +0100, Neil Williams wrote: > > > What about these clauses as a Policy amendment? > > > > 1. If a library *only supports the retrieval of FOO_LIBS and / or > > FOO_CFLAGS by the use of pkg-config*, pkg-con

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Gabor Gombas
On Wed, Apr 16, 2008 at 11:23:51AM +0100, Neil Williams wrote: > What about these clauses as a Policy amendment? > > 1. If a library *only supports the retrieval of FOO_LIBS and / or > FOO_CFLAGS by the use of pkg-config*, pkg-config becomes part of the API > of that library and the -dev package

Re: Should -dev packages providing .pc files depend on pkg-config?

2008-04-16 Thread Neil Williams
On Wed, 2008-04-16 at 09:33 +0200, Goswin von Brederlow wrote: > Tollef Fog Heen <[EMAIL PROTECTED]> writes: > > > > That depends on the library you are linking against. I, as an library > > author is free to say «the only supported way to use my gargleblaster > > library is through the I_CAN_HAS