Accepting request 349190 from Publishing
- updated to 2015: apply patches from Debian D latex2html-2012-backref-workaround.diff D latex2html-2012-binmode.diff D latex2html-2012-dest-dir.diff D latex2html-2012-gsout.diff (upstreamed) D latex2html-2012-match-multiline.diff (upstreamed) D latex2html-2012-perl-bindir.diff D latex2html-2012-share-dir.diff A latex2html-backref-workaround.diff A latex2html-binmode.diff A latex2html-dest-dir.diff A latex2html-perl-bindir.diff A latex2html-share-dir.diff OBS-URL: https://build.opensuse.org/request/show/349190 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/latex2html?expand=0&rev=31
This commit is contained in:
commit
06179b9e1a
@ -1,11 +0,0 @@
|
||||
--- config/config.pl
|
||||
+++ config/config.pl
|
||||
@@ -1043,7 +1043,7 @@
|
||||
my $gs_version;
|
||||
|
||||
my $flag = 0;
|
||||
- unless(open(GS,"$gs -h |")) {
|
||||
+ unless(open(GS,"$gs -h 2>&1 |")) {
|
||||
$opt{'have_pstoimg'} = 0;
|
||||
logit("Error: could not execute $gs\n");
|
||||
&warn_no_images();
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:36b4b633507dba19a356d4ec5c6c145b242406b2b47cbe44aabf5e7efa2aa16f
|
||||
size 1155856
|
3
latex2html-2015.tar.gz
Normal file
3
latex2html-2015.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:248cf84c70dd31221ddc69ef7ce0e720aadd26b572ee412827eae62f0eefb8dd
|
||||
size 1217699
|
@ -1,5 +1,7 @@
|
||||
--- IndicTeX-HTML/devnagri.perl
|
||||
+++ IndicTeX-HTML/devnagri.perl
|
||||
Index: IndicTeX-HTML/devnagri.perl
|
||||
===================================================================
|
||||
--- IndicTeX-HTML/devnagri.perl.orig 2002-11-29 12:48:57.000000000 +0100
|
||||
+++ IndicTeX-HTML/devnagri.perl 2015-12-16 15:54:34.214410597 +0100
|
||||
@@ -331,6 +331,7 @@
|
||||
sub do_env_pre_tr_devnagri {
|
||||
local($_) = @_;
|
||||
@ -8,8 +10,10 @@
|
||||
print DNTR "\$\$", &revert_to_raw_tex($_), "\$\$";
|
||||
close DNTR;
|
||||
&syswait("patc -p $PRE_FILTERS${dd}dng.pat dntr.tmp dntr.tmp1");
|
||||
--- IndicTeX-HTML/itrans.perl
|
||||
+++ IndicTeX-HTML/itrans.perl
|
||||
Index: IndicTeX-HTML/itrans.perl
|
||||
===================================================================
|
||||
--- IndicTeX-HTML/itrans.perl.orig 2015-08-04 16:58:10.000000000 +0200
|
||||
+++ IndicTeX-HTML/itrans.perl 2015-12-16 15:54:34.214410597 +0100
|
||||
@@ -336,10 +336,11 @@
|
||||
, "\#${indic}ifm=".$itrans_info{$indic.'ifm'}
|
||||
, "\#$indic", $itext , "\#end$indic\n" );
|
||||
@ -23,8 +27,10 @@
|
||||
while (<ITRANS>) {
|
||||
next if (/^(\%|$)/);
|
||||
$itext .= $_
|
||||
--- IndicTeX-HTML/malyalam.perl
|
||||
+++ IndicTeX-HTML/malyalam.perl
|
||||
Index: IndicTeX-HTML/malyalam.perl
|
||||
===================================================================
|
||||
--- IndicTeX-HTML/malyalam.perl.orig 2002-11-29 12:48:59.000000000 +0100
|
||||
+++ IndicTeX-HTML/malyalam.perl 2015-12-16 15:54:34.214410597 +0100
|
||||
@@ -221,6 +221,7 @@
|
||||
sub do_env_pre_mmtr {
|
||||
local($_) = @_;
|
||||
@ -33,8 +39,10 @@
|
||||
print MMTR "\$\$", &revert_to_raw_tex($_), "\$\$";
|
||||
close MMTR;
|
||||
&syswait("$PATC -p $MMDIR${dd}mm.pat mmtr.tmp mmtr.tmp1");
|
||||
--- cweb2html/cweb2html
|
||||
+++ cweb2html/cweb2html
|
||||
Index: cweb2html/cweb2html
|
||||
===================================================================
|
||||
--- cweb2html/cweb2html.orig 2015-12-16 15:54:34.198410597 +0100
|
||||
+++ cweb2html/cweb2html 2015-12-16 15:54:34.214410597 +0100
|
||||
@@ -258,7 +258,7 @@
|
||||
|
||||
open(INPUT,"<$filename") ||
|
||||
@ -44,8 +52,10 @@
|
||||
while (<INPUT>) {
|
||||
$string{'STRING'} .= $_;
|
||||
}
|
||||
--- cweb2html/htcweb.perl
|
||||
+++ cweb2html/htcweb.perl
|
||||
Index: cweb2html/htcweb.perl
|
||||
===================================================================
|
||||
--- cweb2html/htcweb.perl.orig 2002-11-29 12:49:01.000000000 +0100
|
||||
+++ cweb2html/htcweb.perl 2015-12-16 15:54:34.214410597 +0100
|
||||
@@ -941,6 +941,7 @@
|
||||
|
||||
print "\nReading <$_[0]>..." if $DEBUG;
|
||||
@ -70,8 +80,10 @@
|
||||
while (<INPUT>) {
|
||||
$string{'STRING'} .= $_};
|
||||
$_ = delete $string{'STRING'}; # Blow it away and return the result
|
||||
--- cweb2html/makemake.pl
|
||||
+++ cweb2html/makemake.pl
|
||||
Index: cweb2html/makemake.pl
|
||||
===================================================================
|
||||
--- cweb2html/makemake.pl.orig 2015-12-16 15:54:34.198410597 +0100
|
||||
+++ cweb2html/makemake.pl 2015-12-16 15:54:34.214410597 +0100
|
||||
@@ -27,8 +27,10 @@
|
||||
die "Cannot rename to $source.bak, $!\n";
|
||||
open(OUT,">$source") ||
|
||||
@ -83,8 +95,10 @@
|
||||
while (<IN>) {
|
||||
$string{'STRING'} .= $_;
|
||||
}
|
||||
--- latex2html.pin
|
||||
+++ latex2html.pin
|
||||
Index: latex2html.pin
|
||||
===================================================================
|
||||
--- latex2html.pin.orig 2015-08-04 16:58:10.000000000 +0200
|
||||
+++ latex2html.pin 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -1088,6 +1088,7 @@
|
||||
unless($ignore);
|
||||
return undef;
|
||||
@ -234,7 +248,7 @@
|
||||
print CAPTIONS $_;
|
||||
close (CAPTIONS);
|
||||
} else {
|
||||
@@ -16385,6 +16404,7 @@
|
||||
@@ -16379,6 +16398,7 @@
|
||||
if (-f $access_file) {
|
||||
print STDOUT " ... found";
|
||||
open(HTACCESS, "<$access_file");
|
||||
@ -242,26 +256,30 @@
|
||||
while (<HTACCESS>) {
|
||||
if (/^\s*XBitHack\s*on\s*$/) {
|
||||
print STDOUT " with XBitHack on";
|
||||
--- styles/color.perl
|
||||
+++ styles/color.perl
|
||||
@@ -154,6 +154,7 @@
|
||||
Index: styles/color.perl
|
||||
===================================================================
|
||||
--- styles/color.perl.orig 2015-12-16 15:54:34.218410597 +0100
|
||||
+++ styles/color.perl 2015-12-16 15:55:58.302409628 +0100
|
||||
@@ -153,6 +153,7 @@
|
||||
if (-f $file) {
|
||||
if (open(COLORFILE,"<$file")) {
|
||||
print STDOUT "\n(reading colors from $file" if $DEBUG;
|
||||
+ binmode COLORFILE;
|
||||
$* = 0; # Multiline matching OFF
|
||||
+ binmode COLORFILE;
|
||||
while (<COLORFILE>) {
|
||||
s/^\s*(\d+)\s+(\d+)\s+(\d+)\s+(\w+(\s\w+)*)\s*/
|
||||
@@ -187,6 +188,7 @@
|
||||
($r,$g,$b,$name)=($1,$2,$3,$4);
|
||||
@@ -183,6 +184,7 @@
|
||||
if (-f $file) {
|
||||
if (open(COLORFILE,"<$file")) {
|
||||
print STDOUT "\n(reading colors from $file";
|
||||
+ binmode COLORFILE;
|
||||
$* = 0; # Multiline matching OFF
|
||||
@colors = (<COLORFILE>);
|
||||
foreach (@colors) {
|
||||
--- styles/frames.perl
|
||||
+++ styles/frames.perl
|
||||
next if (/^\s*$/);
|
||||
Index: styles/frames.perl
|
||||
===================================================================
|
||||
--- styles/frames.perl.orig 2002-11-29 12:49:18.000000000 +0100
|
||||
+++ styles/frames.perl 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -1126,6 +1126,7 @@
|
||||
);
|
||||
&text_cleanup;
|
||||
@ -270,8 +288,10 @@
|
||||
print FILE $_;
|
||||
close(FILE);
|
||||
}
|
||||
--- styles/getimagesize.perl
|
||||
+++ styles/getimagesize.perl
|
||||
Index: styles/getimagesize.perl
|
||||
===================================================================
|
||||
--- styles/getimagesize.perl.orig 2002-11-29 12:49:18.000000000 +0100
|
||||
+++ styles/getimagesize.perl 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -12,6 +12,7 @@
|
||||
my $type = lc($1);
|
||||
$type = $IMAGE_TYPE unless $type =~ /(gif|png|jpe?g)/;
|
||||
@ -280,8 +300,10 @@
|
||||
my ($buffer,$magic,$dummy,$width,$height) = ('','','',0,0);
|
||||
binmode(IMAGE); # not harmful un UNIX
|
||||
# if ($IMAGE_TYPE =~ /gif/) {
|
||||
--- styles/graphics-support.perl
|
||||
+++ styles/graphics-support.perl
|
||||
Index: styles/graphics-support.perl
|
||||
===================================================================
|
||||
--- styles/graphics-support.perl.orig 2004-10-25 07:15:01.000000000 +0200
|
||||
+++ styles/graphics-support.perl 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -426,6 +426,7 @@
|
||||
my($file)=@_;
|
||||
my(@bb,$f);
|
||||
@ -290,8 +312,10 @@
|
||||
while(<PS>){
|
||||
if(/^%%BoundingBox:\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*$/){
|
||||
@bb=($1,$2,$3,$4); last; }}
|
||||
--- styles/html.perl
|
||||
+++ styles/html.perl
|
||||
Index: styles/html.perl
|
||||
===================================================================
|
||||
--- styles/html.perl.orig 2015-08-04 16:58:10.000000000 +0200
|
||||
+++ styles/html.perl 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -293,6 +293,7 @@
|
||||
if ($pretag) {
|
||||
# code due to Alan Williams <alanw@cs.man.ac.uk>
|
||||
@ -308,8 +332,10 @@
|
||||
print "\nLoading external labels from $labelfile, with prefix $pretag"
|
||||
if ($VERBOSITY > 1);
|
||||
local($translated_stream, $instream);
|
||||
--- styles/webtex.perl
|
||||
+++ styles/webtex.perl
|
||||
Index: styles/webtex.perl
|
||||
===================================================================
|
||||
--- styles/webtex.perl.orig 2015-08-04 16:58:10.000000000 +0200
|
||||
+++ styles/webtex.perl 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -227,6 +227,7 @@
|
||||
&webeq_failed($out_tag); $out_tag = '';
|
||||
} else {
|
||||
@ -318,8 +344,10 @@
|
||||
$app_tag = join('',<TAG>);
|
||||
close(TAG);
|
||||
# replace webeq fall-back image by LaTeX2HTML's own, or none at all
|
||||
--- texexpand.pin
|
||||
+++ texexpand.pin
|
||||
Index: texexpand.pin
|
||||
===================================================================
|
||||
--- texexpand.pin.orig 2004-01-03 07:14:59.000000000 +0100
|
||||
+++ texexpand.pin 2015-12-16 15:54:34.218410597 +0100
|
||||
@@ -552,6 +552,7 @@
|
||||
if($opt{save_styles}) {
|
||||
open(STYLES,">$opt{save_styles}")
|
||||
@ -344,8 +372,10 @@
|
||||
print STDERR "$prompt %--- Processing $infile" if ($debug > 1);
|
||||
|
||||
# if we don't include this file marker LaTeX2HTML won't split
|
||||
--- versions/frame.pl
|
||||
+++ versions/frame.pl
|
||||
Index: versions/frame.pl
|
||||
===================================================================
|
||||
--- versions/frame.pl.orig 2002-11-29 12:49:18.000000000 +0100
|
||||
+++ versions/frame.pl 2015-12-16 15:54:34.222410596 +0100
|
||||
@@ -1202,6 +1202,7 @@
|
||||
);
|
||||
&text_cleanup;
|
||||
@ -354,8 +384,10 @@
|
||||
print FILE $_;
|
||||
close(FILE);
|
||||
}
|
||||
--- versions/techexpl.pl
|
||||
+++ versions/techexpl.pl
|
||||
Index: versions/techexpl.pl
|
||||
===================================================================
|
||||
--- versions/techexpl.pl.orig 2002-11-29 12:49:19.000000000 +0100
|
||||
+++ versions/techexpl.pl 2015-12-16 15:54:34.222410596 +0100
|
||||
@@ -212,6 +212,7 @@
|
||||
sub TE_check_file_contents {
|
||||
local ($ifile) = @_;
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 16 15:01:36 UTC 2015 - pgajdos@suse.com
|
||||
|
||||
- updated to 2015: apply patches from Debian
|
||||
D latex2html-2012-backref-workaround.diff
|
||||
D latex2html-2012-binmode.diff
|
||||
D latex2html-2012-dest-dir.diff
|
||||
D latex2html-2012-gsout.diff (upstreamed)
|
||||
D latex2html-2012-match-multiline.diff (upstreamed)
|
||||
D latex2html-2012-perl-bindir.diff
|
||||
D latex2html-2012-share-dir.diff
|
||||
A latex2html-backref-workaround.diff
|
||||
A latex2html-binmode.diff
|
||||
A latex2html-dest-dir.diff
|
||||
A latex2html-perl-bindir.diff
|
||||
A latex2html-share-dir.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 6 15:35:19 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package latex2html
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -33,25 +33,23 @@ Requires: netpbm
|
||||
Requires: perl
|
||||
Requires: texlive-dvips
|
||||
Requires: texlive-latex
|
||||
Version: 2012
|
||||
Version: 2015
|
||||
Release: 0
|
||||
Summary: LaTeX to HTML Converter
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Publishing/TeX/Utilities
|
||||
BuildArch: noarch
|
||||
Source0: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tgz
|
||||
Source0: http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tar.gz
|
||||
Source1: latex2html-manual.tar.bz2
|
||||
Source2: latex2html-README.SUSE
|
||||
Source3: testfile.tex
|
||||
Source4: local.pm
|
||||
Source5: latex2html.1
|
||||
Patch0: latex2html-%{version}-share-dir.diff
|
||||
Patch1: latex2html-%{version}-perl-bindir.diff
|
||||
Patch2: latex2html-%{version}-dest-dir.diff
|
||||
Patch3: latex2html-%{version}-binmode.diff
|
||||
Patch4: latex2html-%{version}-gsout.diff
|
||||
Patch5: latex2html-%{version}-match-multiline.diff
|
||||
Patch6: latex2html-%{version}-backref-workaround.diff
|
||||
Patch0: latex2html-share-dir.diff
|
||||
Patch1: latex2html-perl-bindir.diff
|
||||
Patch2: latex2html-dest-dir.diff
|
||||
Patch3: latex2html-binmode.diff
|
||||
Patch4: latex2html-backref-workaround.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -84,8 +82,6 @@ LaTeX texts.
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
cp %{S:2} README.SUSE
|
||||
cp %{S:4} .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user