From 7c92310326c2c6a07a1b95f4fc6acf808c1f4d30 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 3 Nov 2017 18:13:54 +0530 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- debian/plinth.links | 4 ---- debian/source.lintian-overrides | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 debian/plinth.links create mode 100644 debian/source.lintian-overrides diff --git a/debian/plinth.links b/debian/plinth.links deleted file mode 100644 index 8d6d2fc33..000000000 --- a/debian/plinth.links +++ /dev/null @@ -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 diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides new file mode 100644 index 000000000..f40b787f3 --- /dev/null +++ b/debian/source.lintian-overrides @@ -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