Package Details: muttprint 0.73_4-6

Git Clone URL: (read-only, click to copy)
Package Base: muttprint
Description: An app to print email from CLI mail clients, mutt in particular
Upstream URL:
Keywords: email mutt print
Licenses: GPL
Submitter: None
Maintainer: jasonwryan
Last Packager: jasonwryan
Votes: 61
Popularity: 0.98
First Submitted: 2006-01-07 14:55 (UTC)
Last Updated: 2019-12-12 05:01 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

dulice commented on 2020-12-11 18:12 (UTC) (edited on 2020-12-11 19:00 (UTC) by dulice)

@misc did you commented this line? <policy domain="delegate" rights="none" pattern="gs" />

this worked for me

misc commented on 2020-01-10 16:52 (UTC) (edited on 2020-01-10 17:04 (UTC) by misc)

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 (UTC)

@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 (UTC) (edited on 2019-12-11 12:36 (UTC) by hak)

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 (UTC)

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 (UTC)

@friday13 see the note on the top of the ImageMagick page:

friday13 commented on 2019-11-26 13:28 (UTC)

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 (UTC)

@trickyelf - should build now: thanks!

trickyelf commented on 2019-06-05 02:13 (UTC)

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().