--- Begin Message ---
Subject: |
[PATCH] gnu: LibreOffice: Fix GtkFileChooserDialog. |
Date: |
Sat, 29 Sep 2018 08:56:50 -0400 |
Without this, LibreOffice crashes on a foreign distro when the "file
open" dialog is launched. I think there *must* be a better solution but
until we identify it, we should fix the crash. I'm Currently building
this to test it.
* gnu/packages/libreoffice.scm (libreoffice)[arguments]: Add 'wrap-program'
phase.
---
gnu/packages/libreoffice.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 35d49b021..198d4a625 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1087,7 +1087,18 @@ converting QuarkXPress file format. It supports
versions 3.1 to 4.1.")
(mkdir-p (string-append out "/share/icons/hicolor"))
(copy-recursively "sysui/desktop/icons/hicolor"
(string-append out "/share/icons/hicolor")))
- #t)))
+ #t))
+ (add-after 'bin-and-desktop-install 'wrap-programs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (for-each (lambda (file)
+ (wrap-program file
+ `("GSETTINGS_SCHEMA_DIR" =
+ (,(string-append (assoc-ref inputs
"gtk+")
+
"/share/glib-2.0/schemas"))))
+ (find-files bin)))
+ #t))))
#:configure-flags
(list
"--enable-release-build"
--
2.19.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#30642: [bug#32872] [PATCH] gnu: LibreOffice: Fix GtkFileChooserDialog. |
Date: |
Tue, 04 Dec 2018 22:29:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Leo Famulari <address@hidden> skribis:
> On Sun, Sep 30, 2018 at 12:05:56AM +0200, Ludovic Courtès wrote:
>> You could mention <https://bugs.gnu.org/30642> in the log.
>
> Right, thanks.
This fix was pushed in 994bccd9443032141accede0e403cbfb62f6c63e,
closing!
Ludo’.
--- End Message ---