The recently stabilized 1.0.14-r2 ebuild has introduced a RDEPEND on gtk+ which brings in ~80 X related packages on a headless server. The dependency is unnecessary as previous ebuilds (1.0.14, no revisions) worked flawlessly without it installing only the scanadf command-line tool. penelope-3 /usr/portage/media-gfx/sane-frontends # qlist sane-frontends-1.0.14 /usr/share/misc/sane/sane-style.rc /usr/share/man/man1/scanadf.1.bz2 /usr/share/man/man1/xcam.1.bz2 /usr/share/man/man1/xscanimage.1.bz2 /usr/share/doc/sane-frontends-1.0.14/PROBLEMS.bz2 /usr/share/doc/sane-frontends-1.0.14/Changelog.bz2 /usr/share/doc/sane-frontends-1.0.14/README.bz2 /usr/share/doc/sane-frontends-1.0.14/NEWS.bz2 /usr/share/doc/sane-frontends-1.0.14/AUTHORS.bz2 /usr/bin/scanadf Please revert the dependency.
Previous ebuilds simply had an automagic dependency on gtk+2 so did not work particularly right. But it seems that configure.in provides --disable-guis and --disable-gtk2 switches that can be used for your request.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d42c14043e2edb5aca8da87b6f715b79d0204238 commit d42c14043e2edb5aca8da87b6f715b79d0204238 Author: Herb Miller Jr <herb@hlmjr.com> AuthorDate: 2018-03-04 16:23:42 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-03-04 20:04:38 +0000 media-gfx/sane-frontends: Make dev-libs/gtk+:2 optional Closes: https://bugs.gentoo.org/649570 Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7358 .../sane-frontends/sane-frontends-1.0.14-r3.ebuild | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62ce78230e93d740cf1395f9a855188884abd07a commit 62ce78230e93d740cf1395f9a855188884abd07a Author: Herb Miller Jr <herb@hlmjr.com> AuthorDate: 2018-03-04 16:23:42 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-03-04 20:04:39 +0000 media-gfx/sane-frontends: Add herbmillerjr as maintainer Bug: https://bugs.gentoo.org/649570 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-gfx/sane-frontends/metadata.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)}
Thank you very much for your quick and clean fix. :)