1
0

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:
Marcel Kuehlhorn 2022-02-04 13:11:50 +00:00 committed by Git OBS Bridge
parent 2454d5f6e6
commit 83f78c4c4d
3 changed files with 29 additions and 0 deletions

View 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)

View File

@ -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>

View File

@ -43,6 +43,8 @@ Patch1: 0001-use-bundled-ranged-exptected-gsl.patch
# PATCH-FIX-OPENSUSE
Patch2: 0002-tg_owt-fix-name-confliction.patch
# PATCH-FIX-OPENSUSE
Patch3: 0003-add-qt5-widgets-include.patch
# PATCH-FIX-OPENSUSE
Patch4: 0004-use-dynamic-x-libraries.patch
# PATCH-FIX-OPENSUSE
Patch5: 0005-add-wayland-include-path.patch
@ -160,6 +162,7 @@ The service also provides APIs to independent developers.
%prep
%setup -q -n tdesktop-%{version}-full
%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1