Switch to dh_python2 (or dh_pysupport as fallback) on Debian and Ubuntu

pull/3/head
Slávek Banko 11 years ago
parent e59f9132f6
commit 2d0d0ba99b

@ -2,7 +2,7 @@ Source: desktop-effects-tde-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-support (>= 0.6) | python-dev (>= 2.6.6-3~)
Standards-Version: 3.8.4
XS-Python-Version: all

@ -1,5 +1,8 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
Build-Depends-Indep: python-central (>= 0.6.0), intltool
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
Package: fusion-icon-trinity

@ -1,6 +1,6 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
@ -17,5 +17,5 @@ binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/opt/trinity
cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
rm -rf debian/fusion-icon-trinity/usr
dh_pycentral -pfusion-icon-trinity
dh_pysupport -pfusion-icon-trinity
dh_icons

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-sip-dbg, python-all-dbg
Standards-Version: 3.8.4
Package: python-tqt

@ -1,15 +1,15 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,35 +0,0 @@
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
else
flist=$(tempfile)
find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
> $flist 2>/dev/null || true
if [ -s $flist ]; then
for d in /usr/lib/python[0-9].[0-9]; do
case "$d" in */python2.1|*/python2.2) continue; esac
while read t n; do
case "$t" in
p) rm -f $d/$n $d/${n}[co];;
d) rmdir $d/$n 2>/dev/null || true;;
*) rm -f $d/$n
esac
done < $flist
done
fi
rm -f $flist
dpkg -L python-qt-dev \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
fi
fi
fi
#DEBHELPER#

@ -1,2 +1,2 @@
usr/share/doc/python-qt3-doc/html
usr/share/doc/python-qt3-doc/examples
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +1 @@
doc/PyQt.html usr/share/doc/python-qt3-doc/html
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -32,6 +32,9 @@ CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@ -154,7 +157,7 @@ endif
# dh_strip
dh_compress -X.py -X.bmp -X.ui -X.sql
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_sip
dh_lintian
dh_installdeb

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all

@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -1,10 +1,10 @@
pytdeextensions: desktop-entry-contains-unknown-key ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions: desktop-entry-invalid-category QT ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-invalid-category X-TDE-settings-system ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-lacks-main-category ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
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
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-support (>= 0.6) | python-dev (>= 2.6.6-3~), 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

@ -31,6 +31,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DBG_PYTHONS := $(shell pyversions -vd)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
SPLIT=20
@ -149,7 +152,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms
DH_PYCENTRAL=nomove dh_pycentral
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol

@ -1,6 +1,6 @@
Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5),
python-dev (>= 2.3.5-11), python-support (>= 0.5), quilt, gawk,
python-dev (>= 2.3.5-11), python-support (>= 0.5) | python-dev (>= 2.6.6-3~), quilt, gawk,
gettext, default-jdk [amd64 i386 ia64 lpia powerpc s390 sparc],
tdelibs4-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5),
ruby, ruby-dev, flex, bison,

@ -3,6 +3,9 @@
DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR)
@ -131,7 +134,7 @@ binary-install/libqt0-ruby1.8-trinity::
mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/
binary-install/python-dcop-trinity::
dh_pysupport -p$(cdbs_curpkg)
${DH_PYTHON2} -p$(cdbs_curpkg)
###

@ -2,7 +2,7 @@ Source: desktop-effects-tde-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-support (>= 0.6) | python-dev (>= 2.6.6-3~)
Standards-Version: 3.8.4
XS-Python-Version: all

@ -1,5 +1,8 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
Build-Depends-Indep: python-central (>= 0.6.0), intltool
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
Package: fusion-icon-trinity

@ -1,6 +1,6 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
@ -17,5 +17,5 @@ binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/opt/trinity
cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
rm -rf debian/fusion-icon-trinity/usr
dh_pycentral -pfusion-icon-trinity
dh_pysupport -pfusion-icon-trinity
dh_icons

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-sip-dbg, python-all-dbg
Standards-Version: 3.8.4
Package: python-tqt

@ -1,15 +1,15 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,35 +0,0 @@
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
else
flist=$(tempfile)
find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
> $flist 2>/dev/null || true
if [ -s $flist ]; then
for d in /usr/lib/python[0-9].[0-9]; do
case "$d" in */python2.1|*/python2.2) continue; esac
while read t n; do
case "$t" in
p) rm -f $d/$n $d/${n}[co];;
d) rmdir $d/$n 2>/dev/null || true;;
*) rm -f $d/$n
esac
done < $flist
done
fi
rm -f $flist
dpkg -L python-qt-dev \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
fi
fi
fi
#DEBHELPER#

