Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649570 - media-gfx/sane-frontends-1.0.14-r2 unnecessary dependency on gtk+ for headless servers
Summary: media-gfx/sane-frontends-1.0.14-r2 unnecessary dependency on gtk+ for headles...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-04 13:48 UTC by Luca Santarelli
Modified: 2018-03-04 21:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Santarelli 2018-03-04 13:48:32 UTC
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.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-03-04 13:55:30 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2018-03-04 20:05:00 UTC
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(-)}
Comment 3 Luca Santarelli 2018-03-04 21:58:34 UTC
Thank you very much for your quick and clean fix. :)