Bug#840326: python3-gi-cairo: Significant amount of cairo API is unavailable

Tony Houghton h at realh.co.uk
Mon Oct 10 16:10:19 UTC 2016


Package: python3-gi-cairo
Version: 3.22.0-1
Severity: important
Tags: upstream
Control: reassign -1 python3-gi-cairo,pyhton-gi-cairo

IMO this package is unusable, to the extent that I considered making the
severity "grave" rather than "important".

I say the API is unavailable because bindings for many important
functions, constants etc are either unimplemented or non-deducible and
undocumented (help(cairo) makes it look as if #640846 has returned with
a vengeance).

For example, I want to use cairo_image_surface_create_for_data(). This
doesn't seem to exist in python-gi. The similar function,
cairo_image_surface_create() can be found to exist with dir(cairo) but,
even if I did want to use that instead, I wouldn't be much better off
because I can't find any mapping for cairo_format_t, and
cairo.image_surface_create.get_arguments() returns an empty tuple.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-gi-cairo depends on:
ii  libc6                  2.24-3
ii  libcairo-gobject2      1.14.6-1+b1
ii  libcairo2              1.14.6-1+b1
ii  libgirepository-1.0-1  1.50.0-1
ii  libglib2.0-0           2.50.0-2
ii  python3                3.5.1-4
ii  python3-cairo          1.10.0+dfsg-5+b1
ii  python3-gi             3.22.0-1

python3-gi-cairo recommends no packages.

python3-gi-cairo suggests no packages.

-- no debconf information




More information about the pkg-gnome-maintainers mailing list