#12786 closed enhancement (fixed)
Cairo should allow building +quartz +atsui without X11 present
Reported by: | drernie@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | drernie@…, ryandesign (Ryan Carsten Schmidt) | |
Port: |
Description
Right now, the Cairo Portfile always requires xrender, and thus X11. When using the +quartz (and maybe +atsui) options, that should no longer be necessary. xrender should either become part of a (default) X11 variant, or be removed by +quartz.
I'd be happy to submit a patch if I knew which way was recommended.
Change History (5)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | drernie@… ryandesign@… added |
---|---|
Owner: | changed from macports-dev@… to ryandesign@… |
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 17 years ago by ernest@…
variant no_x11 require +quartz, +atsui {
depends_lib-delete port:xrender port:render configure.args-append --disable-xlib
}
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added +no_x11 variant in r29849. Thanks!
comment:5 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
Note: See
TracTickets for help on using
tickets.
+quartz and +atsui only add Quartz and ATSUI support, respectively, to the cairo port. They do not remove the xlib and freetype support, hence the X libraries are still required.
Default variants are buggy in MacPorts, so I don't want to use those.
If you can find a way to build cairo with Quartz and/or ATSUI support that doesn't require the X libraries, then the way to implement it would be a +no_x11 variant that turns off the X support. If you have a patch for that, I'd be happy to review it.