From 05a59ddb0228494ba27bacbe7d391f06725b0689 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 10 Sep 2012 16:13:23 -0500 Subject: Split wheezy off of squeeze --- .../libraries/python-trinity/debian/NEWS.Debian | 10 + .../libraries/python-trinity/debian/changelog | 386 +++++++++++++++++++++ .../wheezy/libraries/python-trinity/debian/compat | 1 + .../wheezy/libraries/python-trinity/debian/control | 60 ++++ .../libraries/python-trinity/debian/copyright | 30 ++ .../python-trinity/debian/patches/.gitignore | 0 .../libraries/python-trinity/debian/pycompat | 1 + .../libraries/python-trinity/debian/pytdeconfig.py | 11 + .../python-trinity/debian/python-trinity-doc.dirs | 4 + .../debian/python-trinity-doc.doc-base | 12 + .../debian/python-trinity-doc.examples | 1 + .../debian/python-trinity-doc.install | 1 + .../debian/python-trinity-trinity-dev.dirs | 1 + .../debian/python-trinity-trinity-dev.install | 2 + .../debian/python-trinity-trinity.install | 3 + .../wheezy/libraries/python-trinity/debian/rules | 165 +++++++++ .../libraries/python-trinity/debian/source/format | 1 + .../libraries/python-trinity/debian/source/options | 6 + .../wheezy/libraries/python-trinity/debian/watch | 3 + 19 files changed, 698 insertions(+) create mode 100644 debian/wheezy/libraries/python-trinity/debian/NEWS.Debian create mode 100644 debian/wheezy/libraries/python-trinity/debian/changelog create mode 100644 debian/wheezy/libraries/python-trinity/debian/compat create mode 100644 debian/wheezy/libraries/python-trinity/debian/control create mode 100644 debian/wheezy/libraries/python-trinity/debian/copyright create mode 100644 debian/wheezy/libraries/python-trinity/debian/patches/.gitignore create mode 100644 debian/wheezy/libraries/python-trinity/debian/pycompat create mode 100644 debian/wheezy/libraries/python-trinity/debian/pytdeconfig.py create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.dirs create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.doc-base create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.examples create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.install create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.install create mode 100644 debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity.install create mode 100755 debian/wheezy/libraries/python-trinity/debian/rules create mode 100644 debian/wheezy/libraries/python-trinity/debian/source/format create mode 100644 debian/wheezy/libraries/python-trinity/debian/source/options create mode 100644 debian/wheezy/libraries/python-trinity/debian/watch (limited to 'debian/wheezy/libraries/python-trinity') diff --git a/debian/wheezy/libraries/python-trinity/debian/NEWS.Debian b/debian/wheezy/libraries/python-trinity/debian/NEWS.Debian new file mode 100644 index 000000000..367c6950d --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/NEWS.Debian @@ -0,0 +1,10 @@ +python-trinity (3.16.0-3) unstable; urgency=low + + python-trinity-dbg contains modules built for a debug Python interpreter. + However, it contains modules only for the default Python version. Also, + the debug symbols from python-trinity are not stored inside python-trinity-dbg, + in order to keep the package size sane. If you need those debug symbols, + locate the dh_strip command in debian/rules and uncomment the "--dbg-package" + options. + + -- Torsten Marek Sun, 16 Sep 2007 13:57:44 +0200 diff --git a/debian/wheezy/libraries/python-trinity/debian/changelog b/debian/wheezy/libraries/python-trinity/debian/changelog new file mode 100644 index 000000000..0c28cec76 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/changelog @@ -0,0 +1,386 @@ +python-trinity-trinity (3.16.3-0ubuntu4) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson Fri, 16 Oct 2009 14:47:00 -0600 + +python-trinity-trinity (3.16.3-0ubuntu1) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson Thu, 02 July 2009 16:08:00 -0600 + +python-trinity-trinity (3.16.2-0ubuntu1) jaunty; urgency=low + + * Jaunty rebuild + + -- Timothy Pearson Thu, 23 April 2009 13:02:00 -0600 + +python-trinity (3.16.2-0ubuntu1) jaunty; urgency=low + + [ Matthias Klose ] + * Build for python2.6. + + [ William Grant ] + * New upstream version. Fixes FTBFS. (LP: #333457) + + -- William Grant Mon, 09 Mar 2009 09:04:22 +1100 + +python-trinity (3.16.1-1ubuntu2) intrepid; urgency=low + + * Actually include the fix for (LP: #229845) I claimed was in the last + upload + + -- Scott Kitterman Sat, 13 Sep 2008 16:23:41 -0400 + +python-trinity (3.16.1-1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - Add kubuntu_04_kdepyuic_i18n.dpatch: + - kdepyuic now has a useKDEi18n cmdline option, set + to TRUE by default, so that .py files generated from + .ui files are using i18n by default. + - fixes long options parsing, using a list of string + instead of a long string + - Patch by Stephan Hermann + - Build-dep on python-sip4 + * Update debian/rules to move kdeconfig files from + /usr/lib/python-2.*/site-packages to /usr/lib/python2.4/site-packages so it + is in the normal path (LP: #229845) + * Dropped kubuntu_03_konsole_setpty and konsole depends since the new + version no longer needs them + + -- Scott Kitterman Wed, 18 Jun 2008 22:11:32 -0400 + +python-trinity (3.16.1-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + [ Sandro Tosi ] + * debian/watch + - added missing file + * debian/control + - uniforming Vcs-Browser field + - bump Standard-Version to 3.7.3 + - capitalized Python in -dbg package description + - removed Debian revision from versioned build-dep on libqt3-mt-dev, + qt3-apps-dev, qt3-dev-tools + * debian/rules + - fixed destination dir for -dev package (Closes: #446904) + * debian/copyright + - clear separation of copyright and license notice + - copyright and license indented with 4 spaces + - added upstream authors notice + + [ Torsten Marek ] + * New upstream release 3.16.1. + * Included patch to dcopext.py handling + DCOPObj.objmethods being None (Closes: #468248). + * Patched dcopext.py to handle strings with non-ASCII + characters (Closes: #452443). + * Dropped 03-sip-4.7.dpatch, is now included upstream. + * debian/control + - removed dependency on konsole, because the bindings + for the konsole KPart have been removed. + * debian/rules + - compress debs using bzip2 to reduce the size + of the debug packages. + + -- Torsten Marek Tue, 11 Mar 2008 01:42:08 +0100 + +python-trinity (3.16.0-4ubuntu3) hardy; urgency=low + + * Remove build-dep on python-qt3 - No longer needed because pyqtconfig is + back in python-qt-dev (LP: #197867) + + -- Scott Kitterman Wed, 12 Mar 2008 16:46:05 -0400 + +python-trinity (3.16.0-4ubuntu2) hardy; urgency=low + + * Add kubuntu_04_kdepyuic_i18n.dpatch: + - kdepyuic now has a useKDEi18n cmdline option, set + to TRUE by default, so that .py files generated from + .ui files are using i18n by default. + - fixes long options parsing, using a list of string + instead of a long string + - Patch by Stephan Hermann + + -- Anthony Mercatante Thu, 03 Jan 2008 22:40:39 +0100 + +python-trinity (3.16.0-4ubuntu1) hardy; urgency=low + + * Merge with debian, remaining change: + - kubuntu_03_konsole_setpty.dpatch patch for setpty() support + * Build-dep on python-sip4 + * Build-dep on python-qt3 + + -- Jonathan Riddell Thu, 29 Nov 2007 18:24:06 +0000 + +python-trinity (3.16.0-4) unstable; urgency=low + + [ Piotr Ożarowski ] + * XS-Vcs-Svn, XS-Vcs-Browser and Homepage fields added + + [ Torsten Marek ] + * Added dependency on konsole (Closes: #443819) + + -- Torsten Marek Mon, 01 Oct 2007 01:37:23 +0200 + +python-trinity (3.16.0-3) unstable; urgency=low + + * Merge with Ubuntu: + * Unable Konsole bindings. + * Build debug modules, but only for the default Python version + to keep the size sane. Debug symbols are left out as well. + * Adopt DCOP patch from Ubuntu. + * Better debian/rules file. + + -- Torsten Marek Sun, 16 Sep 2007 13:57:44 +0200 + +python-trinity (3.16.0-2) unstable; urgency=low + + * Include dcopext.py and dcopexport.py. (Closes: #440633) + * Add DPMT to uploaders field. + + -- Torsten Marek Mon, 03 Sep 2007 21:27:42 +0200 + +python-trinity (3.16.0-1) unstable; urgency=low + + * New upstream release. (Closes: #427285, #440028) + * Rename method that is also a Python keyword. (Closes: #407894) + + -- Torsten Marek Sun, 12 Aug 2007 13:03:11 +0200 + +python-trinity (3.15.2+20060422-4) unstable; urgency=low + + * Build with sip 4.5 / PyQt 3.17 + + -- Torsten Marek Wed, 6 Dec 2006 19:18:30 +0100 + +python-trinity (3.16.0-0ubuntu14) gutsy; urgency=low + + * Split C++ sources in more parts when building with GCC-4.[23]. + + -- Matthias Klose Wed, 29 Aug 2007 22:12:01 +0200 + +python-trinity (3.16.0-0ubuntu13) gutsy; urgency=low + + * debian/control: changed the python-trinity-dev depends; + python-trinity-dev depends on python-trinity now. + + -- Martin Böhm Mon, 06 Aug 2007 13:56:05 +0200 + +python-trinity (3.16.0-0ubuntu12) gutsy; urgency=low + + * Add patch kubuntu_00_sip-4.7.dpatch, make it compile with + sip 4.7 and build-dep on pyqt 3.17.3-1ubuntu1 + + -- Jonathan Riddell Fri, 03 Aug 2007 17:00:07 +0100 + +python-trinity (3.16.0-0ubuntu11) feisty; urgency=low + + * Fix copy and paste error, resulting in unusable extensions for + the -dbg build. + + -- Matthias Klose Wed, 21 Feb 2007 18:16:52 +0100 + +python-trinity (3.16.0-0ubuntu10) feisty; urgency=low + + * Don't call ldconfig in the installation target. + + -- Matthias Klose Tue, 20 Feb 2007 21:19:44 +0100 + +python-trinity (3.16.0-0ubuntu9) feisty; urgency=low + + * Build a python-trinity-dbg package. + * Use the dpatch patch system. + * Use single targets instead of loops inside a target. + * Set Ubuntu maintainer address. + + -- Matthias Klose Tue, 20 Feb 2007 02:09:12 +0100 + +python-trinity (3.16.0-0ubuntu8) feisty; urgency=low + + [ Michael Vogt ] + * Add kubuntu_03_konsole_setpty.diff, + adds setPtyFd() to sip/kpart/konsole_kpart.sip + + [ Jonathan Riddell ] + * Update build-dep version to tdelibs and konsole 3.5.6 + + -- Michael Vogt Fri, 19 Jan 2007 10:43:29 +0100 + +python-trinity (3.16.0-0ubuntu7) feisty; urgency=low + + * Fix build failures on 64bit archs with python2.5. + + -- Matthias Klose Sun, 14 Jan 2007 17:05:04 +0100 + +python-trinity (3.16.0-0ubuntu6) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Fri, 12 Jan 2007 13:18:13 +0000 + +python-trinity (3.16.0-0ubuntu5) feisty; urgency=low + + * Tighen build-dep on python-qt3 to ensure it builds + without visibility=hidden + + -- Jonathan Riddell Tue, 5 Dec 2006 11:13:43 +0000 + +python-trinity (3.16.0-0ubuntu4) feisty; urgency=low + + * Rebuild against Qt without visibility=hidden + * Ensure patches are not applied in source package + + -- Jonathan Riddell Mon, 4 Dec 2006 13:53:06 +0000 + +python-trinity (3.16.0-0ubuntu3) feisty; urgency=low + + * Make python-trinity depend on konsole + + -- Jonathan Riddell Fri, 24 Nov 2006 14:32:43 +0000 + +python-trinity (3.16.0-0ubuntu2) feisty; urgency=low + + * Add kubuntu_02_no_konsole_symlink.diff, don't create a symlink from + /usr/lib when running make install + * Create symlink from debian/rules instead + + -- Jonathan Riddell Fri, 24 Nov 2006 00:49:46 +0000 + +python-trinity (3.16.0-0ubuntu1) feisty; urgency=low + + * New upstream release + * Build-depend on pyqt 3.17 and sip 4.5 + * Add build-depends on /usr/lib/trinity/libkonsolepart.so + * Don't build for python 2.5, it fails to build + * Merge with Debian, remaining change: + - kubuntu_01_dcop.diff patch + + -- Jonathan Riddell Wed, 22 Nov 2006 19:03:34 +0000 + +python-trinity (3.15.2+20060422-3) unstable; urgency=medium + + * Include shlib dependencies (Closes: #378815) + + -- Torsten Marek Thu, 28 Sep 2006 20:25:29 +0200 + +python-trinity (3.15.2+20060422-2) unstable; urgency=low + + * Python policy transition (Closes: #373321) + + -- Torsten Marek Wed, 21 Jun 2006 20:44:58 +0200 + +python-trinity (3.15.2+20060422-1) unstable; urgency=low + + * New upstream release + * KConfigSkeleton works now (Closes: #310919) + * KABC is included (Closes: #362443) + * Depend on python2.x-sip4 instead of python2.x-sip4-qt3 + * Bump build-depends on sip4 to 4.4.2 and dependencies on PyQt to 3.16 + * Raised debhelper compat level to 5 + * Changed my email address to shlomme@debian.org + * Builds fine in pbuilder now, probably a missed build dependency + elsewhere (Closes: #351711) + * Remove build dependency no c++abi2-dev + * Put kdepyuic into python-trinity-dev. Thanks, Stephan Hermann + + -- Torsten Marek Tue, 2 May 2006 11:57:51 +0200 + +python-trinity (3.11.3+20051013-1) unstable; urgency=low + + * New upstream release + + -- Torsten Marek Sun, 16 Oct 2005 11:55:45 +0200 + +python-trinity (3.11.3+20050829-2) unstable; urgency=low + + * Applied patch to klibloader.sip to fix an issue with KParts, + thanks to David & Paul Boddie. + + -- Torsten Marek Mon, 10 Oct 2005 22:52:57 +0200 + +python-trinity (3.11.3+20050829-1) unstable; urgency=low + + * New upstream release (Closes: #304407) + * g++ ABI transition, + add c++abi2-dev to Build-Depends (Closes: #327949) + * Built with sip 4.3 (Closes: #327314) + * Built against KDE 3.4.2 + * Added myself to Uploaders + * Bumped all Build-Depends and Depends on sip to + be >= 4.3 and << 4.4 + * Bumped standards version to 3.6.2, no changes involved + * Fixed FSF address in copyright file + * Include upstream changelog + * Added package for Python 2.4 + * Added the homepage of PyKDE to the package descriptions + * HTML documentations is now installed into + /usr/share/doc/python-trinity-doc/html + * pytdeconfig.py now also knows that the sip files + are in /usr/share/sip/trinity, not in /usr/share/sip/kde + (Closes: #312708) + + -- Torsten Marek Tue, 20 Sep 2005 01:21:33 +0200 + +python-trinity (3.11.3-4) unstable; urgency=high + + * Added a direct dependency on the right version of sip + * Added python-trinity-dev (Closes: #294076) + * Added extra/332 so it builds with KDE 3.3.2 (Closes: #294079) + + -- Ricardo Javier Cardenes Medina Fri, 1 Apr 2005 16:07:33 +0100 + +python-trinity (3.11.3-3) unstable; urgency=low + + * Changed depend on PyQt >= 3.13-2 to >= 3.13 (I don't know what + I was thinking on) + + -- Ricardo Javier Cardenes Medina Thu, 9 Dec 2004 09:36:34 +0000 + +python-trinity (3.11.3-2) unstable; urgency=low + + * Rebuilt against PyQt 3.13 (bumped debian/control depends too) + * Applied a simple patch to build with KDE 3.3.1 + * Adapted Thiemo Seufer's patch to make it build on mips/mipsel. + Closes: Bug#274469 + + -- Ricardo Javier Cardenes Medina Mon, 4 Oct 2004 12:28:17 +0100 + +python-trinity (3.11.3-1) unstable; urgency=low + + * New upstream version. + + -- Ricardo Javier Cardenes Medina Mon, 30 Aug 2004 15:40:40 +0100 + +python-trinity (3.11.1+3.11.2-2) unstable; urgency=low + + * Split the number of generated object files during the building + process on some arches, because of hardware limitations (scarce + resources, or things like hitting the exported table size limit + on Alpha). + Closes: Bug#266733 + + -- Ricardo Javier Cardenes Medina Thu, 19 Aug 2004 00:41:08 +0100 + +python-trinity (3.11.1+3.11.2-1) unstable; urgency=low + + * Applied some changes from 3.11.2-snapshot-040816 to make it + build with KDE 3.3. + * Rebuilt the against KDE 3.3 due to ABI incompatibility. + Closes: Bug#266506 + + -- Ricardo Javier Cardenes Medina Wed, 18 Aug 2004 19:25:53 +0100 + +python-trinity (3.11.1a-1) unstable; urgency=low + + * Initial release of this package. + Closes: Bug#147965 + * Added "pyParts.rc" from 3.7 that have been missing on the + examples since 3.8 (thanks Patrick McFarland for notifying it) + * Includes some patches from development version. + + -- Ricardo Javier Cardenes Medina Sat, 19 Jun 2004 23:07:05 +0100 diff --git a/debian/wheezy/libraries/python-trinity/debian/compat b/debian/wheezy/libraries/python-trinity/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/wheezy/libraries/python-trinity/debian/control b/debian/wheezy/libraries/python-trinity/debian/control new file mode 100644 index 000000000..afacf68ee --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/control @@ -0,0 +1,60 @@ +Source: python-trinity-trinity +Section: python +Priority: optional +Maintainer: Timothy Pearson +XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina +Uploaders: Torsten Marek , Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.38), libtqtinterface-dev, python, python-all-dev, python-all-dbg, sip4 (>= 4.10), python-sip4-dev (>= 4.10), python-tqt-dev, tdelibs4-trinity-dev, python-central (>= 0.6.11), dpatch, python-sip4, python-sip4-dbg, python-sip4-dev +Standards-Version: 3.8.4 +Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php +XS-Python-Version: all + +Package: python-trinity-trinity +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-tqt +Replaces: python-trinity-trinity (<< 4:14.0.0) +Breaks: python-trinity-trinity (<< 4:14.0.0) +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Conflicts: python-trinity-trinity +Description: Trinity bindings for Python [Trinity] + Python binding module that provides wide access to the Trinity API, + also known as PyKDE. Using this, you'll get (for example) classes + from kio, kjs, khtml and kprint. + +Package: python-trinity-trinity-dbg +Priority: extra +Architecture: any +Replaces: python-trinity-trinity-dbg (<< 4:14.0.0) +Breaks: python-trinity-trinity-dbg (<< 4:14.0.0) +Depends: python-trinity-trinity (= ${binary:Version}), python-dbg, python-tqt-dbg, ${shlibs:Depends} +XB-Python-Version: ${python:Versions} +Description: Trinity bindings for Python (debug extensions) [Trinity] + Python binding module that provides wide access to the Trinity API, + also known as PyKDE. Using this, you'll get (for example) classes + from kio, kjs, khtml and kprint. + . + This package contains the extension built for the Python debug interpreter. + +Package: python-trinity-trinity-dev +Section: python +Architecture: all +Replaces: python-trinity-trinity-dev (<< 4:14.0.0) +Breaks: python-trinity-trinity-dev (<< 4:14.0.0) +Depends: pytqt-tools, ${python:Depends} +XB-Python-Version: ${python:Versions} +Description: Trinity bindings for Python - Development files and scripts [Trinity] + Development .sip files with definitions of PyKDE classes. They + are needed to build PyKDE, but also as building blocks of other + packages based on them. + The package also contains kdepyuic, a wrapper script around PyTQt's + user interface compiler. + +Package: python-trinity-trinity-doc +Section: doc +Architecture: all +Replaces: python-trinity-trinity-doc (<< 4:14.0.0) +Breaks: python-trinity-trinity-doc (<< 4:14.0.0) +Description: Documentation and examples for PyKDE [Trinity] + General documentation and examples for PyKDE providing programming + tips and working code you can use to learn from. diff --git a/debian/wheezy/libraries/python-trinity/debian/copyright b/debian/wheezy/libraries/python-trinity/debian/copyright new file mode 100644 index 000000000..eec6b36a5 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Ricardo Javier Cardenes Medina on +Sat, 19 Jun 2004 23:31:46 +0100. + +It was downloaded from http://www.riverbankcomputing.co.uk + +Upstream Authors: + + Jim Bublitz + PyKDE(KDE2, Trinity) + Phil Thompson + sip, PyQt, original PyKDE (KDE1) and loads of good advice and help + +Copyright: + + Copyright 2004 Jim Bublitz + Copyright 1998-2002 Jim Bublitz and/or Phil Thompson + +License: + + This software is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + 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. diff --git a/debian/wheezy/libraries/python-trinity/debian/patches/.gitignore b/debian/wheezy/libraries/python-trinity/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb diff --git a/debian/wheezy/libraries/python-trinity/debian/pycompat b/debian/wheezy/libraries/python-trinity/debian/pycompat new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/wheezy/libraries/python-trinity/debian/pytdeconfig.py b/debian/wheezy/libraries/python-trinity/debian/pytdeconfig.py new file mode 100644 index 000000000..eac264752 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/pytdeconfig.py @@ -0,0 +1,11 @@ +# import the sipconfig.py for the normal or the debug build + +import sys + +if getattr(sys, "pydebug", False): + try: + from pytdeconfig_d import * + except ImportError, msg: + raise ImportError, 'No module named pytdeconfig; package python-trinity-dbg not installed' +else: + from pytdeconfig_nd import * diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.dirs b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.dirs new file mode 100644 index 000000000..8c23689f0 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.dirs @@ -0,0 +1,4 @@ +usr/share/doc/python-trinity-doc +usr/share/doc/python-trinity-doc/examples +usr/share/doc/python-trinity-doc/html + diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.doc-base b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.doc-base new file mode 100644 index 000000000..58c6a2651 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.doc-base @@ -0,0 +1,12 @@ +Document: PyKDE +Title: PyKDE developer documentation +Author: Jim Bublitz +Abstract: This documentation describes the PyKDE API + PyKDE contains the Python bindings to the KDE core library. + This manual contains general handling instructions and + a class reference. +Section: Programming + +Format: HTML +Index: /usr/share/doc/python-trinity-doc/html/index.html +Files: /usr/share/doc/python-trinity-doc/html/*.html diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.examples b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.examples new file mode 100644 index 000000000..e39721e20 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.install b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.install new file mode 100644 index 000000000..146aeabc5 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-doc.install @@ -0,0 +1 @@ +doc/* usr/share/doc/python-trinity-doc/html diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs b/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs new file mode 100644 index 000000000..c395de89f --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.dirs @@ -0,0 +1 @@ +opt/trinity/share/sip/trinity diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.install b/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.install new file mode 100644 index 000000000..7b0c03e54 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity-dev.install @@ -0,0 +1,2 @@ +sip/* opt/trinity/share/sip/trinity +contrib/kdepyuic opt/trinity/bin/ diff --git a/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity.install b/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity.install new file mode 100644 index 000000000..facee2907 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/python-trinity-trinity.install @@ -0,0 +1,3 @@ +usr/lib/python*/*-packages/*.so +usr/lib/python*/*-packages/dcop*.py + diff --git a/debian/wheezy/libraries/python-trinity/debian/rules b/debian/wheezy/libraries/python-trinity/debian/rules new file mode 100755 index 000000000..ffa56ad63 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/rules @@ -0,0 +1,165 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +include /usr/share/dpatch/dpatch.make +# This has to be exported to make some magic below work. +export DH_OPTIONS +export QTDIR=/usr/share/qt3 +export QMAKESPEC=$(QTDIR)/mkspecs/linux-g++ + +CXXFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CXXFLAGS += -O0 +else + CXXFLAGS += -O2 +endif + +PYTHONS := $(shell pyversions -vr debian/control) +DBG_PYTHONS := $(shell pyversions -vd) + +GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p') +ifneq (,$(filter $(GCCVER),4.2 4.3)) + SPLIT=20 +else + SPLIT=4 +endif + +.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp + +configure: $(PYTHONS:%=build-%/configure-stamp) $(DBG_PYTHONS:%=dbg-build-%/configure-stamp) + +build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p build-$* + cd build-$* && python$* ../configure.py \ + -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \ + -v /opt/trinity/share/sip/trinity -j $(SPLIT) + touch $@ + +dbg-build-%/configure-stamp: patch-stamp + dh_testdir + mkdir -p dbg-build-$* + cd dbg-build-$* && python$*-dbg ../configure.py \ + -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \ + -v /opt/trinity/share/sip/trinity -j $(SPLIT) + touch $@ + +build: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp) + +build-%/build-stamp: build-%/configure-stamp + dh_testdir + $(MAKE) -C build-$* + touch $@ + +dbg-build-%/build-stamp: dbg-build-%/configure-stamp + dh_testdir + $(MAKE) -C dbg-build-$* + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f *-stamp + rm -rf $(PYTHONS:%=build-%) $(DBG_PYTHONS:%=dbg-build-%) + +# remove autogenerated *mod.sip files and clean up sources + for moddir in sip/*;\ + do\ + if [ -d $$moddir ]; then\ + rm -f $$moddir/` basename $${moddir}`mod.sip;\ + fi;\ + done + dh_clean + +install: install-indep install-arch + +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$' + for version in ${PYTHONS};\ + do\ + mkdir -p debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages;\ + cp debian/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/;\ + cp build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_nd.py;\ + done + for version in ${DBG_PYTHONS};\ + do\ + cp dbg-build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_d.py;\ + done + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -a + dh_installdirs -a + set -e; \ + for version in ${PYTHONS};\ + do\ + $(MAKE) -C build-$$version install DESTDIR=$(CURDIR)/debian/tmp;\ + done + + set -e; \ + for version in ${DBG_PYTHONS}; do \ + $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-trinity-trinity-dbg;\ + done + + dh_install -a --sourcedir=$(CURDIR)/debian/tmp + + mkdir -p $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/ + ln -s /opt/trinity/lib/trinity/libkonsolepart.so $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/ + 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 {} \; + + +# 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_installchangelogs ChangeLog + dh_installdocs -A THANKS + dh_installexamples + dh_link +ifeq (,$(findstring -i, $(DH_OPTIONS))) + DH_OPTIONS= dh_strip -ppython-trinity-trinity #--dbg-package=python-trinity-trinity-dbg +endif + dh_compress -X.py -X.ui -X.dtd + dh_fixperms + DH_PYCENTRAL=nomove dh_pycentral + dh_installdeb + dh_shlibdeps -l /opt/trinity/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure diff --git a/debian/wheezy/libraries/python-trinity/debian/source/format b/debian/wheezy/libraries/python-trinity/debian/source/format new file mode 100644 index 000000000..89ae9db8f --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/wheezy/libraries/python-trinity/debian/source/options b/debian/wheezy/libraries/python-trinity/debian/source/options new file mode 100644 index 000000000..9d7c8e036 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/source/options @@ -0,0 +1,6 @@ +# Use bzip2 instead of gzip +compression = "bzip2" +compression-level = 9 + +# Don't run differences +diff-ignore = .* diff --git a/debian/wheezy/libraries/python-trinity/debian/watch b/debian/wheezy/libraries/python-trinity/debian/watch new file mode 100644 index 000000000..8b3afcac0 --- /dev/null +++ b/debian/wheezy/libraries/python-trinity/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.riverbankcomputing.com/Downloads/PyTrinity/PyKDE-(.*)\.tar\.bz2 -- cgit v1.2.1