[Python-modules-commits] r6297 - in packages/python-poppler/trunk/debian (control rules)
gaspa-guest at users.alioth.debian.org
gaspa-guest at users.alioth.debian.org
Fri Aug 22 09:43:52 UTC 2008
Date: Friday, August 22, 2008 @ 09:43:51
Author: gaspa-guest
Revision: 6297
handling python-dbg package
Modified:
packages/python-poppler/trunk/debian/control
packages/python-poppler/trunk/debian/rules
Modified: packages/python-poppler/trunk/debian/control
===================================================================
--- packages/python-poppler/trunk/debian/control 2008-08-22 09:30:47 UTC (rev 6296)
+++ packages/python-poppler/trunk/debian/control 2008-08-22 09:43:51 UTC (rev 6297)
@@ -27,7 +27,7 @@
Package: python-poppler-dbg
Architecture: any
Priority: extra
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-poppler (= ${binary:Version}), python-dbg
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-poppler (= ${binary:Version}), python-dbg, python-gtk2-dbg, python-gobject-dbg
Provides: ${python:Provides}
XB-Python-Version: ${python:Versions}
Description: Poppler Python bindings
Modified: packages/python-poppler/trunk/debian/rules
===================================================================
--- packages/python-poppler/trunk/debian/rules 2008-08-22 09:30:47 UTC (rev 6296)
+++ packages/python-poppler/trunk/debian/rules 2008-08-22 09:43:51 UTC (rev 6297)
@@ -16,7 +16,8 @@
mkdir -p build/py$$pyvers-dbg;\
cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers-dbg;\
(cd build/py$$pyvers-dbg;\
- PYTHON=python$${pyvers}-dbg ./configure CFLAGS="-g -ggdb" --prefix=/usr/);\
+ PYTHON=python$${pyvers}-dbg ./configure CFLAGS="-g -ggdb `python$${pyvers}-dbg-config --include` " --prefix=/usr/ ;\
+ sed -i Makefile -e 's/\(^PYTHON_INCLUDES\s=.*\)/\1_d/' ) ;\
done
touch configure-stamp
@@ -52,9 +53,10 @@
for pyvers in ${PYTHONS}; do\
(cd build/py$${pyvers}-dbg/;\
DESTDIR=$(CURDIR)/debian/python-poppler-dbg $(MAKE) install);\
- rm -rf $(CURDIR)/debian/python-poppler-dbg/usr/lib/python$$pyvers;\
+ mv $(CURDIR)/debian/python-poppler-dbg/usr/lib/python$$pyvers/site-packages/poppler.so $(CURDIR)/debian/python-poppler-dbg/usr/lib/python$$pyvers/site-packages/poppler_d.so ;\
done
find debian -name "*.la" -exec rm -f {} \;
+ rm -rf $(CURDIR)/debian/python-poppler-dbg/debug;\
# Build architecture-independent files here.
binary-indep: build install
@@ -67,7 +69,7 @@
dh_installdocs
dh_install
dh_installexamples
- dh_strip --dbg-package=python-poppler-dbg
+ dh_strip --dbg-package=python-poppler-dbg -Xpoppler_d.so
dh_compress --exclude=.py --exclude=.resX
dh_pycentral
dh_fixperms
More information about the Python-modules-commits
mailing list