[Pkg-sdl-commits] [libsdl2-gfx] 01/01: Link against math library and release to unstable
Manuel A. Fernandez Montecelo
mafm at moszumanska.debian.org
Mon Feb 3 21:45:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
mafm pushed a commit to branch master
in repository libsdl2-gfx.
commit 753146d5892e6601043a54a2319c0ec12e04bff5
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date: Mon Feb 3 20:03:21 2014 +0000
Link against math library and release to unstable
---
debian/changelog | 11 ++++++++---
debian/rules | 7 ++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 284600b..00a0538 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
-libsdl2-gfx (1.0.0-2) UNRELEASED; urgency=low
+libsdl2-gfx (1.0.0-2) unstable; urgency=medium
- * enabling mmx only for i386 and amd64 architectures.
+ [ Gianfranco Costamagna ]
+ * Enabling mmx only for i386 and amd64 architectures.
- -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it> Tue, 28 Jan 2014 14:54:50 +0100
+ [ Manuel A. Fernandez Montecelo ]
+ * Link against math library
+ * Modify how to fix the duplicated jquery.js
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org> Mon, 03 Feb 2014 20:07:28 +0000
libsdl2-gfx (1.0.0-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index b123b1b..3f67693 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed -lm
+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -22,7 +24,7 @@ override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
override_dh_install:
- dh_install --fail-missing -XlibSDL2_gfx.la
+ dh_install --fail-missing -XlibSDL2_gfx.la -Xjquery.js
override_dh_auto_build:
dh_auto_build
@@ -30,8 +32,7 @@ override_dh_auto_build:
override_dh_link:
# fix lintian warning embedded-javascript-library
- rm -f 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
+ dh_link -plibsdl2-gfx-doc usr/share/javascript/jquery/jquery.js 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