Skip to content

Reduce Build-Depends, add ${gir:Depends}

Simon McVittie requested to merge wip/smcv/gir into debian/latest

I would have merged this already, but 3.56.2-3 isn't currently available on Salsa. @jbicha, please could you push that change?

  • d/control: Add Build-Depends on gir1.2-*-dev systematic names

  • d/control: Replace libgirepository1.0-dev B-D with gobject-introspection

  • d/control: Drop unnecessary B-D on libtool

  • d/control: Use ${gir:Depends} in -dev packages, don't hard-code a subset

    This ensures that each -dev package that contains GIR XML has a Depends on all the dependencies' GIR XML necessary to make use of it. In particular, Camel-1.2.gir in libcamel1.2-dev requires libxml2-2.0.gir from gir1.2-libxml2-2.0-dev, which is currently implemented by gir1.2-freedesktop-dev.

  • d/control, d/rules: Only build API documentation if we will install it

    The architecture-specific buildds don't need to build this.

  • d/control: Standards-Version: 4.7.2 (no changes required)

I checked this with diffoscope and it doesn't affect the package contents, only metadata:

  • -dev packages gain extra gir1.2-*-dev dependencies
  • some versioned dependencies like gir1.2-glib-2.0 (>= 1.59.1) lose the version, but that has no practical effect

Not otherwise tested. Please consider including this in the next upload.

Merge request reports

Loading