File: 0002-Disable-Web-fonts-used-by-the-default-stylesheet.patch

package info (click to toggle)
rear 2.9%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,576 kB
  • sloc: sh: 25,557; makefile: 351; xml: 290
file content (31 lines) | stat: -rw-r--r-- 1,293 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
From: =?utf-8?b?RnLDqWTDqXJpYyBCb25uYXJk?= <frediz@debian.org>
Date: Fri, 21 Aug 2020 16:30:15 +0200
Subject: Disable Web fonts used by the default stylesheet

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877546

Forwarded: not-needed
---

--- rear-2.9+dfsg.orig/doc/Makefile
+++ rear-2.9+dfsg/doc/Makefile
@@ -12,7 +12,7 @@ htmltargets = $(patsubst %.adoc, %.html,

 # asciidoctor is in Ruby and used on Debian and SUSE and can generate manpages directly
 # asciidoc is in Python and used on Fedora and RHEL and cannot generate manpages, so we use xmlto to convert docbooc to manpage
-asciidoc := $(shell if type -p asciidoctor >/dev/null; then echo asciidoctor; else echo asciidoc; fi)
+asciidoc := $(shell if type -p asciidoctor >/dev/null; then echo asciidoctor; else echo asciidoc; fi) -a webfonts!

 all: docs

--- rear-2.9+dfsg.orig/doc/user-guide/Makefile
+++ rear-2.9+dfsg/doc/user-guide/Makefile
@@ -10,7 +10,7 @@ mandir = $(datadir)/man
 adoctargets = relax-and-recover-user-guide.adoc
 htmltargets = $(patsubst %.adoc, %.html, $(adoctargets))

-asciidoc := $(shell if type -p asciidoctor >/dev/null; then echo asciidoctor; else echo asciidoc; fi)
+asciidoc := $(shell if type -p asciidoctor >/dev/null; then echo asciidoctor; else echo asciidoc; fi) -a webfonts!

 all: docs