From 61c1a6ff1f4b4a55f5d2769f91e390b00bbe28f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 23 Dec 2022 09:56:16 +0100 Subject: Move python-tqt to pytqt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../dependencies/python-tqt/debian/README.Debian | 3 - .../_base/dependencies/python-tqt/debian/changelog | 6 - ubuntu/_base/dependencies/python-tqt/debian/compat | 1 - .../_base/dependencies/python-tqt/debian/control | 212 -------------------- .../_base/dependencies/python-tqt/debian/copyright | 52 ----- ubuntu/_base/dependencies/python-tqt/debian/docs | 2 - .../python-tqt/debian/manpages/pylupdate.1 | 83 -------- .../python-tqt/debian/manpages/pyuic.1 | 74 ------- .../debian/patches/debian_configure_changes.diff | 95 --------- .../dependencies/python-tqt/debian/patches/series | 1 - .../python-tqt/debian/python-pytqt-gl.install | 1 - .../python-tqt/debian/python-pytqt.install | 7 - .../python-tqt/debian/python-pytqtext.install | 1 - .../python-tqt/debian/python3-pytqt-gl.install | 1 - .../python-tqt/debian/python3-pytqt.install | 7 - .../python-tqt/debian/python3-pytqtext.install | 1 - .../dependencies/python-tqt/debian/pytqt-dev.dirs | 1 - .../python-tqt/debian/pytqt-dev.install | 1 - .../python-tqt/debian/pytqt-dev.lintian-overrides | 14 -- .../dependencies/python-tqt/debian/pytqt-doc.dirs | 2 - .../python-tqt/debian/pytqt-doc.examples | 2 - .../python-tqt/debian/pytqt-doc.install | 1 - .../python-tqt/debian/pytqt-tools.install | 1 - .../python-tqt/debian/pytqt-tools.manpages | 2 - ubuntu/_base/dependencies/python-tqt/debian/rules | 215 --------------------- .../dependencies/python-tqt/debian/source/format | 1 - .../dependencies/python-tqt/debian/source/options | 6 - .../_base/dependencies/pytqt/debian/README.Debian | 3 + ubuntu/_base/dependencies/pytqt/debian/changelog | 6 + ubuntu/_base/dependencies/pytqt/debian/compat | 1 + ubuntu/_base/dependencies/pytqt/debian/control | 212 ++++++++++++++++++++ ubuntu/_base/dependencies/pytqt/debian/copyright | 52 +++++ ubuntu/_base/dependencies/pytqt/debian/docs | 2 + .../dependencies/pytqt/debian/manpages/pylupdate.1 | 83 ++++++++ .../dependencies/pytqt/debian/manpages/pyuic.1 | 74 +++++++ .../debian/patches/debian_configure_changes.diff | 95 +++++++++ .../_base/dependencies/pytqt/debian/patches/series | 1 + .../pytqt/debian/python-pytqt-gl.install | 1 + .../dependencies/pytqt/debian/python-pytqt.install | 7 + .../pytqt/debian/python-pytqtext.install | 1 + .../pytqt/debian/python3-pytqt-gl.install | 1 + .../pytqt/debian/python3-pytqt.install | 7 + .../pytqt/debian/python3-pytqtext.install | 1 + .../_base/dependencies/pytqt/debian/pytqt-dev.dirs | 1 + .../dependencies/pytqt/debian/pytqt-dev.install | 1 + .../pytqt/debian/pytqt-dev.lintian-overrides | 14 ++ .../_base/dependencies/pytqt/debian/pytqt-doc.dirs | 2 + .../dependencies/pytqt/debian/pytqt-doc.examples | 2 + .../dependencies/pytqt/debian/pytqt-doc.install | 1 + .../dependencies/pytqt/debian/pytqt-tools.install | 1 + .../dependencies/pytqt/debian/pytqt-tools.manpages | 2 + ubuntu/_base/dependencies/pytqt/debian/rules | 215 +++++++++++++++++++++ .../_base/dependencies/pytqt/debian/source/format | 1 + .../_base/dependencies/pytqt/debian/source/options | 6 + 54 files changed, 793 insertions(+), 793 deletions(-) delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/README.Debian delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/changelog delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/compat delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/control delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/copyright delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/docs delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/manpages/pylupdate.1 delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/manpages/pyuic.1 delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/patches/series delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/python-pytqt-gl.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/python-pytqt.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/python-pytqtext.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt-gl.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/python3-pytqtext.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.dirs delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.lintian-overrides delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.dirs delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.examples delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.install delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.manpages delete mode 100755 ubuntu/_base/dependencies/python-tqt/debian/rules delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/source/format delete mode 100644 ubuntu/_base/dependencies/python-tqt/debian/source/options create mode 100644 ubuntu/_base/dependencies/pytqt/debian/README.Debian create mode 100644 ubuntu/_base/dependencies/pytqt/debian/changelog create mode 100644 ubuntu/_base/dependencies/pytqt/debian/compat create mode 100644 ubuntu/_base/dependencies/pytqt/debian/control create mode 100644 ubuntu/_base/dependencies/pytqt/debian/copyright create mode 100644 ubuntu/_base/dependencies/pytqt/debian/docs create mode 100644 ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1 create mode 100644 ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1 create mode 100644 ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff create mode 100644 ubuntu/_base/dependencies/pytqt/debian/patches/series create mode 100644 ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install create mode 100644 ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages create mode 100755 ubuntu/_base/dependencies/pytqt/debian/rules create mode 100644 ubuntu/_base/dependencies/pytqt/debian/source/format create mode 100644 ubuntu/_base/dependencies/pytqt/debian/source/options (limited to 'ubuntu/_base') diff --git a/ubuntu/_base/dependencies/python-tqt/debian/README.Debian b/ubuntu/_base/dependencies/python-tqt/debian/README.Debian deleted file mode 100644 index 201336f3a..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/README.Debian +++ /dev/null @@ -1,3 +0,0 @@ -DOCUMENTATION -------------- -You can find doc and examples about PyTQt in the package pytqt-doc diff --git a/ubuntu/_base/dependencies/python-tqt/debian/changelog b/ubuntu/_base/dependencies/python-tqt/debian/changelog deleted file mode 100644 index e834a6ca8..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/changelog +++ /dev/null @@ -1,6 +0,0 @@ -pytqt (3.18.1-4ubuntu0) lucid; urgency=low - - * Initial build - - -- Timothy Pearson Tue, 29 Nov 2011 01:16:00 -0600 - diff --git a/ubuntu/_base/dependencies/python-tqt/debian/compat b/ubuntu/_base/dependencies/python-tqt/debian/compat deleted file mode 100644 index ec635144f..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/ubuntu/_base/dependencies/python-tqt/debian/control b/ubuntu/_base/dependencies/python-tqt/debian/control deleted file mode 100644 index 8f36817c3..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/control +++ /dev/null @@ -1,212 +0,0 @@ -Source: pytqt -Section: python -Priority: optional -Maintainer: TDE Debian Team -XSBC-Original-Maintainer: Debian Python Modules Team -Uploaders: Torsten Marek , Bernd Zeimetz , Michael Casadevall -Build-Depends: debhelper (>= 9~), python-all-dev (>= 2.3.5-10), python-all-dbg, python3-all-dev, python3-all-dbg, libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python3-sip-tqt-dev, python3-sip-tqt-dbg, python-sip-tqt-dev, python-sip-tqt-dbg, libtqscintilla-dev, python-support (>= 0.7.1) | dh-python -Standards-Version: 3.8.4 -XS-Python-Version: >= 2.3 -X-Python3-Version: >= 3.0 - -Package: python-pytqt -Architecture: any -Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends} -Replaces: python-tqt -Breaks: python-tqt -Suggests: python-pytqt-gl, pytqt-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-pytqt-dbg -Architecture: any -Priority: extra -Replaces: python-tqt-dbg -Breaks: python-tqt-dbg -Section: debug -Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt (= ${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: python3-pytqt -Architecture: any -Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends} -Suggests: python3-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql -Provides: ${python3:Provides} -Replaces: python3-tqt -Breaks: python3-tqt -Description: TQt bindings for Python 3 - 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: python3-pytqt-dbg -Architecture: any -Priority: extra -Section: debug -Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqt (= ${binary:Version}), python3-sip-tqt-dbg, ${misc:Depends} -Replaces: python3-tqt-dbg -Breaks: python3-tqt-dbg -Description: TQt bindings for Python 3 (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-pytqt-gl -Architecture: any -Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends} -Replaces: python-tqt-gl -Breaks: python-tqt-gl -Suggests: pytqt-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-pytqt-gl-dbg -Priority: extra -Section: debug -Replaces: python-tqt-gl-dbg -Breaks: python-tqt-gl-dbg -Architecture: any -Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt-gl (= ${binary:Version}), python-pytqt-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: python3-pytqt-gl -Architecture: any -Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), python3-opengl, ${misc:Depends} -Suggests: pytqt-doc -Provides: ${python3:Provides} -Replaces: python3-tqt-gl -Breaks: python3-tqt-gl -Description: TQt OpenGL bindings for Python 3 - 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: python3-pytqt-gl-dbg -Priority: extra -Section: debug -Architecture: any -Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqt-gl (= ${binary:Version}), python3-pytqt-dbg (= ${binary:Version}), ${misc:Depends} -Replaces: python3-tqt-gl-dbg -Breaks: python3-tqt-gl-dbg -Description: TQt OpenGL bindings for Python 3 (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-pytqtext -Architecture: any -Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), ${misc:Depends} -Replaces: python-tqtext -Breaks: python-tqtext -Provides: ${python:Provides} -Description: TQt extensions for PyTQt - PyTQt Extensions. Contains: - . - * QScintilla: a featureful TQt source code editing component based - on Scintilla. - -Package: python-pytqtext-dbg -Priority: extra -Section: debug -Replaces: python-tqtext-dbg -Breaks: python-tqtext-dbg -Architecture: any -Depends: ${shlibs:Depends}, python-all-dbg, python-pytqtext (= ${binary:Version}), python-pytqt-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: python3-pytqtext -Architecture: any -Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), ${misc:Depends} -Provides: ${python3:Provides} -Replaces: python3-tqtext -Breaks: python3-tqtext -Description: TQt extensions for PyTQt - PyTQt Extensions. Contains: - . - * QScintilla: a featureful TQt source code editing component based - on Scintilla. - -Package: python3-pytqtext-dbg -Priority: extra -Section: debug -Architecture: any -Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqtext (= ${binary:Version}), python3-pytqt-dbg (= ${binary:Version}), ${misc:Depends} -Replaces: python3-tqtext-dbg -Breaks: python3-tqtext-dbg -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: pytqt-dev -Depends: python3-pytqt (= ${binary:Version}) | python-pytqt (= ${binary:Version}), ${misc:Depends} -Suggests: python3-sip-tqt-dev | python-sip-tqt-dev -Replaces: python-tqt-dev -Breaks: python-tqt-dev -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: pytqt-doc -Section: doc -Architecture: all -Replaces: python-tqt-doc -Breaks: python-tqt-doc -Depends: ${misc:Depends} -Suggests: python3-pytqt | python-pytqt -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/ubuntu/_base/dependencies/python-tqt/debian/copyright b/ubuntu/_base/dependencies/python-tqt/debian/copyright deleted file mode 100644 index 715a83f24..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/copyright +++ /dev/null @@ -1,52 +0,0 @@ -This package was debianized by Ricardo Javier Cardenes Medina on -Tue, 7 May 2002 04:02:33 +0100 - -It was downloaded from http://www.riverbankcomputing.co.uk - -Upstream Author: Phil Thompson (phil@river-bank.demon.co.uk) - -Terms and Conditions - -Copyright (c) 1998, 1999, 2000, 2001 - Phil Thompson -Copyright (c) 2002 - Riverbank Computing Limited - -pylupdate is Copyright (c) 2002 - Detlev Offenbach - -Both PyQt and its utils, and pylupdate are free software; you may -redistribute them and/or modify it under the terms of the GNU General -Public License as published by the Free Software Foundation; either -version 2, or (at your option) any later version. - -A copy of the GNU General Public License is available as -/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution -or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html. -You can also obtain it by writing to the Free Software Foundation, Inc., -51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - -parts of the code are Copyright (c) 2000 Trolltech AS, under the following -license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the copyright holder shall not -be used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the copyright holder. diff --git a/ubuntu/_base/dependencies/python-tqt/debian/docs b/ubuntu/_base/dependencies/python-tqt/debian/docs deleted file mode 100644 index 50bd824bb..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/docs +++ /dev/null @@ -1,2 +0,0 @@ -NEWS -README diff --git a/ubuntu/_base/dependencies/python-tqt/debian/manpages/pylupdate.1 b/ubuntu/_base/dependencies/python-tqt/debian/manpages/pylupdate.1 deleted file mode 100644 index 4d2c8919a..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/manpages/pylupdate.1 +++ /dev/null @@ -1,83 +0,0 @@ -.TH pylupdate 1 "18 October 2001" "Trolltech AS" \" -*- nroff -*- -.\" -.\" Copyright 2001 Trolltech AS. All rights reserved. -.\" Copyright 2004 Ricardo Cardenes. All rights reserved. -.\" -.\" This file may be distributed and/or modified under the terms of the -.\" GNU General Public License version 2 as published by the Free Software -.\" Foundation and appearing in the file LICENSE.GPL included in the -.\" packaging of this file. -.\" -.\" This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -.\" WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -.\" -.\" See http://www.trolltech.com/gpl/ for GPL licensing information. -.\" -.SH NAME -pylupdate \- update Qt Linguist translation files from Python sources -.SH SYNOPSIS -.B pylupdate -.RI "[ " options " ] " project-file... -.SH DESCRIPTION -This page documents the -.B Qt Linguist Update -tool for the Qt GUI toolkit, for Python source files. -.B PyLupdate -reads a qmake project file (.pro file), finds the translatable -strings in the specified source, header and interface files, and -updates the translation files (.ts files) specified in it. The -translation files are given to the translator who uses -.B Qt Linguist -to read the files and insert the translations. -.PP -The .ts file format is a simple human-readable XML format that can be -used with version control systems if required. -.PP -.SH OPTIONS -.TP -.I "-help" -Display the usage and exit. -.TP -.I "-noobsolete" -Drop all obsolete strings. -.TP -.I "-verbose" -Explain what is being done. -.TP -.I "-version" -Display the version of -.B pylupdate -and exit. -.SH USAGE -Here is an example .pro file that can be given to -.B pylupdate: -.PP -.in +4 -.nf -SOURCES = funnydialog.py \\ - main.py \\ - wackywidget.py -FORMS = fancybox.ui -TRANSLATIONS = gnomovision_dk.ts \\ - gnomovision_fi.ts \\ - gnomovision_no.ts \\ - gnomovision_se.ts -.fi -.in -4 -.PP -When running -.B pylupdate -on this project file, the translatable strings in all the files -listed in the SOURCES and FORMS entries will be put in -the translation files listed in the TRANSLATIONS entry. Previous -translations will be reused as far as possible, and translated -strings that have vanished from the source files are marked obsolete. -.SH "SEE ALSO" -.BR lupdate (1), -.BR lrelease (1) -and -.BR http://doc.trolltech.com/i18n.html -.SH AUTHOR -This manual page was written by Ricardo J. Cárdenes Medina -for the Debian GNU/Linux System (but may be used by others), based -on Trolltech's manual page for lupdate diff --git a/ubuntu/_base/dependencies/python-tqt/debian/manpages/pyuic.1 b/ubuntu/_base/dependencies/python-tqt/debian/manpages/pyuic.1 deleted file mode 100644 index f1ffa41ff..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/manpages/pyuic.1 +++ /dev/null @@ -1,74 +0,0 @@ -.TH pyuic 1 "25 June 2001" \" -*- nroff -*- -.SH NAME -pyuic \- Qt user interface compiler for Python -.SH SYNOPSIS -.B pyuic -[options] -.SH DESCRIPTION -This page documents the -.B Python User Interface Compiler -for the Qt GUI application framework. The -.B pyuic -reads a user interface definition file (.ui) in XML as generated by Qt -Designer and creates corresponding Python module. -.PP -.PP -Generate implementation: -.br -.I "\fB pyuic [options] \fI" -.br -.PP -Generate image collection: -.br -.I "\fB pyuic [options] -embed \fI \fP ..." -.br - \fI\fP: project name - \fI\fP: image files -.br -.PP -Generate subclass implementation: -.br -.I "\fB pyuic [options] -subimpl \fI" -.br - \fI\fP: name of the subclass to generate -.PP - -.SH GENERAL OPTIONS -.TP -.I "-o file" -Write output to -.I file -rather than to stdout. -.TP -.I "-p indent" -Set the Python -.I indent -in spaces (0 to use a tab) -.TP -.I "-tr func" -Use -.I func(...) -rather than tr(...) for i18n. -.TP -.I -x -Generate extra code to test the class -.TP -.I -test -Generate extra code to test but not display the class -.TP -.I -version -Display version of pyuic -.TP -.I -help -Display this information - -.SH "SEE ALSO" -.BR uic (1) - -.BR http://www.trolltech.com/ - -.BR http://www.riverbankcomputing.co.uk/ -.SH AUTHOR -This manual page was written by Ricardo J. Cárdenes Medina -for the Debian GNU/Linux System (but may be used by others), based -on Trolltech's manual page for uic diff --git a/ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff b/ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff deleted file mode 100644 index 131e9dbdc..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff +++ /dev/null @@ -1,95 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 01_configure.dpatch by Torsten Marek -## -## 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/ubuntu/_base/dependencies/python-tqt/debian/patches/series b/ubuntu/_base/dependencies/python-tqt/debian/patches/series deleted file mode 100644 index 573069d8d..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -# debian_configure_changes.diff diff --git a/ubuntu/_base/dependencies/python-tqt/debian/python-pytqt-gl.install b/ubuntu/_base/dependencies/python-tqt/debian/python-pytqt-gl.install deleted file mode 100644 index 75cf3ddfb..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/python-pytqt-gl.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python2.*/*-packages/PyTQt/qtgl.so diff --git a/ubuntu/_base/dependencies/python-tqt/debian/python-pytqt.install b/ubuntu/_base/dependencies/python-tqt/debian/python-pytqt.install deleted file mode 100644 index d515b0bb8..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/python-pytqt.install +++ /dev/null @@ -1,7 +0,0 @@ -usr/lib/python2.*/*-packages/PyTQt/qtcanvas.so -usr/lib/python2.*/*-packages/PyTQt/qtnetwork.so -usr/lib/python2.*/*-packages/PyTQt/qtsql.so -usr/lib/python2.*/*-packages/PyTQt/qttable.so -usr/lib/python2.*/*-packages/PyTQt/qtui.so -usr/lib/python2.*/*-packages/PyTQt/qtxml.so -usr/lib/python2.*/*-packages/PyTQt/qt.so diff --git a/ubuntu/_base/dependencies/python-tqt/debian/python-pytqtext.install b/ubuntu/_base/dependencies/python-tqt/debian/python-pytqtext.install deleted file mode 100644 index 09cdba01b..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/python-pytqtext.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python2.*/*-packages/PyTQt/qtext.so diff --git a/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt-gl.install b/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt-gl.install deleted file mode 100644 index bf01fb211..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt-gl.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python3*/*-packages/PyTQt/qtgl.so diff --git a/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt.install b/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt.install deleted file mode 100644 index fa8e86b21..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqt.install +++ /dev/null @@ -1,7 +0,0 @@ -usr/lib/python3*/*-packages/PyTQt/qtcanvas.so -usr/lib/python3*/*-packages/PyTQt/qtnetwork.so -usr/lib/python3*/*-packages/PyTQt/qtsql.so -usr/lib/python3*/*-packages/PyTQt/qttable.so -usr/lib/python3*/*-packages/PyTQt/qtui.so -usr/lib/python3*/*-packages/PyTQt/qtxml.so -usr/lib/python3*/*-packages/PyTQt/qt.so diff --git a/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqtext.install b/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqtext.install deleted file mode 100644 index 9f79185f4..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/python3-pytqtext.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python3*/*-packages/PyTQt/qtext.so diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.dirs b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.dirs deleted file mode 100644 index 735874a93..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/share/sip-tqt/tqt diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.install b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.install deleted file mode 100644 index 0f144be95..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.install +++ /dev/null @@ -1 +0,0 @@ -sip/* usr/share/sip-tqt/tqt diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.lintian-overrides b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.lintian-overrides deleted file mode 100644 index 35f9687f5..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-dev.lintian-overrides +++ /dev/null @@ -1,14 +0,0 @@ -# lintian test overriden as the files tripping this error are put into the source -# of the generated package. This is a false-positive - -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qt/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtaxcontainer/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtcanvas/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtext/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtgl/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtnetwork/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtpe/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtsql/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qttable/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtui/copying.sip -pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtxml/copying.sip diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.dirs b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.dirs deleted file mode 100644 index 8067955f9..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/share/doc/pytqt-doc/html -usr/share/doc/pytqt-doc/examples diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.examples b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.examples deleted file mode 100644 index c48447a3e..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.examples +++ /dev/null @@ -1,2 +0,0 @@ -examples/* - diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.install b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.install deleted file mode 100644 index b5337b3a3..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-doc.install +++ /dev/null @@ -1 +0,0 @@ -doc/PyQt.html usr/share/doc/pytqt-doc/html diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.install b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.install deleted file mode 100644 index 1df36c612..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.install +++ /dev/null @@ -1 +0,0 @@ -usr/bin/* diff --git a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.manpages b/ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.manpages deleted file mode 100644 index 7d27d0034..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/pytqt-tools.manpages +++ /dev/null @@ -1,2 +0,0 @@ -debian/manpages/pylupdate.1 -debian/manpages/pyuic.1 diff --git a/ubuntu/_base/dependencies/python-tqt/debian/rules b/ubuntu/_base/dependencies/python-tqt/debian/rules deleted file mode 100755 index c9ff8c22f..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/rules +++ /dev/null @@ -1,215 +0,0 @@ -#!/usr/bin/make -f - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# The default gzip compressor has been changed in dpkg >= 1.17.0. -deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \ - sed -e "s|.*version ||" -e "s| .*||" | \ - xargs -r dpkg --compare-versions 1.17.0 lt \ - && echo xz || echo gzip) -ifeq ($(deb_default_compress),gzip) -DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ - && echo xz || echo bzip2) -endif - -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/pytqt-doc/usr/share/doc/pytqt-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) $(shell py3versions -vd) - -DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport) -DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport) - -DEB_PARALLEL_JOBS ?= 40 - -.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/tqt3 \ - -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \ - -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \ - -l /usr/include/python$* \ - -v /usr/share/sip-tqt/tqt \ - -m /usr/lib/python$*/config \ - -z \ - 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/tqt3 \ - -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \ - -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \ - -l /usr/include/python$*_d \ - -v /usr/share/sip-tqt/tqt \ - -m /usr/lib/python$*/config_d \ - -z \ - CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP="" - touch $@ - -build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-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())')/PyTQt;\ - mkdir -p debian/pytqt-dev/$$pylib;\ - install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\ - done - dh_install -i - -install-arch: build - dh_testdir - dh_testroot - dh_clean -k -a - dh_installdirs -a - - for p in $(PYTHONS) ; do \ - $(MAKE) -f debian/rules install-arch-$$p;\ - 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 {} \; - - for i in $$(find debian/python3-*-dbg -name '*.so'); do \ - b=$$(basename $$i .so); \ - mv $$i $$(dirname $$i)/$${b}_d.so; \ - done - find debian/python3-*-dbg ! -type d \ - ! \( -name '*.so' -o -name '*config_d.py' \) | xargs rm -f - find debian/python3-*-dbg -depth -type d -empty -exec rmdir {} \; - -install-arch-3.%: - $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp - $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg - mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt - cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ - debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py - mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt - mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ - debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ - mkdir -p debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt - mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ - debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ - -install-arch-%: - $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp - $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg - mkdir -p debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt - cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ - debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py - mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt - mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ - debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ - mkdir -p debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt - mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ - debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ - -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-pytqt python-pytqt-gl python-pytqtext \ - python3-pytqt python3-pytqt-gl python3-pytqtext; 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 -ifneq (dh_pysupport,${DH_PYTHON2}) - ${DH_PYTHON2} --no-dbg-cleaning -else - ${DH_PYTHON2} -endif - dh_python3 --no-dbg-cleaning - dh_sip_tqt - dh_sip3_tqt - dh_lintian - dh_installdeb - dh_shlibdeps - 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/ubuntu/_base/dependencies/python-tqt/debian/source/format b/ubuntu/_base/dependencies/python-tqt/debian/source/format deleted file mode 100644 index 163aaf8d8..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/ubuntu/_base/dependencies/python-tqt/debian/source/options b/ubuntu/_base/dependencies/python-tqt/debian/source/options deleted file mode 100644 index 72f1f5450..000000000 --- a/ubuntu/_base/dependencies/python-tqt/debian/source/options +++ /dev/null @@ -1,6 +0,0 @@ -# Use xz instead of gzip -compression = "xz" -compression-level = 9 - -# Don't run differences -diff-ignore = .* diff --git a/ubuntu/_base/dependencies/pytqt/debian/README.Debian b/ubuntu/_base/dependencies/pytqt/debian/README.Debian new file mode 100644 index 000000000..201336f3a --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/README.Debian @@ -0,0 +1,3 @@ +DOCUMENTATION +------------- +You can find doc and examples about PyTQt in the package pytqt-doc diff --git a/ubuntu/_base/dependencies/pytqt/debian/changelog b/ubuntu/_base/dependencies/pytqt/debian/changelog new file mode 100644 index 000000000..e834a6ca8 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/changelog @@ -0,0 +1,6 @@ +pytqt (3.18.1-4ubuntu0) lucid; urgency=low + + * Initial build + + -- Timothy Pearson Tue, 29 Nov 2011 01:16:00 -0600 + diff --git a/ubuntu/_base/dependencies/pytqt/debian/compat b/ubuntu/_base/dependencies/pytqt/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/compat @@ -0,0 +1 @@ +9 diff --git a/ubuntu/_base/dependencies/pytqt/debian/control b/ubuntu/_base/dependencies/pytqt/debian/control new file mode 100644 index 000000000..8f36817c3 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/control @@ -0,0 +1,212 @@ +Source: pytqt +Section: python +Priority: optional +Maintainer: TDE Debian Team +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Torsten Marek , Bernd Zeimetz , Michael Casadevall +Build-Depends: debhelper (>= 9~), python-all-dev (>= 2.3.5-10), python-all-dbg, python3-all-dev, python3-all-dbg, libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python3-sip-tqt-dev, python3-sip-tqt-dbg, python-sip-tqt-dev, python-sip-tqt-dbg, libtqscintilla-dev, python-support (>= 0.7.1) | dh-python +Standards-Version: 3.8.4 +XS-Python-Version: >= 2.3 +X-Python3-Version: >= 3.0 + +Package: python-pytqt +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, ${sip-tqt:Depends}, ${misc:Depends} +Replaces: python-tqt +Breaks: python-tqt +Suggests: python-pytqt-gl, pytqt-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-pytqt-dbg +Architecture: any +Priority: extra +Replaces: python-tqt-dbg +Breaks: python-tqt-dbg +Section: debug +Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt (= ${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: python3-pytqt +Architecture: any +Depends: ${shlibs:Depends}, ${python3:Depends}, ${sip3-tqt:Depends}, ${misc:Depends} +Suggests: python3-pytqt-gl, pytqt-doc, libtqt3-mt-mysql|libtqt3-mt-odbc|libtqt3-mt-psql +Provides: ${python3:Provides} +Replaces: python3-tqt +Breaks: python3-tqt +Description: TQt bindings for Python 3 + 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: python3-pytqt-dbg +Architecture: any +Priority: extra +Section: debug +Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqt (= ${binary:Version}), python3-sip-tqt-dbg, ${misc:Depends} +Replaces: python3-tqt-dbg +Breaks: python3-tqt-dbg +Description: TQt bindings for Python 3 (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-pytqt-gl +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), python-opengl (>= 2.0.1.09-2.2), ${misc:Depends} +Replaces: python-tqt-gl +Breaks: python-tqt-gl +Suggests: pytqt-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-pytqt-gl-dbg +Priority: extra +Section: debug +Replaces: python-tqt-gl-dbg +Breaks: python-tqt-gl-dbg +Architecture: any +Depends: ${shlibs:Depends}, python-all-dbg, python-pytqt-gl (= ${binary:Version}), python-pytqt-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: python3-pytqt-gl +Architecture: any +Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), python3-opengl, ${misc:Depends} +Suggests: pytqt-doc +Provides: ${python3:Provides} +Replaces: python3-tqt-gl +Breaks: python3-tqt-gl +Description: TQt OpenGL bindings for Python 3 + 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: python3-pytqt-gl-dbg +Priority: extra +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqt-gl (= ${binary:Version}), python3-pytqt-dbg (= ${binary:Version}), ${misc:Depends} +Replaces: python3-tqt-gl-dbg +Breaks: python3-tqt-gl-dbg +Description: TQt OpenGL bindings for Python 3 (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-pytqtext +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt (= ${binary:Version}), ${misc:Depends} +Replaces: python-tqtext +Breaks: python-tqtext +Provides: ${python:Provides} +Description: TQt extensions for PyTQt + PyTQt Extensions. Contains: + . + * QScintilla: a featureful TQt source code editing component based + on Scintilla. + +Package: python-pytqtext-dbg +Priority: extra +Section: debug +Replaces: python-tqtext-dbg +Breaks: python-tqtext-dbg +Architecture: any +Depends: ${shlibs:Depends}, python-all-dbg, python-pytqtext (= ${binary:Version}), python-pytqt-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: python3-pytqtext +Architecture: any +Depends: ${shlibs:Depends}, ${python3:Depends}, python3-pytqt (= ${binary:Version}), ${misc:Depends} +Provides: ${python3:Provides} +Replaces: python3-tqtext +Breaks: python3-tqtext +Description: TQt extensions for PyTQt + PyTQt Extensions. Contains: + . + * QScintilla: a featureful TQt source code editing component based + on Scintilla. + +Package: python3-pytqtext-dbg +Priority: extra +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, python3-all-dbg, python3-pytqtext (= ${binary:Version}), python3-pytqt-dbg (= ${binary:Version}), ${misc:Depends} +Replaces: python3-tqtext-dbg +Breaks: python3-tqtext-dbg +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: pytqt-dev +Depends: python3-pytqt (= ${binary:Version}) | python-pytqt (= ${binary:Version}), ${misc:Depends} +Suggests: python3-sip-tqt-dev | python-sip-tqt-dev +Replaces: python-tqt-dev +Breaks: python-tqt-dev +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: pytqt-doc +Section: doc +Architecture: all +Replaces: python-tqt-doc +Breaks: python-tqt-doc +Depends: ${misc:Depends} +Suggests: python3-pytqt | python-pytqt +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/ubuntu/_base/dependencies/pytqt/debian/copyright b/ubuntu/_base/dependencies/pytqt/debian/copyright new file mode 100644 index 000000000..715a83f24 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by Ricardo Javier Cardenes Medina on +Tue, 7 May 2002 04:02:33 +0100 + +It was downloaded from http://www.riverbankcomputing.co.uk + +Upstream Author: Phil Thompson (phil@river-bank.demon.co.uk) + +Terms and Conditions + +Copyright (c) 1998, 1999, 2000, 2001 + Phil Thompson +Copyright (c) 2002 + Riverbank Computing Limited + +pylupdate is Copyright (c) 2002 + Detlev Offenbach + +Both PyQt and its utils, and pylupdate are free software; you may +redistribute them and/or modify it under the terms of the GNU General +Public License as published by the Free Software Foundation; either +version 2, or (at your option) any later version. + +A copy of the GNU General Public License is available as +/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution +or on the World Wide Web at http://www.gnu.org/copyleft/gpl.html. +You can also obtain it by writing to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +parts of the code are Copyright (c) 2000 Trolltech AS, under the following +license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the copyright holder shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from the copyright holder. diff --git a/ubuntu/_base/dependencies/pytqt/debian/docs b/ubuntu/_base/dependencies/pytqt/debian/docs new file mode 100644 index 000000000..50bd824bb --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1 b/ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1 new file mode 100644 index 000000000..4d2c8919a --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/manpages/pylupdate.1 @@ -0,0 +1,83 @@ +.TH pylupdate 1 "18 October 2001" "Trolltech AS" \" -*- nroff -*- +.\" +.\" Copyright 2001 Trolltech AS. All rights reserved. +.\" Copyright 2004 Ricardo Cardenes. All rights reserved. +.\" +.\" This file may be distributed and/or modified under the terms of the +.\" GNU General Public License version 2 as published by the Free Software +.\" Foundation and appearing in the file LICENSE.GPL included in the +.\" packaging of this file. +.\" +.\" This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +.\" WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +.\" +.\" See http://www.trolltech.com/gpl/ for GPL licensing information. +.\" +.SH NAME +pylupdate \- update Qt Linguist translation files from Python sources +.SH SYNOPSIS +.B pylupdate +.RI "[ " options " ] " project-file... +.SH DESCRIPTION +This page documents the +.B Qt Linguist Update +tool for the Qt GUI toolkit, for Python source files. +.B PyLupdate +reads a qmake project file (.pro file), finds the translatable +strings in the specified source, header and interface files, and +updates the translation files (.ts files) specified in it. The +translation files are given to the translator who uses +.B Qt Linguist +to read the files and insert the translations. +.PP +The .ts file format is a simple human-readable XML format that can be +used with version control systems if required. +.PP +.SH OPTIONS +.TP +.I "-help" +Display the usage and exit. +.TP +.I "-noobsolete" +Drop all obsolete strings. +.TP +.I "-verbose" +Explain what is being done. +.TP +.I "-version" +Display the version of +.B pylupdate +and exit. +.SH USAGE +Here is an example .pro file that can be given to +.B pylupdate: +.PP +.in +4 +.nf +SOURCES = funnydialog.py \\ + main.py \\ + wackywidget.py +FORMS = fancybox.ui +TRANSLATIONS = gnomovision_dk.ts \\ + gnomovision_fi.ts \\ + gnomovision_no.ts \\ + gnomovision_se.ts +.fi +.in -4 +.PP +When running +.B pylupdate +on this project file, the translatable strings in all the files +listed in the SOURCES and FORMS entries will be put in +the translation files listed in the TRANSLATIONS entry. Previous +translations will be reused as far as possible, and translated +strings that have vanished from the source files are marked obsolete. +.SH "SEE ALSO" +.BR lupdate (1), +.BR lrelease (1) +and +.BR http://doc.trolltech.com/i18n.html +.SH AUTHOR +This manual page was written by Ricardo J. Cárdenes Medina +for the Debian GNU/Linux System (but may be used by others), based +on Trolltech's manual page for lupdate diff --git a/ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1 b/ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1 new file mode 100644 index 000000000..f1ffa41ff --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/manpages/pyuic.1 @@ -0,0 +1,74 @@ +.TH pyuic 1 "25 June 2001" \" -*- nroff -*- +.SH NAME +pyuic \- Qt user interface compiler for Python +.SH SYNOPSIS +.B pyuic +[options] +.SH DESCRIPTION +This page documents the +.B Python User Interface Compiler +for the Qt GUI application framework. The +.B pyuic +reads a user interface definition file (.ui) in XML as generated by Qt +Designer and creates corresponding Python module. +.PP +.PP +Generate implementation: +.br +.I "\fB pyuic [options] \fI" +.br +.PP +Generate image collection: +.br +.I "\fB pyuic [options] -embed \fI \fP ..." +.br + \fI\fP: project name + \fI\fP: image files +.br +.PP +Generate subclass implementation: +.br +.I "\fB pyuic [options] -subimpl \fI" +.br + \fI\fP: name of the subclass to generate +.PP + +.SH GENERAL OPTIONS +.TP +.I "-o file" +Write output to +.I file +rather than to stdout. +.TP +.I "-p indent" +Set the Python +.I indent +in spaces (0 to use a tab) +.TP +.I "-tr func" +Use +.I func(...) +rather than tr(...) for i18n. +.TP +.I -x +Generate extra code to test the class +.TP +.I -test +Generate extra code to test but not display the class +.TP +.I -version +Display version of pyuic +.TP +.I -help +Display this information + +.SH "SEE ALSO" +.BR uic (1) + +.BR http://www.trolltech.com/ + +.BR http://www.riverbankcomputing.co.uk/ +.SH AUTHOR +This manual page was written by Ricardo J. Cárdenes Medina +for the Debian GNU/Linux System (but may be used by others), based +on Trolltech's manual page for uic diff --git a/ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff b/ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff new file mode 100644 index 000000000..131e9dbdc --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/patches/debian_configure_changes.diff @@ -0,0 +1,95 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_configure.dpatch by Torsten Marek +## +## 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/ubuntu/_base/dependencies/pytqt/debian/patches/series b/ubuntu/_base/dependencies/pytqt/debian/patches/series new file mode 100644 index 000000000..573069d8d --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/patches/series @@ -0,0 +1 @@ +# debian_configure_changes.diff diff --git a/ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install new file mode 100644 index 000000000..75cf3ddfb --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt-gl.install @@ -0,0 +1 @@ +usr/lib/python2.*/*-packages/PyTQt/qtgl.so diff --git a/ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install new file mode 100644 index 000000000..d515b0bb8 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/python-pytqt.install @@ -0,0 +1,7 @@ +usr/lib/python2.*/*-packages/PyTQt/qtcanvas.so +usr/lib/python2.*/*-packages/PyTQt/qtnetwork.so +usr/lib/python2.*/*-packages/PyTQt/qtsql.so +usr/lib/python2.*/*-packages/PyTQt/qttable.so +usr/lib/python2.*/*-packages/PyTQt/qtui.so +usr/lib/python2.*/*-packages/PyTQt/qtxml.so +usr/lib/python2.*/*-packages/PyTQt/qt.so diff --git a/ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install b/ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install new file mode 100644 index 000000000..09cdba01b --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/python-pytqtext.install @@ -0,0 +1 @@ +usr/lib/python2.*/*-packages/PyTQt/qtext.so diff --git a/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install new file mode 100644 index 000000000..bf01fb211 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt-gl.install @@ -0,0 +1 @@ +usr/lib/python3*/*-packages/PyTQt/qtgl.so diff --git a/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install new file mode 100644 index 000000000..fa8e86b21 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqt.install @@ -0,0 +1,7 @@ +usr/lib/python3*/*-packages/PyTQt/qtcanvas.so +usr/lib/python3*/*-packages/PyTQt/qtnetwork.so +usr/lib/python3*/*-packages/PyTQt/qtsql.so +usr/lib/python3*/*-packages/PyTQt/qttable.so +usr/lib/python3*/*-packages/PyTQt/qtui.so +usr/lib/python3*/*-packages/PyTQt/qtxml.so +usr/lib/python3*/*-packages/PyTQt/qt.so diff --git a/ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install new file mode 100644 index 000000000..9f79185f4 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/python3-pytqtext.install @@ -0,0 +1 @@ +usr/lib/python3*/*-packages/PyTQt/qtext.so diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs new file mode 100644 index 000000000..735874a93 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.dirs @@ -0,0 +1 @@ +usr/share/sip-tqt/tqt diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install new file mode 100644 index 000000000..0f144be95 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.install @@ -0,0 +1 @@ +sip/* usr/share/sip-tqt/tqt diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides new file mode 100644 index 000000000..35f9687f5 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-dev.lintian-overrides @@ -0,0 +1,14 @@ +# lintian test overriden as the files tripping this error are put into the source +# of the generated package. This is a false-positive + +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qt/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtaxcontainer/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtcanvas/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtext/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtgl/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtnetwork/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtpe/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtsql/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qttable/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtui/copying.sip +pytqt-dev binary: extra-license-file usr/share/sip-tqt/tqt/qtxml/copying.sip diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs new file mode 100644 index 000000000..8067955f9 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.dirs @@ -0,0 +1,2 @@ +usr/share/doc/pytqt-doc/html +usr/share/doc/pytqt-doc/examples diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples new file mode 100644 index 000000000..c48447a3e --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.examples @@ -0,0 +1,2 @@ +examples/* + diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install new file mode 100644 index 000000000..b5337b3a3 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-doc.install @@ -0,0 +1 @@ +doc/PyQt.html usr/share/doc/pytqt-doc/html diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install new file mode 100644 index 000000000..1df36c612 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.install @@ -0,0 +1 @@ +usr/bin/* diff --git a/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages new file mode 100644 index 000000000..7d27d0034 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/pytqt-tools.manpages @@ -0,0 +1,2 @@ +debian/manpages/pylupdate.1 +debian/manpages/pyuic.1 diff --git a/ubuntu/_base/dependencies/pytqt/debian/rules b/ubuntu/_base/dependencies/pytqt/debian/rules new file mode 100755 index 000000000..c9ff8c22f --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/rules @@ -0,0 +1,215 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# The default gzip compressor has been changed in dpkg >= 1.17.0. +deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \ + sed -e "s|.*version ||" -e "s| .*||" | \ + xargs -r dpkg --compare-versions 1.17.0 lt \ + && echo xz || echo gzip) +ifeq ($(deb_default_compress),gzip) +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) +endif + +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/pytqt-doc/usr/share/doc/pytqt-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) $(shell py3versions -vd) + +DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport) +DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport) + +DEB_PARALLEL_JOBS ?= 40 + +.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/tqt3 \ + -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \ + -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \ + -l /usr/include/python$* \ + -v /usr/share/sip-tqt/tqt \ + -m /usr/lib/python$*/config \ + -z \ + 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/tqt3 \ + -o /usr/lib/$(DEB_HOST_MULTIARCH) -u -j $(DEB_PARALLEL_JOBS) \ + -d /usr/lib/python$*/$(call py_sitename,$*)/PyTQt \ + -l /usr/include/python$*_d \ + -v /usr/share/sip-tqt/tqt \ + -m /usr/lib/python$*/config_d \ + -z \ + CXXFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt" STRIP="" + touch $@ + +build build-arch: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-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())')/PyTQt;\ + mkdir -p debian/pytqt-dev/$$pylib;\ + install -m 644 -o root -g root build-$$version/pyqtconfig.py debian/pytqt-dev/$$pylib;\ + done + dh_install -i + +install-arch: build + dh_testdir + dh_testroot + dh_clean -k -a + dh_installdirs -a + + for p in $(PYTHONS) ; do \ + $(MAKE) -f debian/rules install-arch-$$p;\ + 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 {} \; + + for i in $$(find debian/python3-*-dbg -name '*.so'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + find debian/python3-*-dbg ! -type d \ + ! \( -name '*.so' -o -name '*config_d.py' \) | xargs rm -f + find debian/python3-*-dbg -depth -type d -empty -exec rmdir {} \; + +install-arch-3.%: + $(MAKE) -C build-3.$* install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C dbg-build-3.* install DESTDIR=$(CURDIR)/debian/python3-pytqt-dbg + mkdir -p debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt + cp -a debian/tmp/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ + debian/python3-pytqt/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/__init__.py + mkdir -p debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt + mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ + debian/python3-pytqt-gl-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ + mkdir -p debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt + mv debian/python3-pytqt-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ + debian/python3-pytqtext-dbg/usr/lib/python3.$*/$(call py_sitename,$$version)/PyTQt/ + +install-arch-%: + $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-pytqt-dbg + mkdir -p debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt + cp -a debian/tmp/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py \ + debian/python-pytqt/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/__init__.py + mkdir -p debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt + mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtgl.so \ + debian/python-pytqt-gl-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ + mkdir -p debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt + mv debian/python-pytqt-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/qtext.so \ + debian/python-pytqtext-dbg/usr/lib/python$*/$(call py_sitename,$$version)/PyTQt/ + +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-pytqt python-pytqt-gl python-pytqtext \ + python3-pytqt python3-pytqt-gl python3-pytqtext; 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 +ifneq (dh_pysupport,${DH_PYTHON2}) + ${DH_PYTHON2} --no-dbg-cleaning +else + ${DH_PYTHON2} +endif + dh_python3 --no-dbg-cleaning + dh_sip_tqt + dh_sip3_tqt + dh_lintian + dh_installdeb + dh_shlibdeps + 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/ubuntu/_base/dependencies/pytqt/debian/source/format b/ubuntu/_base/dependencies/pytqt/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/ubuntu/_base/dependencies/pytqt/debian/source/options b/ubuntu/_base/dependencies/pytqt/debian/source/options new file mode 100644 index 000000000..72f1f5450 --- /dev/null +++ b/ubuntu/_base/dependencies/pytqt/debian/source/options @@ -0,0 +1,6 @@ +# Use xz instead of gzip +compression = "xz" +compression-level = 9 + +# Don't run differences +diff-ignore = .* -- cgit v1.2.1