From 143b8ac9fa5ddfbdf0e755727aca5149e7f3fe26 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Nov 2011 15:03:41 -0600 Subject: Fix sip4-tqt FTBFS on Ubuntu and add sip4-tqt to Debian --- .../sip4-tqt/debian/patches/siputils_objdir_module_fix.diff | 6 +++--- ubuntu/maverick/dependencies/sip4-tqt/debian/rules | 4 ++-- ubuntu/maverick/dependencies/sip4-tqt/debian/source/format | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'ubuntu') diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff index 3391b4a28..a9d580737 100644 --- a/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff +++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff @@ -5,14 +5,14 @@ Index: sip4-qt3-4.10/siputils.py @@ -1546,9 +1546,12 @@ mfile.write("\n$(OFILES): $(HFILES)\n") - for mf in self._build["moc_headers"].split(): + for mf in self._build["tqmoc_headers"].split(): - root, discard = os.path.splitext(mf) + root, _ = os.path.splitext(mf) - cpp = "moc_" + root + ".cpp" + cpp = "tqmoc_" + root + ".cpp" + if self._src_dir != self.dir: + mf = os.path.join(self._src_dir, mf) + mfile.write("\n%s: %s\n" % (cpp, mf)) - mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf)) + mfile.write("\t$(TQMOC) -o %s %s\n" % (cpp, mf)) diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/rules b/ubuntu/maverick/dependencies/sip4-tqt/debian/rules index 63db1e3d2..0dd14099f 100755 --- a/ubuntu/maverick/dependencies/sip4-tqt/debian/rules +++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/rules @@ -35,7 +35,7 @@ build-%/configure-stamp: cd build-$* \ && python$* ../configure.py \ -d /usr/lib/python$*/$(call py_sitename,$*) \ - -u STRIP="" CFLAGS="${CFLAGS}" CFLAGS_RELEASE="" CXXFLAGS="${CFLAGS}" CXXFLAGS_RELEASE="" + -u STRIP="" CFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="${CFLAGS} -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE="" touch $@ dbg-build-%/configure-stamp: @@ -45,7 +45,7 @@ dbg-build-%/configure-stamp: && python$*-dbg ../configure.py \ -d /usr/lib/python$*/$(call py_sitename,$*) \ -e /usr/include/python$*_d \ - -u CFLAGS="-O0 -g" CFLAGS_RELEASE="" CXXFLAGS="-O0 -g" CXXFLAGS_RELEASE="" STRIP="" + -u CFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CFLAGS_RELEASE="" CXXFLAGS="-O0 -g -I/usr/include/tqt -I/usr/include/tqt3 -I/usr/include/qt3" CXXFLAGS_RELEASE="" STRIP="" touch $@ diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/source/format b/ubuntu/maverick/dependencies/sip4-tqt/debian/source/format index 163aaf8d8..d00491fd7 100644 --- a/ubuntu/maverick/dependencies/sip4-tqt/debian/source/format +++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +1 -- cgit v1.2.1