FS#73123 - [libguestfs] Remove excess dependencies

Attached to Project: Community Packages
Opened by janek (xeruf) - Thursday, 23 December 2021, 09:20 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 September 2023, 09:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Robin Broda (coderobe)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Why the heck does libguestfs depend on GRUB, not to mention all those other mandatory dependencies?
The AUR versions seem just fine with a lot fewer dependencies, and some of these really make no sense...

I want to move from GRUB to rEFInd but still use this tool, this should not be any hindrance.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 24 September 2023, 09:54 GMT
Reason for closing:  Deferred
Comment by shawn cresante (scres) - Friday, 18 March 2022, 21:59 GMT
vim also is an questionable dependency.
it would be better to change the dependency to vim-plugin-runtime for people who use neovim, if it's necessary at all.
Comment by Toolybird (Toolybird) - Monday, 11 July 2022, 06:06 GMT
(responding to dupe  FS#75288  here instead)

Unfortunately it's not quite as simple as that. libguestfs is kinda special in the way it constructs and uses an "appliance". The contents of the appliance are predetermined at libguestfs *build* time. I think vim is only included so that `virt-rescue' has an editor available in the rescue shell. So yeah, vim is not strictly necessary.

Anyway, it's not just vim. I think everyone agrees libguestfs pulls in way too many hard deps. You could always do what I do [1] and build your own package :) I'm trying to come up with a solution whereby folks can construct their own appliance (therefore choose their own deps) but I'm not there yet.

[1] https://gitlab.com/Toolybird/pkgbuilds/-/blob/main/libguestfs/PKGBUILD

Loading...