[ogre-1.9] 05/10: Address new lintian warning "embedded-javascript-library"

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Wed Aug 12 15:10:50 UTC 2015


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

mafm pushed a commit to branch master
in repository ogre-1.9.

commit 15fe5771f0193b73d3e9869f3c088896ea68098a
Author: Manuel A. Fernandez Montecelo <mafm at debian.org>
Date:   Fri Jul 31 10:57:03 2015 +0100

    Address new lintian warning "embedded-javascript-library"
    
    Address new lintian warning "embedded-javascript-library": add Depends
    on libjs-jquery in the -doc package, and create a symbolic link
    instead of install the local copy of the file "jquery.js"
---
 debian/changelog          | 3 +++
 debian/control            | 3 ++-
 debian/ogre-1.9-doc.links | 1 +
 debian/rules              | 2 +-
 4 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9f6ab1c..077c6e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ ogre-1.9 (1.9.0+dfsg1-5) UNRELEASED; urgency=medium
   * Update Vcs-Browser link
   * In -dev package, add -dbg to Suggests
   * Transition for GCC-5 with ABI change (rename library package to *v5)
+  * Address new lintian warning "embedded-javascript-library": add Depends
+    on libjs-jquery in the -doc package, and create a symbolic link
+    instead of install the local copy of the file "jquery.js"
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Mon, 20 Apr 2015 15:50:17 +0100
 
diff --git a/debian/control b/debian/control
index e2c5c2a..5ae7459 100644
--- a/debian/control
+++ b/debian/control
@@ -89,7 +89,8 @@ Description: 3D Object-Oriented Graphics Rendering Engine (debugging libs)
 Package: ogre-1.9-doc
 Section: doc
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends},
+         libjs-jquery
 Description: 3D Object-Oriented Graphics Rendering Engine (documentation)
  OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible
  3D engine written in C++ designed to make it easier and more intuitive for
diff --git a/debian/ogre-1.9-doc.links b/debian/ogre-1.9-doc.links
new file mode 100644
index 0000000..fcfcd50
--- /dev/null
+++ b/debian/ogre-1.9-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/ogre-1.9-doc/api/html/jquery.js
diff --git a/debian/rules b/debian/rules
index 1361333..f24d5af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -116,7 +116,7 @@ override_dh_install-indep:
         # remove .md5, .map and other files that we do not want installed
 	find debian/tmp/usr/share/OGRE/docs/api/html -type f -not \( -iname '*.html' -or -iname '*.png' -or -iname '*.css' -or -iname '*.js' \) -exec rm -fv {} \;
 
-	dh_install -i --list-missing
+	dh_install -i --list-missing -Xjquery.js
 
 override_dh_installchangelogs:
 	dh_installchangelogs -- $(OGRE_CHANGELOG)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ogre-1.9.git



More information about the Pkg-games-commits mailing list