FS#55059 - [pass] xclip should be an optional dependency

Attached to Project: Community Packages
Opened by arc (arcnmx) - Sunday, 06 August 2017, 20:20 GMT
Last edited by Daniel M. Capella (polyzen) - Wednesday, 19 May 2021, 04:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No



The community/pass package currently depends on xclip for its copy-to-clipboard functionality. A CLI password manager probably shouldn't be bringing in mandatory Xorg dependencies; considering that it will only execute xclip if provided with the --clip flag I think it makes sense to downgrade it to an optional dependency instead.

Steps to reproduce:
* Have a headless system
* pacman -S pass
* It wants to bring in 20MB of X dependencies for a 50KB CLI package!
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Wednesday, 19 May 2021, 04:57 GMT
Reason for closing:  Implemented
Additional comments about closing:  https://github.com/archlinux/svntogit-co mmunity/commit/23201275529a4e03118e2b348 89c870fba30eb47#diff-3e341d2d9c67be01819 b25b25d5e53ea3cdf3a38d28846cda85a195eb9b 7203a
Comment by Felix Freeman (Hacktivista) - Wednesday, 19 August 2020, 12:28 GMT
I use Wayland, I don't use xclip