[med-svn] [pdb2pqr] 04/05: Deal with removed JS files in build system

Andreas Tille tille at debian.org
Fri Jan 8 10:23:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository pdb2pqr.

commit bceb6c75f8b458a9d525ccd89dc3edd22dee7fff
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jan 8 11:05:52 2016 +0100

    Deal with removed JS files in build system
---
 .../do_not_try_to_build_removed_js_target.patch       | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/do_not_try_to_build_removed_js_target.patch b/debian/patches/do_not_try_to_build_removed_js_target.patch
new file mode 100644
index 0000000..f3398ad
--- /dev/null
+++ b/debian/patches/do_not_try_to_build_removed_js_target.patch
@@ -0,0 +1,19 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 08 Jan 2016 10:56:05 +0100
+Description: Since some minimised JS files without source were
+ contained inside the upstream source which are not used in the
+ resulting binary package these were removed from the source.
+ This patch prevents the build system from accessing missing files.
+
+--- a/SConscript-main.py
++++ b/SConscript-main.py
+@@ -190,8 +190,7 @@ subFiles = [('pdb2pqr.py', 'pdb2pqr.py.i
+             ('visualize.cgi', 'visualize.py', True),
+             ('querystatus.cgi', 'querystatus.py', True),
+             ('src/aconf.py', 'src/aconf.py.in', False),
+-            ('html/server.html', 'html/server.html.in', False),
+-            ('3dmol/js/3dmol.js', '3dmol/js/3dmol.js.in', False)]
++            ('html/server.html', 'html/server.html.in', False)]
+ 
+ compile_targets = []
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 42955f5..a862b92 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-hashbangs.patch
 no_privacy_breach_logo.patch
+do_not_try_to_build_removed_js_target.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pdb2pqr.git



More information about the debian-med-commit mailing list