Ticket #12787 (closed enhancement: fixed)
Allow Pango to be built without X11
| Reported by: | drernie@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.0 |
| Keywords: | Cc: | drernie@…, ryandesign@… | |
| Port: |
Description
Although Pango was originally intended for GNOME and X11, it is now quite flexible, and can work with Cairo as its back-end renderer (even on non-X11) systems. Thus, I would request dropping the "libX11" and "Xft2" dependencies, or making them part of a "+x11" variant. As far as I can tell, Pango itself is happy without them being present.
Change History
comment:1 Changed 6 years ago by ryandesign@…
- Cc drernie@…, ryandesign@… added
- Owner changed from macports-dev@… to ryandesign@…
comment:2 Changed 6 years ago by ryandesign@…
Currently, the files installed by pango on my system do require Xft2 and libX11. Perhaps this would change if I installed a version of cairo which did not require X. I'll wait for a solution to #12786 before dealing with this ticket.
comment:3 Changed 6 years ago by ernest@…
Solution to #12786 posted there. For this:
variant no_x11 {
depends_lib-delete lib:libX11.6:XFree86 port:Xft2
configure.args-append --without-x
}

