[Python-modules-commits] r19612 - in packages/pyside/trunk/debian (5 files)

odyx at users.alioth.debian.org odyx at users.alioth.debian.org
Tue Dec 13 13:26:41 UTC 2011


    Date: Tuesday, December 13, 2011 @ 13:26:39
  Author: odyx
Revision: 19612

Make the debug flavours build optional and don't build them by default.

- Use DEB_BUILD_OPTIONS="debug";
- Add README.source to explain that;
- Add control.in and control.dbg-packages to control Build-Depends and package
  stanzas;
- Update debian/rules to opt-in all -dbg related machinery.

Signed-off-by: Didier Raboud <odyx at debian.org>

Added:
  packages/pyside/trunk/debian/README.source
  packages/pyside/trunk/debian/control.dbg-packages
  packages/pyside/trunk/debian/control.in
    (from rev 19569, packages/pyside/trunk/debian/control)
Modified:
  packages/pyside/trunk/debian/control
  packages/pyside/trunk/debian/rules

Added: packages/pyside/trunk/debian/README.source
===================================================================
--- packages/pyside/trunk/debian/README.source	                        (rev 0)
+++ packages/pyside/trunk/debian/README.source	2011-12-13 13:26:39 UTC (rev 19612)
@@ -0,0 +1,40 @@
+==== Building the debug "flavours" of PySide ====
+
+Since its 1.0.9-2 release, the pyside Debian source package doesn't build the
+"debug" flavours of PySide anymore. This README.source documents how one can
+build them if needed anyway.
+
+== What they are ==
+
+What are the "debug" flavours ? There are two types:
+
+a) standard build debugging symbols: those are stripped out of the binary and
+   are put in the python-pyside-dbg and python3-pyside-dbg packages, in the
+   /usr/lib/debug file hierarchy.
+
+b) "python debug" builds: those are full PySide builds against the python-dbg
+  libraries, also living in python-pyside-dbg and python3-pyside-dbg packages.
+
+== How to build them ==
+
+Thie packaging keeps the needed pieces together, you need to do three steps:
+
+1) Re-create debian/control
+  (this will add the needed Build-Depends and package stanzas to debian/control)
+
+	DEB_BUILD_OPTIONS="debug" debian/rules update-control
+
+2) Increment the version
+
+	dch --local debug -m "Build with debug flavours enabled."
+
+3) Build the package with your usual tools, e.g.
+
+	debuild
+
+== WARNING ==
+
+Building the -dbg flavours will `at least` double the compilation time and
+create huge packages: python-pyside-dbg is ~ 300 MiB compressed and ~ 800 Mio
+uncompressed, python3-pyside-dbg is similar.
+

Modified: packages/pyside/trunk/debian/control
===================================================================
--- packages/pyside/trunk/debian/control	2011-12-12 21:00:50 UTC (rev 19611)
+++ packages/pyside/trunk/debian/control	2011-12-13 13:26:39 UTC (rev 19612)
@@ -4,11 +4,11 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Didier Raboud <odyx at debian.org>
 Build-Depends: debhelper (>= 8.9.3~), cmake (>= 2.8.4+dfsg.1-3~), dpkg-dev (>= 1.15.6),
- python-all-dev (>= 2.6.6-3), python-all-dbg (>= 2.6.6-3),
- python3-all-dev, python3-all-dbg,
+ python-all-dev (>= 2.6.6-3),
+ python3-all-dev,
  phonon-backend-gstreamer,
  libqt4-dev (>= 4:4.7.0), libphonon-dev, libqt4-opengl-dev (>= 4:4.7.0), libqtwebkit-dev,
- shiboken (>= 1.0.10), libshiboken-dev (>= 1.0.10), shiboken-dbg (>= 1.0.10),
+ shiboken (>= 1.0.10), libshiboken-dev (>= 1.0.10),
  generatorrunner (>= 0.6.15), libgenrunner-dev (>= 0.6.15),
  libqt4-sql-sqlite (>= 4:4.7.0), xvfb, xauth, libgl1-mesa-dri
 # Various Build-Depends are needed for success of the testsuite:
