Bug#826465: texlive-latex-recommended: Unescaped left brace in regex is deprecated

2017-08-07 Thread Norbert Preining
> Here's a one-character-patch for this issue.

Thanks, added to the git repo, I will upload soon after fixing a few more bugs.

Norbert

--
PREINING Norbert   http://www.preining.info
Accelia Inc. +JAIST +TeX Live +Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#826465: texlive-latex-recommended: Unescaped left brace in regex is deprecated

2017-08-07 Thread gregor herrmann
Control: tag -1 + patch

On Tue, 07 Jun 2016 15:28:42 +0200, =?UTF-8?Q?Preu=C3=9Fe wrote:

> On 05.06.2016 19:49, Niko Tyni wrote:
> 
> Dear Heiko,
> 
> here in the DBTS we got a bug report about a small syntax error in thumbpdf. 
> It
> becomes visible when calling the script using perl 5.22. Simply call thumbpdf 
> w/
> argument:
> 
> hille@sid:~ $ thumbpdf
> Unescaped left brace in regex is deprecated, passed through in regex; marked 
> by
> <-- HERE in m/\\UseRGB{ <-- HERE (\d+)}\\\s*\d+\s*R/ at /usr/bin/thumbpdf 
> line 1456.
> THUMBPDF 3.16, 2014/07/15 - Copyright (c) 1999-2014 by Heiko Oberdiek.
> Syntax:   thumbpdf [options] 
> 
> Fix should be straight forward, please be so kind to comment on this and 
> upload
> a fixed package.

Here's a one-character-patch for this issue.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
diff -Nru texlive-base-2017.20170801/debian/changelog texlive-base-2017.20170801/debian/changelog
--- texlive-base-2017.20170801/debian/changelog	2017-08-01 03:06:47.0 -0400
+++ texlive-base-2017.20170801/debian/changelog	2017-08-07 19:23:07.0 -0400
@@ -1,3 +1,12 @@
+texlive-base (2017.20170801-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "Unescaped left brace in regex is deprecated":
+add patch thumbpdf-unescaped-left-brace to fix unescaped literal curly.
+(Closes: #826465)
+
+ -- gregor herrmann   Mon, 07 Aug 2017 19:23:07 -0400
+
 texlive-base (2017.20170801-1) unstable; urgency=medium
 
   * new upstream checkout: The Long Dark release!
diff -Nru texlive-base-2017.20170801/debian/patches/series texlive-base-2017.20170801/debian/patches/series
--- texlive-base-2017.20170801/debian/patches/series	2017-07-24 20:59:46.0 -0400
+++ texlive-base-2017.20170801/debian/patches/series	2017-08-07 19:23:07.0 -0400
@@ -29,3 +29,4 @@
 texdoctk-colors
 oberdiek-fix-boxdraw
 texdoctk-warn-missing-perltk
+thumbpdf-unescaped-left-brace
diff -Nru texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace
--- texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace	1969-12-31 19:00:00.0 -0500
+++ texlive-base-2017.20170801/debian/patches/thumbpdf-unescaped-left-brace	2017-08-07 19:23:07.0 -0400
@@ -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 
+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+$//;


signature.asc
Description: Digital Signature


Processed: Re: Bug#826465: texlive-latex-recommended: Unescaped left brace in regex is deprecated

2017-08-07 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + patch
Bug #826465 [texlive-latex-recommended] texlive-latex-recommended: Unescaped 
left brace in regex is deprecated
Bug #871345 [texlive-latex-recommended] kimwitu-doc: FTBFS: Unescaped left 
brace in regex is illegal here in regex; marked by <-- HERE in m/\\UseRGB{ <-- 
HERE (\d+)}\\\s*\d+\s*R/ at /usr/bin/thumbpdf line 1456.
Added tag(s) patch.
Added tag(s) patch.

-- 
826465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826465
871345: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871345
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems