summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch')
-rw-r--r--recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch39
1 files changed, 28 insertions, 11 deletions
diff --git a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
index 49f296d8..0479bec9 100644
--- a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
+++ b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
@@ -1,4 +1,4 @@
1From a5150c9701d5b2e6c77e521544034ea732d2266b Mon Sep 17 00:00:00 2001 1From 5eb3dd427bca8bbc13b7554e8e21993b2fc708e7 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.jansa@gmail.com> 2From: Martin Jansa <Martin.jansa@gmail.com>
3Date: Wed, 11 Sep 2013 18:30:08 +0200 3Date: Wed, 11 Sep 2013 18:30:08 +0200
4Subject: [PATCH 1/2] Allow to build only lrelease + lupdate + lconvert 4Subject: [PATCH 1/2] Allow to build only lrelease + lupdate + lconvert
@@ -14,9 +14,9 @@ Signed-off-by: Martin Jansa <Martin.jansa@gmail.com>
14 examples/examples.pro | 4 ++-- 14 examples/examples.pro | 4 ++--
15 src/designer/src/src.pro | 16 +++++++++------- 15 src/designer/src/src.pro | 16 +++++++++-------
16 src/linguist/linguist.pro | 2 +- 16 src/linguist/linguist.pro | 2 +-
17 src/src.pro | 10 ++++++---- 17 src/src.pro | 14 ++++++++------
18 tests/auto/auto.pro | 22 ++++++++++++---------- 18 tests/auto/auto.pro | 24 +++++++++++++-----------
19 5 files changed, 30 insertions(+), 24 deletions(-) 19 5 files changed, 33 insertions(+), 27 deletions(-)
20 20
21diff --git a/examples/examples.pro b/examples/examples.pro 21diff --git a/examples/examples.pro b/examples/examples.pro
22index 4955969..8e86419 100644 22index 4955969..8e86419 100644
@@ -61,7 +61,7 @@ index e02ca8e..49527c5 100644
61 components \ 61 components \
62 designer \ 62 designer \
63diff --git a/src/linguist/linguist.pro b/src/linguist/linguist.pro 63diff --git a/src/linguist/linguist.pro b/src/linguist/linguist.pro
64index 2979a23..663bdd5 100644 64index 3a70580..a977878 100644
65--- a/src/linguist/linguist.pro 65--- a/src/linguist/linguist.pro
66+++ b/src/linguist/linguist.pro 66+++ b/src/linguist/linguist.pro
67@@ -3,7 +3,7 @@ SUBDIRS = \ 67@@ -3,7 +3,7 @@ SUBDIRS = \
@@ -74,7 +74,7 @@ index 2979a23..663bdd5 100644
74 qtNomakeTools( \ 74 qtNomakeTools( \
75 linguist \ 75 linguist \
76diff --git a/src/src.pro b/src/src.pro 76diff --git a/src/src.pro b/src/src.pro
77index 866a199..ec08874 100644 77index a07a3bb..4c6b463 100644
78--- a/src/src.pro 78--- a/src/src.pro
79+++ b/src/src.pro 79+++ b/src/src.pro
80@@ -4,10 +4,12 @@ qtHaveModule(widgets) { 80@@ -4,10 +4,12 @@ qtHaveModule(widgets) {
@@ -82,7 +82,7 @@ index 866a199..ec08874 100644
82 message("Some graphics-related tools are unavailable without PNG support") 82 message("Some graphics-related tools are unavailable without PNG support")
83 } else { 83 } else {
84- SUBDIRS = assistant \ 84- SUBDIRS = assistant \
85+ !linguistonly { 85+ !linguistonly {
86+ SUBDIRS = assistant \ 86+ SUBDIRS = assistant \
87 pixeltool \ 87 pixeltool \
88- qtestlib \ 88- qtestlib \
@@ -93,6 +93,15 @@ index 866a199..ec08874 100644
93 # unix:!mac:!embedded:!qpa:SUBDIRS += qtconfig 93 # unix:!mac:!embedded:!qpa:SUBDIRS += qtconfig
94 94
95 linguist.depends = designer 95 linguist.depends = designer
96@@ -15,7 +17,7 @@ qtHaveModule(widgets) {
97 }
98
99 SUBDIRS += linguist
100-if(!android|android_app):!ios: SUBDIRS += qtpaths
101+!linguistonly:if(!android|android_app):!ios: SUBDIRS += qtpaths
102
103 mac {
104 SUBDIRS += macdeployqt
96@@ -25,7 +27,7 @@ android { 105@@ -25,7 +27,7 @@ android {
97 SUBDIRS += androiddeployqt 106 SUBDIRS += androiddeployqt
98 } 107 }
@@ -101,12 +110,18 @@ index 866a199..ec08874 100644
101+!linguistonly:qtHaveModule(dbus): SUBDIRS += qdbus 110+!linguistonly:qtHaveModule(dbus): SUBDIRS += qdbus
102 111
103 win32|winrt:SUBDIRS += windeployqt 112 win32|winrt:SUBDIRS += windeployqt
113 winrt:SUBDIRS += winrtrunner qtd3dservice
114@@ -36,4 +38,4 @@ qtNomakeTools( \
115 macdeployqt \
116 )
104 117
118-!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
119+!linguistonly:!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
105diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro 120diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
106index eaf440b..1778ad1 100644 121index c3acfe3..f2f88f7 100644
107--- a/tests/auto/auto.pro 122--- a/tests/auto/auto.pro
108+++ b/tests/auto/auto.pro 123+++ b/tests/auto/auto.pro
109@@ -1,14 +1,16 @@ 124@@ -1,15 +1,17 @@
110 TEMPLATE=subdirs 125 TEMPLATE=subdirs
111-SUBDIRS=\ 126-SUBDIRS=\
112- linguist \ 127- linguist \
@@ -117,7 +132,8 @@ index eaf440b..1778ad1 100644
117- qhelpindexmodel \ 132- qhelpindexmodel \
118- qhelpprojectdata \ 133- qhelpprojectdata \
119- cmake \ 134- cmake \
120- installed_cmake 135- installed_cmake \
136- qtdiag
121+!linguistonly { 137+!linguistonly {
122+ SUBDIRS=\ 138+ SUBDIRS=\
123+ linguist \ 139+ linguist \
@@ -129,10 +145,11 @@ index eaf440b..1778ad1 100644
129+ qhelpprojectdata \ 145+ qhelpprojectdata \
130+ cmake \ 146+ cmake \
131+ installed_cmake 147+ installed_cmake
148+ qtdiag
132+} 149+}
133 150
134 installed_cmake.depends = cmake 151 installed_cmake.depends = cmake
135 152
136-- 153--
1371.8.5.3 1541.9.3
138 155