------------------------------------------------------------
revno: 93
committer: Dmitrijs Ledkovs <[email protected]>
branch nick: debian
timestamp: Tue 2011-11-08 17:48:26 +0000
message:
Put python debug symbols in correct place
modified:
debian/changelog
debian/control
debian/rules
--
lp:sword/debian
https://code.launchpad.net/~pkgcrosswire/sword/main
Your team CrossWire Packaging Team is subscribed to branch lp:sword/debian.
To unsubscribe from this branch go to
https://code.launchpad.net/~pkgcrosswire/sword/main/+edit-subscription
=== modified file 'debian/changelog'
--- debian/changelog 2011-08-06 20:29:21 +0000
+++ debian/changelog 2011-11-08 17:48:26 +0000
@@ -7,7 +7,7 @@
* debian/patches/02_libver.diff: dropped, using CMake variable
* Add debian/source/local-options with VCS friendly options
* Add .bzr-builddeb/default.conf to facilitate building from bzr
- * Usie dpkg-buildflags
+ * Use dpkg-buildflags
* Make CMake honour environmental variables
* Create python-sword package (LP: #49959)
* document vs2osisreftxt.1
=== modified file 'debian/control'
--- debian/control 2011-08-06 20:29:21 +0000
+++ debian/control 2011-11-08 17:48:26 +0000
@@ -3,6 +3,7 @@
cmake,
swig,
python-all-dev,
+ python-all-dbg,
python-support,
libz-dev,
pkg-config,
@@ -92,3 +93,18 @@
.
This package contains the SWIG bindings to develop applications in Python that
use the SWORD library.
+
+Package: python-sword-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: python-sword (= ${binary:Version}), ${misc:Depends}
+Recommends: python-dbg
+Description: SWIG Python binding to libsword (debug)
+ The SWORD Project is an open source, cross-platform (Linux, Windows, Solaris,
+ MacOSX etc.) API/library for Bible software with a constantly growing list
+ of front-ends (GUI, textmode, web-based, etc.) and a library of over 200
+ text modules.
+ .
+ This package contains the debug symbols for SWIG bindings to develop
+ applications in Python that use the SWORD library.
=== modified file 'debian/rules'
--- debian/rules 2011-08-06 23:11:34 +0000
+++ debian/rules 2011-11-08 17:48:26 +0000
@@ -37,9 +37,17 @@
chmod -x debian/libsword8/usr/share/sword/locales.d/*
override_dh_strip:
dh_strip --dbg-package=libsword-dbg
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
# lintian: python-debug-in-wrong-location, for some value of dh_strip
+ # & pysupport or dh_python2
+ # need to move if using pysupport, no need to move if using dh_python2
-mv debian/libsword-dbg/usr/lib/debug/usr/lib/pyshared \
debian/libsword-dbg/usr/lib/debug/usr/lib/pymodules
+ dh_installdirs -p python-sword-dbg usr/lib/debug/usr/lib
+ mv debian/libsword-dbg/usr/lib/debug/usr/lib/py* \
+ debian/python-sword-dbg/usr/lib/debug/usr/lib
+endif
+
override_dh_makeshlibs:
dh_makeshlibs -V
override_dh_clean:
_______________________________________________
Pkg-crosswire-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel