[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: xournalpp: Fix path to addr2line binary.
From: |
guix-commits |
Subject: |
02/07: gnu: xournalpp: Fix path to addr2line binary. |
Date: |
Mon, 7 Sep 2020 02:49:33 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 226bb93494377054614f0d212c2930aef4ff0cf0
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Sep 6 17:27:54 2020 +0200
gnu: xournalpp: Fix path to addr2line binary.
* gnu/packages/pdf.scm (xournalpp)[arguments]: Add phase substituting path
of
addr2line utility.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/pdf.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 7649bff..4c11111 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -848,6 +848,14 @@ using a stylus.")
(for-each (lambda (po) (chmod po #o666))
(find-files "." "\\.po$"))
#t))
+ ;; Fix path to addr2line utility, which the crash reporter uses.
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/util/Stacktrace.cpp"
+ ;; Match only the commandline.
+ (("\"addr2line ")
+ (string-append "\"" (which "addr2line") " ")))
+ #t))
(add-after 'install 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(native-inputs
- branch master updated (098593e -> 45231d1), guix-commits, 2020/09/07
- 01/07: gnu: libhandy: Update to 0.91.0., guix-commits, 2020/09/07
- 03/07: gnu: libsass: Update to 3.6.4., guix-commits, 2020/09/07
- 02/07: gnu: xournalpp: Fix path to addr2line binary.,
guix-commits <=
- 04/07: gnu: coq-equations: Update 1.2.1-8.10-2., guix-commits, 2020/09/07
- 05/07: gnu: emacsy-minimal: Update to v0.4.1-31-g415d96f., guix-commits, 2020/09/07
- 07/07: gnu: guile-pfds: When using Guile 3, compile as a r6rs library., guix-commits, 2020/09/07
- 06/07: gnu: g-golf: Update to 0.1.0-822.84e894e., guix-commits, 2020/09/07