[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/15: gnu: libreoffice: Fix ‘soffice’ in a pure environment.
From: |
guix-commits |
Subject: |
13/15: gnu: libreoffice: Fix ‘soffice’ in a pure environment. |
Date: |
Fri, 21 Feb 2020 12:39:46 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit d5f344c987c8cc7b597e938c22e02edf1c4335f3
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Fri Feb 21 05:19:27 2020 +0100
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.
---
gnu/packages/libreoffice.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 04477e2..b2f1898 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -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.
- 03/15: gnu: rust-yaml-rust: Use HTTPS home page., (continued)
- 03/15: gnu: rust-yaml-rust: Use HTTPS home page., guix-commits, 2020/02/21
- 01/15: gnu: calibre: Use HTTPS home page., guix-commits, 2020/02/21
- 02/15: gnu: grisbi: Use HTTPS home page., guix-commits, 2020/02/21
- 05/15: gnu: python-sympy: Use HTTPS home page., guix-commits, 2020/02/21
- 07/15: gnu: ghc-splitmix: Use HTTPS home page., guix-commits, 2020/02/21
- 06/15: gnu: rust-tempfile: Use HTTPS home page., guix-commits, 2020/02/21
- 08/15: gnu: proj: Update home page., guix-commits, 2020/02/21
- 14/15: gnu: Update fprintd home pages., guix-commits, 2020/02/21
- 12/15: gnu: containerd: Use HTTPS home page., guix-commits, 2020/02/21
- 09/15: gnu: python-pycrypto: Update home page., guix-commits, 2020/02/21
- 13/15: gnu: libreoffice: Fix ‘soffice’ in a pure environment.,
guix-commits <=
- 04/15: gnu: emacs-rotate-text: Use HTTPS home page., guix-commits, 2020/02/21
- 11/15: gnu: openh264: Use HTTPS home page., guix-commits, 2020/02/21
- 10/15: gnu: scons: Use HTTPS home page., guix-commits, 2020/02/21
- 15/15: gnu: libfprint, fprintd: Update to 1.90.1., guix-commits, 2020/02/21