@@ -68,62 +68,6 @@
  .
  Python3 bindings for Qt4 framework. This is a metapackage for all modules.
 
-Package: python-pyside-dbg
-Architecture: any
-Priority: extra
-Section: debug
-Pre-Depends: dpkg (>= 1.15.6)
-Depends: ${shlibs:Depends}, ${misc:Depends},
-  shiboken-dbg (>= 1.0.10),
-  python-pyside.phonon (>= ${binary:Version}) |
-  python-pyside.qtcore (>= ${binary:Version}) |
-  python-pyside.qtdeclarative (>= ${binary:Version}) |
-  python-pyside.qtgui (>= ${binary:Version}) |
-  python-pyside.qthelp (>= ${binary:Version}) |
-  python-pyside.qtnetwork (>= ${binary:Version}) |
-  python-pyside.qtopengl (>= ${binary:Version}) |
-  python-pyside.qtscript (>= ${binary:Version}) |
-  python-pyside.qtsql (>= ${binary:Version}) |
-  python-pyside.qtsvg (>= ${binary:Version}) |
-  python-pyside.qttest (>= ${binary:Version}) |
-  python-pyside.qtuitools (>= ${binary:Version}) |
-  python-pyside.qtwebkit (>= ${binary:Version}) |
-  python-pyside.qtxml (>= ${binary:Version}),
-  libpyside1.0 (= ${binary:Version})
-Description: Python bindings for Qt 4 (debug symbols)
- Qt is a cross-platform C++ application framework. Qt's primary feature
- is its rich set of widgets that provide standard GUI functionality.
- .
- This package contains the debugging symbols.
-
-Package: python3-pyside-dbg
-Architecture: any
-Priority: extra
-Section: debug
-Pre-Depends: dpkg (>= 1.15.6)
-Depends: ${shlibs:Depends}, ${misc:Depends},
-  shiboken-dbg (>= 1.0.10),
-  python3-pyside.phonon (>= ${binary:Version}) |
-  python3-pyside.qtcore (>= ${binary:Version}) |
-  python3-pyside.qtdeclarative (>= ${binary:Version}) |
-  python3-pyside.qtgui (>= ${binary:Version}) |
-  python3-pyside.qthelp (>= ${binary:Version}) |
-  python3-pyside.qtnetwork (>= ${binary:Version}) |
-  python3-pyside.qtopengl (>= ${binary:Version}) |
-  python3-pyside.qtscript (>= ${binary:Version}) |
-  python3-pyside.qtsql (>= ${binary:Version}) |
-  python3-pyside.qtsvg (>= ${binary:Version}) |
-  python3-pyside.qttest (>= ${binary:Version}) |
-  python3-pyside.qtuitools (>= ${binary:Version}) |
-  python3-pyside.qtwebkit (>= ${binary:Version}) |
-  python3-pyside.qtxml (>= ${binary:Version}),
-  libpyside-py3-1.0 (= ${binary:Version})
-Description: Python3 bindings for Qt 4 (debug symbols)
- Qt is a cross-platform C++ application framework. Qt's primary feature
- is its rich set of widgets that provide standard GUI functionality.
- .
- This package contains the debugging symbols for the python3 modules.
-
 Package: libpyside1.0
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}

