debian/0000755000000000000000000000000011633506746007201 5ustar debian/control0000644000000000000000000000521611633506746010610 0ustar Source: html2ps Section: text Priority: optional Maintainer: Rafael Cunha de Almeida Build-Depends: debhelper (>= 7), cdbs Vcs-git: http://rafael.kontesti.me/debian/html2ps/html2ps.git Standards-Version: 3.9.2 Package: html2ps Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, perlmagick, libwww-perl, libhtml-parser-perl, libpaper-utils Suggests: ghostscript, weblint-perl, texlive-base, postscript-viewer, xhtml2ps Homepage: http://user.it.uu.se/~jan/html2ps.html Description: HTML to PostScript converter This program converts HTML directly to PostScript. The HTML code can be retrieved from one or more URLs or local files, specified as parameters on the command line. A comprehensive level of HTML is supported, including inline images, CSS 1.0, and some features of HTML 4.0. . This is our justification for the suggests list: . We suggest ghostscript since it is required in order to output DSC compliant PS (--dsc option) and make cross references at links within the set of converted documents (--xref option). . We suggest weblint-perl because it's the default method for checking HTML syntax (use the -c option). . We suggest texlive-base because we need TeX hyphenation pattern in order to hyphenate text (use -H option). . We suggest postscript-viewer because this package generates postscripts that can be viewed on a postscript-viewer. . We suggest xhtml2ps because it's a interesting graphical interface for this package. Package: xhtml2ps Architecture: all Depends: ${misc:Depends}, html2ps (= ${binary:Version}), tk8.3 | wish Suggests: weblint-perl, mime-support, postscript-viewer, lpr Enhances: html2ps Homepage: http://user.it.uu.se/~jan/html2ps.html Description: HTML to PostScript converter (Tcl/Tk GUI frontend) This program converts HTML directly to PostScript. The HTML code can be retrieved from one or more URLs or local files, specified as parameters on the command line. A comprehensive level of HTML is supported, including inline images, CSS 1.0, and some features of HTML 4.0. . This package provides an (outdated) GUI frontend to the html2ps converter. . This is our justification for the suggests list: . We suggest weblint-perl because it is the default method for checking HTML syntax (see Operations | Preferences). . We suggest lpr because it is the default printing command (see Operations | Preferences). . We suggest mime-support because see is the default command used to open the postscript viewer (see Operations | Preferences). . We suggest postscript-viewer because this package generates postscripts which can be viewed with postscript-viewer (see Operations | Preferences). debian/xhtml2ps.menu0000644000000000000000000000015311515147316011640 0ustar ?package(xhtml2ps):needs="X11" section="Applications/Text"\ title="Xhtml2ps" command="/usr/bin/xhtml2ps" debian/html2ps.docs0000644000000000000000000000002411515147316011431 0ustar html2ps.html README debian/xhtml2ps.docs0000644000000000000000000000003011515147316011616 0ustar contrib/xhtml2ps/README debian/patches/0000755000000000000000000000000011622006246010614 5ustar debian/patches/always_require_posix.patch0000644000000000000000000000062511617331275016125 0ustar Last-Update: 2011-08-06 Description: Always require posix diff --git a/html2ps b/html2ps index 18d4d4d..2876275 100755 --- a/html2ps +++ b/html2ps @@ -353,8 +353,8 @@ A:link, HR { color: black } EOR -eval "require POSIX"; -$posix = !$@; +use POSIX; +$posix = 1; %extend=('quote',1, 'font',1, 'colour',1, 'hyphenation',1); %fal=("serif","times", "sans_serif","helvetica", "monospace","courier"); debian/patches/DSC_to_dsc.patch0000644000000000000000000000150111617331404013577 0ustar From: Nigel Jones Last-Update: 2005-05-29 Description: DSC renamed to dsc This is patch fixes #176012 and #76569 diff --git a/html2ps b/html2ps index 66c1bfb..aea859e 100755 --- a/html2ps +++ b/html2ps @@ -379,7 +379,7 @@ $version="html2ps version 1.0 beta7"; $opts="2|b:|c|C:|d|D|e:|f:|F|g|h|H|i:|k:|l:|L|m:|M:|n|N:|o:|O|r:|R|s:|S:|t|T|" ."u|U|v|W:|x:"; %optalias=( 'twoup','2', 'base','b', 'check','c', 'toc','C', 'debug','d', - 'DSC','D', 'encoding','e', 'rcfile','f', 'frame','F', 'grayscale','g', + 'DSC','D', 'dsc','D', 'encoding','e', 'rcfile','f', 'frame','F', 'grayscale','g', 'help','h', 'hyphenate','H', 'scaleimage','i', 'cookie','k', 'language','l', 'landscape','L', 'scalemath','m', 'mainchapter','M', 'number','n', 'startno','N', 'output','o', 'original','O', 'rootdir','r', 'xref','R', debian/patches/remove_latin1_char.patch0000644000000000000000000000174311617303055015406 0ustar From: Florian Ernst Last-Update: 2011-08-06 Description: Replace latin1 character to proper troff syntax Bokmål was spelled using a latin1 character. It was changed to use troff's syntax instead. That way we keep the manpage encoding agnostic. Index: html2ps-1.0b7/html2psrc.5 =================================================================== --- html2ps-1.0b7.orig/html2psrc.5 2011-01-10 02:41:56.000000000 -0200 +++ html2ps-1.0b7/html2psrc.5 2011-01-10 02:44:39.000000000 -0200 @@ -725,7 +725,7 @@ Language specific quotation marks are defined in this block. These quotation marks are used with the HTML 4.01 element Q for short quotations. Quotation marks are predefined for a few languages (English, -Swedish, Danish, Norwegian (also Nynorsk and Bokmål), Finnish, Spanish, +Swedish, Danish, Norwegian (also Nynorsk and Bokm\(oal), Finnish, Spanish, French, German and Italian). It is possible to define different quotation marks for quotes within quotes. .PP debian/patches/fix_ps.patch0000644000000000000000000000073111617310067013131 0ustar diff --git a/html2ps b/html2ps index aea859e..ba6bf3b 100755 --- a/html2ps +++ b/html2ps @@ -1608,7 +1608,6 @@ $defs$fontdef$reenc Fi cH 1 eq and{fill}if} {Bz 0 RL 0 Bz RL Bz neg 0 RL 0 Bz neg RL Fi cH 1 eq and{fill}if} {0 -5 R Bz 0 RL 0 21 RL Bz neg 0 RL 0 -21 RL}]} D /MS {/Sm E D WB}D -/O {BN()Sm BX} D /O {BN()0 Sm BX} D /BX {/Bt E D Bt 2 lt{/Ch E D CS 0.8 mul}{11 mul}ie W XO sub MR sub 2 copy gt{E}if pop /HZ E D Bt 2 eq{Fi not{pop()}if ( )E join /Ft E D TT debian/patches/checker_warning.patch0000644000000000000000000000124711515147666015007 0ustar From: Rafael Cunha de Almeida Forwarded: Yes Last-Update: 2011-01-17 Description: Warns about HTML syntax checker returning an error If the HTML syntax checker returns an error (if the command doesn't exist or if it fails), the original behaviour is to quietly continue. This patch makes html2ps louder. It warns that the HTML syntax checker program returned an error. diff --git a/html2ps b/html2ps index ba6bf3b..1908139 100755 --- a/html2ps +++ b/html2ps @@ -2430,6 +2430,7 @@ sub h2p { $file="$scr"; } &dbg(`$package{'check'} $file`); + &dbg("warning: HTML syntax checker returned in error.\n") if ($?); } if(!$latin1) { debian/patches/proper_variable_escaping.patch0000644000000000000000000000264011617331434016670 0ustar From: Trent Buck Last-Update: 2007-04-29 Description: Correctly quoting of paper configuration The paper type wasn't set correctly even after using paperconf because certain variables weren't correctly escaped and EOR wasn't correctly quoted. This patches fixes that. diff --git a/html2ps b/html2ps index 51a60b6..c941b2c 100755 --- a/html2ps +++ b/html2ps @@ -30,8 +30,8 @@ $globrc='/it/sw/share/www/lib/html2ps/html2psrc'; $ug='/it/sw/share/www/lib/html2ps/html2ps.html'; $default_paper=`paperconf` || 'a4'; -$conf=<<'EOR'; -@html2ps { +$conf=<<"EOR"; +\@html2ps { package { PerlMagick: 0; ImageMagick: 0; @@ -90,7 +90,7 @@ $conf=<<'EOR'; middle: 2cm; } xref { - text: "[p $N]"; + text: "[p \$N]"; passes: 1; } quote { @@ -137,8 +137,8 @@ $conf=<<'EOR'; } titlepage { content: "
-

