[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texlive-nonbin] 01/02: include fix for thumbpdf from Gregor, thanks



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texlive-nonbin.

commit 2a28169bfb1ab43f102253cf7049e93033875c12
Author: Norbert Preining <preining@debian.org>
Date:   Tue Aug 8 09:34:13 2017 +0900

    include fix for thumbpdf from Gregor, thanks
---
 texlive-base/debian/changelog                          | 12 ++++++++++++
 texlive-base/debian/patches/series                     |  1 +
 .../debian/patches/thumbpdf-unescaped-left-brace       | 18 ++++++++++++++++++
 3 files changed, 31 insertions(+)

diff --git a/texlive-base/debian/changelog b/texlive-base/debian/changelog
index 99fb797..f1208e3 100644
--- a/texlive-base/debian/changelog
+++ b/texlive-base/debian/changelog
@@ -1,3 +1,15 @@
+texlive-base (2017.20170808-1) UNRELEASED; urgency=medium
+
+  [ gregor herrmann ]
+  * Fix "Unescaped left brace in regex is deprecated":
+    add patch thumbpdf-unescaped-left-brace to fix unescaped literal curly.
+    (Closes: #826465)
+
+  [ Norbert Preining ]
+  * new upstream checkout
+
+ -- Norbert Preining <preining@debian.org>  Tue, 08 Aug 2017 09:33:33 +0900
+
 texlive-base (2017.20170801-1) unstable; urgency=medium
 
   * new upstream checkout: The Long Dark release!
diff --git a/texlive-base/debian/patches/series b/texlive-base/debian/patches/series
index 316e60d..686e592 100644
--- a/texlive-base/debian/patches/series
+++ b/texlive-base/debian/patches/series
@@ -29,3 +29,4 @@ pgf-tex4ht-fix
 texdoctk-colors
 oberdiek-fix-boxdraw
 texdoctk-warn-missing-perltk
+thumbpdf-unescaped-left-brace
diff --git a/texlive-base/debian/patches/thumbpdf-unescaped-left-brace b/texlive-base/debian/patches/thumbpdf-unescaped-left-brace
new file mode 100644
index 0000000..86d53a1
--- /dev/null
+++ b/texlive-base/debian/patches/thumbpdf-unescaped-left-brace
@@ -0,0 +1,18 @@
+Description: Fix "Unescaped left brace in regex is illegal here in regex" error
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/826465
+Forwarded: no
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2017-08-07
+
+--- a/texmf-dist/scripts/thumbpdf/thumbpdf.pl
++++ b/texmf-dist/scripts/thumbpdf/thumbpdf.pl
+@@ -1453,7 +1453,7 @@
+         my $length = $thumblength[$i];
+         my $dict = $objtext[$thumbobj[$i]];
+         $dict =~ s/\\the\\pdflastobj\\\s*\d+\s*R/{RGB_$i}/;
+-        $dict =~ s/\\UseRGB{(\d+)}\\\s*\d+\s*R/{RGB_$1}/;
++        $dict =~ s/\\UseRGB\{(\d+)}\\\s*\d+\s*R/{RGB_$1}/;
+         $dict =~ s/\/Length\s+\d+\s*//;
+         $dict =~ s/^\s+//;
+         $dict =~ s/\s+$//;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texlive-nonbin.git


Reply to: