debian: Handle jsxc links creation in upstream

The Debian packaging no longer needs to create these links as they are available
in upstream code. Override lintian errors as removing the links in upstream will
lead to code breaks in certain development modes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2017-11-03 18:13:54 +05:30 committed by James Valleroy
parent cb730e2845
commit 7c92310326
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 10 additions and 4 deletions

4
debian/plinth.links vendored
View File

@ -1,4 +0,0 @@
/usr/share/libjs-jsxc/img/ /usr/lib/python3/dist-packages/plinth/modules/jsxc/static/img
/usr/share/libjs-jsxc/css/jsxc.css /usr/lib/python3/dist-packages/plinth/modules/jsxc/static/libjs-jsxc/jsxc.css
/usr/share/javascript/jsxc/lib /usr/lib/python3/dist-packages/plinth/modules/jsxc/static/libjs-jsxc/lib
/usr/share/libjs-jsxc/sound/ /usr/lib/python3/dist-packages/plinth/modules/jsxc/static/libjs-jsxc/sound

10
debian/source.lintian-overrides vendored Normal file
View File

@ -0,0 +1,10 @@
# This is a consequnce of bug in jsxc
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838183. While is is possible
# to change the upstream Plinth code to remove the links and create during
# installation, the jsxc module in Plinth will stop working in certain modes of
# development. We belive the proper fix for the problem is to fix the above
# issue.
plinth source: source-contains-unsafe-symlink plinth/modules/jsxc/static/img
plinth source: source-contains-unsafe-symlink plinth/modules/jsxc/static/libjs-jsxc/jsxc.css
plinth source: source-contains-unsafe-symlink plinth/modules/jsxc/static/libjs-jsxc/lib
plinth source: source-contains-unsafe-symlink plinth/modules/jsxc/static/libjs-jsxc/sound