Warning, /pim/kube/dist/flatpak/patch/qtdeclarative-use-python3.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/qtdeclarative.pro b/qtdeclarative.pro 0002 index 5b94da9b6..0e3496ce8 100644 0003 --- a/qtdeclarative.pro 0004 +++ b/qtdeclarative.pro 0005 @@ -2,7 +2,7 @@ CONFIG += tests_need_tools examples_need_tools 0006 load(qt_parts) 0007 0008 !python_available { 0009 - py_out = $$system('python -c "print(1)"') 0010 + py_out = $$system('python3 -c "print(1)"') 0011 !equals(py_out, 1): error("Building QtQml requires Python.") 0012 tmp = python_available 0013 CONFIG += $$tmp 0014 diff --git a/src/3rdparty/masm/masm.pri b/src/3rdparty/masm/masm.pri 0015 index 0e63ac2ce..7a30ab64e 100644 0016 --- a/src/3rdparty/masm/masm.pri 0017 +++ b/src/3rdparty/masm/masm.pri 0018 @@ -58,7 +58,7 @@ contains(DEFINES, WTF_USE_UDIS86=1) { 0019 udis86.output = udis86_itab.h 0020 udis86.input = ITAB 0021 udis86.CONFIG += no_link 0022 - udis86.commands = python $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN} 0023 + udis86.commands = python3 $$PWD/disassembler/udis86/itab.py ${QMAKE_FILE_IN} 0024 QMAKE_EXTRA_COMPILERS += udis86 0025 0026 udis86_tab_cfile.target = $$OUT_PWD/udis86_itab.c 0027 @@ -113,7 +113,7 @@ retgen.output = $$GENERATEDDIR/RegExpJitTables.h 0028 retgen.script = $$PWD/yarr/create_regex_tables 0029 retgen.input = retgen.script 0030 retgen.CONFIG += no_link 0031 -retgen.commands = python $$retgen.script > ${QMAKE_FILE_OUT} 0032 +retgen.commands = python3 $$retgen.script > ${QMAKE_FILE_OUT} 0033 QMAKE_EXTRA_COMPILERS += retgen 0034 0035 # Taken from WebKit/Tools/qmake/mkspecs/features/unix/default_post.prf 0036 diff --git a/src/3rdparty/masm/yarr/create_regex_tables b/src/3rdparty/masm/yarr/create_regex_tables 0037 index 4c3dbbe3f..d13084d6c 100644 0038 --- a/src/3rdparty/masm/yarr/create_regex_tables 0039 +++ b/src/3rdparty/masm/yarr/create_regex_tables 0040 @@ -1,4 +1,4 @@ 0041 -#!/usr/bin/env python 0042 +#!/usr/bin/env python3 0043 0044 # Copyright (C) 2010, 2013-2017 Apple Inc. All rights reserved. 0045 # 0046 diff --git a/src/3rdparty/masm/yarr/generateYarrCanonicalizeUnicode b/src/3rdparty/masm/yarr/generateYarrCanonicalizeUnicode 0047 index a103bcdf1..20a358c1a 100644 0048 --- a/src/3rdparty/masm/yarr/generateYarrCanonicalizeUnicode 0049 +++ b/src/3rdparty/masm/yarr/generateYarrCanonicalizeUnicode 0050 @@ -1,4 +1,4 @@ 0051 -#! /usr/bin/env python 0052 +#! /usr/bin/env python3 0053 0054 # Copyright (C) 2016 Apple Inc. All rights reserved. 0055 #