diff options
author | John Kehayias <john.kehayias@protonmail.com> | 2023-12-16 23:14:56 -0500 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-12-16 23:14:56 -0500 |
commit | 17c3a3bfff150a42c904233fa39818d73c9f68f3 (patch) | |
tree | a7614b7cd9a7106ea59f5ac1caad0c2c496b3a45 /gnu/packages/password-utils.scm | |
parent | f5493629e2650c0d30caf0f01f76b2383f78b9de (diff) | |
parent | fe86819d8bde674766659c22b215d3a689a8026e (diff) |
Merge branch 'master' into mesa-updates
Change-Id: I0c6e2410c51335c68634738be030e374f5b492e9
Diffstat (limited to 'gnu/packages/password-utils.scm')
-rw-r--r-- | gnu/packages/password-utils.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 385bd64985..4099f23098 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -168,6 +168,25 @@ human.") #~(list "-DWITH_XC_DOCS=NO"))) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'record-clipboard-programs + (lambda* (#:key inputs #:allow-other-keys) + ;; Record the file names of clipboard programs invoked by + ;; 'keepassxc-cli clip' and similar. + ;; + ;; Note: Use 'QString::fromUtf8' rather than 'QStringLiteral' so + ;; that the store reference is stored as ASCII instead of + ;; UTF-16, which would be invisible to the GC's scanner. + (substitute* "src/cli/Utils.cpp" + (("QStringLiteral\\(\"xclip\"\\)") + (string-append + "QString::fromUtf8(\"" + (search-input-file inputs "bin/xclip") + "\")")) + (("QStringLiteral\\(\"wl-copy\"\\)") + (string-append + "QString::fromUtf8(\"" + (search-input-file inputs "bin/wl-copy") + "\")"))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? @@ -199,6 +218,8 @@ human.") qtx11extras quazip-0 ; XC_KEESHARE readline + wl-clipboard ;for 'wl-copy' + xclip ;for 'xclip' yubikey-personalization ; XC_YUBIKEY zlib)) (home-page "https://keepassxc.org") |