[Pkg-sdl-commits] [libsdl2-gfx] 01/01: Fixed jquery lintian warning

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Fri Jan 17 15:11:34 UTC 2014


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

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

commit 535105fc1deaa54338c42c71149c5aea0d133d2d
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Jan 17 16:03:28 2014 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 9c701fa..7392691 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 sdl2gfx (1.0.0-1) UNRELEASED; urgency=low
 
-  * Initial Release (Closes: # 735289)
+  * Initial Release (Closes: #735289)
 
  -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Tue, 14 Jan 2014 11:35:40 +0100
diff --git a/debian/control b/debian/control
index 5fa3c96..7bd5b19 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Package: libsdl2-gfx-1.0-0
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends},
-         ${misc:Depends}
+         ${misc:Depends}, libjs-jquery
 Pre-Depends: ${misc:Pre-Depends}
 Description: drawing and graphical effects extension for SDL2
  The SDL2_gfx library is an extension to the SDL2 library which provides
diff --git a/debian/rules b/debian/rules
index be17ac2..16b3420 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,9 @@ override_dh_auto_build:
 	tar -cvz --transform='s,^test,examples,' -f debian/examples.tar.gz test
 
 override_dh_link:
+	# fix lintian warning embedded-javascript-library
+	rm debian/libsdl2-gfx-doc/usr/share/doc/libsdl2-gfx-doc/jquery.js
+	ln -s /usr/share/javascript/jquery/jquery.js debian/libsdl2-gfx-doc/usr/share/doc/libsdl2-gfx-doc/jquery.js
 	# fix lintian warning dev-pkg-without-shlib-symlink
 	dh_link -plibsdl2-gfx-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_gfx-1.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_gfx-1.0.so
 	dh_link --remaining-packages

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



More information about the pkg-sdl-commits mailing list