Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 7210 | Differences between
and this patch

Collapse All | Expand All

(-)html2ps-1.0b4.orig/html2ps (-2 / +13 lines)
Lines 26-33 Link Here
26
# Set the name of the global configuration file. See the installation notes
26
# Set the name of the global configuration file. See the installation notes
27
# and manual page for more details on configuration files.
27
# and manual page for more details on configuration files.
28
28
29
$globrc='/tmp/h/lib/html2ps/html2psrc';
29
$globrc='/etc/html2psrc';
30
$ug='/tmp/h/lib/html2ps/html2ps.html';
30
$ug='/usr/share/doc/html2ps.html';
31
31
32
$conf=<<'EOR';
32
$conf=<<'EOR';
33
@html2ps {
33
@html2ps {
Lines 478-483 Link Here
478
&pagedef;
478
&pagedef;
479
($pagew,$pageh)=split /\s+/, $AT_page{'size'} if(defined $AT_page{'size'});
479
($pagew,$pageh)=split /\s+/, $AT_page{'size'} if(defined $AT_page{'size'});
480
480
481
# try autoconfiguration (basing on paths known from packages)
482
eval "require Image::Magick"; $package{'PerlMagick'}=!$@;
483
$package{'ImageMagick'} = ( -x "/usr/bin/mogrify" );
484
$package{'pbmplus'} = ( -x "/usr/bin/giftoppm" );
485
$package{'netpbm'} = ( -x "/usr/bin/giftopnm" );
486
$package{'djpeg'} = ( -x "/usr/bin/djpeg" );
487
$package{'Ghostscript'} = ( -x "/usr/bin/gs" );
488
$package{'TeX'} = ( -x "/usr/bin/tex" );
489
$package{'dvips'} = ( -x "/usr/bin/dvips" );
490
eval "require LWP::UserAgent"; $package{'libwww-perl'}=!$@;
491
481
require Image::Magick if($package{'PerlMagick'});
492
require Image::Magick if($package{'PerlMagick'});
482
$geturl=$package{'geturl'};
493
$geturl=$package{'geturl'};
483
$ulanch="f";
494
$ulanch="f";
(-)html2ps-1.0b4.orig/html2ps.1 (-1 / +1 lines)
Lines 348-354 Link Here
348
348
349
.SH FILES
349
.SH FILES
350
.TP
350
.TP
351
/tmp/h/lib/html2ps/html2psrc
351
/etc/html2psrc
352
Global configuration file. See html2psrc(5).
352
Global configuration file. See html2psrc(5).
353
.TP
353
.TP
354
$HOME/.html2psrc
354
$HOME/.html2psrc
(-)html2ps-1.0b4.orig/html2psrc (+18 lines)
Line 0 Link Here
1
/* Global configuration file for html2ps */
2
3
@html2ps {
4
  package {
5
    path: "/usr/X11R6/bin:/usr/bin";
6
  }
7
  paper {
8
    type: A4;
9
  }
10
  hyphenation {
11
    en {
12
      file: "/usr/share/texmf/tex/generic/hyphen/hyphen.tex";
13
    }
14
    pl {
15
      file: "/usr/share/texmf/tex/generic/hyphen/plhyph.tex";
16
    }
17
  }
18
}

Return to bug 7210