[Pkg-utopia-maintainers] Bug#507318: python-dbus: dbus-python.pc requires dbus-1

Simon McVittie smcv at debian.org
Thu Feb 18 18:02:36 UTC 2010


On Sun, 30 Nov 2008 at 00:44:08 +0100, Luca Bruno wrote:
> dbus-python.pc has Requires: dbus-1.
> When using dbus-python, dbus development files are not needed, only the
> runtime library is needed.
> That "Requires" forces packages using dbus-python to Build-Depend on
> libdbus-1-dev.

dbus-python.pc is for people who're extending dbus-python via its C API (PyQt
is the only user I'm aware of; it uses the C API to add Qt main loop
integration). Packages with a normal runtime dependency on dbus-python should
check for the 'dbus' Python module in the usual way, without using pkg-config
(e.g. AM_CHECK_PYMOD). python-gobject works in the same way, as far as I can
see.

Does that sound reasonable? If so, I'll close this bug.

Thanks,
    S





More information about the Pkg-utopia-maintainers mailing list