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

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

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

benoliver999 commented on 2019-04-07 05:55 (UTC) (edited on 2019-04-07 21:05 (UTC) by benoliver999)

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

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

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

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

HamishTPB commented on 2018-03-20 03:38 (UTC)

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

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

I have set muttprint in my muttrc but I get the following error: Press any key to continue...cat: write error: Broken pipe