Summary: | x11-misc/xdg-utils dev-perl/File-MimeInfo RDEPEND induces maybe-install of 20 packages | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | C.Blake <charlechaud> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | charlechaud, floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=353721 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
C.Blake
2025-01-07 05:27:47 UTC
Ok. So, I found gentoo bug 353721 by looking through the full from-CVS- through-git history (don't know why my searches didn't turn that up, but I did try). The pretty optional dependency comes through dev-perl/File-MimeInfo:mimeopen. This dependency *used* to be guarded "perl? ( dev-perl/File-MimeInfo )" added in 2012 by 3cb68fb44d671829e849eb5a41ff39eff4423c85 but that conditioning was dropped in the move from xdg-utils-1.1.2.ebuild to xdg-utils-1.1.2-r1.ebuild with a comment by Mike Gilbert: "Drop the 'perl' USE flag since it now becomes mostly useless" which also added 2 new perl packages *later* (i.e. now) made conditional on gnome. { I always hated gnome - *personally* I just wrote my own icon-less window manager 20 years ago and find most of this desktop stuff obscene bloat and provide my own ~/bin/xdg-open anyway and could probably just toss xdg-utils into a packages.provided, but the old 353721 suggests I am not alone at all in disapproving of unconditional pulling in of PerlVerse stuff, though I must confess "mostly useless" made me think of "mostly harmless" and smile :-) }. So, TLDR - this seems like an evolution of the ebuild which added several perl packages and so dropped perl? and then re-conditioned the extra packages but neglected restoring the "perl?" conditional. My new recommendation is thus to just reinstate the "perl?" USE condition for dev-perl/File-MimeInfo. (Honestly, you might want to mention "mimeopen" in a comment, too or at least "xdg-open" or possibly even the 353721 bug.) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec102ac52b8ea890181a29f36b9650d1abf44a3 commit 9ec102ac52b8ea890181a29f36b9650d1abf44a3 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2025-01-07 18:36:29 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2025-01-07 18:36:29 +0000 x11-misc/xdg-utils: reintroduce 'perl' USE flag Closes: https://bugs.gentoo.org/947658 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../{xdg-utils-1.2.1-r7.ebuild => xdg-utils-1.2.1-r8.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |