Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Pango backend bindings not being generated #40

Open
felixc opened this issue Feb 7, 2017 · 1 comment
Open

Pango backend bindings not being generated #40

felixc opened this issue Feb 7, 2017 · 1 comment

Comments

@felixc
Copy link

felixc commented Feb 7, 2017

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.

@EPashkin
Copy link
Member

EPashkin commented Feb 8, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants