diff options
Diffstat (limited to 'ubuntu/maverick')
5 files changed, 14 insertions, 17 deletions
diff --git a/ubuntu/maverick/libraries/pytdeextensions/debian/control b/ubuntu/maverick/libraries/pytdeextensions/debian/control index f48c8da1e..985e1a93c 100644 --- a/ubuntu/maverick/libraries/pytdeextensions/debian/control +++ b/ubuntu/maverick/libraries/pytdeextensions/debian/control @@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org> Build-Depends: cdbs, debhelper (>= 5), chrpath, quilt, tdelibs14-trinity, libtool, libxml2-utils, libxrandr-dev, libxxf86vm-dev, pytqt-tools, python-trinity-trinity, - python-tqt-dev, python-sip4-dev, python-support (>= 0.6), python-all (>= 2.5), python-all-dev (>= 2.5) + python-tqt-dev, python-sip-tqt-dev, python-support (>= 0.6), python-all (>= 2.5), python-all-dev (>= 2.5) Standards-Version: 3.8.4 Package: pytdeextensions-trinity diff --git a/ubuntu/maverick/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install b/ubuntu/maverick/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install index d7e5bd651..5e9fd1f3e 100644 --- a/ubuntu/maverick/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install +++ b/ubuntu/maverick/libraries/pytdeextensions/debian/libpythonize0-trinity-dev.install @@ -1,4 +1,4 @@ -opt/trinity/include/tde/pythonize.h +opt/trinity/include/pythonize.h opt/trinity/lib/libpythonize.a opt/trinity/lib/libpythonize.la opt/trinity/lib/libpythonize.so diff --git a/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff index dc0a1227d..3a65ff190 100644 --- a/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff +++ b/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -1,7 +1,8 @@ -diff -Nur pytdeextensions/src/kdedistutils.py pytdeextensions/src/kdedistutils.py ---- pytdeextensions/src/kdedistutils.py -+++ pytdeextensions/src/kdedistutils.py -@@ -2184,7 +2184,7 @@ +Index: b/src/tdedistutils.py +=================================================================== +--- a/src/tdedistutils.py ++++ b/src/tdedistutils.py +@@ -2272,7 +2272,7 @@ ########################################################################### def get_libdir_name(): diff --git a/ubuntu/maverick/libraries/pytdeextensions/debian/python-distutils-jaunty.mk b/ubuntu/maverick/libraries/pytdeextensions/debian/python-distutils-jaunty.mk index db329306c..1a1ec9a8e 100644 --- a/ubuntu/maverick/libraries/pytdeextensions/debian/python-distutils-jaunty.mk +++ b/ubuntu/maverick/libraries/pytdeextensions/debian/python-distutils-jaunty.mk @@ -83,7 +83,7 @@ endif # pysupport ifndef DEB_PYTHON_SYSTEM DEB_PYTHON_COMPILE_VERSION = -DEB_PYTHON_VERSIONS = 2.1 2.2 2.3 2.4 2.5 2.6 +DEB_PYTHON_VERSIONS = 2.1 2.2 2.3 2.4 2.5 2.6 2.7 else # default package is the first one declared in 'debian/control' # (override if necessary) diff --git a/ubuntu/maverick/libraries/pytdeextensions/debian/rules b/ubuntu/maverick/libraries/pytdeextensions/debian/rules index 3147af02a..308059b26 100755 --- a/ubuntu/maverick/libraries/pytdeextensions/debian/rules +++ b/ubuntu/maverick/libraries/pytdeextensions/debian/rules @@ -8,15 +8,19 @@ include debian/python-distutils-jaunty.mk #include /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/rules/utils.mk -DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde +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 +DEB_PYTHON_INSTALL_ARGS_ALL += \ + --install-clib=/opt/trinity/lib \ + --install-cheaders=/opt/trinity/include + cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp -DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) @@ -40,16 +44,8 @@ install/pytdeextensions-trinity:: find . -type f -name '*.py[co]' | xargs rm -f install/libpythonize0-trinity:: - # Move the files where they belong - mkdir -p debian/tmp/opt/trinity/lib - mv debian/tmp/usr/lib/libpythonize* debian/tmp/opt/trinity/lib/ || echo "moving files 1/2" - mv debian/tmp/usr/include debian/tmp/opt/trinity/ || echo "moving files 2/2" - # fix binary-or-shlib-defines-rpath chrpath -d debian/tmp/opt/trinity/lib/libpythonize.so.* - # fix include directory location - mkdir -p debian/tmp/opt/trinity/include/tde - mv debian/tmp/opt/trinity/include/*.h debian/tmp/opt/trinity/include/tde clean:: rm -rf build |