Added: packages/pyside/trunk/debian/control.dbg-packages
===================================================================
--- packages/pyside/trunk/debian/control.dbg-packages	                        (rev 0)
+++ packages/pyside/trunk/debian/control.dbg-packages	2011-12-13 13:26:39 UTC (rev 19612)
@@ -0,0 +1,57 @@
+Package: python-pyside-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Pre-Depends: dpkg (>= 1.15.6)
+Depends: ${shlibs:Depends}, ${misc:Depends},
+  shiboken-dbg (>= 1.0.10),
+  python-pyside.phonon (>= ${binary:Version}) |
+  python-pyside.qtcore (>= ${binary:Version}) |
+  python-pyside.qtdeclarative (>= ${binary:Version}) |
+  python-pyside.qtgui (>= ${binary:Version}) |
+  python-pyside.qthelp (>= ${binary:Version}) |
+  python-pyside.qtnetwork (>= ${binary:Version}) |
+  python-pyside.qtopengl (>= ${binary:Version}) |
+  python-pyside.qtscript (>= ${binary:Version}) |
+  python-pyside.qtsql (>= ${binary:Version}) |
+  python-pyside.qtsvg (>= ${binary:Version}) |
+  python-pyside.qttest (>= ${binary:Version}) |
+  python-pyside.qtuitools (>= ${binary:Version}) |
+  python-pyside.qtwebkit (>= ${binary:Version}) |
+  python-pyside.qtxml (>= ${binary:Version}),
+  libpyside1.0 (= ${binary:Version})
+Description: Python bindings for Qt 4 (debug symbols)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the debugging symbols.
+
+Package: python3-pyside-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Pre-Depends: dpkg (>= 1.15.6)
+Depends: ${shlibs:Depends}, ${misc:Depends},
+  shiboken-dbg (>= 1.0.10),
+  python3-pyside.phonon (>= ${binary:Version}) |
+  python3-pyside.qtcore (>= ${binary:Version}) |
+  python3-pyside.qtdeclarative (>= ${binary:Version}) |
+  python3-pyside.qtgui (>= ${binary:Version}) |
+  python3-pyside.qthelp (>= ${binary:Version}) |
+  python3-pyside.qtnetwork (>= ${binary:Version}) |
+  python3-pyside.qtopengl (>= ${binary:Version}) |
+  python3-pyside.qtscript (>= ${binary:Version}) |
+  python3-pyside.qtsql (>= ${binary:Version}) |
+  python3-pyside.qtsvg (>= ${binary:Version}) |
+  python3-pyside.qttest (>= ${binary:Version}) |
+  python3-pyside.qtuitools (>= ${binary:Version}) |
+  python3-pyside.qtwebkit (>= ${binary:Version}) |
+  python3-pyside.qtxml (>= ${binary:Version}),
+  libpyside-py3-1.0 (= ${binary:Version})
+Description: Python3 bindings for Qt 4 (debug symbols)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the debugging symbols for the python3 modules.
+
+

