[Pkg-ime-devel] Bug#673853: Bug#673853: ibus: please detect dbus-python via Python (not pkg-config) or build-depend on python-dbus-dev

Osamu Aoki osamu at debian.org
Wed May 23 16:42:52 UTC 2012


Hi,

Thanks ...

On Mon, May 21, 2012 at 07:21:56PM +0100, Simon McVittie wrote:
> Source: ibus
> Version: 1.4.1-5
> Severity: wishlist
... 
> Longer-term, work being done on pure-Python main loop support might mean
> that the C header and pkg-config metadata will eventually go away entirely
> in favour of pure-Python GLib, Qt and E main loop glue.
> 
> The correct, long-term solution for packages that don't implement a main loop
> is to check for the dbus Python module (and, if required, the
> dbus.mainloop.glib Python module) as you would for a pure-Python module:
> run "python -c 'import dbus'", or use the AM_CHECK_PYMOD macro, or whatever.
> If you need to check the version number, it's exported by the dbus module
> as a string (dbus.__version__) and a tuple (dbus.version).

The above info was passed to the upstream.

> If that's not feasible, the next best thing is to set your package's
> build-dependencies as if you were implementing a main loop:
> 
> * build-depend on python-dbus-dev
> * if you support Python 2, also build-depend on python-dbus
> * if you support Python 3, also build-depend on python3-dbus

I did this in VCS.  I will upload this when Japanese mirror get fixed.
 





More information about the Pkg-ime-devel mailing list