1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-13 04:35:56 +02:00

gnu: libreoffice: Fix ‘soffice’ in a pure environment.

* gnu/packages/libreoffice.scm (libreoffice)[arguments]: Refer to grep
and coreutils by absolute file name in the soffice launcher script.
This commit is contained in:
Tobias Geerinckx-Rice
2020-02-21 05:19:27 +01:00
parent dd6114dfc5
commit d5f344c987
+8
View File
@@ -1034,6 +1034,14 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.")
"solenv/gbuild/platform/unxgcc.mk")
(("/bin/sh") (which "sh")))
;; Use store references for strictly necessary commands,
;; but not for optional tools like gdb and valgrind.
(for-each (lambda (command)
(substitute* "desktop/scripts/soffice.sh"
(((format #f"~a " command))
(format #f "~a " (which command)))))
(list "dirname" "grep" "uname"))
;; GPGME++ headers are installed in a gpgme++ subdirectory, but
;; files in "xmlsecurity/source/gpg/" and elsewhere expect to
;; find them on the include path without a prefix.