Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918513 - x11-misc/pcmanfm-qt: multiple errors without gnome-base/gvfs installed
Summary: x11-misc/pcmanfm-qt: multiple errors without gnome-base/gvfs installed
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-25 11:37 UTC by A. Wilcox (awilfox)
Modified: 2024-02-23 16:55 UTC (History)
1 user (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 A. Wilcox (awilfox) 2023-11-25 11:37:39 UTC
Bug 681956 mentions adding a "trash" USE to lxqt-meta for the gvfs dependency.  This seems a bit inconvenient at best, and non-ergonomic at worst:


* One can use pcmanfm-qt as a file manager from any desktop, including KDE or i3, if they want.  It doesn't require LXQt.  Yet, pcmanfm-qt is what requires gvfs to show the Trash bin.

Proposed solution: add USE=trash to pcmanfm-qt and have lxqt-meta dev on pcmanfm-qt[trash?].


* It's not just the Trash bin that requires gvfs.  If you run pcmanfm-qt without gvfs and select the "Computer" place item from the sidebar (which should have things like root file system, mounted disks, etc), it shows "Operation not supported" and does not show any items.  Same with the "Network" place item.

Proposed solution: maybe gvfs should be an unconditional RDEPEND?  At least there should be a message about how pcmanfm-qt really wants gvfs for additional functionality, so this is discoverable for users.
Comment 1 A. Wilcox (awilfox) 2023-11-25 11:43:31 UTC
Note that I sympathise with not making it a required dep since there is a lot of gnome specific cruft pulled in for a computer that would nominally be running Qt software:

gwyn /var/db/repos/gentoo/x11-misc/pcmanfm-qt # emerge -av gvfs  

These are the packages that would be merged, in order:

Calculating dependencies      ... done!                            
Dependency resolution took 5.34 s.

[ebuild  N     ] app-crypt/argon2-20190702-r1:0/1::gentoo  USE="-static-libs" 1471 KiB
[ebuild  N     ] dev-util/gdbus-codegen-2.76.4::gentoo  PYTHON_SINGLE_TARGET="python3_11 -python3_10 (-python3_12)" 0 KiB
[ebuild  N     ] dev-libs/vala-common-0.56.8::gentoo  3901 KiB
[ebuild  N     ] dev-libs/botan-3.1.1:3/3.1::gentoo  USE="bzip2 zlib -boost -doc -lzma -python -sqlite -static-libs -test -tools -verify-sig" CPU_FLAGS_PPC="-altivec" PYTHON_TARGETS="python3_11 -python3_10 (-python3_12)" 8595 KiB
[ebuild  N     ] dev-lang/vala-0.56.8:0.56::gentoo  USE="-test -valadoc" 0 KiB
[ebuild  N     ] gnome-base/gsettings-desktop-schemas-44.0::gentoo  USE="introspection" 723 KiB
[ebuild  N     ] dev-libs/libgudev-238-r1::gentoo  USE="-introspection -test" 30 KiB
[ebuild  N     ] net-libs/libpsl-0.21.2::gentoo  USE="idn -icu -test" 7439 KiB
[ebuild  N     ] net-libs/glib-networking-2.76.1::gentoo  USE="ssl -gnome -libproxy -test" 275 KiB
[ebuild  N     ] app-crypt/p11-kit-0.25.0-r1::gentoo  USE="libffi nls -gtk-doc (-systemd) -test" 937 KiB
[ebuild  N     ] dev-qt/qtconcurrent-5.15.11:5/5.15::gentoo  USE="-debug -test" 0 KiB
[ebuild  N     ] dev-qt/qtnetwork-5.15.11:5/5.15::gentoo  USE="ssl -debug -gssapi -libproxy -sctp -test" 0 KiB
[ebuild  N     ] media-gfx/qrencode-4.1.1:0/4::gentoo  USE="-png -test" 451 KiB
[ebuild  N     ] dev-qt/qttest-5.15.11:5/5.15::gentoo  USE="-debug -test" 0 KiB
[ebuild  N     ] net-libs/libsoup-3.4.2:3.0::gentoo  USE="introspection ssl vala -brotli -gssapi -gtk-doc -samba (-sysprof) -test" 1500 KiB
[ebuild  N    ~] app-admin/keepassxc-2.7.6::gentoo  USE="network -X -autotype -browser -doc -keeshare -test -yubikey" 8276 KiB
[ebuild  N     ] virtual/secret-service-0::gentoo  0 KiB
[ebuild  N     ] app-crypt/libsecret-0.20.5-r3::gentoo  USE="crypt introspection (test-rust) vala -gtk-doc -test -tpm" 183 KiB
[ebuild  N     ] app-crypt/gcr-3.41.1-r2:0/1::gentoo  USE="introspection vala -gtk -gtk-doc (-systemd) -test" 1007 KiB
[ebuild  N     ] gnome-base/gvfs-1.50.6::gentoo  USE="archive http udev -afp -bluray -cdda -elogind -fuse (-gnome-online-accounts) (-google) -gphoto2 (-ios) -keyring -mtp -nfs -policykit -samba (-systemd) -test -udisks -zeroconf" 1202 KiB

Total: 20 packages (20 new), Size of downloads: 35984 KiB

Would you like to merge these packages? [Yes/No] 


And this was after setting package.use/gvfs to include:


app-crypt/gcr -gtk
net-libs/glib-networking -gnome -libproxy


Otherwise the list was even longer.  Also had to mask gnome-base/gnome-keyring so virtual/secret-service would pull in app-admin/keepassxc instead.
Comment 2 Chiitoo gentoo-dev 2024-02-23 16:55:46 UTC
There is already an 'optfeature' message if users don't have 'lxqt-meta' installed, though it does speak only of the trash feature.

The 'gnome-base/gnome-keyring' package is also mentioned via 'optfeature', but I don't think I was aware of 'app-admin/keepassxc' also satisfying that need.

Will need to give these some thought.

Thanks!