mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-24 19:27:44 +01:00
gnu: libreoffice: Fix password encryption issue.
Fixes <https://issues.guix.gnu.org/59292>. * gnu/packages/libreoffice.scm (libreoffice) [phases]: Add a augment-LD_LIBRARY_PATH phase.
This commit is contained in:
parent
c7e3617cf2
commit
9f21ca83a8
1 changed files with 12 additions and 0 deletions
|
@ -934,6 +934,18 @@ (define-public libreoffice
|
||||||
(lambda _
|
(lambda _
|
||||||
(mkdir-p "external/tarballs")
|
(mkdir-p "external/tarballs")
|
||||||
(copy-file #$dtoa "external/tarballs/dtoa-20180411.tgz")))
|
(copy-file #$dtoa "external/tarballs/dtoa-20180411.tgz")))
|
||||||
|
(add-after 'unpack 'augment-LD_LIBRARY_PATH
|
||||||
|
;; Without this, the nsscrypto_initialize procedure in
|
||||||
|
;; nssinitializer.cxx silently fails to load libnssckbi.so, which
|
||||||
|
;; causes password encryption to also silently fail (see:
|
||||||
|
;; https://bugs.documentfoundation.org/show_bug.cgi?id=153714).
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "desktop/scripts/soffice.sh"
|
||||||
|
(("^exec .*oosplash.*" anchor)
|
||||||
|
(string-append "export LD_LIBRARY_PATH="
|
||||||
|
(search-input-directory inputs "lib/nss")
|
||||||
|
"${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}\n"
|
||||||
|
anchor)))))
|
||||||
(add-before 'configure 'prepare-src
|
(add-before 'configure 'prepare-src
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute*
|
(substitute*
|
||||||
|
|
Loading…
Reference in a new issue