elegant deps for a gtk theme?

Daniel J. Luke dluke at geeklair.net
Tue Feb 27 20:03:10 UTC 2018


On Feb 27, 2018, at 2:48 PM, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
> I could registry check for gtk2, and install gtk2-murrine if someone already has gtk2 installed, I guess.

Don't do this.

You want an install invocation to do the same thing everywhere.

> Or - perhaps best? - just list gtk2, gtk3, ang gtk2-murrine all as lib deps, and install them all. Then nothing can go wrong.

That's one option.

Another would be to use variants for this (maybe a default gtk3 variant and an optional gtk2 one?)

-- 
Daniel J. Luke





More information about the macports-dev mailing list