@ -1,2 +1,2 @@
usr/share/doc/python-qt3-doc/html
usr/share/doc/python-qt3-doc/examples
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +1 @@
doc/PyQt.html usr/share/doc/python-qt3-doc/html
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -32,6 +32,9 @@ CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@ -154,7 +157,7 @@ endif
# dh_strip
dh_compress -X.py -X.bmp -X.ui -X.sql
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_sip
dh_lintian
dh_installdeb

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all

@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -1,10 +1,10 @@
pytdeextensions: desktop-entry-contains-unknown-key ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions: desktop-entry-invalid-category QT ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-invalid-category X-TDE-settings-system ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-lacks-main-category ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
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
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-support (>= 0.6) | python-dev (>= 2.6.6-3~), 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

@ -31,6 +31,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DBG_PYTHONS := $(shell pyversions -vd)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
SPLIT=20
@ -149,7 +152,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms
DH_PYCENTRAL=nomove dh_pycentral
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol

@ -1,6 +1,6 @@
Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5),
python-dev (>= 2.3.5-11), python-support (>= 0.5), quilt, gawk,
python-dev (>= 2.3.5-11), python-support (>= 0.5) | python-dev (>= 2.6.6-3~), quilt, gawk,
gettext, default-jdk [amd64 i386 ia64 lpia powerpc s390 sparc],
tdelibs4-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5),
ruby, ruby-dev, flex, bison,

@ -3,6 +3,9 @@
DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR)
@ -131,7 +134,7 @@ binary-install/libqt0-ruby1.8-trinity::
mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/
binary-install/python-dcop-trinity::
dh_pysupport -p$(cdbs_curpkg)
${DH_PYTHON2} -p$(cdbs_curpkg)
###

@ -2,7 +2,7 @@ Source: desktop-effects-tde-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-support (>= 0.6) | python-dev (>= 2.6.6-3~)
Standards-Version: 3.8.4
XS-Python-Version: all

@ -1,5 +1,8 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
Build-Depends-Indep: python-central (>= 0.6.0), intltool
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
Package: fusion-icon-trinity

@ -1,6 +1,6 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
@ -17,5 +17,5 @@ binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/opt/trinity
cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
rm -rf debian/fusion-icon-trinity/usr
dh_pycentral -pfusion-icon-trinity
dh_pysupport -pfusion-icon-trinity
dh_icons

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-sip-dbg, python-all-dbg
Standards-Version: 3.8.4
Package: python-tqt

@ -1,15 +1,15 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,35 +0,0 @@
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
else
flist=$(tempfile)
find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
> $flist 2>/dev/null || true
if [ -s $flist ]; then
for d in /usr/lib/python[0-9].[0-9]; do
case "$d" in */python2.1|*/python2.2) continue; esac
while read t n; do
case "$t" in
p) rm -f $d/$n $d/${n}[co];;
d) rmdir $d/$n 2>/dev/null || true;;
*) rm -f $d/$n
esac
done < $flist
done
fi
rm -f $flist
dpkg -L python-qt-dev \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
fi
fi
fi
#DEBHELPER#

@ -1,2 +1,2 @@
usr/share/doc/python-qt3-doc/html
usr/share/doc/python-qt3-doc/examples
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +1 @@
doc/PyQt.html usr/share/doc/python-qt3-doc/html
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -32,6 +32,9 @@ CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@ -154,7 +157,7 @@ endif
# dh_strip
dh_compress -X.py -X.bmp -X.ui -X.sql
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_sip
dh_lintian
dh_installdeb

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all

@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -1,10 +1,10 @@
pytdeextensions: desktop-entry-contains-unknown-key ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions: desktop-entry-invalid-category QT ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-invalid-category X-TDE-settings-system ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-lacks-main-category ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
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
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-support (>= 0.6) | python-dev (>= 2.6.6-3~), 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

@ -31,6 +31,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DBG_PYTHONS := $(shell pyversions -vd)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
SPLIT=20
@ -149,7 +152,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms
DH_PYCENTRAL=nomove dh_pycentral
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol

