Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find python bindings for pango and pangocairo #16

Open
MarkCallow opened this issue Sep 16, 2015 · 4 comments
Open

Cannot find python bindings for pango and pangocairo #16

MarkCallow opened this issue Sep 16, 2015 · 4 comments

Comments

@MarkCallow
Copy link

setup.py is looking for these. I can't find them on the net. The only hits suggest that they are included in pygtk but that hasn't been touched in 4 years - it recommends using PyGObject instead - and only seems to be installable on Windows. There is no indication that PyGObject includes these bindings.

I am trying to install shaape on OS X Yosemite.

Where can I find and how can I install these dependencies?

@251
Copy link

251 commented Sep 16, 2015

You can try some untested hacks patches of my branch: 251/shaape@bc8e07f

@christiangoltz
Copy link
Owner

I can confirm that I have the same problem and that the patch from above solves it for me. Using pygobject is recommended with gtk3 now, while some while ago I was using pygtk with gtk2. If you can confirm that it solves the issue for you, I will pull in the change.

@MarkCallow
Copy link
Author

I have only just been able to make time to try this. Unfortunately it does not work. I still get the error that some bindings, specifically the pango binding, could not be found.

What is the gi.repository? Is there something I need to do to make my python installation aware of it?

Ultimately what I want to do is generate SVG from the Ascii art input. In order to do that are all these cairo and pango dependencies really necessary? That is, is it possible to make a version of Shaape that can ony output SVG and does not have these dependencies? As far as I can see no drawing needs to be done to generate SVG; Shaape would merely be transforming its input language into another language, SVG.

@251
Copy link

251 commented Sep 18, 2015

What is the gi.repository?

That's from pygobject.

are all these cairo and pango dependencies really necessary

Yes.

input language into another language

Maybe: https://bitbucket.org/dhobsd/asciitosvg

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

No branches or pull requests

3 participants