FS#67520 - [kio-extras] consider making more dependencies optional

Attached to Project: Arch Linux
Opened by Martin Sandsmark (sandsmark) - Friday, 07 August 2020, 13:55 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 27 August 2020, 18:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

since kio-extras is just a bunch of plugins, it's generally safe to make dependencies optional instead of hard (like a lot of them are already).

more or less all of them could be optional, but the biggest are probably kactivities-stats (which I don't think most people use outside of a full plasma desktop setup) and smbclient/kdsoap-ws-discovery-client (both just for samba support). I've tested and things run just fine without them installed (though obviously e. g. manually entering 'smb://' in dolphin fails).

more of a suggestion, feel free to close this if you don't think it's a good idea.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 27 August 2020, 18:55 GMT
Reason for closing:  Implemented
Additional comments about closing:  kio-extras 20.08.0-1
Comment by Antonio Rojas (arojas) - Saturday, 08 August 2020, 08:09 GMT
I suppose openexr and kpty could be made optional, since comic books and EXR are not so popular formats. kactivities-stats too, I don't think anybody will need the recently used kioslave if they're not using Plasma. exiv2 isn't actually used for almost 4 years (!). Not so sure about smb - it's a very common protocol and I anticipate users filing bug reports if it suddenly stops working out of the box.
Comment by Martin Sandsmark (sandsmark) - Sunday, 09 August 2020, 14:23 GMT
Fair point about samba, dolphin doesn't display the most useful error when it fails to load a kioslave (and I guess not everyone reads the list of optional deps religiously).

also, about the recently used, there's several different "recently used" things in KDE, and I think the kactivities-stats is more or less useless outside of a plasma setup (at least until the guy I don't remember the name of finish up the work of merging in the normal recently used information into activities).

Loading...