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.0b3.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='/usr/local/lib/html2ps/html2psrc';
29
$globrc='/etc/html2psrc';
30
$ug='/usr/local/lib/html2ps/html2ps.html';
30
$ug='@DOCDIR@/html2ps.html';
31
31
32
$conf=<<'EOR';
32
$conf=<<'EOR';
33
@html2ps {
33
@html2ps {
Lines 478-483 Link Here
478
print DBG "*****\n" if($opt_d);
478
print DBG "*****\n" if($opt_d);
479
&pagedef;
479
&pagedef;
480
($pagew,$pageh)=split /\s+/, $AT_page{'size'} if(defined $AT_page{'size'});
480
($pagew,$pageh)=split /\s+/, $AT_page{'size'} if(defined $AT_page{'size'});
481
482
# try autoconfiguration (basing on paths known from PLD packages)
483
eval "require Image::Magick"; $package{'PerlMagick'}=!$@;
484
$package{'ImageMagick'} = ( -x "/usr/X11R6/bin/mogrify" );
485
$package{'pbmplus'} = ( -x "/usr/bin/giftoppm" );
486
$package{'netpbm'} = ( -x "/usr/bin/giftopnm" );
487
$package{'djpeg'} = ( -x "/usr/bin/djpeg" );
488
$package{'Ghostscript'} = ( -x "/usr/bin/gs" );
489
$package{'TeX'} = ( -x "/usr/bin/tex" );
490
$package{'dvips'} = ( -x "/usr/bin/dvips" );
491
eval "require LWP::UserAgent"; $package{'libwww-perl'}=!$@;
481
492
482
require Image::Magick if($package{'PerlMagick'});
493
require Image::Magick if($package{'PerlMagick'});
483
$geturl=$package{'geturl'};
494
$geturl=$package{'geturl'};
(-)html2ps-1.0b3.orig/html2ps.1 (+3 lines)
Lines 348-353 Link Here
348
348
349
.SH FILES
349
.SH FILES
350
.TP
350
.TP
351
/etc/html2psrc
352
Global configuration file, see html2psrc(5).
353
.TP
351
$HOME/.html2psrc
354
$HOME/.html2psrc
352
User configuration file, see html2psrc(5).
355
User configuration file, see html2psrc(5).
353
.SH SEE ALSO
356
.SH SEE ALSO
(-)html2ps-1.0b3.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