[Pkg-corba-commits] r209 - in /trunk/python-omniorb/debian: changelog control python-omniorb-dbg.install python-omniorb.install rules

flub-guest at users.alioth.debian.org flub-guest at users.alioth.debian.org
Sun Jan 10 13:04:31 UTC 2010


Author: flub-guest
Date: Sun Jan 10 13:04:30 2010
New Revision: 209

URL: http://svn.debian.org/wsvn/pkg-corba/?sc=1&rev=209
Log:
Add python-omniorb-dbg package with debugging symbols and PYDEBUG
modules.

Added:
    trunk/python-omniorb/debian/python-omniorb-dbg.install
Modified:
    trunk/python-omniorb/debian/changelog
    trunk/python-omniorb/debian/control
    trunk/python-omniorb/debian/python-omniorb.install
    trunk/python-omniorb/debian/rules

Modified: trunk/python-omniorb/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-corba/trunk/python-omniorb/debian/changelog?rev=209&op=diff
==============================================================================
--- trunk/python-omniorb/debian/changelog (original)
+++ trunk/python-omniorb/debian/changelog Sun Jan 10 13:04:30 2010
@@ -4,8 +4,10 @@
   * Bump Standards-Version to 3.8.3, no changes needed.
   * Drop transitional packages, they've made it into a stable release.
   * Let python-omniorb-omg conflict with python-pyorbit-omg (Closes: #550629).
-
- -- Floris Bruynooghe <floris.bruynooghe at gmail.com>  Tue, 13 Oct 2009 00:53:37 +0100
+  * Add ${misc:Depends} to all packages.
+  * Add -dbg package for the extension modules.
+
+ -- Floris Bruynooghe <floris.bruynooghe at gmail.com>  Sun, 10 Jan 2010 00:53:35 +0000
 
 python-omniorb (3.2-2) unstable; urgency=low
 

Modified: trunk/python-omniorb/debian/control
URL: http://svn.debian.org/wsvn/pkg-corba/trunk/python-omniorb/debian/control?rev=209&op=diff
==============================================================================
--- trunk/python-omniorb/debian/control (original)
+++ trunk/python-omniorb/debian/control Sun Jan 10 13:04:30 2010
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian CORBA Team <pkg-corba-devel at lists.alioth.debian.org>
 Uploaders: Floris Bruynooghe <floris.bruynooghe at gmail.com>, Thomas Girard <thomas.g.girard at free.fr>
-Build-Depends: debhelper (>= 6.0.0), python-all-dev (>= 2.3.5-11), libomniorb4-dev (>= 4.1.1-2), omniorb-idl (>= 4.1.2-2), omniidl (>= 4.1.2-2), autotools-dev, python-central (>= 0.6.0)
+Build-Depends: debhelper (>= 6.0.0), python-all-dev (>= 2.3.5-11), python-all-dbg, libomniorb4-dev (>= 4.1.3), omniorb-idl (>= 4.1.3), omniidl (>= 4.1.3), autotools-dev, python-central (>= 0.6.0)
 Build-Conflicts: omniidl4-python, omniidl-python
 XS-Python-Version: all
 Standards-Version: 3.8.3
@@ -13,7 +13,7 @@
 
 Package: python-omniorb
 Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Recommends: python-omniorb-omg
 Conflicts: python2.4-omniorb2, python-omniorb2 (<< 3.1-1)
 Replaces: python2.4-omniorb2, python-omniorb2
@@ -29,8 +29,24 @@
  This is the Debian package of omniORBpy, the Python bindings to the
  omniORB libraries.
 
+Package: python-omniorb-dbg
+Priority: extra
+Architecture: any
+Depends: python-omniorb (= ${binary:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Section: debug
+Description: Python bindings for omniORB
+ omniORB4 is a freely available Common Object Request Broker
+ Architecture (CORBA) 2.6 compliant object request broker (ORB)
+ implementation. It is based on the IIOP communications
+ protocol and should be interoperable with any other
+ CORBA 2.6 compliant ORB.
+ .
+ This package contains the debug symbols of python-omniorb as well as
+ modules for use with python-dbg.
+
 Package: python-omniorb-doc
 Architecture: all
+Depends: ${misc:Depends}
 Section: doc
 Description: omniORBpy documentation
  omniORB4 is a freely available Common Object Request Broker
@@ -45,7 +61,7 @@
  
 Package: python-omniorb-omg
 Architecture: all
-Depends: python-omniorb (>= ${binary:Version})
+Depends: python-omniorb (>= ${binary:Version}), ${misc:Depends}
 Conflicts: python2.4-omniorb2-omg, python-omniorb2-omg (<< 3.1-1), python-pyorbit-omg
 Replaces: python2.4-omniorb2-omg, python-omniorb2-omg
 XB-Python-Version: ${python:Versions}
@@ -63,7 +79,7 @@
 
 Package: omniidl-python
 Architecture: all
-Depends: omniidl4, ${python:Depends}
+Depends: omniidl4, ${python:Depends}, ${misc:Depends}
 Conflicts: omniidl4-python (<< 3.2-2)
 Replaces: omniidl4-python (<< 3.2-2)
 Recommends: libomniorb4-dev

Added: trunk/python-omniorb/debian/python-omniorb-dbg.install
URL: http://svn.debian.org/wsvn/pkg-corba/trunk/python-omniorb/debian/python-omniorb-dbg.install?rev=209&op=file
==============================================================================
--- trunk/python-omniorb/debian/python-omniorb-dbg.install (added)
+++ trunk/python-omniorb/debian/python-omniorb-dbg.install Sun Jan 10 13:04:30 2010
@@ -1,0 +1,1 @@
+usr/lib/python*/site-packages/_omni*module_d.so*

Modified: trunk/python-omniorb/debian/python-omniorb.install
URL: http://svn.debian.org/wsvn/pkg-corba/trunk/python-omniorb/debian/python-omniorb.install?rev=209&op=diff
==============================================================================
--- trunk/python-omniorb/debian/python-omniorb.install (original)
+++ trunk/python-omniorb/debian/python-omniorb.install Sun Jan 10 13:04:30 2010
@@ -1,2 +1,3 @@
-usr/lib/python*/site-packages/_omni*
+usr/lib/python*/site-packages/omniORB.pth
+usr/lib/python*/site-packages/_omni*module.so*
 usr/lib/python*/site-packages/omniORB/

Modified: trunk/python-omniorb/debian/rules
URL: http://svn.debian.org/wsvn/pkg-corba/trunk/python-omniorb/debian/rules?rev=209&op=diff
==============================================================================
--- trunk/python-omniorb/debian/rules (original)
+++ trunk/python-omniorb/debian/rules Sun Jan 10 13:04:30 2010
@@ -40,16 +40,25 @@
 build-%/config.status: autotools-update-stamp
 	dh_testdir
 	-mkdir build-$*
-	cd build-$* && \
-	$(CONFIGURE) PYTHON=/usr/bin/python$*
+	cd build-$* && $(CONFIGURE) PYTHON=/usr/bin/python$*
+
+dbg-build-%/config.status: autotools-update-stamp
+	dh_testdir
+	-mkdir build-dbg-$*
+	cd build-dbg-$* && $(CONFIGURE) PYTHON=/usr/bin/python$*-dbg
 
 build: build-stamp
-build-stamp: $(PYVERS:%=build-stamp-%)
+build-stamp: $(PYVERS:%=build-stamp-%) $(PYVERS:%=build-dbg-stamp-%)
 	touch $@
 
 build-stamp-%: build-%/config.status
 	dh_testdir
 	$(MAKE) -C build-$*
+	touch $@
+
+build-dbg-stamp-%: dbg-build-%/config.status
+	dh_testdir
+	$(MAKE) -C build-dbg-$*
 	touch $@
 
 clean:
@@ -67,10 +76,11 @@
 	dh_clean -k
 	set -e; \
 	for v in $(PYVERS); do \
+	  $(MAKE) -C build-dbg-$$v install DESTDIR=$(CURDIR)/debian/tmp; \
 	  $(MAKE) -C build-$$v install DESTDIR=$(CURDIR)/debian/tmp; \
 	done
 	find . -name "*.pyc" -exec rm {} \;
-	dh_install --sourcedir=debian/tmp
+	dh_install --sourcedir=debian/tmp --list-missing
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -95,7 +105,7 @@
 	dh_installdocs -a
 	dh_installchangelogs update.log -a
 	dh_pycentral -a
-	dh_strip -a
+	dh_strip -ppython-omniorb --dbg-package=python-omniorb-dbg
 	dh_link -a
 	dh_compress -a
 	dh_fixperms -a




More information about the Pkg-corba-commits mailing list