forked from pool/telegram-desktop
Accepting request 951472 from home:nuklly:branches:server:messaging
- Add 0003-add-qt5-widgets-include.patch * Fix Qt5Widgets private header include issue. OBS-URL: https://build.opensuse.org/request/show/951472 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=214
This commit is contained in:
parent
2454d5f6e6
commit
83f78c4c4d
20
0003-add-qt5-widgets-include.patch
Normal file
20
0003-add-qt5-widgets-include.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/cmake/external/qt/CMakeLists.txt b/cmake/external/qt/CMakeLists.txt
|
||||||
|
index a4b15d3..fbd9630 100644
|
||||||
|
--- a/cmake/external/qt/CMakeLists.txt
|
||||||
|
+++ b/cmake/external/qt/CMakeLists.txt
|
||||||
|
@@ -27,6 +27,7 @@ if (DESKTOP_APP_USE_PACKAGED)
|
||||||
|
INTERFACE
|
||||||
|
${Qt5Core_PRIVATE_INCLUDE_DIRS}
|
||||||
|
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
|
||||||
|
+ ${Qt5Widgets_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
if (Qt5DBus_FOUND)
|
||||||
|
@@ -65,6 +66,7 @@ INTERFACE
|
||||||
|
${qt_loc}/include/QtGui/${qt_version}
|
||||||
|
${qt_loc}/include/QtCore/${qt_version}/QtCore
|
||||||
|
${qt_loc}/include/QtGui/${qt_version}/QtGui
|
||||||
|
+ ${qt_loc}/include/QtWidgets/${qt_version}/QtWidgets
|
||||||
|
)
|
||||||
|
|
||||||
|
if (Qt5DBus_FOUND)
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 4 02:57:59 UTC 2022 - Xu Zhao <i@xuzhao.net>
|
||||||
|
|
||||||
|
- Add 0003-add-qt5-widgets-include.patch
|
||||||
|
* Fix Qt5Widgets private header include issue.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 3 03:40:16 UTC 2022 - Xu Zhao <i@xuzhao.net>
|
Thu Feb 3 03:40:16 UTC 2022 - Xu Zhao <i@xuzhao.net>
|
||||||
|
|
||||||
|
@ -43,6 +43,8 @@ Patch1: 0001-use-bundled-ranged-exptected-gsl.patch
|
|||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
Patch2: 0002-tg_owt-fix-name-confliction.patch
|
Patch2: 0002-tg_owt-fix-name-confliction.patch
|
||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch3: 0003-add-qt5-widgets-include.patch
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
Patch4: 0004-use-dynamic-x-libraries.patch
|
Patch4: 0004-use-dynamic-x-libraries.patch
|
||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
Patch5: 0005-add-wayland-include-path.patch
|
Patch5: 0005-add-wayland-include-path.patch
|
||||||
@ -160,6 +162,7 @@ The service also provides APIs to independent developers.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n tdesktop-%{version}-full
|
%setup -q -n tdesktop-%{version}-full
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user