debian/0000775000000000000000000000000012323242340007163 5ustar debian/python-qt4-doc.examples0000664000000000000000000000001312312315152013507 0ustar examples/* debian/source/0000775000000000000000000000000012312315152010463 5ustar debian/source/format0000664000000000000000000000001412312315152011671 0ustar 3.0 (quilt) debian/manpages/0000775000000000000000000000000012312315152010756 5ustar debian/manpages/pylupdate4.10000664000000000000000000000222212312315152013131 0ustar .\" .\" Created by Torsten Marek .TH PYLUPDATE4 1 "2007/07/31" "pylupdate 4.3" .SH NAME pylupdate4 \- create or update Qt Linguist translation files for PyQt4 applications .SH SYNOPSIS .B pylupdate4 [\fIOPTION\fR]... \fIPROJECT-FILE\fR .br .B pylupdate4 [\fIOPTION\fR]... \fISOURCE\fR... \fB\-ts\fR \fITRANSLATION-FILE\fR... .SH DESCRIPTION .B pylupdate4 reads a qmake project file (.pro), finds the translatable strings in the specified sources and updates the translation files (.ts files) specified in it. The translation files are given to the translator who can use Qt Linguist to read the files and insert the translations. .br The .ts file format is a simple human-readable XML format that can be used with version control systems if required. .SH OPTIONS .TP \fB\-help\fR Show a summary of the options. .TP .B \-version Display the version number of pylupdate4 of the version of Qt which PyQt4 was generated for. .TP .B \-noobsolete Drop all obsolete strings. .TP .B \-verbose Increase verbosity. .SH AUTHOR This manual page was written for Debian GNU/Linux by and Torsten Marek , but may freely be used by others. debian/manpages/pyrcc4.10000664000000000000000000000260712312315152012251 0ustar .\" .\" Created by Torsten Marek .TH PYRCC4 1 "2007/07/31" "pyrcc 4.3" .SH NAME pyrcc4 \- compile Qt resource files for PyQt4 applications .SH SYNOPSIS .B pyrcc4 [\fIOPTIONS\fR]... \fIFILES\fR .SH DESCRIPTION .B pyrcc4 takes a Qt Resource File (\.qrc) and converts it into a Python module which can be imported into a PyQt4 application. All files loaded by Qt that are prefixed with a colon will be loaded from the resources rather than the file system. .SH OPTIONS .TP \fB\-help\fR Show a summary of the options. .TP \fB\-version\fR Display the version number of pyrcc4 of the version of Qt which PyQt4 was generated for. .TP \fB\-py2\fR Generate code for any Python v2.x version (default). .TP \fB\-py3\fR Generate code for any Python v3.x version. .TP \fB\-o\fR \fIFILE\fR Write the generated output to \fIFILE\fR instead of stdout. .TP \fB\-name\fR \fIFUN\fR Create an external initialization function named \fIFUN\fR. .TP \fB\-threshold\fR \fILEVEL\fR Set the threshold above which files should be compressed. .TP \fB\-compress\fR \fILEVEL\fR Set the compression level for all input files. .TP \fB\-root\fR \fIPATH\fR Search all resource referenced in a .qrc file under \fIPATH\fR. .TP .B \-no\-compress Do not compress the resource files at all. .SH AUTHOR This manual page was written for Debian GNU/Linux by and Torsten Marek , but may freely be used by others. debian/manpages/pyuic4.10000664000000000000000000000232412312315152012256 0ustar .\" .\" Created by Torsten Marek .TH PYUIC4 1 "2007/07/31" "pyuic 4.3" .SH NAME pyuic4 \- compile Qt4 user interfaces to Python code .SH SYNOPSIS .B pyuic4 [\fIOPTION\fR]... \fIFILE\fR .SH DESCRIPTION .B pyuic4 takes a Qt4 user interface description file and compiles it to Python code. It can also show a preview of the user interface. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR Show a summary of the options. .TP .B \-\-version Display the version number of pyuic4 of the version of Qt which PyQt4 was generated for. .TP \fB\-p\fR, \fB\-\-preview\fR Show a preview of the UI instead of generating Python code. .TP \fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR Write the generated Python code to \fIFILE\fR instead of stdout. .TP \fB\-d\fR, \fB\-\-debug\fR Show detailed debugging information about the UI generation process. .TP \fB\-x\fR, \fB\-\-execute\fR Generate extra code to test and display the class when executed as a script. .TP \fB\-i\fR, \fB\-\-indent\fR=\fINUM\fR Set the indentation width to \fINUM\fR spaces. A TAB character will be used if \fINUM\fR is 0 (default: 4). .SH AUTHOR This manual page was written for Debian GNU/Linux by Torsten Marek , but may freely be used by others. debian/watch0000664000000000000000000000015312312315152010213 0ustar version=3 opts=dversionmangle=s/\+dfsg\d*// \ http://sf.net/pyqt/PyQt-x11-gpl-(.*)\.tar\.gz debian uupdate debian/pyqtconfig_py3.py0000664000000000000000000000014512323242343012516 0ustar # Import the pyqtconfig.py for the correct python3 version and normal or debug # build. import sys debian/python-qt4-dev.install0000664000000000000000000000003312312315152013352 0ustar sip/* usr/share/sip/PyQt4 debian/python3-pyqt4.qtopengl.install0000664000000000000000000000005612312315152015067 0ustar usr/lib/python3*/*-packages/PyQt4/QtOpenGL.so debian/tests/0000775000000000000000000000000012312315152010325 5ustar debian/tests/control0000664000000000000000000000004212312315152011724 0ustar Tests: import Depends: python-qt4 debian/tests/import0000664000000000000000000000006512312315152011563 0ustar #!/bin/sh set -e python -c 'from PyQt4 import QtGui' debian/python-qt4-phonon.install0000664000000000000000000000005412312315152014100 0ustar usr/lib/python2*/*-packages/PyQt4/phonon.so debian/patches/0000775000000000000000000000000012323242155010616 5ustar debian/patches/kubuntu_fix-encoding-issues.patch0000664000000000000000000001137112323232366017305 0ustar Description: Python Qt4's QString to Python string conversion is entirely broken Reverting back to Python Qt4 4.10.3's implementation to check if it fixes the issue. Author: Rohan Garg Origin: vendor Bug-Ubuntu: https://launchpad.net/bugs/1299881 Forwarded: not-needed Reviewed-By: Harald Sitter Last-Update: 2014-04-15 --- python-qt4-4.10.4+dfsg.orig/qpy/QtCore/qpycore_qstring.cpp +++ python-qt4-4.10.4+dfsg/qpy/QtCore/qpycore_qstring.cpp @@ -1,6 +1,6 @@ // This is the support for QString. // -// Copyright (c) 2014 Riverbank Computing Limited +// Copyright (c) 2013 Riverbank Computing Limited // // This file is part of PyQt. // @@ -54,86 +54,8 @@ PyObject *qpycore_PyObject_FromQString(c PyObject *obj; #if defined(PYQT_PEP_393) - // We have to work out exactly which kind to use. We assume ASCII while we - // are checking so that we only go through the string once is the most - // common case. Note that we can't use PyUnicode_FromKindAndData() because - // it doesn't handle surrogates in UCS2 strings. - int py_len = qstr.length(); - - if ((obj = PyUnicode_New(py_len, 0x007f)) == NULL) - return NULL; - - int kind = PyUnicode_KIND(obj); - void *data = PyUnicode_DATA(obj); - const QChar *qch = qstr.data(); - - for (int i = 0; i < py_len; ++i) - { - ushort uch = qch->unicode(); - - if (uch > 0x007f) - { - // This is useless. - Py_DECREF(obj); - - // Work out what kind we really need and what the Python length - // should be. - Py_UCS4 maxchar = 0x00ff; - - do - { - if (uch > 0x00ff) - { - if (maxchar == 0x00ff) - maxchar = 0x00ffff; - - // See if this is a surrogate pair. We don't need to - // bounds check because Qt puts a null QChar on the end. - if (qch->isHighSurrogate() && (qch + 1)->isLowSurrogate()) - { - maxchar = 0x10ffff; - --py_len; - ++i; - ++qch; - } - } - } - while (++i < qstr.length()); - - // Create the correctly sized object. - if ((obj = PyUnicode_New(py_len, maxchar)) == NULL) - return NULL; - - kind = PyUnicode_KIND(obj); - data = PyUnicode_DATA(obj); - qch = qstr.data(); - - for (int py_i = 0; py_i < py_len; ++py_i) - { - Py_UCS4 py_ch; - - if (qch->isHighSurrogate() && (qch + 1)->isLowSurrogate()) - { - py_ch = QChar::surrogateToUcs4(*qch, *(qch + 1)); - ++qch; - } - else - { - py_ch = qch->unicode(); - } - - ++qch; - - PyUnicode_WRITE(kind, data, py_i, py_ch); - } - - break; - } - - ++qch; - - PyUnicode_WRITE(kind, data, i, uch); - } + obj = PyUnicode_FromKindAndData(PyUnicode_2BYTE_KIND, qstr.constData(), + qstr.length()); #elif defined(Py_UNICODE_WIDE) #if QT_VERSION >= 0x040200 QVector ucs4 = qstr.toUcs4(); @@ -144,8 +66,8 @@ PyObject *qpycore_PyObject_FromQString(c memcpy(PyUnicode_AS_UNICODE(obj), ucs4.constData(), ucs4.size() * sizeof (Py_UNICODE)); #else - // Note that this doesn't handle code points greater than 0xffff. It could - // but it's only an issue for old versions of Qt. + // Note that this code doesn't handle code points greater than 0xffff very + // well. if ((obj = PyUnicode_FromUnicode(NULL, qstr.length())) == NULL) return NULL; @@ -186,8 +108,8 @@ QString qpycore_PyObject_AsQString(PyObj #if QT_VERSION >= 0x040200 return QString::fromUcs4(PyUnicode_4BYTE_DATA(obj), len); #else - // Note that this doesn't handle code points greater than 0xffff. It - // could but it's only an issue for old versions of Qt. + // Note that this code doesn't handle code points greater than 0xffff + // very well. QString qstr; @@ -206,8 +128,8 @@ QString qpycore_PyObject_AsQString(PyObj return QString::fromUcs4((const uint *)PyUnicode_AS_UNICODE(obj), PyUnicode_GET_SIZE(obj)); #else - // Note that this doesn't handle code points greater than 0xffff. It could - // but it's only an issue for old versions of Qt. + // Note that this code doesn't handle code points greater than 0xffff very + // well. QString qstr; debian/patches/qreal_float_support.diff0000664000000000000000000001320512312315152015532 0ustar ## 03_qreal_float_support.dpatch by Michael Casadevall Index: python-qt4-4.10.3/sip/QtCore/qlist.sip =================================================================== --- python-qt4-4.10.3.orig/sip/QtCore/qlist.sip 2013-09-20 07:55:07.028033774 +0100 +++ python-qt4-4.10.3/sip/QtCore/qlist.sip 2013-09-20 07:55:07.024033774 +0100 @@ -819,3 +819,227 @@ return sipGetState(sipTransferObj); %End }; + +// If we're on an architecture where qreal != double, then we need to also +// explicately handle doubles. On architectures where qreal == double, they +// will automaticially be cast upwards + +%If (!PyQt_qreal_double) + +%If (Qt_4_3_0 -) +// QList > is implemented as a Python list of 2-element tuples. +%MappedType QList > +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + // Create the list. + PyObject *l; + + if ((l = PyList_New(sipCpp->size())) == NULL) + return NULL; + + // Set the list elements. + for (int i = 0; i < sipCpp->size(); ++i) + { + const QPair &p = sipCpp->at(i); + PyObject *pobj; + + if ((pobj = Py_BuildValue((char *)"dd", p.first, p.second)) == NULL) + { + Py_DECREF(l); + + return NULL; + } + + PyList_SET_ITEM(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + SIP_SSIZE_T len; + + // Check the type if that is all that is required. + if (sipIsErr == NULL) + { + if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0) + return 0; + + for (SIP_SSIZE_T i = 0; i < len; ++i) + { + PyObject *tup = PySequence_ITEM(sipPy, i); + + if (!PySequence_Check(tup) || PySequence_Size(tup) != 2) + return 0; + } + + return 1; + } + + QList > *ql = new QList >; + len = PySequence_Size(sipPy); + + for (SIP_SSIZE_T i = 0; i < len; ++i) + { + PyObject *tup = PySequence_ITEM(sipPy, i); + + double first = PyFloat_AsDouble(PySequence_ITEM(tup, 0)); + double second = PyFloat_AsDouble(PySequence_ITEM(tup, 1)); + + ql->append(QPair(first, second)); + } + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; +%End +%If (Qt_4_3_0 -) +// QList > is implemented as a Python list of 2-element tuples. +template +%MappedType QList > +{ +%TypeHeaderCode +#include +#include +%End + +%ConvertFromTypeCode + // Create the list. + PyObject *l; + + if ((l = PyList_New(sipCpp->size())) == NULL) + return NULL; + + // Set the list elements. + for (int i = 0; i < sipCpp->size(); ++i) + { + const QPair &p = sipCpp->at(i); + TYPE *t = new TYPE(p.second); + PyObject *pobj; + + if ((pobj = sipBuildResult(NULL, "(dB)", p.first, t, sipClass_TYPE, sipTransferObj)) == NULL) + { + Py_DECREF(l); + delete t; + + return NULL; + } + + PyList_SET_ITEM(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + SIP_SSIZE_T len; + + // Check the type if that is all that is required. + if (sipIsErr == NULL) + { + if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0) + return 0; + + for (SIP_SSIZE_T i = 0; i < len; ++i) + { + PyObject *tup = PySequence_ITEM(sipPy, i); + + if (!PySequence_Check(tup) || PySequence_Size(tup) != 2) + return 0; + + if (!sipCanConvertToInstance(PySequence_ITEM(tup, 1), sipClass_TYPE, SIP_NOT_NONE)) + return 0; + } + + return 1; + } + + QList > *ql = new QList >; + len = PySequence_Size(sipPy); + + for (SIP_SSIZE_T i = 0; i < len; ++i) + { + PyObject *tup = PySequence_ITEM(sipPy, i); + double d; + int state; + + d = PyFloat_AsDouble(PySequence_ITEM(tup, 0)); + TYPE *t = reinterpret_cast(sipConvertToInstance(PySequence_ITEM(tup, 1), sipClass_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); + + if (*sipIsErr) + { + sipReleaseInstance(t, sipClass_TYPE, state); + + delete ql; + return 0; + } + + ql->append(QPair(d, *t)); + + sipReleaseInstance(t, sipClass_TYPE, state); + } + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; +%End + +// QList is implemented as a Python list of doubles. +%MappedType QList +{ +%TypeHeaderCode +#include +%End + +%ConvertFromTypeCode + // Create the list. + PyObject *l; + + if ((l = PyList_New(sipCpp->size())) == NULL) + return NULL; + + // Set the list elements. + for (int i = 0; i < sipCpp->size(); ++i) + { + PyObject *pobj; + + if ((pobj = PyFloat_FromDouble(sipCpp->value(i))) == NULL) + { + Py_DECREF(l); + + return NULL; + } + + PyList_SET_ITEM(l, i, pobj); + } + + return l; +%End + +%ConvertToTypeCode + // Check the type if that is all that is required. + if (sipIsErr == NULL) + return (PySequence_Check(sipPy) && PySequence_Size(sipPy) >= 0); + + QList *ql = new QList; + SIP_SSIZE_T len = PySequence_Size(sipPy); + + for (SIP_SSIZE_T i = 0; i < len; ++i) + ql->append(PyFloat_AsDouble(PySequence_ITEM(sipPy, i))); + + *sipCppPtr = ql; + + return sipGetState(sipTransferObj); +%End +}; + +%End debian/patches/debian_configure_changes.diff0000664000000000000000000000354012312315152016421 0ustar Description: disable elementtree and pyuic4 wrapper Forwarded: not-needed Last-Update: 2014-03-18 --- a/configure.py +++ b/configure.py @@ -863,35 +863,6 @@ makefile.generate() tool.append("dbus") - # Only include ElementTree for older versions of Python. - if sipcfg.py_version < 0x020500: - sipconfig.inform("Creating elementtree Makefile...") - - makefile = sipconfig.PythonModuleMakefile( - configuration=sipcfg, - dstdir=os.path.join(pyqt_modroot, "elementtree"), - dir="elementtree" - ) - - makefile.generate() - tool.append("elementtree") - - # Create the pyuic4 wrapper. Use the GUI version on MacOS (so that - # previews work properly and normal console use will work anyway), but - # not on Windows (so that normal console use will work). - sipconfig.inform("Creating pyuic4 wrapper...") - - if sys.platform == 'darwin': - gui = True - - if opts.use_arch is None: - use_arch = '' - else: - use_arch = ' '.join(opts.use_arch) - else: - gui = False - use_arch = '' - # The pyuic directory may not exist if we are building away from the # source directory. try: @@ -900,7 +871,6 @@ pass uicdir=os.path.join(pyqt_modroot, "uic") - wrapper = sipconfig.create_wrapper(os.path.join(uicdir, "pyuic.py"), os.path.join("pyuic", "pyuic4"), gui, use_arch) sipconfig.inform("Creating pyuic4 Makefile...") @@ -909,7 +879,6 @@ dstdir=uicdir, srcdir=os.path.join(src_dir, "pyuic", "uic"), dir="pyuic", - installs=[[os.path.basename(wrapper), opts.pyqtbindir]] ) makefile.generate() debian/patches/config_flags.diff0000664000000000000000000000156112312315152014070 0ustar Description: make sure build flags are applied when building designer plugin Author: Dmitry Shachnev Forwarded: no Last-Update: 2013-11-11 --- a/configure.py +++ b/configure.py @@ -1001,6 +1001,10 @@ if src_dir != os.path.curdir: fout.write("VPATH = %s\n" % os.path.join(src_dir, "designer")) + fout.write("QMAKE_CFLAGS += %s\n" % macros["CFLAGS"]) + fout.write("QMAKE_CXXFLAGS += %s\n" % macros["CXXFLAGS"]) + fout.write("QMAKE_LFLAGS += %s\n" % macros["LFLAGS"]) + fout.write(prj) fout.close() @@ -2251,6 +2255,7 @@ sipconfig.error("This version of PyQt requires SIP v%s or later" % sipconfig.version_to_string(sip_min_version)) global opts + global macros # Parse the command line. p = create_optparser() debian/patches/series0000664000000000000000000000015312323242155012032 0ustar debian_configure_changes.diff qreal_float_support.diff config_flags.diff kubuntu_fix-encoding-issues.patch debian/pyuic40000664000000000000000000000014312312315152010321 0ustar #!/usr/bin/env python # there's no main function, so just import the module import PyQt4.uic.pyuic debian/control0000664000000000000000000002653012316332620010577 0ustar Source: python-qt4 Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Torsten Marek , Michael Casadevall , Scott Kitterman , Dmitry Shachnev Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 7), fdupes, libicu-dev, libdbus-1-dev (>= 1.0.2), libphonon-dev (>= 4:4.2.0-2), libqt4-dev (>= 4:4.8.0-1~), libqt4-opengl-dev, libqtassistantclient-dev, libqtwebkit-dev, python-all-dbg, python-all-dev (>= 2.7.5-1~), python3-all-dbg, python3-all-dev (>= 3.3), python-dbus (>= 1.0.0~), python-dbus-dbg, python3-dbus, python3-dbus-dbg, python-dbus-dev, python-sip-dbg, python-sip-dev (>= 4.15.5), python3-sip-dbg, python3-sip-dev (>= 4.15.5), python-sphinx (>= 1.0.7+dfsg-1~) Build-Conflicts: python3.2-dev (<< 3.2.3-8~), python2.7-dev (<< 2.7.5-2~) Standards-Version: 3.9.5 X-Python-Version: >= 2.4 X-Python3-Version: >= 3.0 Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-qt4/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-qt4/trunk/ XS-Testsuite: autopkgtest Package: python-qt4 Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, ${sip:Depends} Suggests: python-qt4-dbg Replaces: python-qt4-dev (<< 4.4.4-3~) Breaks: python-qscintilla2 (<= 2.5.1-1), python-qwt5-qt4 (<= 5.2.1~cvs20091107+dfsg-6), python-qwt3d-qt4 (<< 0.1.7~cvs20090625-7), python-kde4 (<= 4:4.6.80-3+b1), python-qt4-dbg (<< 4.8.3-3), python-qt4-gl (<< 4.8.3-3), python-qt4-sql-dbg (<< 4.8.3-3), python-qt4-sql (<< 4.8.3-3), python-qt4-phonon-dbg (<< 4.8.3-3), python-qt4-gl-dbg (<< 4.8.3-3), python-qt4-phonon (<< 4.8.3-3), python-sip4 (<< 4.13.1~) Description: Python bindings for Qt4 PyQt4 exposes the Qt4 API to Python. The following modules are supported: * QtCore * QtDBus * QtGui * QtNetwork * QtXml * QtScript * QtSvg * QtTest * QtAssistant * QtWebKit * QtOpenGL (in python-qt4-gl) * QtSql (in python-qt4-sql) * phonon (in python-qt4-phonon) Package: python3-pyqt4 Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, ${sip3:Depends} Suggests: python3-pyqt4-dbg Breaks: python3-sip (<< 4.13.1~) Description: Python3 bindings for Qt4 PyQt4 exposes the Qt4 API to Python3. The following modules are supported: * QtCore * QtDBus * QtGui * QtNetwork * QtXml * QtScript * QtSvg * QtTest * QtAssistant * QtWebKit * QtOpenGL (in python3-pyqt4.qtopengl) * QtSql (in python3-pyqt4.qtsql) * phonon (in python3-pyqt4.phonon) Package: python-qt4-dbg Priority: extra Section: debug Architecture: any Depends: python-dbg, python-qt4 (= ${binary:Version}), python-sip-dbg, ${misc:Depends}, ${shlibs:Depends} Description: Python bindings for Qt4 (debug extensions) PyQt4 exposes the Qt4 API to Python. . This package contains the extensions built for the Python debug interpreter. Package: python3-pyqt4-dbg Priority: extra Section: debug Architecture: any Depends: python3-dbg, python3-pyqt4 (= ${binary:Version}), python3-sip-dbg, ${misc:Depends}, ${shlibs:Depends} Description: Python3 bindings for Qt4 (debug extensions) PyQt4 exposes the Qt4 API to Python3. . This package contains the extensions built for the Python3 debug interpreter. Package: python-qt4-phonon Architecture: any Depends: python-qt4 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: Python bindings for Phonon The Phonon module of PyQt4 provides bindings for the Phonon Multimedia library to Python. Package: python3-pyqt4.phonon Architecture: any Depends: python3-pyqt4 (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: Python3 bindings for Phonon The Phonon module of PyQt4 provides bindings for the Phonon Multimedia library to Python3. Package: python-qt4-phonon-dbg Priority: extra Section: debug Architecture: any Depends: python-dbg, python-qt4-dbg (= ${binary:Version}), python-qt4-phonon (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Python bindings for Phonon (debug extensions) The Phonon module of PyQt4 provides bindings for the Phonon Multimedia library to Python. . This package contains the extensions built for the Python debug interpreter. Package: python3-pyqt4.phonon-dbg Priority: extra Section: debug Architecture: any Depends: python3-dbg, python3-pyqt4-dbg (= ${binary:Version}), python3-pyqt4.phonon (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Python3 bindings for Phonon (debug extensions) The Phonon module of PyQt4 provides bindings for the Phonon Multimedia library to Python3. . This package contains the extensions built for the Python3 debug interpreter. Package: python-qt4-dbus Architecture: any Depends: python-dbus (>= 0.84.0-2~), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: D-Bus Support for PyQt4 The D-Bus module of PyQt4 provides integration of PyQt4 applications with the D-Bus main loop. Package: python-qt4-dbus-dbg Architecture: any Priority: extra Section: debug Depends: python-dbg, python-dbus-dbg, python-qt4-dbus (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: D-Bus Support for PyQt4 (debug extensions) The D-Bus module of PyQt4 provides integration of PyQt4 applications with the D-Bus main loop. . This package contains the extensions built for the Python debug interpreter. Package: python3-dbus.mainloop.qt Architecture: any Depends: python3-dbus, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: D-Bus Support for PyQt4 with Python 3 The D-Bus module of PyQt4 provides integration of PyQt4 applications with the D-Bus main loop for Python 3 Package: python3-dbus.mainloop.qt-dbg Architecture: any Priority: extra Section: debug Depends: python3-dbg, python3-dbus-dbg, python3-dbus.mainloop.qt (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: D-Bus Support for PyQt4 (debug extensions for Python 3) The D-Bus module of PyQt4 provides integration of PyQt4 applications with the D-Bus main loop for Python 3 . This package contains the extensions built for the Python debug interpreter. Package: python-qt4-gl Architecture: any Depends: python-qt4 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: Python bindings for Qt4's OpenGL module The OpenGL module of PyQt4 provides widgets and utility classes for OpenGL rendering in a PyQt4 application. Package: python-qt4-gl-dbg Priority: extra Section: debug Architecture: any Depends: python-dbg, python-qt4-dbg (= ${binary:Version}), python-qt4-gl (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Python bindings for Qt4's OpenGL module (debug extension) The OpenGL module of PyQt4 provides widgets and utility classes for OpenGL rendering in a PyQt4 application. . This package contains the extension built for the Python debug interpreter. Package: python3-pyqt4.qtopengl Architecture: any Depends: python3-pyqt4 (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: Python 3 bindings for Qt4's OpenGL module The OpenGL module of PyQt4 provides widgets and utility classes for OpenGL rendering in a Python3 PyQt4 application. Package: python3-pyqt4.qtopengl-dbg Priority: extra Section: debug Architecture: any Depends: python3-dbg, python3-pyqt4-dbg (= ${binary:Version}), python3-pyqt4.qtopengl (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Python 3 bindings for Qt4's OpenGL module (debug extension) The OpenGL module of PyQt4 provides widgets and utility classes for OpenGL rendering in a Python3 PyQt4 application. . This package contains the extension built for the Python 3 debug interpreter. Package: python-qt4-sql Architecture: any Depends: python-qt4 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: Python bindings for PyQt4's SQL module The SQL module of PyQt4 provides widgets and utility classes for SQL database access. Package: python3-pyqt4.qtsql Architecture: any Depends: python3-pyqt4 (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: Python3 bindings for PyQt4's SQL module The SQL module of PyQt4 provides widgets and utility classes for Python3 SQL database access. Package: python-qt4-sql-dbg Priority: extra Section: debug Architecture: any Depends: python-dbg, python-qt4-dbg (= ${binary:Version}), python-qt4-sql (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Python bindings for PyQt4's SQL module (debug extension) The SQL module of PyQt4 provides widgets and utility classes for SQL database access. . This package contains the extension built for the Python debug interpreter. Package: python3-pyqt4.qtsql-dbg Priority: extra Section: debug Architecture: any Depends: python3-dbg, python3-pyqt4-dbg (= ${binary:Version}), python3-pyqt4.qtsql (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Python3 bindings for PyQt4's SQL module (debug extension) The SQL module of PyQt4 provides widgets and utility classes for Python3 SQL database access. . This package contains the extension built for the Python3 debug interpreter. Package: python-qt4-dev Architecture: all Depends: python-sip-dev, ${misc:Depends}, ${python:Depends} Description: Development files for PyQt4 This package contains the source SIP files from which the Python bindings for Qt4 are created. They are needed for building PyQt4 as well as creating bindings for own Qt4 widgets written in C++. Package: python-qt4-doc Architecture: all Section: doc Suggests: qt4-doc Depends: ${sphinxdoc:Depends}, ${misc:Depends} Description: Documentation and examples for PyQt4 PyQt4 exposes the Qt4 GUI toolkit in Python. . This package contains Python-specific documentation for PyQt4 and the Qt example programs ported to Python. Package: pyqt4-dev-tools Depends: python, python-qt4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Architecture: any Description: Development tools for PyQt4 This package contains various support tools for PyQt4 developers: * a user interface compiler (pyuic4) * a resource file generator (pyrcc4) * a translation string finder (pylupdate) debian/pyqt4-dev-tools.manpages0000664000000000000000000000011712312315152013672 0ustar debian/manpages/pyuic4.1 debian/manpages/pyrcc4.1 debian/manpages/pylupdate4.1 debian/copyright0000664000000000000000000002071612312315152011124 0ustar This package was debianized by Torsten Marek on Fri, 2 Dec 2005 11:43:16 +0100. It was downloaded from http://www.riverbankcomputing.co.uk Copyright (c) 2007,2010,2011,2012 Riverbank Computing Limited License: PyQt4 is released under the terms of the GNU General Public License. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 or version 3 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ------------------------------------------------------------------- The files in pyuic/ are (c) 2005 Torsten Marek (shlomme@gmx.net) and double-licensted under the GPL and the BSD license. Copyright (c) The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------- files in examples (except examples/designer/plugins, which are licensed under the same terms as the rest of the package) are licensed under the BSD license: ############################################################################# ## ## Copyright (C) 2010 Riverbank Computing Limited. ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ## All rights reserved. ## ## This file is part of the examples of PyQt. ## ## $QT_BEGIN_LICENSE:BSD$ ## You may use this file under the terms of the BSD license as follows: ## ## "Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## * Redistributions of source code must retain the above copyright ## notice, this list of conditions and the following disclaimer. ## * Redistributions in binary form must reproduce the above copyright ## notice, this list of conditions and the following disclaimer in ## the documentation and/or other materials provided with the ## distribution. ## * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor ## the names of its contributors may be used to endorse or promote ## products derived from this software without specific prior written ## permission. ## ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." ## $QT_END_LICENSE$ ## ############################################################################# The files in elementtree/ are (c) 1999-2004 by Fredrik Lundh. By obtaining, using, and/or copying this software and/or its associated documentation, you agree that you have read, understood, and will comply with the following terms and conditions: Permission to use, copy, modify, and distribute this software and its associated documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Secret Labs AB or the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------- The files dbus/dbus.cpp and dbus/dbus.h are: // Copyright (c) 2012 Riverbank Computing Limited // // Licensed under the Academic Free License version 2.1 // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software Foundation, // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Copyright and licensing for contrib/sandbox/sandbox.* are: Copyright (c) 2007-9 Mark Summerfield. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License, or version 3 of the License or (at your option) any later version. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.""" The Debian packaging is © 2006-2008, Torsten Marek and licensed under the GPL. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA debian/pyqt4-dev-tools.install0000664000000000000000000000001212312315152013537 0ustar usr/bin/* debian/python-qt4-doc.docs0000664000000000000000000000001112312315152012617 0ustar doc/html debian/python-qt4-doc.doc-base0000664000000000000000000000062612312315152013360 0ustar Document: pyqt4 Title: PyQt4 Reference and API Documentation Author: Phil Thompson Abstract: PyQt4 exposes the Qt4 API to Python programs This documentation contains a general reference of PyQt4 together with an API documentation for all wrapped C++ classes. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-qt4-doc/html/index.html Files: /usr/share/doc/python-qt4-doc/html/*.html debian/pyqtconfig_py3.snippet0000664000000000000000000000076312312315152013553 0ustar if sys.version_info[1] == @MINORVERS@: if 'd' in sys.abiflags: try: from PyQt4.pyqtconfig_d@MINORVERS@ import * from PyQt4.pyqtconfig_d@MINORVERS@ import _pkg_config, _default_macros except ImportError as msg: raise ImportError('No module named pyqtconfig; package python3-pyqt4-dbg not installed') else: from PyQt4.pyqtconfig_nd@MINORVERS@ import * from PyQt4.pyqtconfig_nd@MINORVERS@ import _pkg_config, _default_macros debian/python3-pyqt4.install0000664000000000000000000000156412312315152013244 0ustar usr/lib/python3*/*-packages/PyQt4/Qt.so usr/lib/python3*/*-packages/PyQt4/QtAssistant.so usr/lib/python3*/*-packages/PyQt4/QtCore.so usr/lib/python3*/*-packages/PyQt4/QtDBus.so usr/lib/python3*/*-packages/PyQt4/QtDeclarative.so usr/lib/python3*/*-packages/PyQt4/QtDesigner.so usr/lib/python3*/*-packages/PyQt4/QtGui.so usr/lib/python3*/*-packages/PyQt4/QtHelp.so usr/lib/python3*/*-packages/PyQt4/QtNetwork.so usr/lib/python3*/*-packages/PyQt4/QtScript.so usr/lib/python3*/*-packages/PyQt4/QtScriptTools.so usr/lib/python3*/*-packages/PyQt4/QtSvg.so usr/lib/python3*/*-packages/PyQt4/QtTest.so usr/lib/python3*/*-packages/PyQt4/QtWebKit.so usr/lib/python3*/*-packages/PyQt4/QtXml.so usr/lib/python3*/*-packages/PyQt4/QtXmlPatterns.so usr/lib/python3*/*-packages/PyQt4/__init__.py usr/lib/python3*/*-packages/PyQt4/pyqtconfig*.py usr/lib/python3*/*-packages/PyQt4/uic/* #usr/lib/qt4/* debian/python-qt4-sql.install0000664000000000000000000000005312312315152013375 0ustar usr/lib/python2*/*-packages/PyQt4/QtSql.so debian/compat0000664000000000000000000000000212312315152010361 0ustar 7 debian/python-qt4.install0000664000000000000000000000156412312315152012610 0ustar usr/lib/python2*/*-packages/PyQt4/Qt.so usr/lib/python2*/*-packages/PyQt4/QtAssistant.so usr/lib/python2*/*-packages/PyQt4/QtCore.so usr/lib/python2*/*-packages/PyQt4/QtDBus.so usr/lib/python2*/*-packages/PyQt4/QtDeclarative.so usr/lib/python2*/*-packages/PyQt4/QtDesigner.so usr/lib/python2*/*-packages/PyQt4/QtGui.so usr/lib/python2*/*-packages/PyQt4/QtHelp.so usr/lib/python2*/*-packages/PyQt4/QtNetwork.so usr/lib/python2*/*-packages/PyQt4/QtScript.so usr/lib/python2*/*-packages/PyQt4/QtScriptTools.so usr/lib/python2*/*-packages/PyQt4/QtSvg.so usr/lib/python2*/*-packages/PyQt4/QtTest.so usr/lib/python2*/*-packages/PyQt4/QtWebKit.so usr/lib/python2*/*-packages/PyQt4/QtXml.so usr/lib/python2*/*-packages/PyQt4/QtXmlPatterns.so usr/lib/python2*/*-packages/PyQt4/__init__.py usr/lib/python2*/*-packages/PyQt4/pyqtconfig.py usr/lib/python2*/*-packages/PyQt4/uic/* usr/lib/*/qt4/* debian/python-qt4-doc.links0000664000000000000000000000016012312315152013014 0ustar /usr/share/javascript/jquery/jquery.js /usr/share/doc/python-qt4-doc/examples/webkit/fancybrowser/jquery.min.js debian/changelog0000664000000000000000000010537012323242340011043 0ustar python-qt4 (4.10.4+dfsg-1ubuntu1) trusty; urgency=medium * Fix encoding issues when converting a QString back to ai python string (LP: #1299881) + Add kubuntu_fix-encoding-issues.patch -- Rohan Garg Tue, 15 Apr 2014 15:49:22 +0200 python-qt4 (4.10.4+dfsg-1build1) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Mon, 31 Mar 2014 19:36:00 +0100 python-qt4 (4.10.4+dfsg-1) experimental; urgency=medium [ Bernd Zeimetz ] * Removing myself from Uploaders. [ Dmitry Shachnev ] * New upstream bugfix release. * Bump sip version requirement to 4.15.5. * debian/patches/config_extra_headers.diff: drop, applied upstream. * debian/patches/phonon_cfgtest.diff: drop, fixed differently upstream. * Refresh and rebase other patches. * debian/rules: Drop Python 2.5 compatibility code. * debian/watch: Fix DFSG version mangling. * Bump Standards-Version to 3.9.5, no changes needed. -- Dmitry Shachnev Wed, 19 Mar 2014 17:23:38 +0400 python-qt4 (4.10.3+dfsg1-1) unstable; urgency=low * get-orig-source.sh: Only remove the _static folder, as we still need some files in html that are not generated by Sphinx. * Re-add debian/python-qt4-doc.docs (closes: #729993). * Remove obsolete README.debian, examples work fine now. * Do not install Windows-specific activeqt examples. * Add description to debian_configure_changes.diff. * Remove leftover debug output from debian/rules. * Symlink duplicate files in examples using fdupes. -- Dmitry Shachnev Wed, 20 Nov 2013 12:25:42 +0400 python-qt4 (4.10.3+dfsg-1) unstable; urgency=low * Update pyrcc4 man page to list -py2 and -py3 options. * Regenerate resource files during build. * Repack orig tarball to remove non-free Sphinx-generated HTML documentation and non-free JS files (closes: #723039). * Add debian/get-orig-source.sh script. * Update debian/watch to mangle dfsg version. * Drop debian/python-qt4-doc.docs, we install docs directly. * Pass --debug to configure.py when doing debug builds. * Add a patch (phonon_cfgtest.diff) to fix detection of new Phonon versions (closes: #729390). * Add a patch (config_flags.diff) to apply build flags to designer module. * Remove duplicate references to GPL license file from debian/copyright. * Add myself to Uploaders. -- Dmitry Shachnev Wed, 13 Nov 2013 14:02:27 +0400 python-qt4 (4.10.3-2) unstable; urgency=low * Upload to unstable [ Jonathan Riddell ] * Add patch qreal_float_support.diff back to add back QList code [ Scott Kitterman ] * Remove __pycache__ directories shipped in some examples -- Scott Kitterman Sat, 12 Oct 2013 02:20:26 -0400 python-qt4 (4.10.3-1) experimental; urgency=low * New upstream release - Bump minumum build-dep version for python/3-sip to 4.15 - Remove debian/patches/qreal_float_support.diff, alternate solution implemented upstream - Refresh patches * Bump minimum version for python/3-all-dev to those that support the simplified build target introduced in the last upload. (Closes: #718733) -- Scott Kitterman Wed, 21 Aug 2013 23:26:38 -0400 python-qt4 (4.10.2-2) unstable; urgency=low [ Dmitry Shachnev ] * Update dh_compress arguments so that pagefold.qss and wordlist.txt (in python-qt4-doc examples) are not compressed. [ Scott Kitterman ] * Feedback changes from Ubuntu: - Add autopkg test, to check that at least a basic import works, should catch API version changes in sip4. - Unify build targets across py2 & 3, both now multiarched and python3.2 is not supported -- Scott Kitterman Sat, 03 Aug 2013 16:16:20 -0400 python-qt4 (4.10.2-1) unstable; urgency=low * New upstream release * Add build-conflicts python3.2-dev << 3.2.3-8~ due to need for python3.2-config to support the --configdir option (avoids adding a python3.2 specific build-dep) (Closes: #711457) * Switch python2.7-dev specific build-depends to versioned build-conflict on older versions for the same reasons as python3.2-dev * Remove obsolete Build-conflicts on python-xml and python-xml-dbg -- Scott Kitterman Thu, 06 Jun 2013 23:44:13 -0400 python-qt4 (4.10.1-1) unstable; urgency=low * Upload to unstable [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Dmitrijs Ledkovs ] * Fix compiling Qt Designer plugin with multiarched python. * Enable DEB_BUILD_OPTIONS compliant parallel build. [ Scott Kitterman ] * New upstream release - Refresh patches - Update debian/rules to work with python3.2 and 3.3 (Closes: #707157) - Bump minimum required sip4 build-dep versions to 4.14.4 * Adjust pyqtconfig.py references in debian/python3-pyqt4.install to cover all variants now shipped * Fix find command in install-arch so pyqtconfig files for debug packages aren't removed * Additional minor cleanups to get files installed properly for pyqtconifg and .so files in python3-dbus.mainloop.qt/-dbg * Add debian/patches/config_extra_headers.diff so additional header directories used in python3.3 due to multiarch are found during build * Update debian/rules to account for different layout of python3.3 in anicipation of multiarched python3.3 * Add specific build-dep on python2.7-dev >=2.7.5-2~ for python2.7-config configdir support * Update python3-all-dev minimum version due to bug fixes in 3.2.3-6 for building with multiple python3 versions * Generate a multi-version pyqtconfig.py for python3 variants to account for multiple files installed into the same directory as is done with sipconfig in python3-sip (Closes: #707734) * Add removal of qpy/QtCore/qpycore_post_init.cpp to clean rule * Drop unused python:Provides * Bump standards version to 3.9.4 without further change [ Steve Langasek ] * Fine adjustments to debian/rules -- Scott Kitterman Thu, 16 May 2013 09:34:47 -0400 python-qt4 (4.9.6-1) experimental; urgency=low * New upstream release -- Scott Kitterman Mon, 10 Dec 2012 06:42:39 -0500 python-qt4 (4.9.5-1) experimental; urgency=low * New upstream release - Bump minimum python-sip-dev and python3-sip-dev versions to 4.14 - Drop debian/patches/pyuic_custom_widget.diff (it was a cherrypick from upstream and is included in this version) -- Scott Kitterman Mon, 01 Oct 2012 16:10:40 -0400 python-qt4 (4.9.3-4) unstable; urgency=low * Add -N pyqt4-dev-tools to the dh_python3 invocation so dh_pyton3 will leave pyqt4-dev-tools alone and not rewrite it's shebang to /usr/bin/python3 (Closes: 682623) -- Scott Kitterman Tue, 24 Jul 2012 16:12:15 -0400 python-qt4 (4.9.3-3) unstable; urgency=low * Add debian/patches/pyuic_custom_widget.diff from upstream to fix custom widget detection and prevent other packages from FTBFS (Closes: #680837) -- Scott Kitterman Sat, 14 Jul 2012 00:51:49 -0400 python-qt4 (4.9.3-2) unstable; urgency=low * Revert dropping of python:Provides for python-qt4 (Closes: #679819) - Needed by python-avogadro -- Scott Kitterman Thu, 05 Jul 2012 09:22:30 -0400 python-qt4 (4.9.3-1) unstable; urgency=low * New upstream release - Bump minimum sip4 build-depends requirement to 4.13.3 - Refresh patches and adapt debian/patches/fix_qthelp_ftbfs.diff to upstream configure.py changes - Drop debian/patches/dbus.patch - originally backported from upstream - Drop debian/patches/fix_qthelp_ftbfs.diff and fix_the_QAssitant_ftbfs.diff - incorporated upstream - Update debian/copyright * Remove Suggests on non-existant python-phonon-dbg and python3- phonon-dbg packages * Drop hard coded depends on python-opengl in python-qt4-gl, not needed * Add new python3-pyqt4.qtopengl and python3-pyqt4.qtopengl-dbg packages (Closes: #673925) - Uncomment package in debian/control - Correct -dbg package name in debian/rules - Add debian/python3-pyqt4.gtopengl.install * Add support for dpkg-buildflags in debian/rules - Drop special optimization for GCC 4.2 - Add build-depends on dpkg-dev (>= 1.16.1~) * Correct DBus to read D-Bus in package descriptions * Drop unneeded python:Provides -- Scott Kitterman Sun, 24 Jun 2012 12:06:10 -0400 python-qt4 (4.9.1-5) unstable; urgency=low * Upload to Unstable (Closes: #673846) * Update python-all-dev and python3-all-dev build-depend version minimums to account for introduction of --no-dbg-cleaning -- Scott Kitterman Mon, 21 May 2012 14:27:06 -0400 python-qt4 (4.9.1-4) experimental; urgency=low * Build python3-dbus.mainloop.qt/-dbg packages with experimental python3 port of dbus-python - Add packages to debian/control - Add python3-dbus and python3-dbus-dbg to build-depends - Adjust debian/rules to support python3-dbus.mainloop.qt-dbg - Provide path to dbus-python.h using --dbus option in configure since in Python 3, the build system can't find it -- Scott Kitterman Thu, 03 May 2012 10:26:27 -0400 python-qt4 (4.9.1-3) unstable; urgency=low * Upload to unstable for qt4-x11 multiarch transition * Drop python3-pyqt4-dbus for upload to unstable since the required dbus-python version is not available in unstable yet * Fix dbus related PyQt application crashes (LP: #334757) - Add debian/patches/dbus.patch from upstream * Do not compress .qml, .xpm, .mng, .qss., and .xbel file types as well as examples/animation/stickman/animations/chilling so examples in python4-qt-doc will run (Closes: #657205, #657211) * Add debian/README.Debian to python4-qt-doc to explain how to run examples * Fix debian/rules PYTHONS definition to include all supported python3 versions * Fix debian/copyright to mention both GPL versions 2 and 3 (Closes: #602721) (LP: #955004) * Bump standards version to 3.9.3 without further change -- Scott Kitterman Thu, 03 May 2012 10:26:27 -0400 python-qt4 (4.9.1-2) experimental; urgency=low * Adjust install path in debian/python-qt4.install for multiarched qt4-x11 and bump minimum build-dep version to 4:4.8.0-1~ * Use python3-dbus.mainloop.qt/dbg binary names instead of python3-pyqt4-dbus since that matches Python policy, last experimental upload was in error - Remove duplicate files from the new dbus packages in debian/rules * Build python3-dbus.mainloop.qt/-dbg packages with experimental python3 port of dbus-python - Add packages to debian/control - Add python3-dbus and python3-dbus-dbg to build-depends - Adjust debian/rules to support python3-dbus.mainloop.qt-dbg - Provide path to dbus-python.h using --dbus option in configure since in Python 3, the build system can't find it -- Scott Kitterman Sun, 12 Feb 2012 11:33:50 -0500 python-qt4 (4.9.1-1) unstable; urgency=low * Drop experimental options (multiarch qt4-x11 path and python3-pyqt4-dbus) for upload to unstable * New upstream release - Drop debian/patches/py3-fixes.patch, upstream fixed the problem in a slightly different way - Drop debian/patches/kubuntu_arm_fix.diff, fixed upstream * Install NEWS file as upstream changelog since that is what it is * Rebuild sphinx based html docs from rst files - Add python-sphinx (>= 1.0.7+dfsg-1~) to build-depends - Add sphinxdoc:Depends to python-qt4-doc depends - Add call to sphinx-build and dh_sphinxdoc for arch all packages * Drop build-depends on qtmobility-dev, pointless right now since the build system can not find its headers -- Scott Kitterman Sun, 12 Feb 2012 11:27:51 -0500 python-qt4 (4.9-3) experimental; urgency=low [ Scott Kitterman ] * Add myself to uploaders * Add missing build-depends on qtmobility-dev, python-dbus-dev, and libicu-dev * Feedback changes from Ubuntu * Adjust install path in debian/python-qt4.install for multiarched qt4-x11 and bump minimum build-dep version to 4:4.8.0-1~ * Use dh_sip3 for generating SIP depends instead of hard coded version now that dh_sip3 is available - Add dh_sip3 in debian/rules * Build python3-pyqt4-dbus/-dbg packages now that python3 port of dbus-python is availalble - Add packages to debian/control - Add python3-dbus and python3-dbus-dbg to build-depends - Adjust debian/rules to support python-pyqt4-dbus-dbg - Provide path to dbus-python.h using --dbus option in configure since in Python 3, the build system can't find it [ Barry Warsaw ] * Port dbus/dbus.cpp to work with Python3 as well and add as debian/patches/py3-fixes.patch [ Jonathan Riddell ] * Add kubuntu_arm_fix.diff to fix qpainterpath.sip use of 'double' which causes ARM to fail to build with Qt 4.8 -- Scott Kitterman Fri, 27 Jan 2012 12:15:01 -0500 python-qt4 (4.9-2) unstable; urgency=low * Team upload * Do not ship python uic in python3-pyqt4 (ship only the python3 port) (Closes: #653567) * Manually add python3-sip (>= 4.13.1~) to python3-pyqt4 depends to work around the lack of a working dh_sip3 -- Scott Kitterman Thu, 29 Dec 2011 11:10:35 -0500 python-qt4 (4.9-1) unstable; urgency=low * Team upload [ Scott Kitterman ] * New upstream release (Closes: #653293) - Adds QtDbus module support (in python-qt4 - the existing python-qt4-dbus is still provided for python) - Add relevant QtDbus.so to python-qt4.install and python3-pyqt4.install - Update relevant package descriptionts to mention QtDBus - Bump minimum python-sip-dev and python3-sip-dev version required to 4.13.1 - Add Breaks for python[3]-sip4 (<< 4.13.1~) - Refreshed patches * Build for python3 (Closes: #558389) (LP: #400826) - Add python3-all-dev/dbg and python3-sip-dev/dbg to build-depends - Add python3-qt4-* packages - Add X-Python-Version to debian/rules - Adjust debian/rules and add install-arch-3.%: rule - Add .install files for new packages - Adjust .install files for python packages to install python2* and not python* files to avoid python3 files * Use --no-dbg-cleaning for dh_python2 and dh_python3 * Fix debian/rules to remove empty directories * Drop obsolete Conflicts/Replaces * Update debian/copyright [ Felix Geyer ] * Add build-arch/build-indep targets. -- Scott Kitterman Wed, 28 Dec 2011 14:04:51 -0500 python-qt4 (4.8.6-2) unstable; urgency=low * Team upload * Update Breaks for pykde4, python-qscintilla2, and pyqwt5 since they need rebuilds with the new upstream version (Closes: #647210) * Bump standards version to 3.9.2 without further change -- Scott Kitterman Wed, 02 Nov 2011 16:40:56 -1000 python-qt4 (4.8.6-1) unstable; urgency=low * Team upload * New upstream release - Drop debian/patches/fix_uiparser_buttonbox.diff (was from upstream) -- Scott Kitterman Sat, 29 Oct 2011 13:20:14 -0400 python-qt4 (4.8.3-4) unstable; urgency=medium * Team upload * Extend/fix python-qt4 Breaks: for dh_python2 switch (Thanks to Jakub Wilk for the script that detected the problem) * Medium urgency to minimize impact on python-dbus transition -- Scott Kitterman Sun, 07 Aug 2011 20:57:47 -0400 python-qt4 (4.8.3-3) unstable; urgency=low * Team upload * Switch to dh_python2 (Closes: #634860) * Wrap and sort build-depends and depends -- José Manuel Santamaría Lema Sat, 16 Jul 2011 20:42:15 +0200 python-qt4 (4.8.3-2) unstable; urgency=low [ Scott Kitterman ] * Update from Ubuntu changes: - Bump Qt build-depends version to 4:4.7.0, add build-depends on libqtwebkit-dev, and add QtDeclarative.so to python-qt.install for Qt 4.7 compatibility - Remove obsolete dpatch artifacts from debian/patches/ fix_the_QAssitant_ftbfs.diff - Add kubuntu_01_fix_uiparser_buttonbox.diff as fix_uiparser_buttonbox.diff - Fix AttributeError in ui/uiparser.py (Upstream 4.8.4-278054fd857c) * Add qt-assistant-compat to build-depends to build QtAssistant bindings with Qt 4.7 * Bump standards version to 3.9.1 without further change -- Debian Python Modules Team Thu, 17 Mar 2011 18:43:11 -0400 python-qt4 (4.8.3-1) unstable; urgency=low * Team upload. [ Felix Geyer ] * New upstream release * debian/control - Bump build dependency on sip to 4.12.1 * debian/rules - Add "--verbose" to common configure options * debian/patches/fix_qthelp_ftbfs.diff - Add patch to fix FTBFS with ld --no-add-needed (closes: #614974) * debian/patches/debian_configure_changes.diff - Adapt to new upstream version [ Piotr Ożarowski ] * Rebuild against new python-sip version closes: #615163 * Add fix_the_QAssitant_ftbfs patch (thanks to PICCA Frédéric-Emmanuel) * Add libjs-jquery to python-qt4-doc's Depends and replace jquery files with symlinks. -- Piotr Ożarowski Tue, 01 Mar 2011 22:22:33 +0100 python-qt4 (4.7.3-1) unstable; urgency=low * New upstream release * Build against Qt 4.6 * debian/control - Bumped build dependency on libqt4-dev to >= 4.6.0 -- Torsten Marek Sun, 18 Apr 2010 18:10:54 +0200 python-qt4 (4.7.2-1) unstable; urgency=low * New upstream release * debian/control - Bumped build dependency on sip to 4.10.1 * debian/patches/fix_objdir_dbus_check.diff - Removed, fixed upstream * debian/rules - Upstream changelog has been removed, don't try to install it -- Torsten Marek Fri, 26 Mar 2010 19:57:18 +0100 python-qt4 (4.7-2) unstable; urgency=low * Uploaded new upstream to unstable (Closes: #567224, #561878, #564657, 558112) * debian/control - Bumped standards version to 3.8.4, no changes necessary * debian/rules - Build rc module for qtdemo.py and don't compress XML files (Closes: #558244) * debian/README.source - Removed, we don't use dpatch anymore * debian/patches/{series,htmllinks.diff} - Adapted/removed, pyqt4ref.html is not installed into html/ any more -- Torsten Marek Tue, 02 Feb 2010 22:48:20 +0100 python-qt4 (4.7-1) experimental; urgency=low * New upstream release * debian/control - Droppend dependency on python-elementtree, package has been removed. - Depend on ${sip:Depends} instead of hard-coding sip package version - Build-depend on python-sip-dev, sip4 and python-sip4-dev have been removed * Converted package to source format "3.0 (quilt)" * debian/patches/{qreal_float_support,htmllinks}.diff - Adapted to quilt * debian/patches/debian_configure_changes.diff - Partially applied by upstream, only Debian-specific changes remaining * debian/rules - Remove dpatch handling - Add call to dh_sip in binary-common * debian/patches/fix_objdir_dbus_check.diff - Fix bug in configure that prevented the dbus module from being built -- Torsten Marek Wed, 27 Jan 2010 00:00:17 +0100 python-qt4 (4.6-1) unstable; urgency=low [ Torsten Marek ] * debian/rules - Fix .noinit creation for Python 2.6 by using py_sitename in install-arch-% [ Michael Casadevall ] * New upstream release * debian/control: - Updated for new release of sip4 -- Michael Casadevall Wed, 07 Oct 2009 09:53:11 -0400 python-qt4 (4.5.4-1) unstable; urgency=low [ Torsten Marek ] * New upstream release * Acknowledge NMU. (Thanks, Bastian!) + Closes: #536900 * debian/patches/05_license_check.dpatch - Dropped, fixed in new upstream release * debian/control - Added conflict with python-qt4-common to python-qt4 (Closes: #536595) - Bumped standards version to 3.8.2, no changes necessary * debian/rules - Fix install-arch to allow parallel builds (Closes: #539053) * debian/compat - Raise debhelper compatibility level to 7 [ Michael Casadevall ] * Reinstalled uic/widget-plugins at upstream location (Closes: #541475) - Adapted debian/rules and python-qt4.install - Thanks Didier Raboud for the patch * debian/control: - Bumped standards version to 3.8.3 - Add Break: python-kde4 (<< 4:4.2.4) due to ABI change (Closes: #540057) -- Torsten Marek Fri, 28 Aug 2009 20:34:19 +0200 python-qt4 (4.5.1-1.1) unstable; urgency=low * Non-maintainer upload. * Fix license check. (closes: #536900) -- Bastian Blank Tue, 28 Jul 2009 19:49:44 +0000 python-qt4 (4.5.1-1) unstable; urgency=low * New upstream bugfix release * debian/control - Bump all dependencies on sip to 4.8.1 -- Torsten Marek Thu, 18 Jun 2009 20:59:11 +0200 python-qt4 (4.5-1) unstable; urgency=low * New upstream release (Closes: #486931, #480296, #520188) * debian/python-qt4.install - Install QtScriptTools module * debian/rules - Don't try to install missing dbus modules for Python 2.6 - Share configuration options between debug and normal builds - Do not link against libGL.so and libGLU.so * debian/patches/01_configure.dpatch - Updated for qpy support modules * debian/patches/02_htmllinks.dpatch - Updated * debian/patches/04_widget-plugins_location.dpatch - Updated * debian/control - Build-dependencies and dependencies bumped to sip 4.8 - Removed python-qt4-common, not needed anymore because python-qt4-dev does not ship Python files anymore * debian/pyuic4 - Added simple wrapper script for pyuic4 -- Torsten Marek Tue, 09 Jun 2009 23:54:50 +0200 python-qt4 (4.4.4-6) unstable; urgency=medium * medium urgency as we are fixing a RC bug which makes several other packages FTBFS. * debian/rules: - Prepare build-process for Python 2.6. - Install the python-qt4-dbus debug extensions properly again, they were forgotten during the migration to python-support. - Move pyuic4's widget-plugins directory to /usr/share/python-qt4 as the directory must not be a namespace package - therefore it doesn't make sense to install it within the normal modules directory. Thanks to Pierre Chifflier for the bugreport (Closes: #523059). * debian/*.install: - Handle *-package directories to support Python 2.6. * debian/control: - Use versioned dependencies on python-qt4-common, thanks to Zed Pobre for the bug report (Closes: #505572). - pyqt4-dev-tools: make the dependency on python-qt a versioned one. * debian/patches/04_widget-plugins_location.dpatch: - Adding patch to tell pyuic about the new location of the widget plugins. -- Bernd Zeimetz Wed, 08 Apr 2009 23:14:23 +0200 python-qt4 (4.4.4-5) unstable; urgency=low * debian/control: - Switch to python-support, drop all X*-Python fields. - Adding myeslf to Uploaders. * debian/rules: - Avoid all insane hacks which were messing with /var/lib/python-support. This was prone to fail in any case, and will result in FTBFS as soon as python-support 1.0 will hit unstable. This should also fix #512739 as python-support uses triggers, so the broken 'local' file (which was installed via python-central from an old package) will be gone. (Closes: #512739) - Create debian/python-qt4-dbus.install on the fly as directories may change depending on the used python-support version. * debian/README.source, debian/pycompat: - Dropping file, not needed anymore. * debian/python-qt4-dbus.install: dropping file, see above. * debian/pyversions: create file, build for Python 2.4 and later. -- Bernd Zeimetz Mon, 06 Apr 2009 22:56:52 +0200 python-qt4 (4.4.4-4) unstable; urgency=low [ Sandro Tosi ] * debian/manpages/pyuic4.1 - fixed minor error; thanks to Ori Avtalion for the report; Closes: #518957 [ Michael Casadevall ] * Moved package from experimental to unstable * debian/control: - Updated my email to mcasadevall@debian.org - Bumped standards version to 3.8.1 - Corrected section mismatches - Changed python-qt-*-dbg section to debug - Tightened build-deps to match normal dependences. - sip4 versioned to build against 4.7.9 matching the Depends -- Michael Casadevall Sun, 05 Apr 2009 11:35:15 -0400 python-qt4 (4.4.4-3) experimental; urgency=low [ Torsten Marek ] * debian/control - increase python-sip4 dependecy to 4.7.9, needed by python-qt4-phonon [ Michael Casadevall ] * Merge of patches from Ubuntu to correct ARM support (LP: #308814) - Added debian/patches/03_qreal_float_support.dpatch - Corrects a configuration test which caused qreals to end up as floats on non-ARM architectures, and as doubles on ARM architectures. - Added handling of doubles on qreal != float for QLists - Moved pyqtconfig.py from python-qt4-dev to python-qt4 * debian/rules: - Moved pyqtconfig.py installation to python-qt4.install - Standardized the uses of spaces and tabs * debian/python-qt4.install - Install pyqtconfig.py files into python-qt4 vs. python-qt4-dev. This is because python-qt4 is arch any, and python-qt4-dev is arch all, and the config file can be different on different architectures (i.e. ARM) * debian/control: - Added necessary conflict/replaces to python-qt4 - Added myself to uploaders -- Michael Casadevall Sun, 21 Dec 2008 01:09:39 -0500 python-qt4 (4.4.4-2) experimental; urgency=low * debian/patches - Dropped arm/armel specific patches for qreal issues, support for that has been added upstream. Thanks to Matthias Klose (Closes: #506682) - cleaned up cruft from 01_configure patch -- Torsten Marek Sun, 23 Nov 2008 22:37:14 +0100 python-qt4 (4.4.4-1) experimental; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Torsten Marek ] * New upstream release * debian/control - add build-dependency to libphonon-dev 4:4.2.0-2 - new packages python-qt4-phonon{-dbg} with bindings to Phonon - bump build-dependency on sip to 4.7.8 - cleanup dependencies of debug packages * debian/rules - adapt to changes in configure.py * debian/patches/01_configure.py - disabling Designer plugin build is supported by upstream configure script now, remove own configuration option - libphonon-dev 4:4.2.0-2 is compatible with Phonon distributed with Qt 4.4, no need for workarounds any more -- Torsten Marek Sat, 22 Nov 2008 19:32:27 +0100 python-qt4 (4.4.3-1) experimental; urgency=low * New upstream release -- Torsten Marek Tue, 12 Aug 2008 08:13:10 +0200 python-qt4 (4.4.2-4) unstable; urgency=medium * urgency=medium to speed up migration to testing * debian/control - build with -Wl,--no-relax on alpha - link with -Wl,-O1 to speed up dynamic loading - build with -Os, decreases size of so's by about 10% - don't overwrite CXXFLAGS -- Torsten Marek Thu, 03 Jul 2008 22:45:26 +0200 python-qt4 (4.4.2-3) unstable; urgency=medium * urgency=medium to speed up QScintilla2 migration to testing * debian/rules - properly escape dollar sign in sed expressions - compile with -O1 on gcc 4.2 -- Torsten Marek Tue, 01 Jul 2008 11:22:20 +0200 python-qt4 (4.4.2-2) unstable; urgency=medium * Fix build failure on Mips(el) architectures * urgency=medium to speed up QScintilla2 migration to testing * Phonon bindings have to wait until Phonon 4.2 comes to unstable * debian/patches - drop qreal fixes for Mips(el) to fix build failure - prepare configure.py patch for phonon bindings build * debian/control - fix GCC version detection - only split into 10 parts for non-4.2 GCCs - set optimization to -O2 -- Torsten Marek Wed, 25 Jun 2008 01:33:43 +0200 python-qt4 (4.4.2-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - added Build-Conflicts to python-xml - added Depends on libqt4-opengl for python-qt4-gl (Closes: #480293) - added libqt4-opengl-dev to Build-Dep; thanks to Sune Vuorela (Closes: #479924) - updated Homepage field - bump Standard-Version to 3.8.0 (no changes needed) * debian/watch - updated [ Torsten Marek ] * New upstream release (Closes: #481603) * debian/control - bump sip4 build-dependency to 4.7.6 - bump python-sip4 dependency to 4.7.6 -- Torsten Marek Wed, 11 Jun 2008 23:25:48 +0200 python-qt4 (4.3.3-3) unstable; urgency=low * debian/rules - Installed PyQt4/__init__.py in correct location for new python-central version (Closes: #472049). * debian/control - Updated build dependency on python-central to 0.6 - Build-conflict with python-xml for the time being, debug DBus module cannot be imported otherwise. - Set Maintainer field to DPMT. - Added myself to uploaders. - Drop -1 suffixes from build dependencies. - Fixed spelling of Python. * debian/copyright - Updated copyright information. * Fixed section of python-qt4-doc doc-base document to be Programming/Python -- Torsten Marek Fri, 21 Mar 2008 20:37:38 +0100 python-qt4 (4.3.3-2) unstable; urgency=low [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field [ Torsten Marek ] * Override LFLAGS from qmake-qt4, libqt4-dev 4.3.3-1 changed from -Wl,--as-needed to -Wl,--no-undefined. This lead to Python symbols to be reported as undefined references. (Closes: #458869) * Use bzip2 as compression method for debs, since the packages with the debug symbols are quite large. -- Torsten Marek Sun, 06 Jan 2008 12:26:24 +0100 python-qt4 (4.3.3-1) unstable; urgency=low * New upstream release. * Bumped Standards version to 3.7.3, no changes necessary. * Changed priority of python-qt4-dbus-dbg to extra. * Fixed lintian warnings for doc-base, renamed document from PyQt4 to pyqt4 -- Torsten Marek Sun, 16 Dec 2007 15:14:57 +0100 python-qt4 (4.3.1-1) unstable; urgency=low [ Piotr Ożarowski ] * Vcs-Svn, Vcs-Browser and Homepage fields added [ Torsten Marek ] * New upstream release. (Closes: #445337) * Added python-qt4-dbus-dbg package. -- Torsten Marek Mon, 22 Oct 2007 18:35:19 +0200 python-qt4 (4.3-7) unstable; urgency=low * Added watch file. * python-qt4-{sql,gl}-dbg now really contain debug extensions. * Do not strip the Qt4 desigern plugin in the Makefile * Correctly install debug symbols. -- Torsten Marek Sun, 16 Sep 2007 10:53:32 +0200 python-qt4 (4.3-6) experimental; urgency=low * Merged back changes from Ubuntu: * Added debug packages. (Closes: #435652) * Move dbus mainloop module to other location. (Closes: #439359) -- Torsten Marek Wed, 12 Sep 2007 19:18:31 +0200 python-qt4 (4.3-5) unstable; urgency=low * Added DPMT to uploaders field. * Changed patch to substitute double by float where needed instead of qreal, because there is a sip bug that prevents a proper fix. * Split into more files and use -O1 only to be able to build with g++ 4.2. -- Torsten Marek Mon, 03 Sep 2007 23:12:09 +0200 python-qt4 (4.3-4) unstable; urgency=low * Forward CXXFLAGS to the build system (Closes: #438392) * Handle nostrip build option correctly (Closes: #437867) * Fixed another build error related to qreal/double/float. * Added dpatch patch list for armel. -- Torsten Marek Sun, 12 Aug 2007 15:31:52 +0200 python-qt4 (4.3-3) unstable; urgency=low * Include patch for build issues on ARM and Mips. (Closes: #434378) * Put PyQt4/__init__.py into new package python-qt4-common It's not an elegant solution, but a clean one at least. * python-qt4-dev depends on python-sip4-dev -- Torsten Marek Tue, 07 Aug 2007 23:11:19 +0200 python-qt4 (4.3-2) unstable; urgency=low * It's the simple things... * readded __init__.py in PyQt4 -- Torsten Marek Wed, 01 Aug 2007 21:42:36 +0200 python-qt4 (4.3-1) unstable; urgency=low * New upstream release (Closes: #435392, #397551) * pyqtconfig.py is now contained in python-qt4-dev * Includes the QtTest module * Added manpages for pyuic4, pyrcc4 and pylupdate4. -- Torsten Marek Tue, 31 Jul 2007 20:00:26 +0200 python-qt4 (4.2-1) unstable; urgency=low * DBus support module is now built * QtDesigner module is now built * QtDesigner plugin for PyQt4 widget support is now built -- Torsten Marek Sat, 19 May 2007 22:18:14 +0200 python-qt4 (4.2-0) unstable; urgency=low * New upstream release * QtDesigner plugin support still missing * DBus support still missing -- Torsten Marek Mon, 07 May 2007 21:53:56 +0200 python-qt4 (4.1.1-1) experimental; urgency=low * New upstream release * Dropped unused patches -- Torsten Marek Wed, 3 Jan 2007 21:10:54 +0100 python-qt4 (4.0.1-5) unstable; urgency=low * Build-depend on fixed version of libqt4-dev * Drop build-dependency on GLib 2.0 (Closes: #393067) * Merge all Qt 4.2 patches into one patch * Install API documentation files (Closes: #393921) * Added doc-base file for documentation package -- Torsten Marek Thu, 19 Oct 2006 20:08:27 +0200 python-qt4 (4.0.1-4) unstable; urgency=medium * The "You are now entering a world of pain" release * Include the minimal amount of changes to build against Qt 4.2 * Build-depend against Glib 2.0 (Closes: #393067) -- Torsten Marek Mon, 16 Oct 2006 22:09:39 +0200 python-qt4 (4.0.1-3) unstable; urgency=low * Rebuilt with fixed sip4 to include QtAssistantClient (Closes: #385818) -- Torsten Marek Sun, 17 Sep 2006 13:41:52 +0200 python-qt4 (4.0.1-2) unstable; urgency=low * Surround imports in Qt.py with exception handlers (Closes: #381432) -- Torsten Marek Wed, 30 Aug 2006 14:54:59 +0200 python-qt4 (4.0.1-1) unstable; urgency=low * New upstream release (Closes: #378086) -- Torsten Marek Sun, 16 Jul 2006 12:15:35 +0200 python-qt4 (4.0-2) unstable; urgency=low * Install distinct pyqtconfig.py for all python versions * Added debian/pycompat (level 2) -- Torsten Marek Mon, 10 Jul 2006 19:13:10 +0200 python-qt4 (4.0-1) unstable; urgency=low * Initial upload (Closes: #362185, #372872) -- Torsten Marek Tue, 27 Jun 2006 00:23:48 +0200 debian/rules0000775000000000000000000003001212312315152010237 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DH_OPTIONS py_dbusmoddir = $(shell python$(1) -c 'import dbus.mainloop; print dbus.mainloop.__path__[0]') py3_dbusmoddir = $(shell python3 -c 'import dbus.mainloop; print(dbus.mainloop.__path__[0])') debian_version = $(word 2,$(shell dpkg-parsechangelog | grep ^Version:)) upstream_dfsg_version = $(firstword $(subst -, ,$(debian_version))) upstream_version = $(subst ~,,$(firstword $(subst +, ,$(debian_version)))) export QMAKESPEC=linux-g++ CFLAGS= CPPFLAGS= CXXFLAGS= LDFLAGS= ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 -g CXXFLAGS += -O0 else CFLAGS += $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS += $(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS) endif LDFLAGS += -Wl,-O1 ifeq ($(DEB_BUILD_ARCH),alpha) LDFLAGS += -Wl,--no-relax endif SPLIT=10 PYTHONS := $(shell pyversions -vr) $(shell py3versions -vr) PYTHON3S := $(shell py3versions -vr) DEFAULT_PYTHON := $(shell pyversions -vd) # LIBS_* is unset to avoid linking to too many libraries # STRIP is unset to let stripping be handled by dh_strip SHARED_CONFIGURE_OPTIONS=--confirm-license --verbose \ -q /usr/bin/qmake-qt4 -c -j $(SPLIT) \ LIBDIR_QT=/usr/lib STRIP="" MOC=moc-qt4 \ LIBS_OPENGL="" LIBS_X11="" LIBS_THREAD="" \ CFLAGS="${CFLAGS} ${CPPFLAGS}" \ CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \ LFLAGS="${LDFLAGS}" .PRECIOUS: pyqtconfig-% build-%/configure-stamp dbg-build-%/configure-stamp configure: $(PYTHON3S:%=pyqtconfig-%) $(PYTHONS:%=build-%/configure-stamp) $(PYTHONS:%=dbg-build-%/configure-stamp) pyqtconfig-3.%: cat $(CURDIR)/debian/pyqtconfig_py3.py $(CURDIR)/debian/pyqtconfig_py3.snippet \ > $(CURDIR)/debian/pyqtconfig_py3.py.tmp sed -e "s/@MINORVERS@/$*/g" <$(CURDIR)/debian/pyqtconfig_py3.py.tmp \ > $(CURDIR)/debian/pyqtconfig_py3.py touch $@ build-%/configure-stamp: dh_testdir mkdir -p build-$* cd build-$* && python$* ../configure.py $(SHARED_CONFIGURE_OPTIONS) \ -m $(shell python$*-config --configdir) \ -d /usr/lib/python$*/dist-packages \ --dbus /usr/include/dbus-1.0 \ $(if $(filter $(DEFAULT_PYTHON),$*),,--no-designer-plugin) touch $@ dbg-build-%/configure-stamp: dh_testdir mkdir -p dbg-build-$* cd dbg-build-$* && python$*-dbg ../configure.py $(SHARED_CONFIGURE_OPTIONS) \ -m $(shell python$*-dbg-config --configdir) \ -l /usr/include/python$*$(if $(filter 3.%, $*),dm,_d) \ -d /usr/lib/python$*/dist-packages \ --debug --no-designer-plugin touch $@ build: build-arch build-indep build-arch: $(PYTHON3S:%=pyqtconfig-%) $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp) build-indep: build-$(DEFAULT_PYTHON)/build-stamp build-%/build-stamp: build-%/configure-stamp dh_testdir dh_auto_build --parallel -B build-$* touch $@ dbg-build-%/build-stamp: dbg-build-%/configure-stamp dh_testdir dh_auto_build --parallel -B dbg-build-$* touch $@ install-indep: build-indep dh_testdir dh_testroot dh_prep -i dh_installdirs -i dh_install -i dh_installexamples -Xactiveqt -i cd $(CURDIR)/debian/python-qt4-doc/usr/share/doc/python-qt4-doc/examples/; \ cp /usr/share/javascript/jquery/jquery.min.js webkit/fancybrowser/; \ find . -name '*.qrc' | sed 's/\.qrc//g' | xargs -I {} \ $(CURDIR)/build-$(DEFAULT_PYTHON)/pyrcc/pyrcc4 -py2 {}.qrc -o {}_rc2.py; \ find . -name '*.qrc' | sed 's/\.qrc//g' | xargs -I {} \ $(CURDIR)/build-$(DEFAULT_PYTHON)/pyrcc/pyrcc4 -py3 {}.qrc -o {}_rc3.py # Symlink duplicate files in examples. Based on Andrew Starr-Bochicchio's # code in ubuntu-packaging-guide. cd $(CURDIR)/debian/python-qt4-doc && \ fdupes -r1nq usr/share/doc/python-qt4-doc/examples | while read s; do \ set -- $$(echo $$s | tr ' ' '\n' | sort); \ f=$$1; shift; for d; do \ echo "symlinking identical file $$d to $$f"; \ rm $$d; ln -s /$$f $$d; \ done; \ done dh_link -i install-arch: build-arch dh_testdir dh_testroot dh_prep -a dh_installdirs -a sed -i -e '/strip/ d' $(CURDIR)/build-$(DEFAULT_PYTHON)/designer/Makefile rm -f $(CURDIR)/debian/python-qt4-dbus.install rm -f $(CURDIR)/debian/python3-dbus.mainloop.qt.install # This is needed to enforce that the install-arch-% rules are # not run in parallel. Both rules install into the same directory, # and therefore might try to access the same files at the same time. # Therefore, instead of depending on the install-arch-% rules, # we invoke them explicitly. for p in $(PYTHONS) ; do \ $(MAKE) -f debian/rules install-arch-$$p;\ done dh_install -a 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 {} \; #FIXME - copying the file to /usr/bin is not the best way, # it should be imported properly instead. # probably like ipython handles it. cp debian/pyuic4 debian/pyqt4-dev-tools/usr/bin/pyuic4 d3_qt4_dbg = debian/python3-pyqt4-dbg install-arch-3.%: $(MAKE) -C build-3.$* install \ INSTALL_ROOT=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp if [ -e $(CURDIR)/debian/tmp$(call py3_dbusmoddir,3.$*)/qt.so ]; then \ mkdir -p $(CURDIR)/debian/tmp/usr/lib/python3.$*/dist-packages/dbus/mainloop; \ mv $(CURDIR)/debian/tmp$(call py3_dbusmoddir,3.$*)/qt.so \ $(CURDIR)/debian/tmp/usr/lib/python3.$*/dist-packages/dbus/mainloop; \ echo 'usr/lib/python3.$*/dist-packages/*' >> $(CURDIR)/debian/python3-dbus.mainloop.qt.install;\ fi mv $(CURDIR)/debian/tmp/usr/lib/python3.$*/dist-packages/PyQt4/pyqtconfig.py \ $(CURDIR)/debian/tmp/usr/lib/python3.$*/dist-packages/PyQt4/pyqtconfig_nd$*.py $(MAKE) -C dbg-build-3.$* install DESTDIR=$(CURDIR)/$(d3_qt4_dbg) if [ -e $(CURDIR)/$(d3_qt4_dbg)$(call py3_dbusmoddir,3.$*)/qt.so ]; then \ mkdir -p $(CURDIR)/debian/python3-dbus.mainloop.qt-dbg/usr/lib/python3.$*/dist-packages/dbus/mainloop; \ mv $(CURDIR)/debian/python3-pyqt4-dbg$(call py3_dbusmoddir,3.$*)/qt.so \ $(CURDIR)/debian/python3-dbus.mainloop.qt-dbg/usr/lib/python3.$*/dist-packages/dbus/mainloop; \ fi # Don't initiate the uic/widget-plugins touch $(CURDIR)/debian/tmp/usr/lib/python3.$*/dist-packages/PyQt4/uic/widget-plugins/.noinit mv $(d3_qt4_dbg)/usr/lib/python3.$*/dist-packages/PyQt4/pyqtconfig.py \ $(d3_qt4_dbg)/usr/lib/python3.$*/dist-packages/PyQt4/pyqtconfig_d$*.py mkdir -p debian/python3-pyqt4.qtopengl-dbg/usr/lib/python3.$*/dist-packages/PyQt4 mv $(d3_qt4_dbg)/usr/lib/python3.$*/dist-packages/PyQt4/QtOpenGL.so \ debian/python3-pyqt4.qtopengl-dbg/usr/lib/python3.$*/dist-packages/PyQt4 mkdir -p debian/python3-pyqt4.qtsql-dbg/usr/lib/python3.$*/dist-packages/PyQt4 mv $(d3_qt4_dbg)/usr/lib/python3.$*/dist-packages/PyQt4/QtSql.so \ debian/python3-pyqt4.qtsql-dbg/usr/lib/python3.$*/dist-packages/PyQt4 mkdir -p debian/python3-pyqt4.phonon-dbg/usr/lib/python3.$*/dist-packages/PyQt4 mv $(d3_qt4_dbg)/usr/lib/python3.$*/dist-packages/PyQt4/phonon.so \ debian/python3-pyqt4.phonon-dbg/usr/lib/python3.$*/dist-packages/PyQt4 install -Dm 644 -o root -g root debian/pyqtconfig_py3.py debian/python3-pyqt4/usr/lib/python3.$*/dist-packages/PyQt4/pyqtconfig.py d_qt4_dbg = debian/python-qt4-dbg install-arch-%: $(MAKE) -C build-$* install \ INSTALL_ROOT=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/$(d_qt4_dbg) # Don't initiate the uic/widget-plugins touch $(CURDIR)/debian/tmp/usr/lib/python$*/dist-packages/PyQt4/uic/widget-plugins/.noinit mv $(d_qt4_dbg)/usr/lib/python$*/dist-packages/PyQt4/pyqtconfig.py \ $(d_qt4_dbg)/usr/lib/python$*/dist-packages/PyQt4/pyqtconfig_d.py mkdir -p debian/python-qt4-gl-dbg/usr/lib/python$*/dist-packages/PyQt4 mv $(d_qt4_dbg)/usr/lib/python$*/dist-packages/PyQt4/QtOpenGL.so \ debian/python-qt4-gl-dbg/usr/lib/python$*/dist-packages/PyQt4 mkdir -p debian/python-qt4-sql-dbg/usr/lib/python$*/dist-packages/PyQt4 mv $(d_qt4_dbg)/usr/lib/python$*/dist-packages/PyQt4/QtSql.so \ debian/python-qt4-sql-dbg/usr/lib/python$*/dist-packages/PyQt4 mkdir -p debian/python-qt4-phonon-dbg/usr/lib/python$*/dist-packages/PyQt4 mv $(d_qt4_dbg)/usr/lib/python$*/dist-packages/PyQt4/phonon.so \ debian/python-qt4-phonon-dbg/usr/lib/python$*/dist-packages/PyQt4 if [ -e $(d_qt4_dbg)$(call py_dbusmoddir,$*)/qt.so ]; then \ mkdir -p debian/python-qt4-dbus-dbg/$(call py_dbusmoddir,$*);\ mv $(d_qt4_dbg)$(call py_dbusmoddir,$*)/qt.so \ debian/python-qt4-dbus-dbg$(call py_dbusmoddir,$*);\ echo '$(call py_dbusmoddir,$*)/*' >> $(CURDIR)/debian/python-qt4-dbus.install;\ fi clean: dh_testdir dh_testroot -cd designer && make distclean rm -rf $(PYTHONS:%=build-%) $(PYTHONS:%=dbg-build-%) sip/Qt cp $(CURDIR)/debian/pyqtconfig_py3.header $(CURDIR)/debian/pyqtconfig_py3.py rm -rf $(CURDIR)/debian/pyqtconfig_py3.py.tmp rm -rf $(CURDIR)/pyqtconfig-* rm -rf $(CURDIR)/qpy/QtCore/qpycore_post_init.cpp 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 NEWS dh_installdocs -A THANKS ifeq (,$(findstring -a, $(DH_OPTIONS))) sphinx-build $(CURDIR)/doc/sphinx \ $(CURDIR)/debian/python-qt4-doc/usr/share/doc/python-qt4-doc/html dh_sphinxdoc endif dh_sip dh_sip3 ifeq (,$(findstring -i, $(DH_OPTIONS))) DH_OPTIONS= dh_strip -ppyqt4-dev-tools set -e; \ for p in python-qt4 python3-pyqt4 \ python-qt4-dbus python3-dbus.mainloop.qt \ python-qt4-gl \ python-qt4-sql python3-pyqt4.qtsql \ python-qt4-phonon python3-pyqt4.phonon \ python3-pyqt4.qtopengl \ ; do \ DH_OPTIONS= dh_strip -p$$p --dbg-package=$$p-dbg; \ rm -rf debian/$$p-dbg/usr/share/doc/$$p-dbg; \ mkdir -p debian/$$p-dbg/usr/share/doc; \ ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \ done endif rm -rf $(CURDIR)/debian/python-qt4-dbg/usr/lib/python3* dh_python2 --no-dbg-cleaning dh_python3 --no-dbg-cleaning -N pyqt4-dev-tools rm -rf $(CURDIR)/debian/python-qt4-dbus/usr/share/pyshared rm -rf $(CURDIR)/debian/python-qt4-gl/usr/share/pyshared rm -rf $(CURDIR)/debian/python-qt4-sql/usr/share/pyshared rm -rf $(CURDIR)/debian/python-qt4-phonon/usr/share/pyshared rm -rf $(CURDIR)/debian/python-qt4-doc/usr/share/doc/python-qt4-doc/examples/declarative/modelviews/objectlistmodel/__pycache__ rm -rf $(CURDIR)/debian/python-qt4-doc/usr/share/doc/python-qt4-doc/examples/demos/qtdemo/__pycache__ rm -rf $(CURDIR)/debian/python3-pyqt4/usr/lib/python3/dist-packages/PyQt4/uic/port_v2 rm -rf $(CURDIR)/debian/python3-pyqt4-dbg/usr/bin rm -rf $(CURDIR)/debian/python3-pyqt4-dbg/usr/share/sip rm -rf $(CURDIR)/debian/python3-pyqt4-dbg/usr/lib/python3/dist-packages/PyQt4/uic rm -rf $(CURDIR)/debian/python3-pyqt4-dbg/usr/lib/python3/dist-packages/dbus rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt/usr/bin rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt/usr/share/sip rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt/usr/lib/python3/dist-packages/PyQt4 rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt/usr/lib/python3.*/dist-packages/PyQt4 rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt-dbg/usr/lib/debug/usr/bin rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt-dbg/usr/lib/debug/usr/lib/python3/dist-packages/PyQt4 rm -rf $(CURDIR)/debian/python3-dbus.mainloop.qt-dbg/usr/lib/debug/usr/lib/python3.*/dist-packages/PyQt4 dh_fixperms dh_compress -X.py -X.bmp -X.ui -X.sql -X.xml -X.qml -X.xpm -X.mng -X.qss -X.xbel -X.txt -Xchilling dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb -- -Z bzip2 # 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 get-orig-source: sh $(CURDIR)/debian/get-orig-source.sh $(upstream_dfsg_version) .PHONY: build-indep build-arch build clean binary-indep binary-arch binary configure get-orig-source debian/pyqtconfig_py3.header0000664000000000000000000000014512312315152013313 0ustar # Import the pyqtconfig.py for the correct python3 version and normal or debug # build. import sys debian/python-qt4.pyremove0000664000000000000000000000002212312315152012774 0ustar PyQt4/uic/port_v3 debian/clean0000664000000000000000000000012712312315152010170 0ustar debian/python-qt4-dbus.install designer/python.pro designer/Makefile sip/pyqt-gpl.sip5 debian/python-qt4-gl.install0000664000000000000000000000005612312315152013203 0ustar usr/lib/python2*/*-packages/PyQt4/QtOpenGL.so debian/python3-pyqt4.phonon.install0000664000000000000000000000005412312315152014535 0ustar usr/lib/python3*/*-packages/PyQt4/phonon.so debian/get-orig-source.sh0000775000000000000000000000175312312315152012543 0ustar #!/bin/sh set -ex export TAR_OPTIONS='--owner root --group root --mode a+rX' export GZIP_OPTIONS='-9n' pwd=$(pwd) dfsg_version="$1" if [ -z "$dfsg_version" ] then printf 'Usage: %s \n' "$0" exit 1 fi upstream_version="${dfsg_version%+dfsg*}" cd "$(dirname "$0")/../" tmpdir=$(mktemp -t -d get-orig-source.XXXXXX) uscan --noconf --force-download --rename --download-version="$upstream_version" --destdir="$tmpdir" cd "$tmpdir" tar -xzf python-qt4_*.orig.tar.gz rm python-qt4_*.orig.tar.gz mv PyQt-x11-gpl-* "python-qt4-${dfsg_version}.orig" # minimized jquery and underscore rm -rf "python-qt4-${dfsg_version}.orig/doc/html/_static" rm -f "python-qt4-${dfsg_version}.orig/examples/webkit/fancybrowser/jquery.min.js" rm -f "python-qt4-${dfsg_version}.orig/examples/webkit/fancybrowser/jquery_rc2.py" rm -f "python-qt4-${dfsg_version}.orig/examples/webkit/fancybrowser/jquery_rc3.py" tar -czf "$pwd/python-qt4_${dfsg_version}.orig.tar.gz" "python-qt4-${dfsg_version}.orig" rm -rf "$tmpdir" debian/python3-pyqt4.qtsql.install0000664000000000000000000000005312312315152014377 0ustar usr/lib/python3*/*-packages/PyQt4/QtSql.so