summaryrefslogtreecommitdiffstats
path: root/debian/squeeze/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'debian/squeeze/dependencies')
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/README.Debian4
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/changelog6
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/compat1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/control109
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/copyright52
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/docs2
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/manpages/pylupdate.183
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/manpages/pyuic.174
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/patches/debian_configure_changes.diff95
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/patches/series1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.dirs1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.install2
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides15
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.preinst35
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.dirs2
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.examples2
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.install1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt-gl.install1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqt.install7
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/python-tqtext.install1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.install1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.manpages2
-rwxr-xr-xdebian/squeeze/dependencies/python-tqt/debian/rules171
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/source/format1
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/watch3
25 files changed, 672 insertions, 0 deletions
diff --git a/debian/squeeze/dependencies/python-tqt/debian/README.Debian b/debian/squeeze/dependencies/python-tqt/debian/README.Debian
new file mode 100644
index 000000000..aabb494aa
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/README.Debian
@@ -0,0 +1,4 @@
+DOCUMENTATION
+-------------
+You can find doc and examples about PyQt in the package python-qt-doc
+
diff --git a/debian/squeeze/dependencies/python-tqt/debian/changelog b/debian/squeeze/dependencies/python-tqt/debian/changelog
new file mode 100644
index 000000000..95e2f0cce
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/changelog
@@ -0,0 +1,6 @@
+python-tqt (3.18.1-4ubuntu0) lucid; urgency=low
+
+ * Initial build
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Tue, 29 Nov 2011 01:16:00 -0600
+
diff --git a/debian/squeeze/dependencies/python-tqt/debian/compat b/debian/squeeze/dependencies/python-tqt/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/squeeze/dependencies/python-tqt/debian/control b/debian/squeeze/dependencies/python-tqt/debian/control
new file mode 100644
index 000000000..c0d48d37a
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/control
@@ -0,0 +1,109 @@
+Source: python-tqt
+Section: python
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
+Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqt-mt-dev (>= 3:3.3.4-4), tqt-dev-tools (>= 3:3.3.4-4), tqt-apps-dev (>= 3:3.3.4-4), python-sip-dev (>= 4.10.0-2ubuntu1), libqscintilla-dev (>= 1.7), python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
+Standards-Version: 3.8.4
+
+Package: python-tqt
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${sip:Depends}, ${misc:Depends}
+Suggests: python-tqt-gl, python-tqt-doc, libtqt-mt-mysql|libtqt-mt-odbc|libtqt-mt-psql
+Provides: ${python:Provides}
+Description: TQt bindings for Python
+ Python binding module that allows use of TQt 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 TQt 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 much the
+ same way in both languages (with syntax differences, of course)
+
+Package: python-tqt-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${shlibs:Depends}, python-dbg, python-tqt (= ${binary:Version}), python-sip-dbg, ${misc:Depends}
+Description: TQt bindings for Python (debug extension)
+ Python binding module that allows use of TQt 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-tqt-gl
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends}
+Suggests: python-tqt-doc
+Provides: ${python:Provides}
+Description: TQt OpenGL bindings for Python
+ Python binding module that allows use of the OpenGL facilities
+ offered by the TQt 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-tqt-gl-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, python-dbg, python-tqt-gl (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends}
+Description: TQt OpenGL bindings for Python (debug extension)
+ Python binding module that allows use of the OpenGL facilities
+ offered by the TQt 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-tqtext
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt (= ${binary:Version}), ${misc:Depends}
+Provides: ${python:Provides}
+Description: TQt extensions for PyQt
+ PyQt Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: python-tqtext-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, python-dbg, python-qtext (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends}
+Description: TQt debug extensions for PyQt
+ PyQt debug Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: pytqt-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: pyuic and pylupdate for TQt
+ pyuic is the PyQt counterpart for TQt's uic. It takes an XML
+ user interface file and generates Python code.
+ .
+ pylupdate is the counterpart for TQt's lupdate. It updates TQt
+ Linguist translation files from Python code.
+
+Package: python-tqt-dev
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-sip-dev
+Replaces: python-tqt (<< 3.17.3-2)
+Architecture: all
+Description: TQt 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-tqt-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: python-tqt
+Description: TQt bindings for Python - Documentation and examples
+ Documentation and examples for the PyQt (bindings that allow
+ the use of TQt library from within a Python script).
diff --git a/debian/squeeze/dependencies/python-tqt/debian/copyright b/debian/squeeze/dependencies/python-tqt/debian/copyright
new file mode 100644
index 000000000..715a83f24
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/copyright
@@ -0,0 +1,52 @@
+This package was debianized by Ricardo Javier Cardenes Medina <rcardenes@debian.org> 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 <phil@river-bank.demon.co.uk>
+Copyright (c) 2002
+ Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+
+pylupdate is Copyright (c) 2002
+ Detlev Offenbach <detlev@die-offenbachs.de>
+
+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.
diff --git a/debian/squeeze/dependencies/python-tqt/debian/docs b/debian/squeeze/dependencies/python-tqt/debian/docs
new file mode 100644
index 000000000..50bd824bb
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/squeeze/dependencies/python-tqt/debian/manpages/pylupdate.1 b/debian/squeeze/dependencies/python-tqt/debian/manpages/pylupdate.1
new file mode 100644
index 000000000..4d2c8919a
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/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 <info@trolltech.com> manual page for lupdate
diff --git a/debian/squeeze/dependencies/python-tqt/debian/manpages/pyuic.1 b/debian/squeeze/dependencies/python-tqt/debian/manpages/pyuic.1
new file mode 100644
index 000000000..f1ffa41ff
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/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] <uifile>
+.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<uifile>"
+.br
+.PP
+Generate image collection:
+.br
+.I "\fB pyuic [options] -embed \fI<project> <image1> <image2> <image3>\fP ..."
+.br
+ \fI<project>\fP: project name
+ \fI<image[1..n]>\fP: image files
+.br
+.PP
+Generate subclass implementation:
+.br
+.I "\fB pyuic [options] -subimpl <classname> \fI<uifile>"
+.br
+ \fI<classname>\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 <info@trolltech.com> manual page for uic
diff --git a/debian/squeeze/dependencies/python-tqt/debian/patches/debian_configure_changes.diff b/debian/squeeze/dependencies/python-tqt/debian/patches/debian_configure_changes.diff
new file mode 100644
index 000000000..131e9dbdc
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/patches/debian_configure_changes.diff
@@ -0,0 +1,95 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_configure.dpatch by Torsten Marek <shlomme@debian.org>
+##
+## DP: Add object directory build support to configure.py
+
+@DPATCH@
+Index: python-qt3-3.18.1/configure.py
+===================================================================
+--- python-qt3-3.18.1.orig/configure.py 2010-01-27 22:24:38.555856708 +0100
++++ python-qt3-3.18.1/configure.py 2010-01-27 22:41:45.876854625 +0100
+@@ -30,6 +30,7 @@
+
+ import sipconfig
+
++src_dir = os.path.dirname(os.path.abspath(__file__))
+
+ # Initialise the globals.
+ pyqt_version = 0x031201
+@@ -299,7 +300,7 @@
+
+ makefile = sipconfig.ProgramMakefile(
+ configuration=sipcfg,
+- build_file=buildfile,
++ build_file=os.path.join(src_dir, "pyuic3", buildfile),
+ dir="pyuic3",
+ install_dir=opt_pyqtbindir,
+ console=1,
+@@ -315,7 +316,8 @@
+
+ if qt_version < 0x030100:
+ makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib")
+-
++ makefile.extra_include_dirs.append(os.path.join(src_dir, "pyuic3"))
++
+ makefile.generate()
+ tool_dirs.append("pyuic3")
+
+@@ -330,7 +332,7 @@
+
+ makefile = sipconfig.ProgramMakefile(
+ configuration=sipcfg,
+- build_file=buildfile,
++ build_file=os.path.join(src_dir, "pylupdate3", buildfile),
+ dir="pylupdate3",
+ install_dir=opt_pyqtbindir,
+ console=1,
+@@ -343,6 +345,8 @@
+ if prof or "qtxml" not in pyqt_modules:
+ makefile.extra_defines.append("QT_MODULE_XML")
+
++ makefile.extra_include_dirs.append(os.path.join(src_dir, "pylupdate3"))
++
+ makefile.generate()
+ tool_dirs.append("pylupdate3")
+ elif qt_version >= 0x020000:
+@@ -606,7 +610,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(os.path.join(src_dir, "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):
+@@ -908,10 +912,10 @@
+ argv.append(buildfile)
+
+ argv.append("-I")
+- argv.append("sip")
++ argv.append(os.path.join(src_dir, "sip"))
+
+ # SIP assumes POSIX style path separators.
+- argv.append(string.join(["sip", mname, mname + "mod.sip"], "/"))
++ argv.append(string.join([src_dir, "sip", mname, mname + "mod.sip"], "/"))
+
+ os.system(string.join(argv))
+
+@@ -926,7 +930,7 @@
+ sipfiles = []
+
+ for s in glob.glob("sip/" + mname + "/*.sip"):
+- sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s)))
++ sipfiles.append(os.path.join(src_dir, "sip", mname, os.path.basename(s)))
+
+ installs.append([sipfiles, os.path.join(pyqt.sip_dir(), mname)])
+
+@@ -1433,7 +1437,7 @@
+ ).generate()
+
+ # Install the configuration module.
+- create_config("pyqtconfig.py", "pyqtconfig.py.in", macros)
++ create_config("pyqtconfig.py", os.path.join(src_dir, "pyqtconfig.py.in"), macros)
+
+
+ ###############################################################################
diff --git a/debian/squeeze/dependencies/python-tqt/debian/patches/series b/debian/squeeze/dependencies/python-tqt/debian/patches/series
new file mode 100644
index 000000000..15bc57c10
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/patches/series
@@ -0,0 +1 @@
+debian_configure_changes.diff
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.dirs b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.dirs
new file mode 100644
index 000000000..ae635cbcd
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.dirs
@@ -0,0 +1 @@
+usr/share/sip/tqt
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.install b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.install
new file mode 100644
index 000000000..7b6aca191
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.install
@@ -0,0 +1,2 @@
+sip/* usr/share/sip/tqt
+
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides
new file mode 100644
index 000000000..3d0ed6137
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides
@@ -0,0 +1,15 @@
+# lintian test overriden as the files tripping this error are put into the source
+# of the generated package. This is a false-positive
+
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
+python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
+
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.preinst b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.preinst
new file mode 100644
index 000000000..b17b35a44
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-dev.preinst
@@ -0,0 +1,35 @@
+#!/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
+ if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
+ pycentral pkgremove python-qt-dev
+ else
+ flist=$(tempfile)
+ find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
+ \( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
+ > $flist 2>/dev/null || true
+ if [ -s $flist ]; then
+ for d in /usr/lib/python[0-9].[0-9]; do
+ case "$d" in */python2.1|*/python2.2) continue; esac
+ while read t n; do
+ case "$t" in
+ p) rm -f $d/$n $d/${n}[co];;
+ d) rmdir $d/$n 2>/dev/null || true;;
+ *) rm -f $d/$n
+ esac
+ done < $flist
+ done
+ fi
+ rm -f $flist
+ dpkg -L python-qt-dev \
+ | awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
+ | xargs rm -f >&2
+ fi
+ fi
+fi
+
+#DEBHELPER#
+
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.dirs b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.dirs
new file mode 100644
index 000000000..dcd0e5b12
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.dirs
@@ -0,0 +1,2 @@
+usr/share/doc/python-qt3-doc/html
+usr/share/doc/python-qt3-doc/examples
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.examples b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.examples
new file mode 100644
index 000000000..3162f69a8
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.examples
@@ -0,0 +1,2 @@
+examples3/*
+
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.install b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.install
new file mode 100644
index 000000000..840625c0a
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-doc.install
@@ -0,0 +1 @@
+doc/PyQt.html usr/share/doc/python-qt3-doc/html
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt-gl.install b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-gl.install
new file mode 100644
index 000000000..65781e2d6
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt-gl.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/qtgl.so
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqt.install b/debian/squeeze/dependencies/python-tqt/debian/python-tqt.install
new file mode 100644
index 000000000..b22fce2ea
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqt.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
diff --git a/debian/squeeze/dependencies/python-tqt/debian/python-tqtext.install b/debian/squeeze/dependencies/python-tqt/debian/python-tqtext.install
new file mode 100644
index 000000000..5c80c3369
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/python-tqtext.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/qtext.so
diff --git a/debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.install b/debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.install
new file mode 100644
index 000000000..1df36c612
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.install
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.manpages b/debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.manpages
new file mode 100644
index 000000000..7d27d0034
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/pytqt-tools.manpages
@@ -0,0 +1,2 @@
+debian/manpages/pylupdate.1
+debian/manpages/pyuic.1
diff --git a/debian/squeeze/dependencies/python-tqt/debian/rules b/debian/squeeze/dependencies/python-tqt/debian/rules
new file mode 100755
index 000000000..0e74c131e
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/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/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-tqt-doc/usr/share/doc/python-tqt-doc
+INSTDIR=$(CURDIR)/debian
+
+export QTDIR=/usr/share/tqt3
+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:
+ 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/tqt \
+ -m /usr/lib/python$*/config \
+ CXXFLAGS_RELEASE="" CXXFLAGS="${CXXFLAGS}" STRIP=""
+ touch $@
+
+dbg-build-%/configure-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/tqt \
+ -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-tqt-dev/$$pylib;\
+ install -m 644 -o root -g root build-$$version/pytqtconfig.py debian/python-tqt-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-tqt-dbg;\
+ mkdir -p debian/python-tqt-gl-dbg/$$pylib;\
+ mv debian/python-tqt-dbg/$$pylib/qtgl.so \
+ debian/python-tqt-gl-dbg/$$pylib/;\
+ mkdir -p debian/python-qtext-dbg/$$pylib;\
+ mv debian/python-tqt-dbg/$$pylib/qtext.so \
+ debian/python-tqtext-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:
+ 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 -ppytqt-tools
+ set -e; \
+ for p in python-tqt python-tqt-gl python-tqtext; 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_sip
+ dh_lintian
+ 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
diff --git a/debian/squeeze/dependencies/python-tqt/debian/source/format b/debian/squeeze/dependencies/python-tqt/debian/source/format
new file mode 100644
index 000000000..d3827e75a
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/source/format
@@ -0,0 +1 @@
+1.0
diff --git a/debian/squeeze/dependencies/python-tqt/debian/watch b/debian/squeeze/dependencies/python-tqt/debian/watch
new file mode 100644
index 000000000..506321d38
--- /dev/null
+++ b/debian/squeeze/dependencies/python-tqt/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.riverbankcomputing.com/software/pyqt/download3 \
+ /static/Downloads/PyQt3/PyQt-x11-gpl-([.\d]*)\.tar\.gz