Hello community,

here is the log from the commit of package latex2html for openSUSE:Factory 
checked in at 2013-06-28 11:50:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/latex2html (Old)
 and      /work/SRC/openSUSE:Factory/.latex2html.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "latex2html"

Changes:
--------
--- /work/SRC/openSUSE:Factory/latex2html/latex2html.changes    2013-04-14 
10:16:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.latex2html.new/latex2html.changes       
2013-06-28 11:50:47.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Jun 25 16:58:46 CEST 2013 - [email protected]
+
+- use \g syntax for \8 and \9 regexp backrefs to work around
+  a bug in perl-5.18
+
+-------------------------------------------------------------------
+Tue Jun 25 09:47:55 UTC 2013 - [email protected]
+
+- add latex2html-fix-defined.patch from debian bug tracker to avoid
+  a warning
+- add apparmor's tex docu for better %check: testfile.tex
+
+-------------------------------------------------------------------

New:
----
  latex2html-backref-workaround.diff
  latex2html-fix-defined.patch
  testfile.tex

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ latex2html.spec ++++++
--- /var/tmp/diff_new_pack.CDKfMh/_old  2013-06-28 11:50:48.000000000 +0200
+++ /var/tmp/diff_new_pack.CDKfMh/_new  2013-06-28 11:50:48.000000000 +0200
@@ -44,12 +44,15 @@
 Source1:        latex2html-manual.ps.gz
 Source2:        latex2html-manual.tar.bz2
 Source3:        latex2html-README.SuSE
+Source4:        testfile.tex
 Patch:          latex2html-%{version}.diff
 Patch1:         latex2html-%{version}-binmode.diff
 Patch2:         latex2html-%{version}-gsout.diff
 Patch3:         latex2html-%{version}-buildroot.diff
 Patch4:         latex2html-%{version}-perl-bindir.diff
 Patch5:         latex2html-%{version}-match-multiline.patch
+Patch6:         
http://patch-tracker.debian.org/patch/series/dl/latex2html/2008-debian1-9/latex2html-fix-defined.patch
+Patch7:         latex2html-backref-workaround.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -59,14 +62,6 @@
 
 Find documentation in /usr/share/doc/packages/latex2html.
 
-
-
-Authors:
---------
-    Jens Lippmann <[email protected]>
-    Nikos Drakos <[email protected]>
-    Ross Moore <[email protected]>
-
 %package pngicons
 Provides:       l2h-pngicons
 Obsoletes:      l2h-pngicons
@@ -77,14 +72,6 @@
 %description pngicons
 Icons in the PNG format for the LaTeX to HTML Converter.
 
-
-
-Authors:
---------
-    Jens Lippmann <[email protected]>
-    Nikos Drakos <[email protected]>
-    Ross Moore <[email protected]>
-
 %package doc
 Summary:        LaTeX2HTML Converter
 License:        GPL-2.0+ and LPPL-1.3c
@@ -95,16 +82,6 @@
 format. This allows both a written and online version even of older
 LaTeX texts.
 
-Find documentation in /usr/share/doc/packages/latex2html.
-
-
-
-Authors:
---------
-    Jens Lippmann <[email protected]>
-    Nikos Drakos <[email protected]>
-    Ross Moore <[email protected]>
-
 %prep
 %setup 
 %setup -a 2 
@@ -114,6 +91,8 @@
 %patch3
 %patch4
 %patch5 -p1
+%patch6 -p1
+%patch7
 cp %{S:1} manual.ps.gz
 cp %{S:3} README.SuSE
 
@@ -134,8 +113,8 @@
 rm $RPM_BUILD_ROOT/usr/lib/texmf/tex/latex/html/url.sty
 %fdupes -s $RPM_BUILD_ROOT
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%check
+LATEX2HTMLDIR=%buildroot/%{share_dir} ./latex2html --test_mode %{S:4}
 
 %postun
 mkdir -p var/adm/SuSEconfig

++++++ latex2html-backref-workaround.diff ++++++
--- ./latex2html.pin.orig       2013-06-25 14:57:10.000000000 +0000
+++ ./latex2html.pin    2013-06-25 14:57:27.000000000 +0000
@@ -16557,7 +16557,7 @@ sub make_isolatin1_rx {
      $caption_suffixes = "lof|lot";
 #    $caption_rx = 
"\\\\caption\\s*([[]\\s*((($any_next_pair_rx5)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\8$C$EOL";
 
-    $caption_rx = 
"\\\\(top|bottom|table)?caption\\s*\\\*?\\s*([[]\\s*((($any_next_pair_rx6)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\9$C$EOL";
+    $caption_rx = 
"\\\\(top|bottom|table)?caption\\s*\\\*?\\s*([[]\\s*((($any_next_pair_rx6)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\g9$C$EOL";
     $caption_width_rx = 
"\\\\setlength\\s*(($O|$OP)\\d+($C|$CP))\\\\captionwidth\\1\\s*(($O|$OP)\\d+($C|$CP))([^>]*)\\4";
 
     # Matches the \htmlimage command
@@ -16622,7 +16622,7 @@ sub make_isolatin1_rx {
 
     # Matches a label command and its argument
     $labels_rx = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\1$C$EOL";
-    $labels_rx8 = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\8$C$EOL";
+    $labels_rx8 = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\g8$C$EOL";
 
     # Matches environments that should not be touched during the translation
 #   $verbatim_env_rx = "\\s*{(verbatim|rawhtml|LVerbatim)[*]?}";
++++++ latex2html-fix-defined.patch ++++++
Description: Fix perl warning about deprecated "defined(%hash)"
 latex2html with current perl gives warnings about the deprecation of
 "defined(%hash)". This patches removes them by just removing the resp.
 keyword.
Author: Roland Stigge <[email protected]>

Index: latex2html-2008-debian1/latex2html.pin
===================================================================
--- latex2html-2008-debian1.orig/latex2html.pin 2010-07-31 16:13:21.000000000 
+0200
+++ latex2html-2008-debian1/latex2html.pin      2012-04-09 17:21:52.000000000 
+0200
@@ -532,7 +532,7 @@
 #
 # If possible, use icons of the same type as generated images
 #
-if ($IMAGE_TYPE && defined %{"icons_$IMAGE_TYPE"}) {
+if ($IMAGE_TYPE && %{"icons_$IMAGE_TYPE"}) {
     %icons = %{"icons_$IMAGE_TYPE"};
 }
 
@@ -2112,7 +2112,7 @@
                "\nCould not find translation function for 
$default_language.\n\n")
            }
        );
-       if ($USE_UTF ||(!$NO_UTF &&(defined 
%unicode_table)&&length(%unicode_table)>2)) {
+       if ($USE_UTF ||(!$NO_UTF &&(%unicode_table)&&length(%unicode_table)>2)) 
{
            &convert_to_unicode($_)};
     }
     $_ = join('', @case_processed, $_); undef(@case_processed);
@@ -9117,7 +9117,7 @@
     my ($charset) = "${CHARSET}_character_map_inv";
     $charset =~ s/-/_/g;
     # convert upper 8-bit characters
-    if (defined %$charset &&($CHARSET =~ /8859[_\-]1$/)) {
+    if (%$charset &&($CHARSET =~ /8859[_\-]1$/)) {
        s/([\200-\377])/
            $tmp = $$charset{'&#'.ord($1).';'};
            &mark_string($tmp) if ($tmp =~ m!\{!);

++++++ testfile.tex ++++++
++++ 1303 lines (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to