Copied: packages/pyside/trunk/debian/control.in (from rev 19569, packages/pyside/trunk/debian/control)
===================================================================
--- packages/pyside/trunk/debian/control.in	                        (rev 0)
+++ packages/pyside/trunk/debian/control.in	2011-12-13 13:26:39 UTC (rev 19612)
@@ -0,0 +1,397 @@
+Source: pyside
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Didier Raboud <odyx at debian.org>
+Build-Depends: debhelper (>= 8.9.3~), cmake (>= 2.8.4+dfsg.1-3~), dpkg-dev (>= 1.15.6), at BD-DEBUG@
+ python-all-dev (>= 2.6.6-3),
+ python3-all-dev,
+ phonon-backend-gstreamer,
+ libqt4-dev (>= 4:4.7.0), libphonon-dev, libqt4-opengl-dev (>= 4:4.7.0), libqtwebkit-dev,
+ shiboken (>= 1.0.10), libshiboken-dev (>= 1.0.10),
+ generatorrunner (>= 0.6.15), libgenrunner-dev (>= 0.6.15),
+ libqt4-sql-sqlite (>= 4:4.7.0), xvfb, xauth, libgl1-mesa-dri
+# Various Build-Depends are needed for success of the testsuite:
+# libqt4-sql-sqlite is needed because we need one sql driver.
+# xvfb and xauth are needed to run a fake X Server; libgl1-mesa-dri is needed for the GLX-using tests
+# phonon-backend-gstreamer is needed to test phonon
+Standards-Version: 3.9.2.0
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyside/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyside/
+Homepage: http://www.pyside.org/
+
+Package: python-pyside
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+  python-pyside.phonon (>= ${binary:Version}),
+  python-pyside.qtcore (>= ${binary:Version}),
+  python-pyside.qtdeclarative (>= ${binary:Version}),
+  python-pyside.qtgui (>= ${binary:Version}),
+  python-pyside.qthelp (>= ${binary:Version}),
+  python-pyside.qtnetwork (>= ${binary:Version}),
+  python-pyside.qtopengl (>= ${binary:Version}),
+  python-pyside.qtscript (>= ${binary:Version}),
+  python-pyside.qtsql (>= ${binary:Version}),
+  python-pyside.qtsvg (>= ${binary:Version}),
+  python-pyside.qttest (>= ${binary:Version}),
+  python-pyside.qtuitools (>= ${binary:Version}),
+  python-pyside.qtwebkit (>= ${binary:Version}),
+  python-pyside.qtxml (>= ${binary:Version})
+Description: Python bindings for Qt4 (big metapackage)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ Python bindings for Qt4 framework. This is a metapackage for all modules.
+
+Package: python3-pyside
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+  python3-pyside.phonon (>= ${binary:Version}),
+  python3-pyside.qtcore (>= ${binary:Version}),
+  python3-pyside.qtdeclarative (>= ${binary:Version}),
+  python3-pyside.qtgui (>= ${binary:Version}),
+  python3-pyside.qthelp (>= ${binary:Version}),
+  python3-pyside.qtnetwork (>= ${binary:Version}),
+  python3-pyside.qtopengl (>= ${binary:Version}),
+  python3-pyside.qtscript (>= ${binary:Version}),
+  python3-pyside.qtsql (>= ${binary:Version}),
+  python3-pyside.qtsvg (>= ${binary:Version}),
+  python3-pyside.qttest (>= ${binary:Version}),
+  python3-pyside.qtuitools (>= ${binary:Version}),
+  python3-pyside.qtwebkit (>= ${binary:Version}),
+  python3-pyside.qtxml (>= ${binary:Version})
+Description: Python3 bindings for Qt4 (big metapackage)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ Python3 bindings for Qt4 framework. This is a metapackage for all modules.
+
+Package: libpyside1.0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: Python bindings for Qt 4 (base files)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains base files used by all modules.
+
+Package: libpyside-py3-1.0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: Python3 bindings for Qt 4 (base files)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains base files used by all python3 modules.
+
+Package: libpyside-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpyside1.0 (= ${binary:Version}), libpyside-py3-1.0 (= ${binary:Version}), libqt4-dev (>= 4:4.7.0)
+Replaces: libpyside0.3 (<< 0.4.0)
+Breaks: libpyside0.3 (<< 0.4.0)
+Description: Python bindings for Qt 4 (development files)
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides the development headers for the libpyside library.
+
+Package: python-pyside.qtcore
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 core module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtCore module.
+
+Package: python3-pyside.qtcore
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 core module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtCore module.
+
+Package: python-pyside.qtdeclarative
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 Declarative module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtDeclarative module.
+
+Package: python3-pyside.qtdeclarative
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 Declarative module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtDeclarative module.
+
+Package: python-pyside.qtgui
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 GUI module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtGui module.
+
+Package: python3-pyside.qtgui
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 GUI module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtGui module.
+
+Package: python-pyside.qthelp
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 help module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtHelp module.
+
+Package: python3-pyside.qthelp
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 help module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtHelp module.
+
+Package: python-pyside.qtnetwork
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 network module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtNetwork module.
+
+Package: python3-pyside.qtnetwork
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 network module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtNetwork module.
+
+Package: python-pyside.qtopengl
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 OpenGL module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtOpenGL module.
+ .
+ OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D
+ rendering and provides little or no support for GUI programming issues.
+
+Package: python3-pyside.qtopengl
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 OpenGL module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtOpenGL module.
+ .
+ OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D
+ rendering and provides little or no support for GUI programming issues.
+
+Package: python-pyside.phonon
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 Phonon module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the Phonon multimedia module.
+
+Package: python3-pyside.phonon
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 Phonon module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the Phonon multimedia module.
+
+Package: python-pyside.qtscript
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 script module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtScript and QtScriptTools
+ modules.
+
+Package: python3-pyside.qtscript
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 script module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtScript and QtScriptTools
+ modules.
+
+Package: python-pyside.qtsql
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 SQL module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtSql module.
+
+Package: python3-pyside.qtsql
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 SQL module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtSql module.
+
+Package: python-pyside.qtsvg
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 SVG module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtSvg module.
+ .
+ Scalable Vector Graphics (SVG) is a language for describing two-dimensional
+ graphics and graphical applications in XML.
+
+Package: python3-pyside.qtsvg
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 SVG module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtSvg module.
+ .
+ Scalable Vector Graphics (SVG) is a language for describing two-dimensional
+ graphics and graphical applications in XML.
+
+Package: python-pyside.qttest
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 test module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtTest module.
+
+Package: python3-pyside.qttest
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 test module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtTest module.
+
+Package: python-pyside.qtuitools
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 UI tools module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtUiTools module.
+
+Package: python3-pyside.qtuitools
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 UI tools module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtUiTools module.
+
+Package: python-pyside.qtwebkit
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 WebKit module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtWebKit module.
+
+Package: python3-pyside.qtwebkit
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 WebKit module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtWebKit module.
+
+Package: python-pyside.qtxml
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 XML module - Python bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python bindings for the QtXml and QtXmlPatterns modules.
+
+Package: python3-pyside.qtxml
+Architecture: any
+Depends: ${pycmakedeps:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libpyside-py3-1.0 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Qt 4 XML module - Python3 bindings
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package provides Python3 bindings for the QtXml and QtXmlPatterns modules.

Modified: packages/pyside/trunk/debian/rules
===================================================================
--- packages/pyside/trunk/debian/rules	2011-12-12 21:00:50 UTC (rev 19611)
+++ packages/pyside/trunk/debian/rules	2011-12-13 13:26:39 UTC (rev 19612)
@@ -12,6 +12,39 @@
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+	BD_DEBUG           = python-all-dbg (2.6.6-3), python3-all-dbg, shiboken-dbg (>= 1.0.10),
+endif
+
+ifneq (,$(filter python-pyside-dbg,$(shell dh_listpackages)))
+	BUILD_DEBUG = true
+	CONFIGURE2_TARGETS = $(PYVERSIONS:%=override_dh_auto_configure_dbg-%)  $(PYVERSIONS:%=override_dh_auto_configure-%)
+	BUILD2_TARGETS     = $(PYVERSIONS:%=override_dh_auto_build_dbg-%)  $(PYVERSIONS:%=override_dh_auto_build-%)
+	INSTALL2_TARGETS   = $(PYVERSIONS:%=override_dh_auto_install_dbg-%)    $(PYVERSIONS:%=override_dh_auto_install-%)
+	TEST2_TARGETS      = $(PYVERSIONS:%=override_dh_auto_test_dbg-%)  $(PYVERSIONS:%=override_dh_auto_test-%)
+	
+	CONFIGURE3_TARGETS = $(PY3VERSIONS:%=override_dh_auto_configure_dbg_3-%) $(PY3VERSIONS:%=override_dh_auto_configure_3-%)
+	BUILD3_TARGETS     = $(PY3VERSIONS:%=override_dh_auto_build_dbg-%) $(PY3VERSIONS:%=override_dh_auto_build-%)
+	INSTALL3_TARGETS   = $(PY3VERSIONS:%=override_dh_auto_install_3_dbg-%) $(PY3VERSIONS:%=override_dh_auto_install_3-%)
+	TEST3_TARGETS      = $(PY3VERSIONS:%=override_dh_auto_test_dbg-%) $(PY3VERSIONS:%=override_dh_auto_test-%)
+else
+	CONFIGURE2_TARGETS = $(PYVERSIONS:%=override_dh_auto_configure-%)
+	BUILD2_TARGETS     = $(PYVERSIONS:%=override_dh_auto_build-%)
+	INSTALL2_TARGETS   = $(PYVERSIONS:%=override_dh_auto_install-%)
+	TEST2_TARGETS      = $(PYVERSIONS:%=override_dh_auto_test-%)
+	
+	CONFIGURE3_TARGETS = $(PY3VERSIONS:%=override_dh_auto_configure_3-%)
+	BUILD3_TARGETS     = $(PY3VERSIONS:%=override_dh_auto_build-%)
+	INSTALL3_TARGETS   = $(PY3VERSIONS:%=override_dh_auto_install_3-%)
+	TEST3_TARGETS      = $(PY3VERSIONS:%=override_dh_auto_test-%)
+endif
+
+update-control:
+	sed -e 's/@BD-DEBUG@/$(BD_DEBUG)/g' debian/control.in > debian/control
+ifdef BD_DEBUG
+	cat debian/control.dbg-packages >> debian/control
+endif
+
 # G++ versions
 g++-version := $(shell readlink /usr/bin/g++ | sed -e 's/g++-\(.*\)\.\(.*\)/\1\2/')
 g++-version-ge-4.5 := $(shell if test $(g++-version) -ge 45; then echo "yes"; else echo "no"; fi)
@@ -26,10 +59,10 @@
 
 override_dh_auto_configure: configure_2 configure_3
 
-configure_2: $(PYVERSIONS:%=override_dh_auto_configure_dbg-%) $(PYVERSIONS:%=override_dh_auto_configure-%)
+configure_2: $(CONFIGURE2_TARGETS)
 	@echo "Python2 versions configured."
 
-configure_3: $(PY3VERSIONS:%=override_dh_auto_configure_dbg_3-%) $(PY3VERSIONS:%=override_dh_auto_configure_3-%)
+configure_3: $(CONFIGURE3_TARGETS)
 	@echo "Python3 versions configured."
 
 override_dh_auto_configure_dbg-%:
@@ -66,10 +99,10 @@
 
 override_dh_auto_build: build_2 build_3
 
-build_2: $(PYVERSIONS:%=override_dh_auto_build_dbg-%) $(PYVERSIONS:%=override_dh_auto_build-%)
+build_2: $(BUILD2_TARGETS)
 	@echo "Python2 versions built."
 
-build_3: $(PY3VERSIONS:%=override_dh_auto_build_dbg-%) $(PY3VERSIONS:%=override_dh_auto_build-%)
+build_3: $(BUILD3_TARGETS)
 	@echo "Python3 versions built."
 
 override_dh_auto_build_dbg-%:
@@ -82,17 +115,17 @@
 
 override_dh_auto_install: install_2 install_3
 
-install_2: $(PYVERSIONS:%=override_dh_auto_install_dbg-%) $(PYVERSIONS:%=override_dh_auto_install-%)
-	# Name the debug .so's correctly for python2
-	rename 's|(.*)\.so(.*)$$|$$1_d.so$$2|'\
-		debian/tmp-dbg/usr/lib/python2*/*-packages/PySide/*.so
+install_2: $(INSTALL2_TARGETS)
 	@echo "Python2 versions installed."
 
-install_3: $(PY3VERSIONS:%=override_dh_auto_install_3_dbg-%) $(PY3VERSIONS:%=override_dh_auto_install_3-%)
+install_3: $(INSTALL3_TARGETS)
 	@echo "Python3 versions installed."
 
 override_dh_auto_install_dbg-%:
 	dh_auto_install -a --builddirectory=build-$*-dbg --destdir=debian/tmp-dbg
+	# Name the debug .so's correctly for python2
+	rename 's|(.*)\.so(.*)$$|$$1_d.so$$2|'\
+		debian/tmp-dbg/usr/lib/python2*/*-packages/PySide/*.so
 
 override_dh_auto_install-%:
 	dh_auto_install -a --builddirectory=build-$*
@@ -105,7 +138,7 @@
 
 override_dh_auto_install_3-%:
 	dh_auto_install -a --builddirectory=build-$*
-	# Name the debug .so's correctly for python3
+	# Name the .so's correctly for python3
 	rename 's|(.*)/PySide/(.*)\.so$$|$$1/PySide/$$2.cpython-$(subst .,,$*)mu.so|'\
 		debian/tmp/usr/lib/python3/*-packages/PySide/*.so
 
@@ -140,6 +173,7 @@
 
 #### STRIP ####
 override_dh_strip:
+ifdef BUILD_DEBUG
 	for p in `dh_listpackages -a -Npython-pyside-dbg -Npython3-pyside-dbg`; do \
 		if echo $$p | egrep -s '^python-pyside\.' > /dev/null; \
 		then \
@@ -152,14 +186,17 @@
 	done
 	dh_strip -plibpyside-py3-$(LIBPYSIDE_SOVERSION) --dbg-package=python3-pyside-dbg
 	dh_strip -plibpyside$(LIBPYSIDE_SOVERSION) --dbg-package=python-pyside-dbg
+else
+	dh_strip
+endif
 	
 #### TEST ####
 override_dh_auto_test: test_2 test_3
 
-test_2: $(PYVERSIONS:%=override_dh_auto_test_dbg-%) $(PYVERSIONS:%=override_dh_auto_test-%)
+test_2: $(TEST2_TARGETS)
 	@echo "Python2 versions tested."
 
-test_3: $(PY3VERSIONS:%=override_dh_auto_test_dbg-%) $(PY3VERSIONS:%=override_dh_auto_test-%)
+test_3: $(TEST3_TARGETS)
 	@echo "Python3 versions tested."
 
 override_dh_auto_test_dbg-%:
@@ -189,7 +226,7 @@
 override_dh_auto_clean:
 	rm -rf build-*
 	cd tests; rm -Rf *.pyc */*.pyc */*/*.pyc */*/*/*.pyc
-	rm -rf debian/tmp-dbg
+	- rm -rf debian/tmp-dbg
 	rm -f debian/libpyside${LIBPYSIDE_SOVERSION}.symbols
 	rm -f debian/libpyside${LIBPYSIDE_SOVERSION}.symbols-py*
 	rm -f debian/libpyside-py3-${LIBPYSIDE_SOVERSION}.symbols
@@ -209,8 +246,10 @@
 
 override_dh_install_2: override_dh_install_1
 	# Do the legacy install for the rest
+ifdef BUILD_DEBUG
 	dh_install -ppython-pyside-dbg --sourcedir=debian/tmp-dbg
 	dh_install -ppython3-pyside-dbg --sourcedir=debian/tmp-dbg
+endif
 	dh_install -a --remaining-packages --list-missing
 
 override_dh_install_3: override_dh_install_2
@@ -225,6 +264,8 @@
 	dh_gencontrol
 
 override_dh_builddeb:
+ifdef BUILD_DEBUG
 	# XZ-compress the huge python-pyside-dbg.
 	dh_builddeb -ppython-pyside-dbg -ppython3-pyside-dbg -- -Zxz
+endif
 	dh_builddeb --remaining-packages




More information about the Python-modules-commits mailing list