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')
