Since cups-1.1.23-r3 it's now relying on xpdf, which ends up pulling in a lots of X related packages. I don't know why cups as a printing subsystem needs xpdf, but can't this dependency be removed ?
It's o.k. I can see the solution in #115286.
Actually, I've just tried.... USE="-motif" emerge -pu cups and it's still pulling in a lot of X stuff, so -motif doesn't work.
For possible solution without xpdf, see Bug 115863. No point in opening duplicate bugs over and over again. *** This bug has been marked as a duplicate of 115627 ***
You need both -X and -motif for xpdf to not pull in X.
Maybe xpdf shouldn't be made to depend on X and motif then ??
It doesn't, if you USE="-X -motif". There is no problem here, that I can see.
It does depend on X and motif, that's why it pulls them in, and that's the whole point of the USE flags. For normal situations it would be worthwhile xpdf not depending on X and motif as it obviously doesn't require them, and if X and motif are installed, then xpdf can use and build with that functionality enabled.
no, it's not worthwhile since the xpdf binary will only be build if you have USE=motif and that is what most people want. the end