Package Details: muttprint 0.73_4-3

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: 55
Popularity: 0.646139
First Submitted: 2006-01-07 14:55
Last Updated: 2016-05-05 02:03

Latest Comments

jasonwryan commented on 2016-05-05 02:04

@dtbaumann - thanks: added your patch

dtbaumann commented on 2016-05-04 06:15

Hi, it seems that the settings for duplex printing are mixed up. For papersave mode (two pages on one landscape sheet) the binding is short edge and vice versa.

--- a/muttprint 2016-05-04 08:00:34.253412690 +0200
+++ b/muttprint 2016-05-04 08:04:04.371149272 +0200
@@ -643,14 +643,14 @@
if ($Config{PAPERSAVE} eq "on") {
if ($useCups) {
$Config{PRINT_COMMAND} =~
- s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
+ s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
} else { # no cups
modifyPS("landscape");
}
} else { # no papersave
if ($useCups) {
$Config{PRINT_COMMAND} =~
- s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
+ s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
} else { # no cups
modifyPS("portrait");
}

cachereturn commented on 2016-02-18 18:19

Please change url=(http://muttprint.sf.net) -> url=http://muttprint.sf.net

makepkg is failing with error "url should not be an array."

awagner commented on 2013-10-17 18:52

@grudziar, I don't have the reference ready, but somewhere there are AUR guidelines saying that packages of the base-devel group can be presumed available on every AUR'ing computer and need not be specified in the depends...

grudziar commented on 2013-10-17 17:08

I had to manually install automake and autoconf on my machine. Apparently, they are not listed as dependencies, and without aclocal and autom4te build fails.

Anonymous comment on 2013-06-16 21:45

Bingo!
Thanks for sorting this out - much appreciated!

awagner commented on 2013-06-07 08:46

Updated. I had to recreate the diff file because there were changes to all the different languages' man Makefiles that had to be included. I hope it works now.

Anonymous comment on 2013-06-06 16:10

Just tried this, think there is a bit of a bug somewhere ...

The build almost gets to the end, then fails on the man page generation:

sed -e 's,##DOCDIR##,/usr/share/doc/muttprint,g' -e 's,##SHAREDIR##,/usr/share,g' -e 's,##BINDIR##,/usr/bin,g' -e 's,##SYSCONFDIR##,/usr/etc,g' -e 's,##TEMPDIR##,/tmp,g' -e 's,##LIBDIR##,/usr/lib,g' ./muttprint.pod > muttprint
pod2man --center="Muttprint Kurzanleitung" muttprint muttprint.1
muttprint around line 3: Non-ASCII character seen before =encoding in 'schöner'. Assuming ISO8859-1
POD document had syntax errors at /usr/bin/core_perl/pod2man line 71.

The following page seems to indicate at least someone knows about the bug:

https://launchpad.net/ubuntu/+source/muttprint/+changelog

I tried to edit the PKGBUILD and change the patch file version to 0.73_4 (and the associated hash so it verified), unfortunately although I can now see the "--utf-8" argument being passed to the pod2man command, it still fails with the same error.

Seems like the =encoding is in the wrong place in the man page file?

mbunkus commented on 2013-04-08 07:02

I'm receiving the following error message (I do have texlive-fontsextra installed):

Error: /undefined in /findfont
Operand stack:
Helvetica
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop --nostringval-- 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1852 1 4 %oparray_pop
Dictionary stack:
--dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:96/200(L)-- --dict:96/200(L)--
Current allocation mode is local
Current file position is 5719
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Error: /undefined in /findfont
Operand stack:
Helvetica
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop --nostringval-- 1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1852 1 4 %oparray_pop
Dictionary stack:
--dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:96/200(L)-- --dict:96/200(L)--
Current allocation mode is local
Current file position is 5719
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
convert: Postscript delegate failed `BabyTuX.eps': No such file or directory @ error/ps.c/ReadPSImage/836.
convert: no images defined `BabyTuX.eps' @ error/convert.c/ConvertImageCommand/3085.

awagner commented on 2013-03-17 13:35

You're right, Gregoire. I've fixed that and uploaded a new pkgrel.

Gregoire commented on 2013-03-17 13:29

Thank you very much.
I think the optional dependencies should be : texlive-fontsextra and not texlive-fontextra.

awagner commented on 2012-08-08 20:55

aline, the wiki ((https://wiki.archlinux.org/index.php/PKGBUILD#makedepends) says "The group base-devel is assumed already installed when building with makepkg . Members of base-devel should not be included in makedepends arrays." So I did not.

awagner commented on 2012-08-08 20:54

aline, the [url=https://wiki.archlinux.org/index.php/PKGBUILD#makedepends]wiki[/url] says "The group [url=https://www.archlinux.org/groups/i686/base-devel/]base-devel[/url] is assumed already installed when building with makepkg . Members of base-devel should not be included in makedepends arrays."

(I hope the syntax is not going to be munged. Anyway, here goes...)

Anonymous comment on 2012-08-08 19:42

It needs 'automake' and 'autoconf' as makedepends.

awagner commented on 2010-12-17 17:54

updated. debian patches now include the tmpdir fix. Thanks for the notification.

Anonymous comment on 2010-12-17 14:59

404: http://ftp.debian.org/debian/pool/main/m/muttprint/muttprint_0.73_2/_/-}.diff.gz

awagner commented on 2010-12-06 09:12

I have sourced the patch from gentoo's bugtracker now. It doesn't show in the file list above, but it does when you look into the PKGBUILD. Thanks for the suggestion, R.Daneel.

Anonymous comment on 2010-12-06 03:01

Your tarball has some issues. AUR guidelines suggest to not include binaries. Such as:
muttprint/no_tmp_path.diff.gz
Try to find sources for the binaries instead of embedding them. Besides, what is the point to tarballing already compressed files? Please correct this.

Anonymous comment on 2010-07-30 14:24

yes - thanks, that did it - a lot of trouble for packaging a little perl script, but it does do a nice job

awagner commented on 2010-07-30 14:03

@jeremdow: I've added the patch. Can you try if it works this way?

Anonymous comment on 2010-07-29 21:29

I installed this earlier today, but was running into the same issue reported here - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551543

I see recent comments - am I the only one with this this problem?

Anyway, the patch at the end of that thread solved it - and I have a modified PKGBUILD with the new patch if you want it.

awagner commented on 2010-07-27 11:42

How embarrassing. I've now changed buildepends to makedepends. Thanks for the hint, rscholer.

rscholer commented on 2010-07-27 11:35

The Array builddepends needs to be renamed to makedepends, otherwise imagemagick won't be installed.

awagner commented on 2010-07-26 07:35

new PKGBUILD with builddepends, thanks ejstacey.

ejstacey commented on 2010-07-20 03:36

This required imagemagick, for the `convert` command. Without it, the build failed.

ejstacey commented on 2010-07-20 03:36

This required imagemagick, for the `convert` command. Without it, the build failed.

awagner commented on 2010-07-05 10:28

Phew. After hours of messing around with the release and the debian patches, I've managed to get a working PKGBUILD. I hope muttprint won't change much, but if it does, please anyone be so kind to notify me, as I have not subscribed to any release info etc. Thx.

Anonymous comment on 2010-07-03 12:58

Sorry, that release was only in sourceforge and not in the official web page, so I missed it. Moreover I am fed up with the unusual and uncomfortable packaging method of muttprint, so I orphan it and you can update it

misc commented on 2010-07-03 08:00

0.73 has been released as of 2008-12-26.

This also fixes a symlink vulnerability:
http://muttprint.svn.sourceforge.net/viewvc/muttprint?view=revision&revision=236

misc commented on 2010-07-03 07:58

0.73 has been released as of 2008-12-26.