Add workaround for failing lconvert
Closes: #1013610
Jochen Sprickerhof
1 year, 10 months ago
0 | From: Jochen Sprickerhof <git@jochen.sprickerhof.de> | |
1 | Date: Sat, 25 Jun 2022 21:22:20 +0200 | |
2 | Subject: Ignore errors during lconvert | |
3 | ||
4 | Starting with qt5 5.15.4 lconvert errors with | |
5 | ||
6 | QM-Format error | |
7 | ||
8 | for some calls and thus thus fails the build. | |
9 | --- | |
10 | gui/package_app | 2 +- | |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
12 | ||
13 | diff --git a/gui/package_app b/gui/package_app | |
14 | index 01c00eb..f7829f6 100755 | |
15 | --- a/gui/package_app | |
16 | +++ b/gui/package_app | |
17 | @@ -50,7 +50,7 @@ function convert_qt_translations() | |
18 | inputs+=("qtbase_${language}.qm") | |
19 | if [ -e "qtdeclarative_${language}.qm" ]; then inputs+=("qtdeclarative_${language}.qm"); fi | |
20 | if [ -e "qtserialport_${language}.qm" ]; then inputs+=("qtserialport_${language}.qm"); fi | |
21 | - "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}" | |
22 | + "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}" || true | |
23 | ||
24 | if [ "${machine}" = "Mac" ]; then | |
25 | # Create locversion.plist in the bundle to trigger translations for |