Bug#962439: sctk: diff for NMU version 2.4.10-20151007-1312Z+dfsg2-3.1

2021-08-08 Thread Giulio Paci
Dear Adrian,
   thank you for taking care of this issue.

Several months ago I filed a RFS bug #981030 taking care of this and other
issues. Unfortunately the RFS is still open. If I update the package in
order to include this NMU changes, will you consider sponsoring the package?

Best regards,
Giulio

Il mar 3 ago 2021, 08:51 Adrian Bunk  ha scritto:

> Dear maintainer,
>
> I've prepared an NMU for sctk (versioned as
> 2.4.10-20151007-1312Z+dfsg2-3.1).
> The diff is attached to this message.
>
> cu
> Adrian
>


Bug#962439: sctk: diff for NMU version 2.4.10-20151007-1312Z+dfsg2-3.1

2021-08-03 Thread Adrian Bunk
Dear maintainer,

I've prepared an NMU for sctk (versioned as 2.4.10-20151007-1312Z+dfsg2-3.1).
The diff is attached to this message.

cu
Adrian
diff -Nru sctk-2.4.10-20151007-1312Z+dfsg2/debian/changelog sctk-2.4.10-20151007-1312Z+dfsg2/debian/changelog
--- sctk-2.4.10-20151007-1312Z+dfsg2/debian/changelog	2016-04-27 19:42:33.0 +0300
+++ sctk-2.4.10-20151007-1312Z+dfsg2/debian/changelog	2021-08-03 09:44:24.0 +0300
@@ -1,3 +1,12 @@
+sctk (2.4.10-20151007-1312Z+dfsg2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch by Michael Hudson-Doyle to use pdftoppm instead
+of convert to convert pdf to jpg as the latter fails with the
+changed security policy of ImageMagick. (Closes: #962439)
+
+ -- Adrian Bunk   Tue, 03 Aug 2021 09:44:24 +0300
+
 sctk (2.4.10-20151007-1312Z+dfsg2-3) unstable; urgency=medium
 
   * Fix an error in replacement files Makefile.
diff -Nru sctk-2.4.10-20151007-1312Z+dfsg2/debian/control sctk-2.4.10-20151007-1312Z+dfsg2/debian/control
--- sctk-2.4.10-20151007-1312Z+dfsg2/debian/control	2016-04-27 19:42:33.0 +0300
+++ sctk-2.4.10-20151007-1312Z+dfsg2/debian/control	2021-08-03 09:44:12.0 +0300
@@ -8,6 +8,7 @@
  dh-buildinfo,
  dpkg-dev (>= 1.16.1~),
  librsvg2-bin,
+ poppler-utils,
  texlive-latex-base,
  texlive-latex-extra,
  imagemagick,
diff -Nru sctk-2.4.10-20151007-1312Z+dfsg2/debian/replacement_files/Makefile sctk-2.4.10-20151007-1312Z+dfsg2/debian/replacement_files/Makefile
--- sctk-2.4.10-20151007-1312Z+dfsg2/debian/replacement_files/Makefile	2016-04-27 19:42:33.0 +0300
+++ sctk-2.4.10-20151007-1312Z+dfsg2/debian/replacement_files/Makefile	2021-08-03 09:43:34.0 +0300
@@ -34,7 +34,7 @@
 all: $(OUTPUT)
 
 %.jpg: %.pdf
-	convert -density 300 $< $@
+	pdftoppm -jpeg -singlefile -r 300 $< > $@
 
 %.png: %.svg
 	convert "$<" "$@"