@ -1,6 +1,6 @@
Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5),
python-dev (>= 2.3.5-11), python-support (>= 0.5), quilt, gawk,
python-dev (>= 2.3.5-11), python-support (>= 0.5) | python-dev (>= 2.6.6-3~), quilt, gawk,
gettext, default-jdk [amd64 i386 ia64 lpia powerpc s390 sparc],
tdelibs4-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5),
ruby, ruby-dev, flex, bison,

@ -3,6 +3,9 @@
DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR)
@ -131,7 +134,7 @@ binary-install/libqt0-ruby1.8-trinity::
mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/
binary-install/python-dcop-trinity::
dh_pysupport -p$(cdbs_curpkg)
${DH_PYTHON2} -p$(cdbs_curpkg)
###

@ -2,7 +2,7 @@ Source: desktop-effects-tde-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-support (>= 0.6) | python-dev (>= 2.6.6-3~)
Standards-Version: 3.8.4
XS-Python-Version: all

@ -1,5 +1,8 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
Build-Depends-Indep: python-central (>= 0.6.0), intltool
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
Package: fusion-icon-trinity

@ -1,6 +1,6 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
@ -17,5 +17,5 @@ binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/opt/trinity
cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
rm -rf debian/fusion-icon-trinity/usr
dh_pycentral -pfusion-icon-trinity
dh_pysupport -pfusion-icon-trinity
dh_icons

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-sip-dbg, python-all-dbg
Standards-Version: 3.8.4
Package: python-tqt

@ -1,15 +1,15 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,35 +0,0 @@
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
else
flist=$(tempfile)
find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
> $flist 2>/dev/null || true
if [ -s $flist ]; then
for d in /usr/lib/python[0-9].[0-9]; do
case "$d" in */python2.1|*/python2.2) continue; esac
while read t n; do
case "$t" in
p) rm -f $d/$n $d/${n}[co];;
d) rmdir $d/$n 2>/dev/null || true;;
*) rm -f $d/$n
esac
done < $flist
done
fi
rm -f $flist
dpkg -L python-qt-dev \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
fi
fi
fi
#DEBHELPER#

@ -1,2 +1,2 @@
usr/share/doc/python-qt3-doc/html
usr/share/doc/python-qt3-doc/examples
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +1 @@
doc/PyQt.html usr/share/doc/python-qt3-doc/html
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -32,6 +32,9 @@ CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@ -154,7 +157,7 @@ endif
# dh_strip
dh_compress -X.py -X.bmp -X.ui -X.sql
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_sip
dh_lintian
dh_installdeb

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all

@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -1,10 +1,10 @@
pytdeextensions: desktop-entry-contains-unknown-key ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions: desktop-entry-invalid-category QT ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-invalid-category X-TDE-settings-system ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-lacks-main-category ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
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
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-support (>= 0.6) | python-dev (>= 2.6.6-3~), 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

@ -31,6 +31,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DBG_PYTHONS := $(shell pyversions -vd)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
SPLIT=20
@ -149,7 +152,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms
DH_PYCENTRAL=nomove dh_pycentral
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol

@ -1,6 +1,6 @@
Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5),
python-dev (>= 2.3.5-11), python-support (>= 0.5), quilt, gawk,
python-dev (>= 2.3.5-11), python-support (>= 0.5) | python-dev (>= 2.6.6-3~), quilt, gawk,
gettext, default-jdk [amd64 i386 ia64 lpia powerpc s390 sparc],
tdelibs4-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5),
ruby, ruby-dev, flex, bison,

@ -3,6 +3,9 @@
DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR)
@ -131,7 +134,7 @@ binary-install/libqt0-ruby1.8-trinity::
mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/
binary-install/python-dcop-trinity::
dh_pysupport -p$(cdbs_curpkg)
${DH_PYTHON2} -p$(cdbs_curpkg)
###

@ -2,7 +2,7 @@ Source: desktop-effects-tde-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-support (>= 0.6) | python-dev (>= 2.6.6-3~)
Standards-Version: 3.8.4
XS-Python-Version: all

@ -1,5 +1,8 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
Build-Depends-Indep: python-central (>= 0.6.0), intltool
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
Package: fusion-icon-trinity

@ -1,6 +1,6 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
@ -17,5 +17,5 @@ binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/opt/trinity
cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
rm -rf debian/fusion-icon-trinity/usr
dh_pycentral -pfusion-icon-trinity
dh_pysupport -pfusion-icon-trinity
dh_icons

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-sip-dbg, python-all-dbg
Standards-Version: 3.8.4
Package: python-tqt

