summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/python-tqt/debian/patches
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-12-23 09:56:16 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-12-23 09:56:16 +0100
commit61c1a6ff1f4b4a55f5d2769f91e390b00bbe28f3 (patch)
tree9705e86f0f20fbdc463c6247e98afc43b15f4362 /ubuntu/_base/dependencies/python-tqt/debian/patches
parent3224f9bbd3bb4c42b6d7d492e4262c55f92e3638 (diff)
downloadtde-packaging-61c1a6ff1f4b4a55f5d2769f91e390b00bbe28f3.tar.gz
tde-packaging-61c1a6ff1f4b4a55f5d2769f91e390b00bbe28f3.zip
Move python-tqt to pytqt
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/dependencies/python-tqt/debian/patches')
-rw-r--r--ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff95
-rw-r--r--ubuntu/_base/dependencies/python-tqt/debian/patches/series1
2 files changed, 0 insertions, 96 deletions
diff --git a/ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff b/ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff
deleted file mode 100644
index 131e9dbdc..000000000
--- a/ubuntu/_base/dependencies/python-tqt/debian/patches/debian_configure_changes.diff
+++ /dev/null
@@ -1,95 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_configure.dpatch by Torsten Marek <shlomme@debian.org>
-##
-## DP: Add object directory build support to configure.py
-
-@DPATCH@
-Index: python-qt3-3.18.1/configure.py
-===================================================================
---- python-qt3-3.18.1.orig/configure.py 2010-01-27 22:24:38.555856708 +0100
-+++ python-qt3-3.18.1/configure.py 2010-01-27 22:41:45.876854625 +0100
-@@ -30,6 +30,7 @@
-
- import sipconfig
-
-+src_dir = os.path.dirname(os.path.abspath(__file__))
-
- # Initialise the globals.
- pyqt_version = 0x031201
-@@ -299,7 +300,7 @@
-
- makefile = sipconfig.ProgramMakefile(
- configuration=sipcfg,
-- build_file=buildfile,
-+ build_file=os.path.join(src_dir, "pyuic3", buildfile),
- dir="pyuic3",
- install_dir=opt_pyqtbindir,
- console=1,
-@@ -315,7 +316,8 @@
-
- if qt_version < 0x030100:
- makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib")
--
-+ makefile.extra_include_dirs.append(os.path.join(src_dir, "pyuic3"))
-+
- makefile.generate()
- tool_dirs.append("pyuic3")
-
-@@ -330,7 +332,7 @@
-
- makefile = sipconfig.ProgramMakefile(
- configuration=sipcfg,
-- build_file=buildfile,
-+ build_file=os.path.join(src_dir, "pylupdate3", buildfile),
- dir="pylupdate3",
- install_dir=opt_pyqtbindir,
- console=1,
-@@ -343,6 +345,8 @@
- if prof or "qtxml" not in pyqt_modules:
- makefile.extra_defines.append("QT_MODULE_XML")
-
-+ makefile.extra_include_dirs.append(os.path.join(src_dir, "pylupdate3"))
-+
- makefile.generate()
- tool_dirs.append("pylupdate3")
- elif qt_version >= 0x020000:
-@@ -606,7 +610,7 @@
- opengl is set if the application uses OpenGL.
- """
- # Check the module's main .sip file exists.
-- if os.access(os.path.join("sip", mname, mname + "mod.sip"), os.F_OK):
-+ if os.access(os.path.join(src_dir, "sip", mname, mname + "mod.sip"), os.F_OK):
- sipconfig.inform("Checking to see if the %s module should be built..." % mname)
-
- if check_class(incfile, ctor, define, include_dir, lib_dir, lib, opengl):
-@@ -908,10 +912,10 @@
- argv.append(buildfile)
-
- argv.append("-I")
-- argv.append("sip")
-+ argv.append(os.path.join(src_dir, "sip"))
-
- # SIP assumes POSIX style path separators.
-- argv.append(string.join(["sip", mname, mname + "mod.sip"], "/"))
-+ argv.append(string.join([src_dir, "sip", mname, mname + "mod.sip"], "/"))
-
- os.system(string.join(argv))
-
-@@ -926,7 +930,7 @@
- sipfiles = []
-
- for s in glob.glob("sip/" + mname + "/*.sip"):
-- sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s)))
-+ sipfiles.append(os.path.join(src_dir, "sip", mname, os.path.basename(s)))
-
- installs.append([sipfiles, os.path.join(pyqt.sip_dir(), mname)])
-
-@@ -1433,7 +1437,7 @@
- ).generate()
-
- # Install the configuration module.
-- create_config("pyqtconfig.py", "pyqtconfig.py.in", macros)
-+ create_config("pyqtconfig.py", os.path.join(src_dir, "pyqtconfig.py.in"), macros)
-
-
- ###############################################################################
diff --git a/ubuntu/_base/dependencies/python-tqt/debian/patches/series b/ubuntu/_base/dependencies/python-tqt/debian/patches/series
deleted file mode 100644
index 573069d8d..000000000
--- a/ubuntu/_base/dependencies/python-tqt/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-# debian_configure_changes.diff