Package Details: html2ps 1.0b7-8

Git Clone URL: https://aur.archlinux.org/html2ps.git (read-only, click to copy)
Package Base: html2ps
Description: An HTML to PostScript converter written in Perl.
Upstream URL: https://linux.die.net/man/1/html2ps
Licenses: GPL2
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 3
Popularity: 0.001004
First Submitted: 2019-04-06 15:58 (UTC)
Last Updated: 2020-05-24 20:48 (UTC)

Latest Comments

agowa commented on 2023-12-20 14:26 (UTC)

@sgerwk you either need to install texlive from AUR too, create a symlink from /usr/share/texmf to /usr/share/texmf-dist, or add a patch to this package so that it also looks within the texmf-dist package.

The file is the same (at most a different older/newer version), the texmf-dist folder exists to allow side by side installs of texlive-basic and other texlive packages from AUR as far as I'm aware.

sgerwk commented on 2020-05-25 12:35 (UTC)

Thanks, works (almost) fine now.

I have the hyphenation file in /usr/share/texmf-dist/tex/generic/hyphen/hyphen.tex that is, with texmf-dist instead of texmf. I don't know if this is something specific with the way I installed archlinux.

sgerwk commented on 2020-05-15 10:00 (UTC) (edited on 2020-05-15 10:02 (UTC) by sgerwk)

Does not work for me - I get this error:

Unimplemented: POSIX::tmpnam(): use File::Temp instead at /usr/bin/html2ps line 498.

Fixed as suggested:

--- a/src/html2ps-1.0b7/html2ps 2020-05-14 18:50:29.237441617 +0200
+++ b/src/html2ps-1.0b7/html2ps 2020-05-15 11:05:13.434238273 +0200
@@ -487,6 +487,7 @@
 $giftopm="giftopnm" if($package{'netpbm'});
 $giftopm="giftoppm" if($package{'pbmplus'});

+use File::Temp qw/ :POSIX /;
 for(keys %option){eval "\$opt_$_='$option{$_}' if(!defined \$opt_$_)"};
 die $usage if $opt_h;
 die "$version\n" if $opt_v;
@@ -495,7 +496,7 @@
  if($opt_D && !$package{'Ghostscript'});
 die "Ghostscript is required to generate cross references\n"
  if($opt_R && !$package{'Ghostscript'});
-$tmpname=$posix?POSIX::tmpnam():"h2p_$$";
+$tmpname=$posix?tmpnam():"h2p_$$";
 ($scr=$tmpname)=~/\w+$/;
 $tempdir=$`;