Bug#1061083: libatk1.0-dev, libatspi2.0-dev: please add ${gir:Depends}, ${gir:Provides}

Simon McVittie smcv at debian.org
Wed Jan 17 17:59:35 GMT 2024


Package: libatk1.0-dev
Version: 2.50.0-1
Severity: wishlist
User: pkg-gnome-maintainers at lists.alioth.debian.org
Usertags: gir-provides

As part of longer-term work on trying to improve multiarch and
cross-compilation in the GObject-Introspection ecosystem, I have been
looking at adding systematic names for GIR XML in -dev packages.

libatk1.0-dev and libatspi2.0-dev contain public GIR XML files Atk-1.0.gir
and Atspi-2.0.gir, so please add Depends: ${gir:Depends} and
Provides: ${gir:Provides} to both -dev packages. Recent versions of
dh_girepository will fill in those variables automatically, resulting
in the equivalent of Provides: gir1.2-atk-1.0-dev (= ${binary:Version})
for ATK and a similar setup for Atspi.

If the package is backported, it should be OK to leave those variables in
place: their values will be empty, but that's harmless.

Adding the Provides is a step towards eventually making it possible to
cross-compile at-spi2-core, either by using qemu-user or with GIR XML
disabled by a build-profile, if that is something that a developer wants
to pursue later.

Thanks,
    smcv



More information about the Pkg-a11y-devel mailing list