From 6bbb79fe88e86d639db5dd02893ba49a4093a1d0f163bea4710448febf7d6990 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 22 Jan 2009 12:11:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=8 --- latex2html-2002.2.1.tar.bz2 | 3 - ...nmode.diff => latex2html-2008-binmode.diff | 103 +++++++++--------- ...oot.diff => latex2html-2008-buildroot.diff | 0 ...1-gsout.diff => latex2html-2008-gsout.diff | 0 ...html-2002.2.1.diff => latex2html-2008.diff | 0 latex2html-2008.tar.bz2 | 3 + latex2html.changes | 6 + latex2html.spec | 19 ++-- 8 files changed, 70 insertions(+), 64 deletions(-) delete mode 100644 latex2html-2002.2.1.tar.bz2 rename latex2html-2002.2.1-binmode.diff => latex2html-2008-binmode.diff (79%) rename latex2html-buildroot.diff => latex2html-2008-buildroot.diff (100%) rename latex2html-2002-2-1-gsout.diff => latex2html-2008-gsout.diff (100%) rename latex2html-2002.2.1.diff => latex2html-2008.diff (100%) create mode 100644 latex2html-2008.tar.bz2 diff --git a/latex2html-2002.2.1.tar.bz2 b/latex2html-2002.2.1.tar.bz2 deleted file mode 100644 index 51fe171..0000000 --- a/latex2html-2002.2.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7fd5bdd9b5a403cc744071faebfedb91a724f3507b7298a6a455c89822c7a0d0 -size 895977 diff --git a/latex2html-2002.2.1-binmode.diff b/latex2html-2008-binmode.diff similarity index 79% rename from latex2html-2002.2.1-binmode.diff rename to latex2html-2008-binmode.diff index 17a0dd0..f30f1da 100644 --- a/latex2html-2002.2.1-binmode.diff +++ b/latex2html-2008-binmode.diff @@ -1,5 +1,5 @@ ---- IndicTeX-HTML/devnagri.perl 2001-06-11 07:15:02.000000000 +0200 -+++ IndicTeX-HTML/devnagri.perl 2003-03-07 11:37:37.000000000 +0100 +--- IndicTeX-HTML/devnagri.perl ++++ IndicTeX-HTML/devnagri.perl @@ -331,6 +331,7 @@ sub do_env_pre_tr_devnagri { local($_) = @_; @@ -8,8 +8,8 @@ print DNTR "\$\$", &revert_to_raw_tex($_), "\$\$"; close DNTR; &syswait("patc -p $PRE_FILTERS${dd}dng.pat dntr.tmp dntr.tmp1"); ---- IndicTeX-HTML/itrans.perl 1999-03-13 01:33:23.000000000 +0100 -+++ IndicTeX-HTML/itrans.perl 2003-03-07 11:38:27.000000000 +0100 +--- IndicTeX-HTML/itrans.perl ++++ IndicTeX-HTML/itrans.perl @@ -336,10 +336,11 @@ , "\#${indic}ifm=".$itrans_info{$indic.'ifm'} , "\#$indic", $itext , "\#end$indic\n" ); @@ -23,8 +23,8 @@ while () { next if (/^(\%|$)/); $itext .= $_ ---- IndicTeX-HTML/malyalam.perl 1998-01-22 05:33:22.000000000 +0100 -+++ IndicTeX-HTML/malyalam.perl 2003-03-07 11:38:55.000000000 +0100 +--- IndicTeX-HTML/malyalam.perl ++++ IndicTeX-HTML/malyalam.perl @@ -221,6 +221,7 @@ sub do_env_pre_mmtr { local($_) = @_; @@ -33,8 +33,8 @@ print MMTR "\$\$", &revert_to_raw_tex($_), "\$\$"; close MMTR; &syswait("$PATC -p $MMDIR${dd}mm.pat mmtr.tmp mmtr.tmp1"); ---- cweb2html/cweb2html 1999-04-10 07:15:14.000000000 +0200 -+++ cweb2html/cweb2html 2003-03-07 11:39:48.000000000 +0100 +--- cweb2html/cweb2html ++++ cweb2html/cweb2html @@ -258,7 +258,7 @@ open(INPUT,"<$filename") || @@ -44,8 +44,8 @@ while () { $string{'STRING'} .= $_; } ---- cweb2html/htcweb.perl 1999-10-16 07:15:04.000000000 +0200 -+++ cweb2html/htcweb.perl 2003-03-07 11:40:39.000000000 +0100 +--- cweb2html/htcweb.perl ++++ cweb2html/htcweb.perl @@ -941,6 +941,7 @@ print "\nReading <$_[0]>..." if $DEBUG; @@ -70,8 +70,8 @@ while () { $string{'STRING'} .= $_}; $_ = delete $string{'STRING'}; # Blow it away and return the result ---- cweb2html/makemake.pl 1999-04-10 07:15:19.000000000 +0200 -+++ cweb2html/makemake.pl 2003-03-07 11:43:11.000000000 +0100 +--- cweb2html/makemake.pl ++++ cweb2html/makemake.pl @@ -27,8 +27,10 @@ die "Cannot rename to $source.bak, $!\n"; open(OUT,">$source") || @@ -83,8 +83,8 @@ while () { $string{'STRING'} .= $_; } ---- latex2html.pin 2002-08-23 07:15:01.000000000 +0200 -+++ latex2html.pin 2003-03-07 11:34:33.000000000 +0100 +--- latex2html.pin ++++ latex2html.pin @@ -1088,6 +1088,7 @@ unless($ignore); return undef; @@ -157,7 +157,7 @@ print ENV &make_latex($latex_body); print ENV "\n"; close ENV; -@@ -7152,8 +7161,10 @@ +@@ -7155,8 +7164,10 @@ print "\nError: Cannot write '$FILE.css': $!\n"; return; } @@ -168,7 +168,7 @@ while () { print STYLESHEET $_; } close(EXT_STYLES); } else { -@@ -7448,7 +7459,7 @@ +@@ -7451,7 +7462,7 @@ &slurp_input($this_file); open(OUTFILE, ">$this_file") || die "\nError: Cannot write file '$this_file': $!\n"; @@ -177,7 +177,7 @@ if (($INDEX) && ($SHORT_INDEX) && ($SEGMENT eq 1)) { &make_index_segment($title,$file); } -@@ -7812,6 +7823,7 @@ +@@ -7815,6 +7826,7 @@ return(); } if(open(INIT, "<$init_file")) { @@ -185,7 +185,7 @@ foreach $info_line () { $info_line =~ s/[<>"&]/'&'.$html_special_entities{$&}.';'/eg; $init_contents .= $info_line; -@@ -8572,6 +8584,7 @@ +@@ -8579,6 +8591,7 @@ sub post_process_footnotes { &slurp_input($footfile); open(OUT, ">$footfile") || die "Cannot write file '$footfile': $!\n"; @@ -193,7 +193,7 @@ &replace_markers; &post_post_process if (defined &post_post_process); &adjust_encoding; -@@ -8593,6 +8606,7 @@ +@@ -8600,6 +8613,7 @@ print "\nError: Cannot write '$filename': $!\n"; return; } @@ -201,7 +201,7 @@ print FILE $_; close(FILE); } -@@ -9031,6 +9045,7 @@ +@@ -9039,6 +9053,7 @@ my $script = $SCRIPT || $0; open(PIPE, "$perldoc -t $script |") || die "Fatal: can't open pipe: $!"; @@ -209,7 +209,7 @@ while () { if (/^\s*$/) { next; -@@ -10126,6 +10141,7 @@ +@@ -10134,6 +10149,7 @@ print "\nError: Cannot write '$urlimg': $!\n"; return; } @@ -217,7 +217,7 @@ ### HWS Pass server map unchanged from user print IMAGE_MAP "\n\n\n"; print IMAGE_MAP " "; -@@ -10143,6 +10159,8 @@ +@@ -10151,6 +10167,8 @@ ($to_prefix, $suffix) = split(/\./, $to); if ($EXTN =~ /$suffix$/) { if (open(FROM, "<$from") && open(HTMP, ">HTML_tmp")) { @@ -226,7 +226,7 @@ while () { s/$from_prefix\.$IMAGE_TYPE/$to_prefix.$IMAGE_TYPE/g; print HTMP; -@@ -10167,6 +10185,7 @@ +@@ -10175,6 +10193,7 @@ &replace_markers; &add_dir_to_href if ($DESTDIR); if(open(CAPTIONS, ">${PREFIX}$type.pl")) { @@ -234,7 +234,7 @@ print CAPTIONS $_; close (CAPTIONS); } else { -@@ -16377,6 +16396,7 @@ +@@ -16385,6 +16404,7 @@ if (-f $access_file) { print STDOUT " ... found"; open(HTACCESS, "<$access_file"); @@ -242,8 +242,8 @@ while () { if (/^\s*XBitHack\s*on\s*$/) { print STDOUT " with XBitHack on"; ---- styles/color.perl 2001-02-18 07:15:01.000000000 +0100 -+++ styles/color.perl 2003-03-07 11:44:28.000000000 +0100 +--- styles/color.perl ++++ styles/color.perl @@ -154,6 +154,7 @@ if (-f $file) { if (open(COLORFILE,"<$file")) { @@ -260,8 +260,8 @@ $* = 0; # Multiline matching OFF @colors = (); foreach (@colors) { ---- styles/frames.perl 1999-09-09 07:15:09.000000000 +0200 -+++ styles/frames.perl 2003-03-07 11:45:00.000000000 +0100 +--- styles/frames.perl ++++ styles/frames.perl @@ -1126,6 +1126,7 @@ ); &text_cleanup; @@ -270,8 +270,8 @@ print FILE $_; close(FILE); } ---- styles/getimagesize.perl 2002-04-20 02:29:30.000000000 +0200 -+++ styles/getimagesize.perl 2003-03-07 11:45:33.000000000 +0100 +--- styles/getimagesize.perl ++++ styles/getimagesize.perl @@ -12,6 +12,7 @@ my $type = lc($1); $type = $IMAGE_TYPE unless $type =~ /(gif|png|jpe?g)/; @@ -280,8 +280,8 @@ my ($buffer,$magic,$dummy,$width,$height) = ('','','',0,0); binmode(IMAGE); # not harmful un UNIX # if ($IMAGE_TYPE =~ /gif/) { ---- styles/graphics-support.perl 2002-06-07 07:15:03.000000000 +0200 -+++ styles/graphics-support.perl 2003-03-07 11:46:06.000000000 +0100 +--- styles/graphics-support.perl ++++ styles/graphics-support.perl @@ -426,6 +426,7 @@ my($file)=@_; my(@bb,$f); @@ -290,8 +290,8 @@ while(){ if(/^%%BoundingBox:\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*$/){ @bb=($1,$2,$3,$4); last; }} ---- styles/html.perl 1999-11-06 07:15:08.000000000 +0100 -+++ styles/html.perl 2003-03-07 11:47:15.000000000 +0100 +--- styles/html.perl ++++ styles/html.perl @@ -293,6 +293,7 @@ if ($pretag) { # code due to Alan Williams @@ -308,8 +308,8 @@ print "\nLoading external labels from $labelfile, with prefix $pretag" if ($VERBOSITY > 1); local($translated_stream, $instream); ---- styles/webtex.perl 1998-07-22 04:15:20.000000000 +0200 -+++ styles/webtex.perl 2003-03-07 11:47:45.000000000 +0100 +--- styles/webtex.perl ++++ styles/webtex.perl @@ -227,6 +227,7 @@ &webeq_failed($out_tag); $out_tag = ''; } else { @@ -318,28 +318,25 @@ $app_tag = join('',); close(TAG); # replace webeq fall-back image by LaTeX2HTML's own, or none at all ---- texexpand.pin 2000-08-23 07:15:01.000000000 +0200 -+++ texexpand.pin 2003-03-07 11:37:07.000000000 +0100 -@@ -547,14 +547,16 @@ +--- texexpand.pin ++++ texexpand.pin +@@ -552,6 +552,7 @@ if($opt{save_styles}) { open(STYLES,">$opt{save_styles}") || die "$prompt Error: Cannot open style file '$opt{save_styles}': $!\n"; -- } -+ binmode STYLES; -+ } - if($opt{output}) { - open(OUT,">$opt{output}") - || die "$prompt Error: Cannot open output file '$opt{output}': $!\n"; ++ binmode STYLES; } + my $out_file = $opt{output}||$opt{out}; + if($out_file) { +@@ -561,6 +562,7 @@ else { open(OUT,">&STDOUT"); -- } -+ } -+ binmode OUT; + } ++ binmode OUT; &process_file($infile); # the workhorse... -@@ -672,6 +674,7 @@ +@@ -678,6 +680,7 @@ $includelevel++; open(IN,"<$infile") || die "$prompt Cannot open $infile\n"; @@ -347,8 +344,8 @@ print STDERR "$prompt %--- Processing $infile" if ($debug > 1); # if we don't include this file marker LaTeX2HTML won't split ---- versions/frame.pl 2001-04-14 07:15:02.000000000 +0200 -+++ versions/frame.pl 2003-03-07 11:48:17.000000000 +0100 +--- versions/frame.pl ++++ versions/frame.pl @@ -1202,6 +1202,7 @@ ); &text_cleanup; @@ -357,8 +354,8 @@ print FILE $_; close(FILE); } ---- versions/techexpl.pl 1999-07-11 09:31:52.000000000 +0200 -+++ versions/techexpl.pl 2003-03-07 11:48:43.000000000 +0100 +--- versions/techexpl.pl ++++ versions/techexpl.pl @@ -212,6 +212,7 @@ sub TE_check_file_contents { local ($ifile) = @_; diff --git a/latex2html-buildroot.diff b/latex2html-2008-buildroot.diff similarity index 100% rename from latex2html-buildroot.diff rename to latex2html-2008-buildroot.diff diff --git a/latex2html-2002-2-1-gsout.diff b/latex2html-2008-gsout.diff similarity index 100% rename from latex2html-2002-2-1-gsout.diff rename to latex2html-2008-gsout.diff diff --git a/latex2html-2002.2.1.diff b/latex2html-2008.diff similarity index 100% rename from latex2html-2002.2.1.diff rename to latex2html-2008.diff diff --git a/latex2html-2008.tar.bz2 b/latex2html-2008.tar.bz2 new file mode 100644 index 0000000..961993e --- /dev/null +++ b/latex2html-2008.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:682d475ee4cf97e64b131d8d9e6ad9be41e45b42c2fa37660fa4fbefe91e7324 +size 911601 diff --git a/latex2html.changes b/latex2html.changes index 7c93598..4965122 100644 --- a/latex2html.changes +++ b/latex2html.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 20 11:19:30 CET 2009 - pgajdos@suse.cz + +- updated to version 2008 + * bug fixes + ------------------------------------------------------------------- Fri Nov 28 12:55:06 CET 2008 - ro@suse.de diff --git a/latex2html.spec b/latex2html.spec index 64faef3..36593a1 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -1,7 +1,7 @@ # -# spec file for package latex2html (Version 2002.2.1) +# spec file for package latex2html (Version 2008) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,8 +29,8 @@ Group: Productivity/Publishing/TeX/Utilities Provides: l2h99_1 Requires: texlive-latex netpbm perl ghostscript_any latex2html-pngicons AutoReqProv: on -Version: 2002.2.1 -Release: 604 +Version: 2008 +Release: 1 Summary: LaTeX2HTML Converter BuildArch: noarch Source: latex2html-%{version}.tar.bz2 @@ -39,8 +39,8 @@ Source2: latex2html-manual.tar.bz2 Source3: latex2html-README.SuSE Patch: latex2html-%{version}.diff Patch1: latex2html-%{version}-binmode.diff -Patch2: latex2html-2002-2-1-gsout.diff -Patch3: latex2html-buildroot.diff +Patch2: latex2html-%{version}-gsout.diff +Patch3: latex2html-%{version}-buildroot.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,8 +77,8 @@ Authors: Ross Moore %prep -%setup -n %{name}-2002-2-1 -%setup -a 2 -n %{name}-2002-2-1 +%setup +%setup -a 2 %patch %patch1 %patch2 @@ -149,6 +149,9 @@ touch var/adm/SuSEconfig/run-texhash %{share_dir}/icons/*.png %changelog +* Tue Jan 20 2009 pgajdos@suse.cz +- updated to version 2008 + * bug fixes * Fri Nov 28 2008 ro@suse.de - drop some old requires and buildrequires * Tue Mar 18 2008 pgajdos@suse.cz