[med-svn] [Git][med-team/gneiss][master] Fix lintian privacy breach warnings

Shayan Doust gitlab at salsa.debian.org
Thu Jul 9 20:25:29 BST 2020



Shayan Doust pushed to branch master at Debian Med / gneiss


Commits:
f66f3e65 by Shayan Doust at 2020-07-09T20:25:13+01:00
Fix lintian privacy breach warnings

- - - - -


3 changed files:

- debian/control
- + debian/patches/fix_privacy_breach.patch
- debian/patches/series


Changes:

=====================================
debian/control
=====================================
@@ -47,7 +47,8 @@ Package: python3-gneiss-doc
 Architecture: all
 Section: doc
 Depends: ${sphinxdoc:Depends},
-         ${misc:Depends}
+         ${misc:Depends},
+         libjs-mathjax
 Recommends: python3-gneiss
 Description: documentation for the python3-gneiss package
  Canonically pronounced as 'nice', gneiss is a compositional data


=====================================
debian/patches/fix_privacy_breach.patch
=====================================
@@ -0,0 +1,24 @@
+Description: remove embedded files and prefer usage of debian packaged
+ Fixes lintian's privacy breach warnings for embedded javascript file(s), notably mathjax. Hence, this patch removes this sphinx external module from the list and we use libjs-mathjax instead.
+Author: Shayan Doust <hello at shayandoust.me>
+Last-Update: 2020-07-09
+---
+
+--- gneiss.orig/doc/source/conf.py
++++ gneiss/doc/source/conf.py
+@@ -42,12 +42,14 @@
+     'sphinx.ext.intersphinx',
+     'sphinx.ext.todo',
+     'sphinx.ext.coverage',
+-    'sphinx.ext.mathjax',
++    #'sphinx.ext.mathjax',
+     'sphinx.ext.viewcode',
+     'sphinx.ext.githubpages',
+     'sphinx.ext.napoleon',
+ ]
+ 
++mathjax_path="/usr/share/javascript/mathjax/MathJax.js"
++
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['_templates']
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
+fix_privacy_breach.patch
 disable_test_radial.patch



View it on GitLab: https://salsa.debian.org/med-team/gneiss/-/commit/f66f3e657a6083d897f2b07ac8377f12f7878f39

-- 
View it on GitLab: https://salsa.debian.org/med-team/gneiss/-/commit/f66f3e657a6083d897f2b07ac8377f12f7878f39
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200709/27275b78/attachment-0001.html>


More information about the debian-med-commit mailing list