FS#62124 - [gimp] optdepends needs gvfs
Attached to Project:
Arch Linux
Opened by Adam Fontenot (amfontenot) - Sunday, 24 March 2019, 00:42 GMT
Last edited by Christian Hesse (eworm) - Thursday, 05 May 2022, 19:48 GMT
Opened by Adam Fontenot (amfontenot) - Sunday, 24 March 2019, 00:42 GMT
Last edited by Christian Hesse (eworm) - Thursday, 05 May 2022, 19:48 GMT
|
Details
Description:
gvfs package isn't in optdepends. Without gvfs, trying to open an image via File > Open Location fails with an error saying the location can't be mounted. After installing gvfs, it works as expected. Additional info: * gimp 2.10.8-1 * gvfs 1.40.0-1 As of Gimp 2.6, providing --without-gvfs when compiling would cause Gimp to fall back on other methods for downloading files. I was unable to determine from their documentation whether this is still the case. So two potential alternatives are (1) using --without-gvfs, or (2) adding a hard dependency on gvfs to make sure this function is working for all users. |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 05 May 2022, 19:48 GMT
Reason for closing: Fixed
Additional comments about closing: gimp 2.10.30-3
Thursday, 05 May 2022, 19:48 GMT
Reason for closing: Fixed
Additional comments about closing: gimp 2.10.30-3
This bug is still valid. I removed gvfs and that broke remote image loading. gvfs still isn't in optdepends, and that's all it would take to fix this bug... (or just add it to depends, maybe, if this is considered core functionality by GIMP).
Yes, the issue still exists for me. If I don't have the gvfs package installed, Gimp hangs when trying to open links from the web via File > Open Location. Actually, it seems to just hang for me. Perhaps Gimp also tries other methods for opening links, and you have one of those installed? In that case, an optdepends would still be needed here.
Step to reproduce the issue:
- open GIMP
- open a remote image via "File > Open Location" (e.g. [https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg?20070224000419])
- when you press "Open", nothing happens
(and running with "--verbose" switch via terminal, you get these two messages):
file_open_image: mounting remote volume failed, trying to downloadthe file: volume doesn’t implement mount
file_open_image: mounting remote volume failed, trying to downloadthe file: volume doesn’t implement mount
* The REAL problem is another: GIMP does not list `gvfs` as dependency [https://gitlab.gnome.org/GNOME/gimp/blob/gimp-2-10/INSTALL.in]; in fact, we do not have it (neither as optional)
** I suggest you to open a bug upstream [https://gitlab.gnome.org/GNOME/gimp/-/issues]
Unless the GIMP folks decide to remove gvfs as a dependency, we'll probably end up needing to add it anyway.
HTTP is obviously a core one. In fact, I found that the built in help (which you can open with F1) doesn't work without GVFS installed. I think that's a good case for us to make GVFS a hard dependency, since GIMP obviously anticipates a method for opening HTTP to be available.
On the other hand, if the error messages in GIMP are made clear enough, making it an optdepend might be sufficient for Arch. Either way, it's clear the status quo isn't desirable.
GIO is in fact in a *real* dependency (look for "GIO" in the INSTALL.in)
In this case, I don't see any drawback in adding `gvfs` as (optional?) dep here...
(Even if not all will be happy about it, because it drags a bunch of further packages away...)
So if a maintainer for this package can take the 30 seconds to add it to the dependencies, we can close this. :-)
Please consider making gvfs an optional, rather than hard, dependency.
+1.
Having gvfs, makes at least having undesirable Things. Like Trash, shows more devices in panel, spin-up disks (even when volume management is disabled)
+1 on this, gvfs brings too much baggage. I think it's acceptable to put it on optdepends with a scary message, and mention it on the wiki that gvfs is sort of required.
https://gitlab.gnome.org/GNOME/gimp/-/commit/83434f72236186059414dbdca0f03c92527e2688
"It's *not* a direct dependency and doesn't prevent GIMP from any of its
core logics, but HTTP is a used enough format nowadays that we want to
consider it as mandatory nowadays.
From what I know, `gvfs` might be for *Windows* only though. This would
explain issues we have with remote URL on other platforms."
Please remove gvfs dependency