summaryrefslogtreecommitdiffstats
path: root/dilos
diff options
context:
space:
mode:
Diffstat (limited to 'dilos')
-rw-r--r--dilos/dependencies/python-tqt/debian/README.Debian4
-rw-r--r--dilos/dependencies/python-tqt/debian/changelog6
-rw-r--r--dilos/dependencies/python-tqt/debian/compat1
-rw-r--r--dilos/dependencies/python-tqt/debian/control126
-rw-r--r--dilos/dependencies/python-tqt/debian/copyright52
-rw-r--r--dilos/dependencies/python-tqt/debian/docs2
-rw-r--r--dilos/dependencies/python-tqt/debian/manpages/pylupdate.183
-rw-r--r--dilos/dependencies/python-tqt/debian/manpages/pyuic.174
-rw-r--r--dilos/dependencies/python-tqt/debian/patches/debian_configure_changes.diff95
-rw-r--r--dilos/dependencies/python-tqt/debian/patches/series1
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-dev.dirs1
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-dev.install2
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides15
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-doc.dirs2
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-doc.examples2
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-doc.install1
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt-gl.install1
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqt.install7
-rw-r--r--dilos/dependencies/python-tqt/debian/python-tqtext.install1
-rw-r--r--dilos/dependencies/python-tqt/debian/pytqt-tools.install1
-rw-r--r--dilos/dependencies/python-tqt/debian/pytqt-tools.manpages2
-rwxr-xr-xdilos/dependencies/python-tqt/debian/rules164
-rw-r--r--dilos/dependencies/python-tqt/debian/source/format1
-rw-r--r--dilos/dependencies/python-tqt/debian/source/options6
-rw-r--r--dilos/dependencies/python-tqt/debian/watch3
25 files changed, 653 insertions, 0 deletions
diff --git a/dilos/dependencies/python-tqt/debian/README.Debian b/dilos/dependencies/python-tqt/debian/README.Debian
new file mode 100644
index 000000000..33603ec40
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/README.Debian
@@ -0,0 +1,4 @@
+DOCUMENTATION
+-------------
+You can find doc and examples about PyTQt in the package python-tqt-doc
+
diff --git a/dilos/dependencies/python-tqt/debian/changelog b/dilos/dependencies/python-tqt/debian/changelog
new file mode 100644
index 000000000..95e2f0cce
--- /dev/null
+++ b/dilos/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/dilos/dependencies/python-tqt/debian/compat b/dilos/dependencies/python-tqt/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/dilos/dependencies/python-tqt/debian/control b/dilos/dependencies/python-tqt/debian/control
new file mode 100644
index 000000000..3369c84b8
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/control
@@ -0,0 +1,126 @@
+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 (>= 7.0.50~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-tqt-dev, python-sip-tqt-dbg [!solaris-any], libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-all-dbg [!solaris-any], dh-python
+Standards-Version: 3.8.4
+
+Package: python-tqt
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${sip:Depends}, ${misc:Depends}
+Replaces: python-tqt (<< 4:14.0.0~)
+Breaks: python-tqt (<< 4:14.0.0~)
+Suggests: python-tqt-gl, python-tqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-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 PyTQt versions for Linux, Windows and MacOS X).
+ .
+ At this moment PyTQt 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: linux-any
+Priority: extra
+Replaces: python-tqt-dbg (<< 4:14.0.0~)
+Breaks: python-tqt-dbg (<< 4:14.0.0~)
+Section: debug
+Depends: ${shlibs:Depends}, python-dbg, python-tqt (= ${binary:Version}), python-sip-tqt-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 PyTQt 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}
+Replaces: python-tqt-gl (<< 4:14.0.0~)
+Breaks: python-tqt-gl (<< 4:14.0.0~)
+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 PyTQt versions for
+ Linux, Windows and MacOS X).
+
+Package: python-tqt-gl-dbg
+Priority: extra
+Section: debug
+Replaces: python-tqt-gl-dbg (<< 4:14.0.0~)
+Breaks: python-tqt-gl-dbg (<< 4:14.0.0~)
+Architecture: linux-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 PyTQt 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}
+Replaces: python-tqtext (<< 4:14.0.0~)
+Breaks: python-tqtext (<< 4:14.0.0~)
+Provides: ${python:Provides}
+Description: TQt extensions for PyTQt
+ PyTQt Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: python-tqtext-dbg
+Priority: extra
+Section: debug
+Replaces: python-tqtext-dbg (<< 4:14.0.0~)
+Breaks: python-tqtext-dbg (<< 4:14.0.0~)
+Architecture: linux-any
+Depends: ${shlibs:Depends}, python-dbg, python-tqtext (= ${binary:Version}), python-tqt-dbg (= ${binary:Version}), ${misc:Depends}
+Description: TQt debug extensions for PyTQt
+ PyTQt debug Extensions. Contains:
+ .
+ * QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+Package: pytqt-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: pytqt-tools (<< 4:14.0.0~)
+Breaks: pytqt-tools (<< 4:14.0.0~)
+Description: pyuic and pylupdate for TQt
+ pyuic is the PyTQt 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-tqt (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
+Suggests: python-sip-tqt-dev
+Replaces: python-tqt-dev (<< 4:14.0.0~)
+Breaks: python-tqt-dev (<< 4:14.0.0~)
+Architecture: all
+Description: TQt bindings for Python - Development files
+ Development .sip files with definitions of PyTQt classes. They
+ are needed to build PyTQt, but also as building blocks of other
+ packages based on them, like PyTDE.
+
+Package: python-tqt-doc
+Section: doc
+Architecture: all
+Replaces: python-tqt-doc (<< 4:14.0.0~)
+Breaks: python-tqt-doc (<< 4:14.0.0~)
+Depends: ${misc:Depends}
+Suggests: python-tqt
+Description: TQt bindings for Python - Documentation and examples
+ Documentation and examples for the PyTQt (bindings that allow
+ the use of TQt library from within a Python script).
diff --git a/dilos/dependencies/python-tqt/debian/copyright b/dilos/dependencies/python-tqt/debian/copyright
new file mode 100644
index 000000000..715a83f24
--- /dev/null
+++ b/dilos/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/dilos/dependencies/python-tqt/debian/docs b/dilos/dependencies/python-tqt/debian/docs
new file mode 100644
index 000000000..50bd824bb
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/dilos/dependencies/python-tqt/debian/manpages/pylupdate.1 b/dilos/dependencies/python-tqt/debian/manpages/pylupdate.1
new file mode 100644
index 000000000..4d2c8919a
--- /dev/null
+++ b/dilos/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/dilos/dependencies/python-tqt/debian/manpages/pyuic.1 b/dilos/dependencies/python-tqt/debian/manpages/pyuic.1
new file mode 100644
index 000000000..f1ffa41ff
--- /dev/null
+++ b/dilos/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/dilos/dependencies/python-tqt/debian/patches/debian_configure_changes.diff b/dilos/dependencies/python-tqt/debian/patches/debian_configure_changes.diff
new file mode 100644
index 000000000..131e9dbdc
--- /dev/null
+++ b/dilos/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/dilos/dependencies/python-tqt/debian/patches/series b/dilos/dependencies/python-tqt/debian/patches/series
new file mode 100644
index 000000000..573069d8d
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/patches/series
@@ -0,0 +1 @@
+# debian_configure_changes.diff
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-dev.dirs b/dilos/dependencies/python-tqt/debian/python-tqt-dev.dirs
new file mode 100644
index 000000000..ae635cbcd
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt-dev.dirs
@@ -0,0 +1 @@
+usr/share/sip/tqt
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-dev.install b/dilos/dependencies/python-tqt/debian/python-tqt-dev.install
new file mode 100644
index 000000000..7b6aca191
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt-dev.install
@@ -0,0 +1,2 @@
+sip/* usr/share/sip/tqt
+
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides b/dilos/dependencies/python-tqt/debian/python-tqt-dev.lintian-overrides
new file mode 100644
index 000000000..36e6c1349
--- /dev/null
+++ b/dilos/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-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
+python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip
+
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-doc.dirs b/dilos/dependencies/python-tqt/debian/python-tqt-doc.dirs
new file mode 100644
index 000000000..43a4fa9fa
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt-doc.dirs
@@ -0,0 +1,2 @@
+usr/share/doc/python-tqt-doc/html
+usr/share/doc/python-tqt-doc/examples
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-doc.examples b/dilos/dependencies/python-tqt/debian/python-tqt-doc.examples
new file mode 100644
index 000000000..3162f69a8
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt-doc.examples
@@ -0,0 +1,2 @@
+examples3/*
+
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-doc.install b/dilos/dependencies/python-tqt/debian/python-tqt-doc.install
new file mode 100644
index 000000000..65f82036b
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt-doc.install
@@ -0,0 +1 @@
+doc/PyQt.html usr/share/doc/python-tqt-doc/html
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt-gl.install b/dilos/dependencies/python-tqt/debian/python-tqt-gl.install
new file mode 100644
index 000000000..288f3cb88
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt-gl.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/python_tqt/qtgl.so
diff --git a/dilos/dependencies/python-tqt/debian/python-tqt.install b/dilos/dependencies/python-tqt/debian/python-tqt.install
new file mode 100644
index 000000000..61a9363d0
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqt.install
@@ -0,0 +1,7 @@
+usr/lib/python*/*-packages/python_tqt/qtcanvas.so
+usr/lib/python*/*-packages/python_tqt/qtnetwork.so
+usr/lib/python*/*-packages/python_tqt/qtsql.so
+usr/lib/python*/*-packages/python_tqt/qttable.so
+usr/lib/python*/*-packages/python_tqt/qtui.so
+usr/lib/python*/*-packages/python_tqt/qtxml.so
+usr/lib/python*/*-packages/python_tqt/qt.so
diff --git a/dilos/dependencies/python-tqt/debian/python-tqtext.install b/dilos/dependencies/python-tqt/debian/python-tqtext.install
new file mode 100644
index 000000000..582be1bb1
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/python-tqtext.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/python_tqt/qtext.so
diff --git a/dilos/dependencies/python-tqt/debian/pytqt-tools.install b/dilos/dependencies/python-tqt/debian/pytqt-tools.install
new file mode 100644
index 000000000..1df36c612
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/pytqt-tools.install
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/dilos/dependencies/python-tqt/debian/pytqt-tools.manpages b/dilos/dependencies/python-tqt/debian/pytqt-tools.manpages
new file mode 100644
index 000000000..7d27d0034
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/pytqt-tools.manpages
@@ -0,0 +1,2 @@
+debian/manpages/pylupdate.1
+debian/manpages/pyuic.1
diff --git a/dilos/dependencies/python-tqt/debian/rules b/dilos/dependencies/python-tqt/debian/rules
new file mode 100755
index 000000000..80583cdeb
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/rules
@@ -0,0 +1,164 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+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 TQTDIR=/usr/share/tqt3
+export QMAKESPEC=$(TQTDIR)/mkspecs/linux-g++
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CXXFLAGS += -O0
+else
+ CXXFLAGS += -O1
+endif
+CXXFLAGS += "-I/usr/include/tqt"
+
+PYTHONS := $(shell pyversions -vr debian/control)
+
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
+
+
+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)
+configure: $(PYTHONS:%=build-%/configure-stamp)
+build-%/configure-stamp:
+ dh_testdir
+ mkdir -p build-$*
+ cd build-$* && echo yes \
+ | python$* ../configure.py \
+ -c -n /usr/include/tqscintilla \
+ -e python$* \
+ -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(SPLIT) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/python_tqt \
+ -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/tqscintilla \
+ -e python$* \
+ -o /usr/lib -u -j $(SPLIT) \
+ -d /usr/lib/python$*/$(call py_sitename,$*)/python_tqt \
+ -l /usr/include/python$*_d \
+ -v /usr/share/sip/tqt \
+ -m /usr/lib/python$*/config_d \
+ CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP=""
+ touch $@
+
+#build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
+build build-arch: $(PYTHONS:%=build-%/build-stamp)
+build-indep:
+
+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()')/python_tqt; \
+ mkdir -p debian/python-tqt-dev/$$pylib;\
+ install -m 644 -o root -g root build-$$version/pyqtconfig.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()')/python_tqt; \
+ mkdir -p debian/python-tqt/$$pylib;\
+ cp -a debian/tmp/$$pylib/__init__.py \
+ debian/python-tqt/$$pylib/__init__.py;\
+ done
+
+ dh_install -a --sourcedir=$(CURDIR)/debian/tmp
+
+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
+# dh_strip
+ dh_compress -X.py -X.bmp -X.ui -X.sql
+ dh_fixperms
+ ${DH_PYTHON2}
+ dh_sip_tqt
+ dh_lintian
+ dh_installdeb
+ dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+# 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 build-arch clean binary-indep binary-arch binary configure
diff --git a/dilos/dependencies/python-tqt/debian/source/format b/dilos/dependencies/python-tqt/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/dilos/dependencies/python-tqt/debian/source/options b/dilos/dependencies/python-tqt/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/dilos/dependencies/python-tqt/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/dilos/dependencies/python-tqt/debian/watch b/dilos/dependencies/python-tqt/debian/watch
new file mode 100644
index 000000000..506321d38
--- /dev/null
+++ b/dilos/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