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>
This commit is contained in:
parent
ff4260d2ba
commit
226bb93494
@ -848,6 +848,14 @@ using a stylus.")
|
|||||||
(for-each (lambda (po) (chmod po #o666))
|
(for-each (lambda (po) (chmod po #o666))
|
||||||
(find-files "." "\\.po$"))
|
(find-files "." "\\.po$"))
|
||||||
#t))
|
#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
|
(add-after 'install 'glib-or-gtk-wrap
|
||||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
Loading…
Reference in New Issue
Block a user