Package Details: muttprint 0.73_4-7

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: 61
Popularity: 0.196135
First Submitted: 2006-01-07 14:55 (UTC)
Last Updated: 2024-01-27 20:22 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

jasonwryan commented on 2024-03-05 21:01 (UTC)

@mindthegap I just built it in a clean chroot without docbook-sgml and it compiled without complaint.

mindthegap commented on 2024-03-05 08:35 (UTC)

I had to install 'docbook-sgml' to get it to build. Without it I got this error:

cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//EN"

which was produced by db2pdf -d ../stylesheet.dsl manual-de-sed.sgml.

captaincurrie commented on 2024-01-27 12:02 (UTC) (edited on 2024-01-27 12:03 (UTC) by captaincurrie)

Please add automake to list of dependencies

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: https://wiki.archlinux.org/index.php/ImageMagick

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