[Pkg-sdl-commits] [sdlgfx] 01/02: Fixed jquery lintian warning

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Thu Feb 20 10:26:28 UTC 2014


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

locutusofborg-guest pushed a commit to branch master
in repository sdlgfx.

commit 04dafeaf364d025b55d3ae825125e467c65348de
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Thu Feb 20 10:45:15 2014 +0100

    Fixed jquery lintian warning
---
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 debian/rules     | 5 ++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 08b2e06..a60d5c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sdlgfx (2.0.25-2) UNRELEASED; urgency=low
+
+  * Fixing jquery lintian warning
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Thu, 20 Feb 2014 10:35:39 +0100
+
 sdlgfx (2.0.25-1) experimental; urgency=low
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 388c54f..7f9df67 100644
--- a/debian/control
+++ b/debian/control
@@ -46,7 +46,7 @@ Package: libsdl-gfx1.2-doc
 Architecture: all
 Section: doc
 Priority: extra
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libjs-jquery
 Recommends: libsdl-gfx1.2-dev (= ${binary:Version})
 Description: documentation files for SDL_gfx
  The SDL_gfx library is an extension to the SDL library which provides
diff --git a/debian/rules b/debian/rules
index 53e658c..48940c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,9 +20,12 @@ override_dh_auto_clean:
 	rm -f debian/examples.tar.gz
 
 override_dh_install:
-	dh_install --fail-missing -XlibSDL_gfx.la
+	dh_install --fail-missing -XlibSDL_gfx.la -Xjquery.js
 
 override_dh_link:
+	# fix lintian warning embedded-javascript-library
+	dh_link -plibsdl-gfx1.2-doc usr/share/javascript/jquery/jquery.js usr/share/doc/libsdl-gfx1.2-doc/html/jquery.js
+	# fix lintian warning dev-pkg-without-shlib-symlink
 	dh_link -p$(LIBPKG) usr/lib/$(DEB_HOST_MULTIARCH)/libSDL_gfx.so.15.9.1 \
 		usr/lib/$(DEB_HOST_MULTIARCH)/libSDL_gfx.so.5
 	dh_link --remaining-packages

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/sdlgfx.git



More information about the pkg-sdl-commits mailing list