Created attachment 206297 [details]
Optionfy hbview, the cairo utility.
Harfbuzz has the hbview utilitiy. This utility it the sole user of cairo, which pulls in a number of X libraries. This is undesired, for example the ImageMagick nox11 ports. Optionfy this utility with the default to off to don't have this dependancy anymore.
My own mini poudriere build didn't show any problems, but just to be sure nothing depends on it indirectly.
Assign to portmgr@ for exp-run.
Can hb-view option be enabled by default? Small utilities provided by a library are sometimes useful to test its features or bugs. Given that nox11 is a non-default setup, I don't think we should change the default if nox11 is the only one needing the change.
What your saying is true, but I rather not enable it by default. The hbview utility requires cairo, which in turn brings in X and mesa-libs. Which kind of just a lot for just this utility and harfbuzz doesn't require it itself.
I could turn it into a sub-package like was done with the harfbuzz-icu library, which should work for both our cases then.
Exp-run looks fine, but I think this doesn't change anything in the dependency chain (gkt20 depends on cairo through pango)
(In reply to Koop Mast from comment #3)
Yes, I think it is fine to move it to a separate package.