$T

-

$[author]

"; +

\$T

+

\$[author]

"; margin-top: 4cm; } font { @@ -270,7 +270,7 @@ $conf=<<'EOR'; fuchsia: FF00FF; aqua: 00FFFF; } - html2psrc: "$HOME/.html2psrc"; + html2psrc: "\$HOME/.html2psrc"; imgalt: "[IMAGE]"; datefmt: "%e %b %Y %R"; locale: ""; @@ -346,7 +346,7 @@ DEL { text-decoration: line-through } A:link, HR { color: black } -@page { +\@page { margin-left: 2.5cm; margin-right: 2.5cm; margin-top: 3cm; debian/patches/check_file_state.patch0000644000000000000000000000100711617331350015110 0ustar Last-Update: 2011-08-06 Description: Checks if file is usable before referencing it diff --git a/html2ps b/html2ps index 2876275..66c1bfb 100755 --- a/html2ps +++ b/html2ps @@ -495,6 +495,8 @@ die "Ghostscript is required to generate DSC PostScript\n" die "Ghostscript is required to generate cross references\n" if($opt_R && !$package{'Ghostscript'}); $tmpname=$posix?POSIX::tmpnam():"h2p_$$"; +sysopen TMP, $tmpname, O_RDWR|O_CREAT|O_EXCL, 0600 or die "$!"; +close TMP; ($scr=$tmpname)=~/\w+$/; $tempdir=$`; debian/patches/shell_tricks_removed.patch0000644000000000000000000000110711617307444016053 0ustar From: Raphael Hertzog Last-Update: 1999-07-24 Description: Removed shell tricks The packaged stoped working in 1999 due to this. This patches substitutes the codes which used a shell to open perl to a hashbang calling perl interpreter directly. diff --git a/html2ps b/html2ps index c941b2c..1404164 100755 --- a/html2ps +++ b/html2ps @@ -1,6 +1,4 @@ -: # Use perl -eval 'exec perl -S $0 "$@"' - if $running_under_some_shell; +#! /usr/bin/perl # This is html2ps version 1.0 beta7, an HTML-to-PostScript converter. # Copyright (C) 1995-2010 Jan Karrman. debian/patches/xhtml2ps_defaults.patch0000644000000000000000000000161211617274232015313 0ustar From: Ralf Treinen Last-Update: 2011-08-06 Description: Set the default postscript viewer in xhtml2ps to "see" Upstream default doesn't fit well with a Debian system. Using see and lpr are a better default since they match commands available for Debian. Bug #72034 has a bigger discussion regarding the subject. Index: html2ps-1.0b7/contrib/xhtml2ps/xhtml2ps =================================================================== --- html2ps-1.0b7.orig/contrib/xhtml2ps/xhtml2ps 2011-01-10 02:41:55.000000000 -0200 +++ html2ps-1.0b7/contrib/xhtml2ps/xhtml2ps 2011-01-10 02:44:40.000000000 -0200 @@ -804,8 +804,8 @@ array set stusr { command "html2ps" checker "weblint -x Netscape" - viewer "ghostview -magstep -2 -a4" - printcmd "lp" + viewer "see" + printcmd "lpr" filepcmd "exec cp" orientation " " colonnes " " debian/patches/upstream_changelog.patch0000644000000000000000000000704111515147777015526 0ustar From: Rafael Cunha de Almeida Last-Update: 2011-01-17 Description: Split README file into changelog and README Upstream files README and changelog were split to better fit how things work in Debian. diff -Nurd html2ps-1.0b7.old/changelog html2ps-1.0b7.new/changelog --- html2ps-1.0b7.old/changelog 1969-12-31 21:00:00.000000000 -0300 +++ html2ps-1.0b7.new/changelog 2011-01-17 21:21:26.000000000 -0200 @@ -0,0 +1,25 @@ +Brief history: + + 941212 0.1 - First public release - text-only documents. + 950407 0.2 - Inline images. + 970609 1.0b - Support for most of HTML 3.2, configuration files introduced. + 970809 1.0b1 - Bug fixes. Some HTML 4.0 support, e.g. OBJECT, INS, DEL, + and ACRONYM. + 000727 1.0b2 - Mostly bug fixes. A title page can be generated. The symbol + set is extended to include information from META elements. + Installation script modified for Windows support. + 000815 1.0b3 - Bug fixes. Some support for Server Side Includes. Form + element contents can be rendered. Support for netscape + cookies. + 050225 1.0b4 Various bug fixes. + 051211 1.0b5 Bug fixes. Added -M option. + 091021 1.0b6 "Security" fix. Changed behavior for SSI, to avoid having + arbitrary readable files disclosed on a web server that uses + html2ps in a web application (cgi script etc), allowing HTML + files to be uploaded for conversion. Setting up a service like + this is begging for trouble in my opinion. (Is /bin/cat also + a vulnerability, since one can use it in a web app, allowing + uploading arbitrary parameters to it?) + 100507 1.0b7 Fixed a bug introduced by the previous bug fix... +Jan Kärrman +jan@it.uu.se diff -Nurd html2ps-1.0b7.old/README html2ps-1.0b7.new/README --- html2ps-1.0b7.old/README 2011-01-17 21:20:46.000000000 -0200 +++ html2ps-1.0b7.new/README 2011-01-17 21:21:39.000000000 -0200 @@ -14,29 +14,5 @@ contrib/xhtml2ps - A directory containing a GUI frontend for html2ps. COPYING - GNU General Public License. README - This file. - -Brief history: - - 941212 0.1 - First public release - text-only documents. - 950407 0.2 - Inline images. - 970609 1.0b - Support for most of HTML 3.2, configuration files introduced. - 970809 1.0b1 - Bug fixes. Some HTML 4.0 support, e.g. OBJECT, INS, DEL, - and ACRONYM. - 000727 1.0b2 - Mostly bug fixes. A title page can be generated. The symbol - set is extended to include information from META elements. - Installation script modified for Windows support. - 000815 1.0b3 - Bug fixes. Some support for Server Side Includes. Form - element contents can be rendered. Support for netscape - cookies. - 050225 1.0b4 Various bug fixes. - 051211 1.0b5 Bug fixes. Added -M option. - 091021 1.0b6 "Security" fix. Changed behavior for SSI, to avoid having - arbitrary readable files disclosed on a web server that uses - html2ps in a web application (cgi script etc), allowing HTML - files to be uploaded for conversion. Setting up a service like - this is begging for trouble in my opinion. (Is /bin/cat also - a vulnerability, since one can use it in a web app, allowing - uploading arbitrary parameters to it?) - 100507 1.0b7 Fixed a bug introduced by the previous bug fix... Jan Kärrman jan@it.uu.se debian/patches/default_paper_size.patch0000644000000000000000000000132211617331375015510 0ustar From: Stephen Zander Last-Update: 2002-11-19 Description: Add support to the default paper size Uses paper size specified by libpaper instead of defaulting to A4. This makes the software integrate better with the system and user spectations of it. diff --git a/html2ps b/html2ps index 07b79e8..51a60b6 100755 --- a/html2ps +++ b/html2ps @@ -28,6 +28,7 @@ eval 'exec perl -S $0 "$@"' $globrc='/it/sw/share/www/lib/html2ps/html2psrc'; $ug='/it/sw/share/www/lib/html2ps/html2ps.html'; +$default_paper=`paperconf` || 'a4'; $conf=<<'EOR'; @html2ps { @@ -46,7 +47,7 @@ $conf=<<'EOR'; path: ""; } paper { - type: A4; + type: $default_paper; height: ""; width: ""; } debian/patches/large_eps_fix.patch0000644000000000000000000000163211617331424014451 0ustar From: Lauri Alanko Last-Update: 2003-05-18 Description: Fixes segmentation fault caused by large EPS Running html2ps on files with largish EPS images (using the --original option) can cause the program to segfault. After some examination with perl -d and gdb, it turned out that perl's regexp matching engine blows the stack with thousands of frames. The following trivial patch seems to fix the problem, and it also makes EPS handling noticeably faster diff --git a/html2ps b/html2ps index 45351d2..18d4d4d 100755 --- a/html2ps +++ b/html2ps @@ -4320,7 +4320,7 @@ sub img { push(@IT,1); $nli=30000; $n=1; - $npr=$ps=~s|(.*\n){$nli}|sprintf("$&} D\n/P$nimg\_%d {",$n++)|eg; + $npr=$ps=~s|(.*\n{$nli})|sprintf("$1} D\n/P$nimg\_%d {",$n++)|eg; if($npr) { $proc=" ("; for $i (0..$npr) { debian/patches/series0000644000000000000000000000051211617310537012034 0ustar document_dsc_option.patch remove_latin1_char.patch xhtml2ps_defaults.patch default_paper_size.patch proper_variable_escaping.patch shell_tricks_removed.patch configuration_path.patch large_eps_fix.patch always_require_posix.patch check_file_state.patch DSC_to_dsc.patch fix_ps.patch checker_warning.patch upstream_changelog.patch debian/patches/document_dsc_option.patch0000644000000000000000000000154211617273442015706 0ustar From: Nigel Jones Forwarded: Yes Last-Update: 2011-08-06 Description: Documents lower case option for dsc option There were parsing problems with DSC option and, together with a fix to #176012 and #76569, the lower case of dsc was allowed. Index: html2ps-1.0b7/html2ps.1 =================================================================== --- html2ps-1.0b7.orig/html2ps.1 2011-01-10 02:41:56.000000000 -0200 +++ html2ps-1.0b7/html2ps.1 2011-01-10 02:44:39.000000000 -0200 @@ -107,7 +107,7 @@ Generate debugging information. You should always use this option when reporting problems with html2ps. .TP -.B -D --DSC +.B -D --dsc --DSC Generate DSC compliant PostScript. This requires Ghostscript and can take quite some time to do. Note that a PostScript file generated with this option cannot be used as input to html2ps for reformatting debian/patches/configuration_path.patch0000644000000000000000000000122111617331366015524 0ustar Last-Update: 2011-08-06 Description: New path for referenced files Debian policy requires documentation and configuration files to lie in a place different than used by upstream. diff --git a/html2ps b/html2ps index 1404164..45351d2 100755 --- a/html2ps +++ b/html2ps @@ -24,8 +24,8 @@ # Set the name of the global configuration file. See the installation notes # and manual page for more details on configuration files. -$globrc='/it/sw/share/www/lib/html2ps/html2psrc'; -$ug='/it/sw/share/www/lib/html2ps/html2ps.html'; +$globrc='/etc/html2psrc'; +$ug='/usr/share/doc/html2ps/html2ps.html'; $default_paper=`paperconf` || 'a4'; $conf=<<"EOR"; debian/changelog0000644000000000000000000002252111622013461011036 0ustar html2ps (1.0b7-1) unstable; urgency=low * New maintainer. (Closes: #407652) * New upstream release. (Closes: #548633) * debian/control: - Recommends set to ghostscript instead of gs-gpl. (Closes: #539670) - Homepage set to new upstream site. (Closes: #524874) - Build-Depends updated to include cdbs and new debhelper - Added ${misc:Depends} dependency * Added xhtml2ps.desktop entry. * debian/copyright now follows "DEP-5: Machine-readable debian/copyright" specification. * Upgraded the package to format 3.0 (quilt). * Added a patch to make html2ps warn if HTML check fails. * Added upstream changelog. * Split patches on html2ps into several patches. Each one tracked down to its creator and annotated with the appropriate update time. * Moved ghostscript from Recommends to Suggests. * Added justification for suggested packages in Description. * Bumped policy to 3.9.2. -- Rafael Cunha de Almeida Sun, 14 Aug 2011 15:42:54 -0300 html2ps (1.0b5-5) unstable; urgency=low * QA upload. * Fixed several missing variable escapes, and a spurious paper setting in debian/config/html2psrc. Thanks to Trent Buck for the patch! (closes: #421385). * Allow option "--DSC" as alias for "-D" (closes: #446773). * Set the default postscript viewer in xhtml2ps to "see". Add Suggests: mime-support. Thanks to Matej Vela for the idea! (closes: #72034). * debian/config/html2psrc: - removed /usr/X11R6/bin from path setting as we do not use /usr/X11R6 any longer - hyphenation table: use file location from texlive * Changed menu section from Apps to Applications. * debian/control: - use Homepage field for upstream homepage - removed useless dependency on ${misc:Depends} - switched from tetex-base to texlive-base (in Suggests) * Manage patches with dpatch -- Ralf Treinen Sat, 20 Oct 2007 22:16:32 +0200 html2ps (1.0b5-4) unstable; urgency=low * QA upload. * html2ps: Applied patch from Trent Buck to respect PAPERSIZE environment variable (Closes: #410011). -- Daniel Baumann Thu, 8 Feb 2007 08:56:00 +0100 html2ps (1.0b5-3) unstable; urgency=low * Orphaning package. -- Daniel Baumann Sat, 20 Jan 2007 12:00:00 +0100 html2ps (1.0b5-2) unstable; urgency=low * New maintainer (Closes: #360940). * Redone debian directory based on current debhelper templates, additionally: - added menu file. -- Daniel Baumann Mon, 6 Nov 2006 21:37:00 +0100 html2ps (1.0b5-1) unstable; urgency=low * New upstream release -- Florian Ernst Mon, 19 Dec 2005 21:19:37 +0100 html2ps (1.0b4-4) unstable; urgency=low * Split out a separate xhtml2ps package as a first step for evaluating whether this contributed frontend is still in use, and to be able to use html2ps without installing Tcl/Tk * Upgrade debhelper compatibility level -- Florian Ernst Mon, 5 Dec 2005 17:48:53 +0100 html2ps (1.0b4-3) unstable; urgency=low * Back out patch for URL handling introduced in 1.0b3-5 as it breaks cross-referencing / links within a document (Closes: #320913, #335701), thus effectively "reopening" #222640 * Suggests: on virtual packages postscript-viewer and lpr, partially fixing xhtml2ps to use those (see: #72034), explaining the story in README.Debian; also changing Recommends on gs to gs-gpl -- Florian Ernst Sun, 30 Oct 2005 11:26:13 +0100 html2ps (1.0b4-2) unstable; urgency=low * New maintainer, many thanks to Nigel Jones for his work (Closes: #327440), Matt Currington as co-maintainer isn't active anymore, too * Back out some small patches that aren't needed anymore * Replace a latin1 char in html2psrc.5 * debian/changelog: remove old closes format at 1.0b1-3 * debian/control: + move debhelper to Build-Depends as it is needed for the clean target + add upstream Homepage to long description * debian/copyright: + list past and present maintainer(s) + elaborate copyright notice and authors * debian/rules: + export compat, docs, examples and manpages to files in debian/ + drop debian/html2psrc from examples as it doesn't provide anything new + general cleanup, stripping out all unneeded parts * debian/xhtml2ps.1x: linking via debian/links instead * don't convert the html doc to ps anymore -- Florian Ernst Thu, 22 Sep 2005 19:07:46 +0200 html2ps (1.0b4-1) unstable; urgency=low * New upstream release * Patched debian/rules * New Standards Version * New Co-Maintainer -- Nigel Jones Wed, 18 Jun 2005 14:34:36 +1200 html2ps (1.0b3-6) unstable; urgency=medium * Found upstream patch hopefully fixing a few bugs. * Renamed --DSC to --dsc (closes: #76569, #176012) -- Nigel Jones Sun, 29 May 2005 15:53:23 +1200 html2ps (1.0b3-5) unstable; urgency=low * New Maintainer (closes: #279769) * Patched URL Handing (closes: #222640) -- Nigel Jones Thu, 26 May 2005 16:10:30 +1200 html2ps (1.0b3-4) unstable; urgency=low * QA Group upload orphaning this package * debian/control: Depend on weblint-perl instead of weblint (closes: #271377) * Incorporates previous NMUs (closes: #185479, #193692) * debian/control: add dependency on tk8.3 or'ed with wish * debian/copyright: corrected spelling mistake -- Andrew Pollock Sun, 27 Feb 2005 09:14:07 +1100 html2ps (1.0b3-3.1) unstable; urgency=low * NMU. * Improve handling -W and special characters in document. (Closes: #185479) * Improve handling large EPS images. (Closes: #193692) -- Petter Reinholdtsen Sat, 23 Aug 2003 19:11:20 +0200 html2ps (1.0b3-3) unstable; urgency=low * Add support to the default paper size specified by the libpaper package (thanks to Matej Cepl for the suggestion, although I didn't use his proposed fix), Closes: #26945 * Fix mis-protected open call that caused html2ps to crash, Closes: #168805 -- Stephen Zander Tue, 19 Nov 2002 01:29:07 -0800 html2ps (1.0b3-2) unstable; urgency=high * Applied security patch from Sebastian Krahmer of SuSE to stop html2ps execute arbitrary code when parsing a HTML file * Close miscellaneous bugs already addressed by previous releases: * support for perl5.00503 * page generation request * imagemagic depndency (html2ps depends on perlmagick) Closes: #42105, #51667, #71765 * Support http_proxy environment variable, Closes: #51666 * Review package depndencies to reduce overall package foot print, specifically change 'Depends: tetex-base' to 'Suggests: tetex-base', Closes: #105226 * Add Build-Depends-Indep for debhelper, Closes: #139194 -- Stephen Zander Sun, 3 Nov 2002 11:18:09 -0800 html2ps (1.0b3-1) unstable; urgency=low * New upstream version. * Now correctly render tables, Closes: #22633 * Fixed incorrect spereation of & sections & included section in temporary file used for syntax checking, Closes: #26944 * Now correctly renders
, Closes: #30711 * Now correectly display the man page under xhtml2ps, Closes: #33357 * Now supports perl 5.005, Closes: #42004, #58889 * Now correctly generates DSC postript using perl5.005, Closes: #45596, #46275, #71447 * Reinforced the dependency on perlmagick, Closes: #50297 * Now handles non-alphanumeric characters in URLs correctly, Closes: #63691 -- Stephen Zander Thu, 14 Sep 2000 21:51:01 -0700 html2ps (1.0b1-8) unstable; urgency=low * New maintainer. -- Stephen Zander Wed, 18 Aug 1999 23:10:58 -0700 html2ps (1.0b1-7.1) unstable; urgency=low * NMU for the perl upgrade. Closes: #41485 * Corrected the perl dependency. * Upgraded standards-version to 2.5.1. * Changed the way html2ps is launched. Now it's #!/usr/bin/perl, the shell tricks has been removed. Closes: #37614, #39076 -- Raphael Hertzog Sat, 24 Jul 1999 01:13:45 +0200 html2ps (1.0b1-7) unstable; urgency=low * Fixed location of ushyph1.tex for potato, closes: #36895. -- Johnie Ingram Thu, 29 Apr 1999 12:20:02 -0400 html2ps (1.0b1-6) frozen unstable; urgency=low * Fixed critical bug #31824 (html2ps: can't execute). -- Johnie Ingram Fri, 22 Jan 1999 12:30:27 -0500 html2ps (1.0b1-5) frozen unstable; urgency=low * Added dependency on libhtml-parser-perl, which was apparently split from libwww-perl (#28492). * Correct debian/rules target (binary-indep) used. -- Johnie Ingram Mon, 21 Dec 1998 15:11:23 -0500 html2ps (1.0b1-4) unstable; urgency=low * Cleaned up debian diff to make package easier to take over. -- Johnie Ingram Mon, 29 Jun 1998 15:22:44 -0400 html2ps (1.0b1-3) unstable; urgency=low * Added dependency on perlmagick (#22835). -- Johnie Ingram Mon, 15 Jun 1998 18:41:37 -0400 html2ps (1.0b1-2) unstable; urgency=low * Released to the correct distribution. ;-) -- Johnie Ingram Sat, 16 May 1998 06:32:15 -0400 html2ps (1.0b1-1) contrib; urgency=low * Initial Release. -- Johnie Ingram Fri, 15 May 1998 18:32:33 -0400 debian/xhtml2ps.links0000644000000000000000000000010311515147315012006 0ustar /usr/share/man/man1/html2ps.1.gz /usr/share/man/man1/xhtml2ps.1.gz debian/compat0000644000000000000000000000000211515147316010370 0ustar 7 debian/xhtml2ps.README.Debian0000644000000000000000000000047611515147315013021 0ustar xhtml2ps for Debian ------------------- The default command for viewing a postscript document from xhtml is now "see" from the mime-support package. This will launch a postscript viewer according to the mailcap entry for application/postscript. -- Ralf Treinen , Sat, 20 Oct 2007 22:48:38 +0200 debian/source/0000755000000000000000000000000011515147316010472 5ustar debian/source/format0000644000000000000000000000001411515147316011700 0ustar 3.0 (quilt) debian/html2ps.install0000644000000000000000000000005611515147316012154 0ustar html2ps usr/bin/ debian/config/html2psrc etc/ debian/html2ps.manpages0000644000000000000000000000002611515147315012275 0ustar html2ps.1 html2psrc.5 debian/rules0000755000000000000000000000010111515147316010242 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk debian/xhtml2ps.install0000644000000000000000000000012311515147316012337 0ustar contrib/xhtml2ps/xhtml2ps usr/bin/ debian/xhtml2ps.desktop usr/share/applications/ debian/watch0000644000000000000000000000013211515147316010217 0ustar # Watch control file for uscan version=3 http://user.it.uu.se/~jan/html2ps-(.*)\.tar\.gz debian/html2ps.examples0000644000000000000000000000002211515147315012314 0ustar sample hyphen.tex debian/xhtml2ps.desktop0000644000000000000000000000013311515147316012343 0ustar [Desktop Entry] Type=Application Name=xhtml2ps Exec=xhtml2ps Categories=Utility;TextTools; debian/config/0000755000000000000000000000000011515147315010436 5ustar debian/config/html2psrc0000644000000000000000000000053011515147315012275 0ustar /* Global configuration file for html2ps */ @html2ps { package { ImageMagick: 1; PerlMagick: 1; TeX: 1; Ghostscript: 1; check: weblint; libwww-perl: 1; path: "/usr/bin"; } paper { type: letter; } hyphenation { en { file: "/usr/share/texmf-texlive/tex/generic/hyphen/hyphen.tex"; } } } debian/copyright0000644000000000000000000000650611515147316011134 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: html2ps Maintainer: Rafael Cunha de Almeida Source: http://user.it.uu.se/~jan/html2ps.html Copyright: 1995-2010, Jan Karrman License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 file. Files: contrib/xhtml2ps/* Copyright: 1997-2000, Jean-Philippe Argaud License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 file. Files: debian/* Copyright: 1998-1999, Johnie Ingram 1999, Raphael Hertzog 1999-2002, Stephen Zander 2003, Petter Reinholdtsen 2005, Andrew Pollock 2005, Florian Ernst 2005, Nigel Jones 2006-2007, Daniel Baumann 2007, Ralf Treinen 2011, Rafael Cunha de Almeida License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 file. debian/NEWS0000644000000000000000000000043511515147316007673 0ustar html2ps (1.0b4-4) unstable; urgency=low * As of this version, the html2ps package doesn't include the contributed xhtml2ps GUI frontend anymore. Please install the new xhtml2ps package if you need it. -- Florian Ernst Mon, 5 Dec 2005 17:47:13 +0100