summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/dependencies/sip4-tqt/debian/patches
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-28 14:13:18 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-28 14:13:18 -0500
commit4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6 (patch)
treec6f53decaabed9678523a8bbd6a1000a9f3bf78f /ubuntu/raring/dependencies/sip4-tqt/debian/patches
parent211d261d7778de1d9a773e7ec43a4e97b4bd7e57 (diff)
downloadtde-packaging-4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6.tar.gz
tde-packaging-4bc22e8b188aa26df8b1a23c39bb0f3c5b05b8b6.zip
Split raring packaging into new directory due to defoma changes
Diffstat (limited to 'ubuntu/raring/dependencies/sip4-tqt/debian/patches')
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/patches/series2
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_debian_changes.diff32
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff18
3 files changed, 52 insertions, 0 deletions
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/patches/series b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/series
new file mode 100644
index 000000000..c42871d34
--- /dev/null
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/series
@@ -0,0 +1,2 @@
+siputils_debian_changes.diff
+siputils_objdir_module_fix.diff
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_debian_changes.diff b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_debian_changes.diff
new file mode 100644
index 000000000..2640f57c2
--- /dev/null
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_debian_changes.diff
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_siputils.dpatch by Torsten Marek <shlomme@debian.org>
+Index: sip4-qt3-4.10/siputils.py
+===================================================================
+--- sip4-qt3-4.10.orig/siputils.py 2010-01-14 15:52:09.000000000 +0100
++++ sip4-qt3-4.10/siputils.py 2010-01-26 21:09:49.172700039 +0100
+@@ -718,7 +718,8 @@
+
+ libs.extend(self.optional_list("LIBS_WINDOWS"))
+
+- lflags.extend(self._platform_rpaths(rpaths.as_list()))
++ # Don't append any rpaths
++ #lflags.extend(self._platform_rpaths(rpaths.as_list()))
+
+ # Save the transformed values.
+ self.CFLAGS.set(cflags)
+@@ -843,6 +844,15 @@
+ clib is the library name in cannonical form.
+ framework is set of the library is implemented as a MacOS framework.
+ """
++ ##################################################################
++ # Generally, the linker is intelligent enough not to need this #
++ # additional information! #
++ # And Qt4's pkg-config and prl files are broken #
++ # Changed for Debian packaging, Torsten Marek <shlomme@gmx.net> #
++ ##################################################################
++
++ return []
++
+ prl_libs = []
+
+ if self.generator in ("MSVC", "MSVC.NET", "BMAKE"):
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
new file mode 100644
index 000000000..a9d580737
--- /dev/null
+++ b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
@@ -0,0 +1,18 @@
+Index: sip4-qt3-4.10/siputils.py
+===================================================================
+--- sip4-qt3-4.10.orig/siputils.py 2010-01-26 23:45:34.144734105 +0100
++++ sip4-qt3-4.10/siputils.py 2010-01-26 23:46:51.605699383 +0100
+@@ -1546,9 +1546,12 @@
+ mfile.write("\n$(OFILES): $(HFILES)\n")
+
+ for mf in self._build["tqmoc_headers"].split():
+- root, discard = os.path.splitext(mf)
++ root, _ = os.path.splitext(mf)
+ 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$(TQMOC) -o %s %s\n" % (cpp, mf))
+