@ -1,15 +1,15 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,35 +0,0 @@
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
else
flist=$(tempfile)
find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
> $flist 2>/dev/null || true
if [ -s $flist ]; then
for d in /usr/lib/python[0-9].[0-9]; do
case "$d" in */python2.1|*/python2.2) continue; esac
while read t n; do
case "$t" in
p) rm -f $d/$n $d/${n}[co];;
d) rmdir $d/$n 2>/dev/null || true;;
*) rm -f $d/$n
esac
done < $flist
done
fi
rm -f $flist
dpkg -L python-qt-dev \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
fi
fi
fi
#DEBHELPER#

@ -1,2 +1,2 @@
usr/share/doc/python-qt3-doc/html
usr/share/doc/python-qt3-doc/examples
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +1 @@
doc/PyQt.html usr/share/doc/python-qt3-doc/html
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -32,6 +32,9 @@ CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@ -154,7 +157,7 @@ endif
# dh_strip
dh_compress -X.py -X.bmp -X.ui -X.sql
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_sip
dh_lintian
dh_installdeb

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all

@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -1,10 +1,10 @@
pytdeextensions: desktop-entry-contains-unknown-key ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions: desktop-entry-invalid-category QT ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-invalid-category X-TDE-settings-system ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-lacks-main-category ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
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
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-support (>= 0.6) | python-dev (>= 2.6.6-3~), 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

@ -31,6 +31,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DBG_PYTHONS := $(shell pyversions -vd)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
SPLIT=20
@ -149,7 +152,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms
DH_PYCENTRAL=nomove dh_pycentral
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol

@ -1,6 +1,6 @@
Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5),
python-dev (>= 2.3.5-11), python-support (>= 0.5), quilt, gawk,
python-dev (>= 2.3.5-11), python-support (>= 0.5) | python-dev (>= 2.6.6-3~), quilt, gawk,
gettext, default-jdk [amd64 i386 ia64 lpia powerpc s390 sparc],
tdelibs4-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5),
ruby, ruby-dev, flex, bison,

@ -3,6 +3,9 @@
DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR)
@ -131,7 +134,7 @@ binary-install/libqt0-ruby1.8-trinity::
mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/
binary-install/python-dcop-trinity::
dh_pysupport -p$(cdbs_curpkg)
${DH_PYTHON2} -p$(cdbs_curpkg)
###

@ -2,7 +2,7 @@ Source: desktop-effects-tde-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-central (>= 0.5.6)
Build-Depends-Indep: cdbs (>= 0.4.43), debhelper (>= 5.0.38), python-support (>= 0.6) | python-dev (>= 2.6.6-3~)
Standards-Version: 3.8.4
XS-Python-Version: all

@ -1,5 +1,8 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
${DH_PYTHON2} -pdesktop-effects-tde-trinity

@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
Build-Depends-Indep: python-central (>= 0.6.0), intltool
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
Package: fusion-icon-trinity

@ -1,6 +1,6 @@
#!/usr/bin/make -f
DEB_PYTHON_SYSTEM=pycentral
DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
@ -17,5 +17,5 @@ binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/opt/trinity
cp -Rp debian/fusion-icon-trinity/usr/* debian/fusion-icon-trinity/opt/trinity/
rm -rf debian/fusion-icon-trinity/usr
dh_pycentral -pfusion-icon-trinity
dh_pysupport -pfusion-icon-trinity
dh_icons

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libtqtinterface-dev, tqt3-dev-tools, tqt3-apps-dev, python-sip-dev (>= 4.10.0-2ubuntu1), libtqscintilla-dev, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), python-sip-dbg, python-all-dbg
Standards-Version: 3.8.4
Package: python-tqt

@ -1,15 +1,15 @@
# lintian test overriden as the files tripping this error are put into the source
# of the generated package. This is a false-positive
python-qt-dev binary: extra-license-file usr/share/sip/qt/qt/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtaxcontainer/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtcanvas/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtext/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtgl/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtnetwork/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtpe/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtsql/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qttable/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtui/copying.sip
python-qt-dev binary: extra-license-file usr/share/sip/qt/qtxml/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qt/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtaxcontainer/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtcanvas/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtext/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtgl/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtnetwork/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtpe/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtsql/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qttable/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtui/copying.sip
python-tqt-dev binary: extra-license-file usr/share/sip/tqt/qtxml/copying.sip

@ -1,35 +0,0 @@
#!/bin/sh
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
else
flist=$(tempfile)
find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
\( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
> $flist 2>/dev/null || true
if [ -s $flist ]; then
for d in /usr/lib/python[0-9].[0-9]; do
case "$d" in */python2.1|*/python2.2) continue; esac
while read t n; do
case "$t" in
p) rm -f $d/$n $d/${n}[co];;
d) rmdir $d/$n 2>/dev/null || true;;
*) rm -f $d/$n
esac
done < $flist
done
fi
rm -f $flist
dpkg -L python-qt-dev \
| awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
| xargs rm -f >&2
fi
fi
fi
#DEBHELPER#

