Re: Bug#766644: Proposed MBF: versioned dependencies on gobject-introspection

2014-10-24 Thread Michael Biebl
Am 24.10.2014 um 20:54 schrieb Thorsten Glaser:
 However, contrary to what I said in the bugreport, I now think that we
 need a build dependency on newer gobject-introspection in the packages
 that *use* these typelib files, because it is the dh_girepository call
 in those packages that actually fails, which means that the gir-* pak‐
 kages need a versioned Depends (not Build-Depends) on it (to ensure it
 is installed when they’re used during a package build).
 
 Please share advice of how to best the fix, and how to go on filing
 the bugs, if at all.

dh_girepository will generate a dependency on libgirepository-1.0-1
(= 1.41.4-1) via ${gir:Depends} for those gir packages.

gobject-introspection itself has a Depends on libgirepository-1.0-1 (=
${binary:Version})

So, as soon as you start using ma gir packages in your package, it's
guaranteed that gobjection-introspection/dh_girepository is recent enough.


Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Bug#766644: Proposed MBF: versioned dependencies on gobject-introspection

2014-10-24 Thread Michael Biebl
Am 24.10.2014 um 21:39 schrieb Michael Biebl:
 Am 24.10.2014 um 20:54 schrieb Thorsten Glaser:
 However, contrary to what I said in the bugreport, I now think that we
 need a build dependency on newer gobject-introspection in the packages
 that *use* these typelib files, because it is the dh_girepository call
 in those packages that actually fails, which means that the gir-* pak‐
 kages need a versioned Depends (not Build-Depends) on it (to ensure it
 is installed when they’re used during a package build).

 Please share advice of how to best the fix, and how to go on filing
 the bugs, if at all.
 
 dh_girepository will generate a dependency on libgirepository-1.0-1
 (= 1.41.4-1) via ${gir:Depends} for those gir packages.

This was added in gobject-introspection_1.42.0-2

 gobject-introspection itself has a Depends on libgirepository-1.0-1 (=
 ${binary:Version})
 
 So, as soon as you start using ma gir packages in your package, it's
 guaranteed that gobjection-introspection/dh_girepository is recent enough.


In my other email I suggested to use a versioned b-dep on
gobject-introspection (= 1.41.4-1) or (= 1.41.4-1~), since that was
the first version where libgirepository became multi-arch aware.

Given the above, it's probably better to bump that to 1.42.0-2, to
ensure those ma gir packages have such a strict dependency.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature