1 |
commit: 54a9ac159f8aa39c8e6b70a06a6fbd62548a5945 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 27 03:46:55 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 27 05:51:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=54a9ac15 |
7 |
|
8 |
qt5-build.eclass: create a forwarding header for qtbase |
9 |
|
10 |
Since 5.8, the build system no longer creates a forwarding header causing the |
11 |
system config to be used instead of what was passed to configure. |
12 |
|
13 |
This reverts commit 53e51ab097bd73ec05d56c389bc68da17eaf22d5. |
14 |
|
15 |
Gentoo-bug: 599636 |
16 |
|
17 |
eclass/qt5-build.eclass | 13 +++++++------ |
18 |
1 file changed, 7 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
21 |
index 60c16829..0a1eb77c 100644 |
22 |
--- a/eclass/qt5-build.eclass |
23 |
+++ b/eclass/qt5-build.eclass |
24 |
@@ -616,12 +616,7 @@ qt5_base_configure() { |
25 |
$([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -iconv) |
26 |
|
27 |
# disable everything to prevent automagic deps (part 3) |
28 |
- -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig |
29 |
- |
30 |
- # FIXME |
31 |
- # since 5.8, disabling dbus generates a QT_NO_DBUS in QtCore/qconfig.h, |
32 |
- # thus specify runtime loading of libdbus to avoid the #define |
33 |
- $([[ ${QT5_MINOR_VERSION} -ge 8 ]] && echo -dbus-runtime || echo -no-dbus) |
34 |
+ -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig -no-dbus |
35 |
|
36 |
# let portage handle stripping |
37 |
-no-strip |
38 |
@@ -685,6 +680,12 @@ qt5_base_configure() { |
39 |
"${S}"/configure "${conf[@]}" || die "configure failed" |
40 |
|
41 |
popd >/dev/null || die |
42 |
+ |
43 |
+ if [[ ${QT5_MINOR_VERSION} -ge 8 ]]; then |
44 |
+ # a forwarding header is no longer created since 5.8, causing the system |
45 |
+ # config to always be used. bug 599636 |
46 |
+ cp src/corelib/global/qconfig.h include/QtCore/ || die |
47 |
+ fi |
48 |
} |
49 |
|
50 |
# @FUNCTION: qt5_qmake |