@ -1,2 +1,2 @@
usr/share/doc/python-qt3-doc/html
usr/share/doc/python-qt3-doc/examples
usr/share/doc/python-tqt-doc/html
usr/share/doc/python-tqt-doc/examples

@ -1 +1 @@
doc/PyQt.html usr/share/doc/python-qt3-doc/html
doc/PyQt.html usr/share/doc/python-tqt-doc/html

@ -32,6 +32,9 @@ CXXFLAGS += "-I/usr/include/tqt"
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@ -154,7 +157,7 @@ endif
# dh_strip
dh_compress -X.py -X.bmp -X.ui -X.sql
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_sip
dh_lintian
dh_installdeb

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Bernd Zeimetz <bzed@debian.org>, Michael Casadevall <mcasadevall@debian.org>
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1), libtqtinterface-dev
Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-10), python-all-dbg, python-support (>= 0.7.1) | python-dev (>= 2.6.6-3~), libtqtinterface-dev
Standards-Version: 3.8.4
XS-Python-Version: all

@ -19,6 +19,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport)
-include /usr/share/python/python.mk
ifeq (,$(py_sitename))
py_sitename = site-packages
@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
endif
dh_compress
dh_fixperms
dh_pysupport
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps
dh_gencontrol

@ -1,10 +1,10 @@
pytdeextensions: desktop-entry-contains-unknown-key ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions: desktop-entry-invalid-category QT ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-invalid-category X-TDE-settings-system ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-entry-lacks-main-category ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions: desktop-command-not-in-package ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-entry-contains-unknown-key ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop:4 name[en_GB]
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop tdecmshell
pytdeextensions-trinity: desktop-entry-invalid-category QT ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-invalid-category X-TDE-settings-system ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-entry-lacks-main-category ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/kcontrol_module.desktop
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeapp/src/kdeapp.desktop $APPNAMELC$
pytdeextensions-trinity: desktop-command-not-in-package ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/kdeutility.desktop $APPNAMELC$
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions: executable-not-elf-or-script ./usr/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py
pytdeextensions-trinity: executable-not-elf-or-script ./opt/trinity/share/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py

@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ricardo Javier Cardenes Medina <rcardenes@debian.org>
Uploaders: Torsten Marek <shlomme@debian.org>, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
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
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-support (>= 0.6) | python-dev (>= 2.6.6-3~), 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

@ -31,6 +31,9 @@ endif
PYTHONS := $(shell pyversions -vr debian/control)
DBG_PYTHONS := $(shell pyversions -vd)
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
SPLIT=20
@ -149,7 +152,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif
dh_compress -X.py -X.ui -X.dtd
dh_fixperms
DH_PYCENTRAL=nomove dh_pycentral
${DH_PYTHON2}
dh_installdeb
dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol

@ -1,6 +1,6 @@
Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5),
python-dev (>= 2.3.5-11), python-support (>= 0.5), quilt, gawk,
python-dev (>= 2.3.5-11), python-support (>= 0.5) | python-dev (>= 2.6.6-3~), quilt, gawk,
gettext, default-jdk [amd64 i386 ia64 lpia powerpc s390 sparc],
tdelibs4-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5),
ruby, ruby-dev, flex, bison,

@ -3,6 +3,9 @@
DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR)
@ -131,7 +134,7 @@ binary-install/libqt0-ruby1.8-trinity::
mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/
binary-install/python-dcop-trinity::
dh_pysupport -p$(cdbs_curpkg)
${DH_PYTHON2} -p$(cdbs_curpkg)
###

Loading…
Cancel
Save