Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Chris Hofstaedtler <z...@debian.org>

  * Disable PostScript documentation generation to fix the build now
    that ImageMagick PostScript conversion is no longer permitted.
    (Closes: #991058)

After this change kannel-docs no longer contains PostScript documentation,
but the same documentation is still available as PDF.
diff -Nru kannel-1.4.5/debian/changelog kannel-1.4.5/debian/changelog
--- kannel-1.4.5/debian/changelog       2018-10-08 02:12:01.000000000 +0300
+++ kannel-1.4.5/debian/changelog       2022-08-25 20:00:58.000000000 +0300
@@ -1,3 +1,14 @@
+kannel (1.4.5-2+deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Robie Basak ]
+  * Disable PostScript documentation generation to fix the build now
+    that ImageMagick PostScript conversion is no longer permitted.
+    (Closes: #991058)
+
+ -- Adrian Bunk <b...@debian.org>  Thu, 25 Aug 2022 20:00:58 +0300
+
 kannel (1.4.5-2) unstable; urgency=medium
 
   * Fix have kannel-dev depend on libssl-dev (not libssl1.0-dev).
diff -Nru kannel-1.4.5/debian/patches/50_disable-ps-docs.patch 
kannel-1.4.5/debian/patches/50_disable-ps-docs.patch
--- kannel-1.4.5/debian/patches/50_disable-ps-docs.patch        1970-01-01 
02:00:00.000000000 +0200
+++ kannel-1.4.5/debian/patches/50_disable-ps-docs.patch        2022-08-25 
20:00:58.000000000 +0300
@@ -0,0 +1,38 @@
+Description: disable build of PostScript documentation
+ The ImageMagick package in Ubuntu (but not Debian) no longer permits
+ conversion to or from PostScript, so we can no longer generate working
+ PostScript documentation. See the bug for the discussion on this.
+Author: Robie Basak <robie.ba...@canonical.com>
+Bug-Ubuntu: https://launchpad.net/bugs/1838425
+Forwarded: not-needed
+Last-Update: 2019-07-30
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -161,7 +161,7 @@
+ man8pages = gw/kannel.8
+ 
+ docsrcs = $(wildcard grep -l '<!DOCTYPE ' doc/*/*.xml)
+-docs = $(docsrcs:.xml=.html) $(docsrcs:.xml=.rtf) $(docsrcs:.xml=.ps) 
$(docsrcs:.xml=.pdf)
++docs = $(docsrcs:.xml=.html) $(docsrcs:.xml=.rtf) $(docsrcs:.xml=.pdf)
+ DOCSTARGET=@DOCSTARGET@
+ DOCDRAFTS=@DOCDRAFTS@
+ 
+@@ -169,7 +169,7 @@
+ ps = $(pssrcs:.png=.ps)  
+ 
+ figsrcs = $(wildcard doc/userguide/*.fig doc/arch/*.fig)
+-figs = $(figsrcs:.fig=.png)  $(figsrcs:.fig=.ps)
++figs = $(figsrcs:.fig=.png)
+ 
+ .SUFFIXES: $(SUFFIXES) .xml .html .rtf .ps .fig .png .y .c .i .o .pdf
+ 
+@@ -234,7 +234,7 @@
+       done
+ progs: $(progs)
+ tests: $(testprogs)
+-docs: figs ps $(docs)
++docs: figs $(docs)
+ no-docs:
+ figs: $(figs)
+ ps: $(ps)
diff -Nru kannel-1.4.5/debian/patches/series kannel-1.4.5/debian/patches/series
--- kannel-1.4.5/debian/patches/series  2018-10-08 00:01:51.000000000 +0300
+++ kannel-1.4.5/debian/patches/series  2022-08-25 20:00:58.000000000 +0300
@@ -7,3 +7,4 @@
 38_cleanup_soap_makefile.patch
 39_use_changelog_date_in_doc.patch
 40_strip_date_from_version_report_string.patch
+50_disable-ps-docs.patch

Reply via email to