diff options
author | Manuel Vögele <develop@manuel-voegele.de> | 2016-08-23 11:26:06 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-09-20 21:12:56 +0200 |
commit | 463f1fe0d4d88700f257dec126b35ca5b457463b (patch) | |
tree | b7e17204375b30ce61911fe827ee9f1beb2f87e1 /package/python-pyqt5/0001-configure-skip-qtdetail.patch | |
parent | ec1cbd8ea74d5dd039f7787abbac07cdce0edf9c (diff) | |
download | buildroot-463f1fe0d4d88700f257dec126b35ca5b457463b.tar.gz buildroot-463f1fe0d4d88700f257dec126b35ca5b457463b.zip |
python-pyqt5: new package
Signed-off-by: Manuel Vögele <develop@manuel-voegele.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pyqt5/0001-configure-skip-qtdetail.patch')
-rw-r--r-- | package/python-pyqt5/0001-configure-skip-qtdetail.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/python-pyqt5/0001-configure-skip-qtdetail.patch b/package/python-pyqt5/0001-configure-skip-qtdetail.patch new file mode 100644 index 0000000000..2e7b331ed6 --- /dev/null +++ b/package/python-pyqt5/0001-configure-skip-qtdetail.patch @@ -0,0 +1,29 @@ +Do not run qtdetail + +qtdetail is a tool that generates qtdetail.out. Since this program is +cross-compiled, it's not possible to run it on the host. + +Consequently, python-pyqt5.mk generates the qtdetail.out file before +calling configure.py. + +Therefore, this patch makes sure that the pre-generated qtdetail.out +file is kept, and that qtdetail is not executed. + +Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> +Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com> +--- +Index: PyQt5_gpl-5.7/configure.py +=================================================================== +--- PyQt5_gpl-5.7.orig/configure.py ++++ PyQt5_gpl-5.7/configure.py +@@ -672,10 +672,6 @@ int main(int argc, char **argv) + if cmd is None: + error("Failed to determine the detail of your Qt installation. Try again using the --verbose flag to see more detail about the problem.") + +- # Create the output file, first making sure it doesn't exist. +- remove_file(out_file) +- run_command(cmd, verbose) +- + if not os.access(out_file, os.F_OK): + error("%s failed to create %s. Make sure your Qt installation is correct." % (cmd, out_file)) + |