Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622304 - sys-apps/fwupd: X requirement on headless systems
Summary: sys-apps/fwupd: X requirement on headless systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-20 14:22 UTC by Till Schäfer
Modified: 2021-12-06 15:33 UTC (History)
3 users (show)

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 Till Schäfer 2017-06-20 14:22:36 UTC
sys-apps/fwupd-0.9.4 depends on consolekit if USE="-systemd".

Is this really a hard dependency when not using systemd? I have a headless server and this dependency pulls in the complete X-server/gtk stack. 

If it is no hard dependency, fwupd have a consolekit use-flag.
Comment 1 Till Schäfer 2017-06-20 14:33:01 UTC
seems that is not the only path that pulls in X: 

!!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.
- x11-libs/gtk+-3.22.15::gentoo USE="cups introspection vim-syntax -X (-aqua) -broadway -cloudprint -colord -examples -test -wayland -xinerama"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( aqua wayland X )

  The above constraints are a subset of the following complete expression:
    any-of ( aqua wayland X ) xinerama? ( X )

(dependency required by "dev-libs/appstream-glib-0.6.8::gentoo" [ebuild])
(dependency required by "sys-apps/fwupd-0.9.2::gentoo" [ebuild])
(dependency required by "=fwupd-0.9.2" [argument])
Comment 2 Till Schäfer 2017-06-20 14:34:55 UTC
and there is also a sys-auth/polkit dependency ....
Comment 3 vmrespinoza 2018-08-27 18:26:21 UTC
I'm trying to help with this bug. I am trying to add fwupd without a graphical component to prevent pulling in tons of graphical dependencies. I have created a pull request for the appstream-glib gtk+ requirement:

https://github.com/gentoo/gentoo/pull/9670
Comment 4 Till Schäfer 2020-03-30 12:42:00 UTC
Any update here? 

fwupd is now also used to update harddrive firmware. it would be great to be usable on my headless server systems.
Comment 5 Larry the Git Cow gentoo-dev 2021-12-06 15:28:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5cec8b637ab3c5ed4fc4fa940b8ea4b27777858

commit c5cec8b637ab3c5ed4fc4fa940b8ea4b27777858
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-12-06 15:26:58 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-12-06 15:27:51 +0000

    sys-apps/fwupd: drop deps on cairo
    
    Since (U)EFI support was moved to sys-apps/fwupd-efi,
    these deps shouldn't be required anymore.
    
    Closes: https://bugs.gentoo.org/622304
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 sys-apps/fwupd/{fwupd-1.7.2.ebuild => fwupd-1.7.2-r1.ebuild} | 5 -----
 1 file changed, 5 deletions(-)
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2021-12-06 15:33:16 UTC
Please re-open/file a new bug if you believe that fwdup is still pulling in too many deps for servers/headless systems.