FS#59161 - [xdg-utils] file should be added as an optional dependency
Attached to Project:
Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Wednesday, 27 June 2018, 14:37 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 19 November 2019, 06:07 GMT
Opened by Chih-Hsuan Yen (yan12125) - Wednesday, 27 June 2018, 14:37 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 19 November 2019, 06:07 GMT
|
Details
Description:
In /usr/bin/xdg-mime, `file` is used to determine the MIME type of a given path under specific scenarios (line 724). As a result, it should be added as an optional dependency. Additional info: extra/xdg-utils 1.1.3-2 Steps to reproduce: 1. Make sure neither core/file nor extra/perl-file-mimeinfo is installed 2. `xdg-mime query filetype "$HOME"` is broken |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 19 November 2019, 06:07 GMT
Reason for closing: Fixed
Additional comments about closing: in preperation of transitional dependencies "file" let it beomce a true dependency due to "xdg-mime" heavily depending on it.
Tuesday, 19 November 2019, 06:07 GMT
Reason for closing: Fixed
Additional comments about closing: in preperation of transitional dependencies "file" let it beomce a true dependency due to "xdg-mime" heavily depending on it.
Reopening to point out that "file" is a direct dependency of the "base" metapackage, for the express reason that we require it to exist for scripting purposes (like, indeed, xdg-utils uses it). Of course, if you still want to include it, that is fine... but it's not strictly correct to say that it is needed due to the removal of the base group.
(Note also that the base metapackage depends on bash in order to guarantee that a POSIX /bin/sh exists.)