Re: Ocaml-bjack.

2010-09-14 Thread Romain Beauxis
Le mardi 14 septembre 2010 00:44:32, Reinhard Tartler a écrit :
  The straight-forward solution would be to change this dependency to 
 
libjack-jackd2-dev | libjack-dev
 
  but I would like to know if this is the solution you would advise.
 
 No, we really want to use the headers from the jackd1 implementation to
 be used by default. This change would break that.

Gotcha, thanks.

R.

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: Ocaml-bjack.

2010-09-13 Thread Reinhard Tartler
On Fr, Sep 10, 2010 at 23:02:05 (CEST), Romain Beauxis wrote:

   Hi all,

 I just realized that the binNMU of libbjack-ocaml(-dev) was not sufficient 
 because libbjack-ocaml-dev declares a dependency on libjack-dev.

Sorry? I don't follow. can you please elaborate why this doesn't work?

 I think it is reasonable to have a dependency on the -dev package of a 
 library 
 when installing the corresponding ocaml -dev binding, so I want to know what 
 to do now.

Do the ocaml jack bindings work with both jackd1 and jackd2? or do they
require a specific flavor? what about potential other jack
implementations like tschack?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: Ocaml-bjack.

2010-09-13 Thread Romain Beauxis
Le lundi 13 septembre 2010 05:51:15, Reinhard Tartler a écrit :
 On Fr, Sep 10, 2010 at 23:02:05 (CEST), Romain Beauxis wrote:
Hi all,
  
  I just realized that the binNMU of libbjack-ocaml(-dev) was not
  sufficient  because libbjack-ocaml-dev declares a dependency on
  libjack-dev.
 
 Sorry? I don't follow. can you please elaborate why this doesn't work?

Sorry, I should have been more precise..

  I think it is reasonable to have a dependency on the -dev package of a
  library  when installing the corresponding ocaml -dev binding, so I want
  to know what to do now.
 
 Do the ocaml jack bindings work with both jackd1 and jackd2? or do they
 require a specific flavor? what about potential other jack
 implementations like tschack?


The bindings do not require any particular flavor. The problem is that any 
program using libbjack-ocaml must compile against it, thus installing 
libbjack-ocaml-dev.

libbjack-ocaml-dev has a dependency on libjack-dev, which pulls jackd1. I 
believe that instead one should be able to use any jack implementation for the 
build.

Also, when building liquidsoap inexperimental, I have a failure in cowbuilder 
because some of the dependencies pull jack2 and ocaml-bjack pulls jack1.

Adding a dependency on the developpement package of the corresponding C 
library in libbjack-ocaml-dev seems a reasonable requirement to me, though I 
think it has been discussed in that past I think.

The straight-forward solution would be to change this dependency to 
  libjack-jackd2-dev | libjack-dev
but I would like to know if this is the solution you would advise.

Then, the other questions is: should this be also propagated to testing ? The 
answer seems to be yes to me but again, I would like to have your input on 
this.

Thanks,
Romain

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: Ocaml-bjack.

2010-09-13 Thread Reinhard Tartler
On Mo, Sep 13, 2010 at 18:27:16 (CEST), Romain Beauxis wrote:

 Le lundi 13 septembre 2010 05:51:15, Reinhard Tartler a écrit :
 On Fr, Sep 10, 2010 at 23:02:05 (CEST), Romain Beauxis wrote:
Hi all,
  
  I just realized that the binNMU of libbjack-ocaml(-dev) was not
  sufficient  because libbjack-ocaml-dev declares a dependency on
  libjack-dev.
 
 Sorry? I don't follow. can you please elaborate why this doesn't work?

 Sorry, I should have been more precise..

  I think it is reasonable to have a dependency on the -dev package of a
  library  when installing the corresponding ocaml -dev binding, so I want
  to know what to do now.
 
 Do the ocaml jack bindings work with both jackd1 and jackd2? or do they
 require a specific flavor? what about potential other jack
 implementations like tschack?


 The bindings do not require any particular flavor. The problem is that any 
 program using libbjack-ocaml must compile against it, thus installing 
 libbjack-ocaml-dev.

 libbjack-ocaml-dev has a dependency on libjack-dev, which pulls jackd1. I 
 believe that instead one should be able to use any jack implementation for 
 the 
 build.

AFAIUI, we want *everything* _compiled_ against the headers of
libjackd1.  The resulting binaries are then supposed to work at runtime
against both implementations. In fact, we install jackd2 by default.

 Also, when building liquidsoap inexperimental, I have a failure in cowbuilder 
 because some of the dependencies pull jack2 and ocaml-bjack pulls jack1.

ocaml-bjack Depends on libjack-jackd2-0 | libjack-0.116, i.e., it should
be installable with both jackd1 and jackd2, with a preference of
jackd2. This is intended.

If this is the symptom you try to fix, please elaborate on this
failure. I suspect the problem to be in your cowbuilder setup.

 Adding a dependency on the developpement package of the corresponding C 
 library in libbjack-ocaml-dev seems a reasonable requirement to me, though I 
 think it has been discussed in that past I think.

Please make it follow whatever is in the shlibs file of
libjack-jackd2-0, which contains libjack-jackd2-0 | libjack-0.116.
However, I don't really see the point in this dependency.

 The straight-forward solution would be to change this dependency to 
   libjack-jackd2-dev | libjack-dev
 but I would like to know if this is the solution you would advise.

No, we really want to use the headers from the jackd1 implementation to
be used by default. This change would break that.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Ocaml-bjack.

2010-09-10 Thread Romain Beauxis
Hi all,

I just realized that the binNMU of libbjack-ocaml(-dev) was not sufficient 
because libbjack-ocaml-dev declares a dependency on libjack-dev.

I think it is reasonable to have a dependency on the -dev package of a library 
when installing the corresponding ocaml -dev binding, so I want to know what 
to do now.

In particular: 
 * Is there a canonical way to set a dependency on libjack-dev that will 
follow the defaults later ?
 * What should I do regarding testing/squeeze ? Should I prepare a new upload 
and ask for a freeze exception ?

Thanks for you help,
Romain

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers