Package Details: muttprint 0.73_4-6

Git Clone URL: https://aur.archlinux.org/muttprint.git (read-only, click to copy)
Package Base: muttprint
Description: An app to print email from CLI mail clients, mutt in particular
Upstream URL: http://muttprint.sf.net
Keywords: email mutt print
Licenses: GPL
Submitter: None
Maintainer: jasonwryan
Last Packager: jasonwryan
Votes: 56
Popularity: 0.002631
First Submitted: 2006-01-07 14:55
Last Updated: 2019-12-12 05:01

Latest Comments

1 2 3 4 5 Next › Last »

misc commented on 2020-01-10 16:52

Uh… no idea how that happens.

convert: attempt to perform an operation not allowed by the security policy `gs' @ error/delegate.c/ExternalDelegateCommand/378.
convert: no images defined `BabyTuX.eps' @ error/convert.c/ConvertImageCommand/3273.

edit: Alright, after commenting out the line in /etc/ImageMagick-7/policy.xml it runs, but then errors out with "rm: cannot remove 'manual-de-sed.tmp': No such file or directory" (repeats same filename for .log/.aux/.tex./.out) and "dvips: DVI file can't be opened: manual-de-sed.dvi: No such file or directory".

jasonwryan commented on 2019-12-11 21:13

@hak thanks for the patch! I'll push a new version as soon as I have time.

hak commented on 2019-12-11 12:31

This is one way to allow optional papersave again.

--- a/muttprint 2019-12-11 11:03:42.000000000 +0100
+++ b/muttprint 2019-12-11 13:02:02.000000000 +0100
@@ -1635,7 +1635,9 @@
    open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";

    while (<AUX>) {
-       ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
+       if ( /\\newlabel\{LastPage}\{\{}\{(\d+)}}/ ) {
+           $numberOfPages = $1;
+       }
    }

    close AUX or fatalError "Could not close $auxfile:\n$!";

Without the if-statement the while-loop will empty $numberOfPages after the match.

hak commented on 2019-12-05 09:42

The regex.patch doesn't seem to be enough any longer, $numberOfPages is always empty and thus PAPERSAVE="optional" isn't working.

jasonwryan commented on 2019-11-26 20:37

@friday13 see the note on the top of the ImageMagick page: https://wiki.archlinux.org/index.php/ImageMagick

friday13 commented on 2019-11-26 13:28

patching file muttprint convert: attempt to perform an operation not allowed by the security policy gs' @ error/delegate.c/ExternalDelegateCommand/378. convert: no images definedBabyTuX.eps' @ error/convert.c/ConvertImageCommand/3273. ==> ERROR: A failure occurred in prepare(). Aborting... Error making: muttprint

jasonwryan commented on 2019-06-05 03:16

@trickyelf - should build now: thanks!

trickyelf commented on 2019-06-05 02:13

Building this currently fails for me. Should the package somehow know to extract the diff file automatically?

...
==> Validating source files with md5sums...
    muttprint-0.73.tar.gz ... Passed
    muttprint_0.73-4.diff.gz ... Passed
    regex.patch ... Passed
    two_edge.patch ... Passed
==> Extracting sources...
  -> Extracting muttprint-0.73.tar.gz with bsdtar
==> Starting prepare()...
/home/elf/aur/muttprint/PKGBUILD: line 27: /home/elf/aur/muttprint/src/muttprint_0.73-4.diff: No such file or directory
==> ERROR: A failure occurred in prepare().

benoliver999 commented on 2019-04-07 05:55

Struggling to get the build to work, getting the following:

/home/ben/.cache/yay/muttprint/PKGBUILD: line 25: 13329 Aborted                 (core dumped) convert -flop BabyTuX.eps BabyTuX.eps

Seems like ImageMagick is causing a core dump when flipping the eps file.

This happens on an old machine (x200), but not on a newer one. Anyone else getting this issue?

EDIT: Just a bad coincidence, works with ImageMagick 7.0.8-39 but was broken with 7.0.8-38. If you are having this error, upgrade ImageMagick.

jasonwryan commented on 2019-02-23 08:04

@lenormf you can just comment out the EPS variable in the policy file at /etc/IMageMagic-7/policy.xml. Apparently, the next version of IM will fix this.