sys icon indicating copy to clipboard operation
sys copied to clipboard

Pango backend bindings not being generated

Open felixc opened this issue 9 years ago • 1 comments

Pango comes with a few different backends that are structured as separate libraries, but are really part of the bigger project. In particular, there's libpangocairo, libpangoft2, and libpangoxft. No bindings are being generated for these.

The gir-files repository seems to contain all the necessary files (e.g. PangoFT2-1.0.gir), but the only bindings being produced are those defined in Pango-1.0.gir.

The conf/ directory includes gir-pango.toml, but it doesn't mention the related libraries, nor are there equivalent config files for them.

I'm willing to help out with this, but I don't really know how GIR or the generator system works. I poked at it for a bit with a cloned version of the base Pango config, but ran in to errors relating to the Freetype2 types they reference.

felixc avatar Feb 07 '17 23:02 felixc

Your right, PangoCairo-1.0.gir malformed, it don't contains <include name="freetype2" version="2.0"/> and uses it. We get this file directly from ubuntu distr and don't want apply any patches to gir-files repo. Others two seems look fine at first glance, but contains many unowned functions. Gir currently don't generate it in normal mode, so to get high level API its needed be added manually.

EPashkin avatar Feb 08 '17 04:02 EPashkin