Package Details: muttprint 0.73_4-4

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

Latest Comments

1 2 3 4 Next › Last »

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.

lenormf commented on 2019-02-23 07:33

Got the following errors, during the preparation phase:

convert: attempt to perform an operation not allowed by the security policy `EPS' @ error/constitute.c/IsCoderAuthorized/408.
convert: no images defined `BabyTuX.eps' @ error/convert.c/ConvertImageCommand/3300. 

To work around that, I ran convert -debug configure logo: null: to find out where ImageMagick gets the user policy from, then copied the system one to there:

$ convert -debug configure logo: null:
$ mkdir ~/.config/ImageMagick
$ cp /etc/ImageMagick-7/policy.xml ~/.config/ImageMagick

There's a line in that file that prevents the convertion:

<policy domain="coder" rights="none" pattern="{PS,PS2,PS3,EPS,PDF,XPS}" />

Replace none by all, install the package, remove the ~/.config/ImageMagick directory.

jasonwryan commented on 2018-03-20 20:50

@HamishTPB Have you openend a bug report upstream? I'm reluctant to patch in perpetuity...

HamishTPB commented on 2018-03-20 03:38

There seems to be a typo in the default settings file /etc/Muttprintrc

PRINT_COMMAND="lpr -P$PRINTER"

should be

PRINT_COMMAND="lpr -p$PRINTER"

If you do not override the system-wide config with your own then this will bring up the error:

Press any key to continue...cat: write error: Broken pipe

The uppercase "P" is listed as paper size in the man page where lowercase "p" is the printer name.

robb commented on 2016-12-21 19:46

> I have set muttprint in my muttrc but I get the following error:
> Press any key to continue...cat: write error: Broken pipe
I had the same issue. I was able to debug the problem a bit without involving mutt, by doing just "cat file | muttprint". This returned the following error:
lpr: The printer or class does not exist.

Which seems odd since the lpq command knows the printer, it returns:
"hpc_5180 is ready". And echo $PRINTER returns: "hpc_5180"

Anyway I was able to (mutt)print successfully by adding the following to my muttrc file:
set print_command="muttprint -P A4 -p $PRINTER"

(It seems that it should also be possible to set the printer via a muttprintrc file. See the muttprint manual page.)

Shibumi commented on 2016-12-16 19:00

I have set muttprint in my muttrc but I get the following error:

Press any key to continue...cat: write error: Broken pipe

jasonwryan commented on 2016-05-05 02:04

@dtbaumann - thanks: added your patch