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

cairo2-pango dependency on lablgtk #21

Open
Armael opened this issue Apr 18, 2020 · 2 comments
Open

cairo2-pango dependency on lablgtk #21

Armael opened this issue Apr 18, 2020 · 2 comments

Comments

@Armael
Copy link

Armael commented Apr 18, 2020

I'm using cairo2-pango (in combination with cairo2, but that's it). Currently, cairo2-pango brings all of lablgtk as a dependency, which is a bit unfortunate. If I understand correctly, this is because because lablgtk binds bits of pango itself, and indeed, I'm using some functions from lablgtk's Pango module.

How hard would it be to make the dependencies of cairo2-pango more lightweight, possibly by separating the pango bindings from the rest of lablgtk?

@Armael
Copy link
Author

Armael commented Apr 18, 2020

I've seen that there's also some coordination effort happening between cairo2 and lablgtk for lablgtk3, but I don't know whether that would be related to this issue?

@Chris00
Copy link
Owner

Chris00 commented Sep 27, 2020

The pango module needs to be split from the lablgtk package to enable a finer grained dependency. Please open an issue explaining your aim on the lablgtk tracker and let's see what happens from there.

gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Oct 16, 2020
cairo2 should not depend on labltk2:
Chris00/ocaml-cairo#21
Follow Debian with patching out the lablgtk2 dependency:
https://salsa.debian.org/ocaml-team/ocaml-cairo2/-/blob/master/debian/patches/ignore-gtk-and-pango
Also add the Debian patch for the tests, however the tests still
fail.

Closes: https://bugs.gentoo.org/748546
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Mark Wright <[email protected]>
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

2 participants