On 27/01/2026 12:33, Thomas Klausner wrote:
Hi!
The cairo package has an xcb option. When it's enabled, it also
does everything the x11 option does.
This is a problem if you want to turn off x11 with '-x11' in the
options - if you don't turn off xcb as well, nothing happens.
I'm not quite sure why xcb even is a separate option. So here are
proposals:
1. Merge the xcb option into the x11 option (effectively removing it),
or
2. Make it an error to enable the xcb option while the x11 option is
disabled.
I had a quick look at the pkgsrc code and the cairo docs. The latter was unhelpful.
The xcb option seems to be a strict superset of the x11 option.If someone has explicitly turned off x11 but the default of xcb effectively forces it back on (as the comment says "XCB implies X11") then that's a rake waiting to be stepped on.
I'm inclined to make it error out, but Greg's idea of ignoring the xcb option does also seem to be suitably rake free.
Ngā mihi, Lloyd