File: buildsys-disable-ps-docs.patch

package info (click to toggle)
kannel 1.4.5-22
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,284 kB
  • sloc: ansic: 105,659; sh: 32,211; xml: 20,360; php: 1,103; perl: 711; makefile: 583; yacc: 548; awk: 133; python: 122; javascript: 27; pascal: 3
file content (45 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From: Robie Basak <robie.basak@canonical.com>
Date: Fri, 27 Sep 2024 23:19:10 +0200
Subject: 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.

Bug-Ubuntu: https://launchpad.net/bugs/1838425
Forwarded: not-needed
---
 Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index d37f95d..42f984e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -161,7 +161,7 @@ man1pages = wmlscript/wmlsc.1 wmlscript/wmlsdasm.1
 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 @@ pssrcs = $(wildcard doc/alligata/*.png doc/wtls/*.png)
 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 @@ all: $(libs) progs $(testprogs) $(checkprogs) $(DOCSTARGET) gw-config
 	done
 progs: $(progs)
 tests: $(testprogs)
-docs: figs ps $(docs)
+docs: figs $(docs)
 no-docs:
 figs: $(figs)
 ps: $(ps)