user debian-rele...@lists.debian.org
tag 921897 patch
usertag 921897 bsp-2019-02-de-berlin
thank you

Dear maintainer,

I fixed this FTBFS bug and attached a patch to resolve this issue.
Best regards from the BSP in Berlin.

Micha Rosenbaum
diff -Nru morse-simulator-1.4/debian/changelog morse-simulator-1.4/debian/changelog
--- morse-simulator-1.4/debian/changelog	2019-01-05 19:04:06.000000000 +0100
+++ morse-simulator-1.4/debian/changelog	2019-02-10 14:57:52.000000000 +0100
@@ -1,3 +1,11 @@
+morse-simulator (1.4-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix the FTBFS by replacing pngmath with imgmath Sphinx module.
+    (Closes: #921897)
+
+ -- Micha David Rosenbaum <mi...@rosetree.de>  Sun, 10 Feb 2019 14:57:52 +0100
+
 morse-simulator (1.4-4) unstable; urgency=medium
 
   * Rename the variable to build with python 3.7
diff -Nru morse-simulator-1.4/debian/patches/replace-pngmath-with-imgmath.patch morse-simulator-1.4/debian/patches/replace-pngmath-with-imgmath.patch
--- morse-simulator-1.4/debian/patches/replace-pngmath-with-imgmath.patch	1970-01-01 01:00:00.000000000 +0100
+++ morse-simulator-1.4/debian/patches/replace-pngmath-with-imgmath.patch	2019-02-10 14:57:52.000000000 +0100
@@ -0,0 +1,19 @@
+Description: Replace deprecated Sphinx module pngmath with imgmath
+ morse-simulator used the deprecated and later removed Sphinx extension
+ pngmath. This caused a FTBFS with newer Sphinx versions. pngmath can
+ be replaced with imgmath.
+Author: Micha David Rosenbaum <mi...@rosetree.de>
+Bug-Debian: https://bugs.debian.org/921897
+Last-Update: 2019-02-10
+
+--- morse-simulator-1.4.orig/doc/conf.py.in
++++ morse-simulator-1.4/doc/conf.py.in
+@@ -26,7 +26,7 @@ sys.path.append('@CMAKE_CURRENT_SOURCE_D
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+
+ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'tag', 'examples']
+-extensions.append('sphinx.ext.pngmath')
++extensions.append('sphinx.ext.imgmath')
+
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/doc/morse-theme/templates', '@CMAKE_CURRENT_SOURCE_DIR@/doc/sphinxext']
diff -Nru morse-simulator-1.4/debian/patches/series morse-simulator-1.4/debian/patches/series
--- morse-simulator-1.4/debian/patches/series	2019-01-05 19:04:06.000000000 +0100
+++ morse-simulator-1.4/debian/patches/series	2019-02-10 14:57:52.000000000 +0100
@@ -1,3 +1,4 @@
 version-patch.diff
 disable-vimeo-sphinx.diff
 async-keyword.diff
+replace-pngmath-with-imgmath.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to