From: Norbert Preining Date: Sat, 23 Jan 2021 16:01:10 +0000 (+0900) Subject: fix-mu4e-msg2pdf-path X-Git-Tag: archive/raspbian/1.12.9-1+rpi1~1^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d02b9f86e9d263361dc625d519e613ffa8cb20d7;p=maildir-utils.git fix-mu4e-msg2pdf-path mu4e expects msg2pdf in some strange path, fix that also remove the reference to the build path See bug #760598 Gbp-Pq: Name fix-mu4e-msg2pdf-path --- diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index a4940c8..12595d8 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -54,9 +54,7 @@ Works for headers view and message-view." ;;; To PDF -(defvar mu4e-msg2pdf - (let ((exec-path (cons (concat mu4e-builddir "/toys/msg2pdf/") exec-path))) - (locate-file "msg2pdf" exec-path exec-suffixes)) +(defvar mu4e-msg2pdf "/usr/bin/msg2pdf" "Path to the msg2pdf toy.") (defun mu4e-action-view-as-pdf (msg) diff --git a/mu4e/mu4e-meta.el.in b/mu4e/mu4e-meta.el.in index 47d242d..fc4cf8a 100644 --- a/mu4e/mu4e-meta.el.in +++ b/mu4e/mu4e-meta.el.in @@ -2,7 +2,7 @@ (defconst mu4e-mu-version "@VERSION@" "Required mu binary version; mu4e's version must agree with this.") -(defconst mu4e-builddir "@abs_top_builddir@" +(defconst mu4e-builddir "IGNORED" "Top-level build directory.") (defconst mu4e-doc-dir "@MU_DOC_DIR@"