--- python-qt3-3.17.6.orig/debian/pyqt-tools.manpages +++ python-qt3-3.17.6/debian/pyqt-tools.manpages @@ -0,0 +1,2 @@ +debian/manpages/pylupdate.1 +debian/manpages/pyuic.1 --- python-qt3-3.17.6.orig/debian/python-qt3-doc.examples +++ python-qt3-3.17.6/debian/python-qt3-doc.examples @@ -0,0 +1,2 @@ +examples3/* + --- python-qt3-3.17.6.orig/debian/changelog +++ python-qt3-3.17.6/debian/changelog @@ -0,0 +1,445 @@ +python-qt3 (3.17.6-2) unstable; urgency=low + + * Uploading to unstable. + * Merging changes from Ubuntu to build with python2.6. + * Migrate from python-central to python-support. This also makes sure + that we get rid of DH_PYCENTRAL=nomove. + - Adding debian/python-qt-dev.preinst to tell python-central to + remove its cruft. The preinst script should be removed after + the release of Squeeze. + * Bump dependency on sip4 to 4.7.9. + * Adding myself to Uplaoders. + * Bumping Standards-Version, no changes needed. + * Move -dbg packages into section debug. + + -- Bernd Zeimetz Tue, 05 May 2009 23:51:09 +0200 + +python-qt3 (3.17.6-1) experimental; urgency=low + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + * debian/watch + - fixed for new upstream website organization + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Torsten Marek ] + * New upstream release + * debian/control + - bumped standards version to 3.7.3, no changes necessary + - drop -1 Debian revision off build dependency on libqscintilla + - clean up dependencies on debug packages + + -- Torsten Marek Sat, 22 Nov 2008 19:47:15 +0100 + +python-qt3 (3.17.4-1) unstable; urgency=low + + * New upstream release. + * Bumped standards version to 3.7.3, no changes necessary. + * Added Homepage, Vcs-Svn and Vcs-Browser fields in debian/control. + * Changed priority of python-qt3-dbg to extra. + + -- Torsten Marek Sun, 16 Dec 2007 16:21:21 +0100 + +python-qt3 (3.17.3-3) unstable; urgency=low + + * Handle DEB_BUILD_OPTIONS correctly. + * Merge Ubuntu changes: + * Added debug packages. + * Better debian/rules file. + + -- Torsten Marek Sat, 15 Sep 2007 23:59:23 +0200 + +python-qt3 (3.17.3-2) unstable; urgency=low + + * Actually remove pyqtconfig.py from python-qt3 (Closes: #435855) + + -- Torsten Marek Tue, 07 Aug 2007 21:23:10 +0200 + +python-qt3 (3.17.3-1) unstable; urgency=low + + * New upstream release + * pyqtconfig.py is now in python-qt-dev + + -- Torsten Marek Tue, 31 Jul 2007 21:45:27 +0200 + +python-qt3 (3.17.2-1) unstable; urgency=low + + * New upstream release + + -- Torsten Marek Mon, 07 May 2007 23:57:48 +0200 + +python-qt3 (3.17-1) experimental; urgency=low + + * New upstream release + * Removed outdated conflicts and replaces from control file + * Bump standards version to 3.7.2 + * Convert patches to dpatch + * Added debian/pycompat with level 2 + * Acknowledged NMUs (Closes: #373349) + * Build-depend on libqscintilla-dev >= 1.7 + + -- Torsten Marek Wed, 6 Dec 2006 19:55:03 +0100 + +python-qt3 (3.16-1.2) unstable; urgency=medium + + * Tighten dependency on python-sip4-dev. + + -- Matthias Klose Sun, 2 Jul 2006 11:07:57 +0000 + +python-qt3 (3.16-1.1) unstable; urgency=low + + * Convert to the updated Python policy. Closes: #373349. + * Build with the correct Python include directory. + + -- Matthias Klose Mon, 19 Jun 2006 22:43:43 +0000 + +python-qt3 (3.16-1) unstable; urgency=low + + * New upstream release + * Tweak manpages, add descriptions of all ways + pyuic can be called + * Depend on python2.x-sip4 instead of python2.x-sip4-qt3 + * Changed my email address to shlomme@debian.org + * Added watch file + * Added python2.4-qt3-gl (Closes: #343095) + * + + -- Torsten Marek Mon, 24 Apr 2006 12:38:00 +0200 + +python-qt3 (3.15-4) unstable; urgency=low + + * Forward "noopt" option to build script (Closes: #322992) + * PyQt is now built with -O2 by default. To reduce compile + time, the autogenerated sources for the qt module are now + split into 4 parts on all architectures. + * added c++-abi2-dev to Build-Depends + * switched debian/rules to binary-common system + + -- Torsten Marek Sun, 11 Sep 2005 17:13:13 +0200 + +python-qt3 (3.15-3) unstable; urgency=low + + * Corrected dependencies of python2.4-qt3 (closes: #326962) + + -- Ricardo Javier Cardenes Medina Wed, 7 Sep 2005 10:27:05 +0100 + +python-qt3 (3.15-2) unstable; urgency=low + + * Changed some Build-Deps to be really, really sure that it's + asking for the right versions of certain packages (gcc, g++, + Qt3-related) for the g++ ABI transition. + + -- Ricardo Javier Cardenes Medina Sun, 4 Sep 2005 01:57:29 +0100 + +python-qt3 (3.15-1) unstable; urgency=low + + * New upstream release + * Updated standards version to 3.6.2 + * Updated FSF address in the copyright file + * Build-Depend and Depend and sip 4.3 + * Removed old Conflicts: from python2.3-qt3 + + kodos was fixed with 2.4.5-2.1, which is in stable already + + memaid-pyqt was fixed with 0.2.3-3, which is in stable already + + qtorrent was fixed with 0.9.6.1-3, which is in stable + * Add some conflicts with PyQt programs due to API change in 3.14.1 + + imgseek was fixed with 0.8.4+0.8.5rc1-2, which is not in stable, + therefore we conflict with it + (Closes: #306218, #302885) + * Removed the dummy package pyuic3 (Closes: #322062) + * Remove old Conflicts and Replaces from pyqt-tools + * g++ ABI transition (Closes: #325984) + + -- Torsten Marek Thu, 1 Sep 2005 01:04:33 +0200 + +python-qt3 (3.14.1-2) unstable; urgency=low + + * Corrected description of python2.3-qt3 (closes: Bug#302346) + * Removed python2.4-qt3-gl, as it would depend on python2.4-opengl, + which isn't available at this moment. + + -- Ricardo Javier Cardenes Medina Thu, 31 Mar 2005 18:09:15 +0100 + +python-qt3 (3.14.1-1) unstable; urgency=low + + * New upstream release + * QApplication::enter_loop now releases the GIL (Closes: #283537) + * Added myself to uploaders + * Added packages for Python 2.4 + * The PyQt build system has been tweaked to allow parrallel + builds for different versions of Python + * Build dependencies on sgmltools-lite, dpatch and + xlibmesa-dev removed, python2.4-dev and python2.4-sip4-dev + added + * Standards version updated to 3.6.1.0 + * pyqtconfig.py is now included in python2.x-qt3 instead of + python-qt-dev + * QDomDocument.setContent now works properly (Closes: #289212) + * Solves some memory leaks (Closes: #293087) + * Works (in fact needs) with sip4 >= 4.2 (Closes: #301660) + + -- Torsten Marek Sun, 6 Mar 2005 23:33:28 +0100 + +python-qt3 (3.13-4) unstable; urgency=low + + * libqassistantclient is broken for big binaries on MIPS/MIPSEL. + This upload disables QAssistantClient on PyQt for those arches. + + -- Ricardo Javier Cardenes Medina Mon, 27 Dec 2004 14:16:07 +0000 + +python-qt3 (3.13-3) unstable; urgency=low + + * Another patch to fix further mips/mipsel building errors + + -- Ricardo Javier Cardenes Medina Thu, 9 Dec 2004 09:57:55 +0000 + +python-qt3 (3.13-2) unstable; urgency=low + + * Patched to build on mips/mipsel + + -- Ricardo Javier Cardenes Medina Wed, 8 Dec 2004 16:02:45 +0000 + +python-qt3 (3.13-1) unstable; urgency=low + + * New upstream release + + -- Ricardo Javier Cardenes Medina Thu, 23 Sep 2004 15:57:07 +0100 + +python-qt3 (3.12-3) unstable; urgency=low + + * The package providing OpenGL access now depends on python-opengl. + (closes: Bug#269633) + + -- Ricardo Javier Cardenes Medina Tue, 7 Sep 2004 19:48:16 +0100 + +python-qt3 (3.12-2) unstable; urgency=low + + * Applied some patches from upstream snapshot 20040804 + * Fixed some lines at copyright file (GPL wasn't mentioned) + * Rebuilt against libqt3c102-mt >= 3:3.3 due to an ABI change. + (closes: Bug#264385) + + -- Ricardo Javier Cardenes Medina Mon, 9 Aug 2004 17:04:10 +0100 + +python-qt3 (3.12-1) unstable; urgency=low + + * New upstream release + * Switched to build with sip4 + + -- Ricardo Javier Cardenes Medina Thu, 10 Jun 2004 01:02:35 +0100 + +python-qt3 (3.11-4) unstable; urgency=low + + * Split s390 builds as with some other arches. It seems + that an excess of mem usage is killing "as" during the + build process. + + -- Ricardo Javier Cardenes Medina Thu, 20 May 2004 12:49:35 +0100 + +python-qt3 (3.11-3) unstable; urgency=low + + * Added pyqtconfig.py to python-qt-dev + + -- Ricardo Javier Cardenes Medina Thu, 22 Apr 2004 22:30:08 +0100 + +python-qt3 (3.11-2) unstable; urgency=low + + * Removed mips/mipsel patches + * Broken some build blocks into pieces: + - alpha due to excesive .got size + - mips/mipsel will have the same problem (supposedly) + - arm/m68k have two slow buildd's; this will make the build more + responsive + + -- Ricardo Javier Cardenes Medina Tue, 20 Apr 2004 01:12:40 +0100 + +python-qt3 (3.11-1) unstable; urgency=low + + * New upstream release (closes: Bug#237499) + * Change python-qt3-doc to suggest python-qt3 (closes: Bug#235548) + * Dropped c102 from the package name + * Fixed dh_make boilerplate on copyright file + * Added manpage for pylupdate + * Sliced python*-qt3-gl from python*-qt3, as it adds a not always + desirable dependency on a package providing libg1. + * sip4 will support Qt >= 3.0 and Python >= 2.3, so I'm releasing + only Python 2.3 packages from right now. + + -- Ricardo Javier Cardenes Medina Sat, 3 Jan 2004 20:31:21 +0000 + +python-qt3 (3.8-3) unstable; urgency=low + + * Updated the .prerm files. The "PACKAGE" names were not up to date + with the c102 nomenclature. + + -- Ricardo Javier Cardenes Medina Tue, 23 Sep 2003 05:30:59 +0100 + +python-qt3 (3.8-2.1) unstable; urgency=medium + + * NMU. + * Fix -p paramter for patches leading to FTBFS on mips/mipsel. + + -- Matthias Klose Sat, 11 Oct 2003 11:49:37 +0200 + +python-qt3 (3.8-2) unstable; urgency=low + + * Previous release introduced Python 2.3 support. + Closes: Bug#206599 + * Built again agains Qt 3.2. Trolltech substracted a symbol and thus + the import gets wrong. + Closes: Bug#208291 + + -- Ricardo Javier Cardenes Medina Tue, 2 Sep 2003 01:41:06 +0100 + +python-qt3 (3.8-1) unstable; urgency=low + + * New upstream version + * Added Python 2.3 support + * Making Python 2.3 the default version + + -- Ricardo Javier Cardenes Medina Tue, 19 Aug 2003 00:27:10 +0100 + +python-qt3 (3.7-1) unstable; urgency=low + + * New upstream release. Closes: Bug#198930 + * Modified to comply with Debian Policy v3.5.10 + * Use of dpatch for some arch-specific build-time changes + + -- Ricardo Javier Cardenes Medina Sun, 6 Jul 2003 19:53:05 +0100 + +python-qt3 (3.6-1) unstable; urgency=low + + * New upstream release + * Changed some > at depends by >>. + + -- Ricardo Javier Cardenes Medina Thu, 22 May 2003 12:19:15 +0100 + +python-qt3 (3.5-3) unstable; urgency=low + + * Patched build.py. We _don't_ want -lGLU. + + -- Ricardo Javier Cardenes Medina Wed, 19 Feb 2003 16:48:53 +0000 + +python-qt3 (3.5-2) unstable; urgency=low + + * Compiled with G++ 3.2. Some packages renamed with c102 according + to the G++ 3.2 transition plan. + * Now we wait to sip (>= 3.5) to be up. Closes: Bug#179579 + * Disabling qassistantclient.sip while Qt3 maintainer fix + libqassistantclient.a + + -- Ricardo Javier Cardenes Medina Tue, 4 Feb 2003 01:27:30 +0000 + +python-qt3 (3.5-1) unstable; urgency=low + + * Update to new upstream release. + * Fixed a bug in the debian/rules that prevented python-qt3-doc + to be populated. (closes: Bug#170942) + * 3.4-1 was uploaded as a native package. This is fixed + now (closes: Bug#174153) + * New packages -qtext for QScintilla support + * Now python-qt3 produces qt-version-independent packages that were + produced by python-qt2. + * Now is mandatory to agree with the license, as with Qt. I chose the + same solution as with Qt packages (yes | ...) + + -- Ricardo Javier Cardenes Medina Thu, 2 Jan 2003 23:33:57 +0000 + +python-qt3 (3.4+20021129-2) unstable; urgency=low + + * Generating shlibs (I forgot to, and other packages need it at build + time) + + -- Ricardo Javier Cardenes Medina Wed, 4 Dec 2002 23:35:50 +0000 + +python-qt3 (3.4+20021122-1) unstable; urgency=low + + * Upgrade to the development version + + -- Ricardo Javier Cardenes Medina Sun, 24 Nov 2002 06:44:23 +0000 + +python-qt3 (3.4-1) unstable; urgency=low + + * New upstream version + + -- Ricardo Javier Cardenes Medina Tue, 24 Sep 2002 08:26:32 +0100 + +python-qt3 (3.3.2-1) unstable; urgency=low + + * New upstream version + + -- Ricardo Javier Cardenes Medina Sat, 10 Aug 2002 16:10:08 +0100 + +python-qt3 (3.3+rc2-1) unstable; urgency=low + + * Update to upstream version + * Changed configuration system + + -- Ricardo Javier Cardenes Medina Sun, 30 Jun 2002 12:59:02 +0100 + +python-pyqt (2.5-4) unstable; urgency=low + + * There was an error on the Alpha fix (CFLAGS -> CXXFLAGS) + + -- Ricardo Javier Cardenes Medina Fri, 22 Mar 2002 13:14:05 +0000 + +python-pyqt (2.5-3) unstable; urgency=low + + * Added some code at rules to cope with an internal + gcc error at Alpha platform. + * 121534 was closed on NMU and already applied at 2.5-2, but + forgot to close it (closes: Bug#121534). + + -- Ricardo Javier Cardenes Medina Tue, 19 Mar 2002 23:26:59 +0000 + +python-pyqt (2.5-2) unstable; urgency=low + + * Added a conflicts clause on dcoppython (closes: Bug#133330) + * Closes NMU notify (closes: Bug#127193) + + -- Ricardo Javier Cardenes Medina Sat, 16 Feb 2002 00:53:59 +0000 + +python-pyqt (2.5-1.2) unstable; urgency=low + + * Non-maintainer release: Ooops, it needs a build-dependency on + python2.1-dev and a dependency on python (>= 2.1), python (<< 2.2), + otherwise a future rebuild of the package may lead to inconsistent + dependencies. To play safe, I also made the dependencies and + build-dependencies on sip/libsip versioned. + + -- Gregor Hoffleit Mon, 31 Dec 2001 11:31:26 +0100 + +python-pyqt (2.5-1.1) unstable; urgency=low + + * Non-maintainer release: rebuilt for Python 2.1 (closes: Bug#121534). + + -- Gregor Hoffleit Mon, 31 Dec 2001 00:41:26 +0100 + +python-pyqt (2.5-1) unstable; urgency=low + + * Upstream upgrade + * Syncs with sip 2.5 (closes: Bug#109283) + * Leaves almost all examples uncompressed (closes: Bug#104761) + + -- Ricardo Javier Cardenes Medina Mon, 20 Aug 2001 14:05:25 +0100 + +python-pyqt (2.4-3) unstable; urgency=low + + * Automatic depend from xlibs breaks installation (my version was + higher than the one at the Debian sites) + + -- Ricardo Javier Cardenes Medina Sat, 30 Jun 2001 04:06:12 +0100 + +python-pyqt (2.4-2) unstable; urgency=low + + * Added build-deps (closes: Bug#102117) + * Added man page for pyuic + + -- Ricardo Javier Cardenes Medina Mon, 25 Jun 2001 04:10:19 +0100 + +python-pyqt (2.4-1) unstable; urgency=low + + * Initial Release. (closes: Bug#93906) + + -- Ricardo Javier Cardenes Medina Fri, 22 Jun 2001 03:08:41 +0100 --- python-qt3-3.17.6.orig/debian/python-qt3.install +++ python-qt3-3.17.6/debian/python-qt3.install @@ -0,0 +1,7 @@ +usr/lib/python*/*-packages/qtcanvas.so +usr/lib/python*/*-packages/qtnetwork.so +usr/lib/python*/*-packages/qtsql.so +usr/lib/python*/*-packages/qttable.so +usr/lib/python*/*-packages/qtui.so +usr/lib/python*/*-packages/qtxml.so +usr/lib/python*/*-packages/qt.so --- python-qt3-3.17.6.orig/debian/watch +++ python-qt3-3.17.6/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://www.riverbankcomputing.com/software/pyqt/download3 \ + /static/Downloads/PyQt3/PyQt-x11-gpl-([.\d]*)\.tar\.gz --- python-qt3-3.17.6.orig/debian/python-qtext.install +++ python-qt3-3.17.6/debian/python-qtext.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/qtext.so --- python-qt3-3.17.6.orig/debian/python-qt-dev.preinst +++ python-qt3-3.17.6/debian/python-qt-dev.preinst @@ -0,0 +1,12 @@ +#!/bin/sh +# TODO: remove this file after releasing Squeeze +set -e +if [ "$1" = upgrade ] +then + if dpkg --compare-versions "$2" lt 3.17.6-2; then + pycentral pkgremove python-qt-dev + fi +fi + +#DEBHELPER# + --- python-qt3-3.17.6.orig/debian/docs +++ python-qt3-3.17.6/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- python-qt3-3.17.6.orig/debian/README.Debian +++ python-qt3-3.17.6/debian/README.Debian @@ -0,0 +1,4 @@ +DOCUMENTATION +------------- +You can find doc and examples about PyQt in the package python-qt-doc + --- python-qt3-3.17.6.orig/debian/compat +++ python-qt3-3.17.6/debian/compat @@ -0,0 +1 @@ +5 --- python-qt3-3.17.6.orig/debian/copyright +++ python-qt3-3.17.6/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by Ricardo Javier Cardenes Medina on +Tue, 7 May 2002 04:02:33 +0100 + +It was downloaded from http://www.riverbankcomputing.co.uk + +Upstream Author: Phil Thompson (phil@river-bank.demon.co.uk) + +Terms and Conditions + +Copyright (c) 1998, 1999, 2000, 2001 + Phil Thompson +Copyright (c) 2002 + Riverbank Computing Limited + +pylupdate is Copyright (c) 2002 + Detlev Offenbach + +Both PyQt and its utils, and pylupdate are free software; you may +redistribute them and/or modify it under the terms of the GNU General +Public License as published by the Free Software Foundation; either +version 2, or (at your option) any later version. + +A copy of the GNU General Public License is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +parts of the code are Copyright (c) 2000 Trolltech AS, under the following +license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from the copyright holder. --- python-qt3-3.17.6.orig/debian/python-qt-dev.install +++ python-qt3-3.17.6/debian/python-qt-dev.install @@ -0,0 +1,2 @@ +sip/* usr/share/sip/qt + --- python-qt3-3.17.6.orig/debian/control +++ python-qt3-3.17.6/debian/control @@ -0,0 +1,109 @@ +Source: python-qt3 +Section: python +Priority: optional +Maintainer: Ricardo Javier Cardenes Medina +Uploaders: Torsten Marek , Bernd Zeimetz , Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-10), libqt3-mt-dev (>= 3:3.3.4-4), qt3-dev-tools (>= 3:3.3.4-4), qt3-apps-dev (>= 3:3.3.4-4), sip4 (>= 4.7.9), python-sip4-dev (>= 4.7.9), libqscintilla-dev (>= 1.7), python-support (>= 0.7.1), dpatch, python-sip4-dbg, python-all-dbg +Standards-Version: 3.8.1 +Homepage: http://www.riverbankcomputing.co.uk/pyqt/index.php +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-qt3/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-qt3/trunk/ + +Package: python-qt3 +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-sip4 (>= 4.7), python-sip4 (<= 4.8) +Suggests: python-qt3-gl, python-qt3-doc, libqt3-mt-mysql|libqt3-mt-odbc|libqt3-mt-psql +Provides: ${python:Provides} +Description: Qt3 bindings for Python + Python binding module that allows use of Qt X Window toolkit v3. + You can use it to create portable graphics-capable scripts (there + are PyQt versions for Linux, Windows and MacOS X). + . + At this moment PyQt offers a vast subset of Qt API. There are + some minor issues related to the differences between C++ and Python + (types, etc), but usually you'll be able to write code pretty the + same way in both languages (with syntax differences, of course) + +Package: python-qt3-dbg +Architecture: any +Priority: extra +Section: debug +Depends: ${shlibs:Depends}, python-dbg, python-qt3 (= ${binary:Version}), python-sip4-dbg (>= 4.7) +Description: Qt3 bindings for Python (debug extension) + Python binding module that allows use of Qt X Window toolkit v3. + You can use it to create portable graphics-capable scripts (there + are PyQt versions for Linux, Windows and MacOS X). + . + This package contains the extension built for the Python debug interpreter. + +Package: python-qt3-gl +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-qt3 (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2) +Suggests: python-qt3-doc +Provides: ${python:Provides} +Description: Qt3 OpenGL bindings for Python + Python binding module that allows use of the OpenGL facilities + offered by the Qt X Window toolkit v3. You can use it to create + portable graphics-capable scripts (there are PyQt versions for + Linux, Windows and MacOS X). + +Package: python-qt3-gl-dbg +Priority: extra +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, python-dbg, python-qt3-gl (= ${binary:Version}), python-qt3-dbg (= ${binary:Version}) +Description: Qt3 OpenGL bindings for Python (debug extension) + Python binding module that allows use of the OpenGL facilities + offered by the Qt X Window toolkit v3. You can use it to create + portable graphics-capable scripts (there are PyQt versions for + Linux, Windows and MacOS X). + . + This package contains the extension built for the Python debug interpreter. + +Package: python-qtext +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-qt3 (= ${binary:Version}) +Provides: ${python:Provides} +Description: Qt extensions for PyQt + PyQt Extensions. Contains: + . + * QScintilla: a featureful Qt source code editing component based + on Scintilla. + +Package: python-qtext-dbg +Priority: extra +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, python-dbg, python-qtext (= ${binary:Version}), python-qt3-dbg (= ${binary:Version}) +Description: Qt debug extensions for PyQt + PyQt debug Extensions. Contains: + . + * QScintilla: a featureful Qt source code editing component based + on Scintilla. + +Package: pyqt-tools +Architecture: any +Depends: ${shlibs:Depends} +Description: pyuic and pylupdate for Qt3 + pyuic is the PyQt counterpart for Qt's uic. It takes an XML + user interface file and generates Python code. + . + pylupdate is the counterpart for Qt's lupdate. It updates Qt + Linguist translation files from Python code. + +Package: python-qt-dev +Suggests: sip4 +Replaces: python-qt3 (<< 3.17.3-2) +Architecture: all +Description: Qt bindings for Python - Development files + Development .sip files with definitions of PyQt classes. They + are needed to build PyQt, but also as building blocks of other + packages based on them, like PyKDE. + +Package: python-qt3-doc +Section: doc +Architecture: all +Suggests: python-qt3 +Description: Qt bindings for Python - Documentation and examples + Documentation and examples for the PyQt (bindings that allow + the use of Qt library from within a Python script). --- python-qt3-3.17.6.orig/debian/python-qt3-gl.install +++ python-qt3-3.17.6/debian/python-qt3-gl.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/qtgl.so --- python-qt3-3.17.6.orig/debian/rules +++ python-qt3-3.17.6/debian/rules @@ -0,0 +1,171 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_OPTIONS + +include /usr/share/dpatch/dpatch.make + +-include /usr/share/python/python.mk +ifeq (,$(py_sitename)) +py_sitename = site-packages +py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages +py_sitename_sh = $(py_sitename) +py_libdir_sh = $(py_libdir) +endif + + +DOC=$(CURDIR)/debian/python-qt3-doc/usr/share/doc/python-qt3-doc +INSTDIR=$(CURDIR)/debian + +export QTDIR=/usr/share/qt3 +export QMAKESPEC=$(QTDIR)/mkspecs/linux-g++ + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CXXFLAGS += -O0 +else + CXXFLAGS += -O1 +endif + +PYTHONS := $(shell pyversions -vr debian/control) + + +GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p') +ifneq (,$(filter $(GCCVER),4.2 4.3)) + SPLIT=40 +else + SPLIT=10 +endif + +.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp + +configure: $(PYTHONS:%=build-%/configure-stamp) $(PYTHONS:%=dbg-build-%/configure-stamp) +build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p build-$* + cd build-$* && echo yes \ + | python$* ../configure.py \ + -c -n /usr/include/qscintilla \ + -o /usr/lib -u -j $(SPLIT) \ + -d /usr/lib/python$*/$(call py_sitename,$*) \ + -l /usr/include/python$* \ + -v /usr/share/sip/qt \ + -m /usr/lib/python$*/config \ + CXXFLAGS_RELEASE="" CXXFLAGS="${CXXFLAGS}" STRIP="" + touch $@ + +dbg-build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p dbg-build-$* + cd dbg-build-$* && echo yes \ + | python$*-dbg ../configure.py \ + -c -n /usr/include/qscintilla \ + -o /usr/lib -u -j $(SPLIT) \ + -d /usr/lib/python$*/$(call py_sitename,$*) \ + -l /usr/include/python$*_d \ + -v /usr/share/sip/qt \ + -m /usr/lib/python$*/config_d \ + CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g" STRIP="" + touch $@ + +build: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp) + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + touch $@ + +dbg-build-%/build-stamp: dbg-build-%/configure-stamp + dh_testdir + $(MAKE) -C dbg-build-$* + touch $@ + +install-indep: configure + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + for version in ${PYTHONS}; do\ + pylib=$$(python$$version -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'); \ + mkdir -p debian/python-qt-dev/$$pylib;\ + install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/python-qt-dev/$$pylib;\ + done + dh_install -i + +install-arch: build + dh_testdir + dh_testroot + dh_clean -k -a + dh_installdirs -a + for version in ${PYTHONS}; do \ + $(MAKE) -C build-$$version install DESTDIR=$(CURDIR)/debian/tmp;\ + done + for version in ${PYTHONS}; do \ + pylib=$$(python$$version -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'); \ + $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-qt3-dbg;\ + mkdir -p debian/python-qt3-gl-dbg/$$pylib;\ + mv debian/python-qt3-dbg/$$pylib/qtgl.so \ + debian/python-qt3-gl-dbg/$$pylib/;\ + mkdir -p debian/python-qtext-dbg/$$pylib;\ + mv debian/python-qt3-dbg/$$pylib/qtext.so \ + debian/python-qtext-dbg/$$pylib/;\ + done + + dh_install -a --sourcedir=$(CURDIR)/debian/tmp + + for i in $$(find debian/python-*-dbg -name '*.so'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + find debian/python-*-dbg ! -type d \ + ! \( -name '*.so' -o -name '*config_d.py' \) | xargs rm -f + find debian/python-*-dbg -depth -type d -empty -exec rmdir {} \; + +clean: unpatch + dh_testdir + dh_testroot + rm -rf $(PYTHONS:%=build-%) $(PYTHONS:%=dbg-build-%) + rm -f *-stamp + dh_clean + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installman + dh_installchangelogs ChangeLog + dh_installdocs -A NEWS THANKS + dh_installexamples + dh_link +ifeq (,$(findstring -i, $(DH_OPTIONS))) + DH_OPTIONS= dh_strip -ppyqt-tools + set -e; \ + for p in python-qt3 python-qt3-gl python-qtext; do \ + DH_OPTIONS= dh_strip -p$$p --dbg-package=$$p-dbg; \ + rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \ + ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \ + done +endif +# dh_strip + dh_compress -X.py -X.bmp -X.ui -X.sql + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary configure --- python-qt3-3.17.6.orig/debian/python-qt3-doc.install +++ python-qt3-3.17.6/debian/python-qt3-doc.install @@ -0,0 +1 @@ +doc/PyQt.html usr/share/doc/python-qt3-doc/html --- python-qt3-3.17.6.orig/debian/python-qt-dev.dirs +++ python-qt3-3.17.6/debian/python-qt-dev.dirs @@ -0,0 +1 @@ +usr/share/sip/qt --- python-qt3-3.17.6.orig/debian/pycompat +++ python-qt3-3.17.6/debian/pycompat @@ -0,0 +1 @@ +2 --- python-qt3-3.17.6.orig/debian/pyqt-tools.install +++ python-qt3-3.17.6/debian/pyqt-tools.install @@ -0,0 +1 @@ +usr/bin/* --- python-qt3-3.17.6.orig/debian/python-qt3-doc.dirs +++ python-qt3-3.17.6/debian/python-qt3-doc.dirs @@ -0,0 +1,2 @@ +usr/share/doc/python-qt3-doc/html +usr/share/doc/python-qt3-doc/examples --- python-qt3-3.17.6.orig/debian/manpages/pylupdate.1 +++ python-qt3-3.17.6/debian/manpages/pylupdate.1 @@ -0,0 +1,83 @@ +.TH pylupdate 1 "18 October 2001" "Trolltech AS" \" -*- nroff -*- +.\" +.\" Copyright 2001 Trolltech AS. All rights reserved. +.\" Copyright 2004 Ricardo Cardenes. All rights reserved. +.\" +.\" This file may be distributed and/or modified under the terms of the +.\" GNU General Public License version 2 as published by the Free Software +.\" Foundation and appearing in the file LICENSE.GPL included in the +.\" packaging of this file. +.\" +.\" This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +.\" WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +.\" +.\" See http://www.trolltech.com/gpl/ for GPL licensing information. +.\" +.SH NAME +pylupdate \- update Qt Linguist translation files from Python sources +.SH SYNOPSIS +.B pylupdate +.RI "[ " options " ] " project-file... +.SH DESCRIPTION +This page documents the +.B Qt Linguist Update +tool for the Qt GUI toolkit, for Python source files. +.B PyLupdate +reads a qmake project file (.pro file), finds the translatable +strings in the specified source, header and interface files, and +updates the translation files (.ts files) specified in it. The +translation files are given to the translator who uses +.B Qt Linguist +to read the files and insert the translations. +.PP +The .ts file format is a simple human-readable XML format that can be +used with version control systems if required. +.PP +.SH OPTIONS +.TP +.I "-help" +Display the usage and exit. +.TP +.I "-noobsolete" +Drop all obsolete strings. +.TP +.I "-verbose" +Explain what is being done. +.TP +.I "-version" +Display the version of +.B pylupdate +and exit. +.SH USAGE +Here is an example .pro file that can be given to +.B pylupdate: +.PP +.in +4 +.nf +SOURCES = funnydialog.py \\ + main.py \\ + wackywidget.py +FORMS = fancybox.ui +TRANSLATIONS = gnomovision_dk.ts \\ + gnomovision_fi.ts \\ + gnomovision_no.ts \\ + gnomovision_se.ts +.fi +.in -4 +.PP +When running +.B pylupdate +on this project file, the translatable strings in all the files +listed in the SOURCES and FORMS entries will be put in +the translation files listed in the TRANSLATIONS entry. Previous +translations will be reused as far as possible, and translated +strings that have vanished from the source files are marked obsolete. +.SH "SEE ALSO" +.BR lupdate (1), +.BR lrelease (1) +and +.BR http://doc.trolltech.com/i18n.html +.SH AUTHOR +This manual page was written by Ricardo J. Cárdenes Medina +for the Debian GNU/Linux System (but may be used by others), based +on Trolltech's manual page for lupdate --- python-qt3-3.17.6.orig/debian/manpages/pyuic.1 +++ python-qt3-3.17.6/debian/manpages/pyuic.1 @@ -0,0 +1,74 @@ +.TH pyuic 1 "25 June 2001" \" -*- nroff -*- +.SH NAME +pyuic \- Qt user interface compiler for Python +.SH SYNOPSIS +.B pyuic +[options] +.SH DESCRIPTION +This page documents the +.B Python User Interface Compiler +for the Qt GUI application framework. The +.B pyuic +reads a user interface definition file (.ui) in XML as generated by Qt +Designer and creates corresponding Python module. +.PP +.PP +Generate implementation: +.br +.I "\fB pyuic [options] \fI" +.br +.PP +Generate image collection: +.br +.I "\fB pyuic [options] -embed \fI \fP ..." +.br + \fI\fP: project name + \fI\fP: image files +.br +.PP +Generate subclass implementation: +.br +.I "\fB pyuic [options] -subimpl \fI" +.br + \fI\fP: name of the subclass to generate +.PP + +.SH GENERAL OPTIONS +.TP +.I "-o file" +Write output to +.I file +rather than to stdout. +.TP +.I "-p indent" +Set the Python +.I indent +in spaces (0 to use a tab) +.TP +.I "-tr func" +Use +.I func(...) +rather than tr(...) for i18n. +.TP +.I -x +Generate extra code to test the class +.TP +.I -test +Generate extra code to test but not display the class +.TP +.I -version +Display version of pyuic +.TP +.I -help +Display this information + +.SH "SEE ALSO" +.BR uic (1) + +.BR http://www.trolltech.com/ + +.BR http://www.riverbankcomputing.co.uk/ +.SH AUTHOR +This manual page was written by Ricardo J. Cárdenes Medina +for the Debian GNU/Linux System (but may be used by others), based +on Trolltech's manual page for uic --- python-qt3-3.17.6.orig/debian/patches/00list +++ python-qt3-3.17.6/debian/patches/00list @@ -0,0 +1 @@ +01_configure --- python-qt3-3.17.6.orig/debian/patches/01_configure.dpatch +++ python-qt3-3.17.6/debian/patches/01_configure.dpatch @@ -0,0 +1,123 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_configure.dpatch by Torsten Marek +## +## DP: Add object directory build support to configure.py + +@DPATCH@ +diff -urNad python-qt3-3.17.3~/configure.py python-qt3-3.17.3/configure.py +--- python-qt3-3.17.3~/configure.py 2007-07-30 17:51:21.000000000 +0200 ++++ python-qt3-3.17.3/configure.py 2007-09-15 21:38:51.000000000 +0200 +@@ -30,6 +30,15 @@ + + import sipconfig + ++topsrcdir = os.path.dirname(os.path.abspath(__file__)) ++has_objdir = topsrcdir != os.path.abspath(os.path.curdir) ++if not has_objdir: ++ topsrcdir = None ++ ++def srcPath(filename): ++ if topsrcdir is not None: ++ return os.path.join(topsrcdir, filename) ++ return filename + + # Initialise the globals. + pyqt_version = 0x031103 +@@ -304,7 +313,8 @@ + install_dir=opt_pyqtbindir, + console=1, + qt=1, +- warnings=1 ++ warnings=1, ++ topsrcdir=topsrcdir + ) + + makefile.extra_defines.append("UIC") +@@ -316,6 +326,14 @@ + if qt_version < 0x030100: + makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib") + ++ if has_objdir: ++ makefile.extra_include_dirs.append(srcPath("pyuic3")) ++ try: ++ os.mkdir("pyuic3") ++ except OSError, e: ++ if e.errno != 17: ++ raise e ++ + makefile.generate() + tool_dirs.append("pyuic3") + +@@ -335,7 +353,8 @@ + install_dir=opt_pyqtbindir, + console=1, + qt=1, +- warnings=1 ++ warnings=1, ++ topsrcdir=topsrcdir + ) + + makefile.extra_defines.append("QT_INTERNAL_XML") +@@ -343,6 +362,14 @@ + if prof or "qtxml" not in pyqt_modules: + makefile.extra_defines.append("QT_MODULE_XML") + ++ if has_objdir: ++ makefile.extra_include_dirs.append(srcPath("pylupdate3")) ++ try: ++ os.mkdir("pylupdate3") ++ except OSError, e: ++ if e.errno != 17: ++ raise e ++ + makefile.generate() + tool_dirs.append("pylupdate3") + elif qt_version >= 0x020000: +@@ -599,7 +626,7 @@ + opengl is set if the application uses OpenGL. + """ + # Check the module's main .sip file exists. +- if os.access(os.path.join("sip", mname, mname + "mod.sip"), os.F_OK): ++ if os.access(srcPath(os.path.join("sip", mname, mname + "mod.sip")), os.F_OK): + sipconfig.inform("Checking to see if the %s module should be built..." % mname) + + if check_class(incfile, ctor, define, include_dir, lib_dir, lib, opengl): +@@ -898,10 +925,14 @@ + argv.append(buildfile) + + argv.append("-I") +- argv.append("sip") ++ argv.append(srcPath("sip")) + + # SIP assumes POSIX style path separators. +- argv.append(string.join(["sip", mname, mname + "mod.sip"], "/")) ++ if topsrcdir is not None: ++ argv.append(string.join([topsrcdir, "sip", mname, mname + "mod.sip"], "/")) ++ else: ++ argv.append(string.join(["sip", mname, mname + "mod.sip"], "/")) ++ + + os.system(string.join(argv)) + +@@ -916,7 +947,11 @@ + sipfiles = [] + + for s in glob.glob("sip/" + mname + "/*.sip"): +- sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s))) ++ if has_objdir: ++ topdir = topsrcdir ++ else: ++ topdir = ".." ++ sipfiles.append(os.path.join(topdir, "sip", mname, os.path.basename(s))) + + installs.append([sipfiles, os.path.join(pyqt.sip_dir(), mname)]) + +@@ -1418,7 +1453,7 @@ + ).generate() + + # Install the configuration module. +- create_config("pyqtconfig.py", "pyqtconfig.py.in", macros) ++ create_config("pyqtconfig.py", srcPath("pyqtconfig.py.in"), macros) + + + ###############################################################################