File: disable-reveal.js-features.patch

package info (click to toggle)
apostrophe 3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,008 kB
  • sloc: python: 4,597; xml: 209; sh: 66; javascript: 51; makefile: 2
file content (51 lines) | stat: -rw-r--r-- 1,335 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
46
47
48
49
50
51
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com>
Date: Tue, 28 May 2024 13:45:05 -0400
Subject: disable reveal.js features

reveal.js is not yet packaged in Debian
https://bugs.debian.org/799215

These features aren't essential to using Apostrophe
---
 data/media/formats.json | 7 +------
 meson.build             | 4 ----
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/data/media/formats.json b/data/media/formats.json
index 50d60ca..ce906fb 100644
--- a/data/media/formats.json
+++ b/data/media/formats.json
@@ -19,11 +19,6 @@
       "ext": "epub",
       "to": "epub"
     },
-    {
-      "name": "HTML5 Slideshow (reveal.js)",
-      "ext": "html",
-      "to": "revealjs"
-    },
     {
       "name": "LaTeX Beamer Slideshow (pdf)",
       "ext": "pdf",
@@ -89,4 +84,4 @@
       "ext": "man",
       "to": "man"
     }
-  ]
\ No newline at end of file
+  ]
diff --git a/meson.build b/meson.build
index 6dd4ca8..8b2d1a1 100644
--- a/meson.build
+++ b/meson.build
@@ -60,10 +60,6 @@ pkgdatadir = datadir / meson.project_name()
 #bindir = join_paths(get_option('prefix'), get_option('bindir'))
 podir = meson.source_root() / 'po'
 
-if not fs.exists(join_paths(pkgdatadir, 'libs/reveal.js'))
-  error('No valid reveal.js installation found')
-endif
-
 subdir('data')
 #subdir('help')
 subdir('po')