From: Sandro Knauß Date: Fri, 3 Feb 2023 18:15:40 +0000 (+0100) Subject: Add patch to remove Qt GuiPrivate usage. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~104 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b58b20ec8823be142c61d8f95841210f2918ffb1;p=nextcloud-desktop.git Add patch to remove Qt GuiPrivate usage. --- diff --git a/debian/patches/0004-Don-t-use-GuiPrivate.patch b/debian/patches/0004-Don-t-use-GuiPrivate.patch new file mode 100644 index 000000000..3036ec123 --- /dev/null +++ b/debian/patches/0004-Don-t-use-GuiPrivate.patch @@ -0,0 +1,34 @@ +From: =?utf-8?q?Sandro_Knau=C3=9F?= +Date: Fri, 3 Feb 2023 18:09:41 +0100 +Subject: Don't use GuiPrivate. + +It is not used anymore and it was patched out before. + +Forwarded: not-needed +--- + src/gui/CMakeLists.txt | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt +index 7639f95..481a8f5 100644 +--- a/src/gui/CMakeLists.txt ++++ b/src/gui/CMakeLists.txt +@@ -10,10 +10,6 @@ if(QUICK_COMPILER) + ) + endif() + +-if (NOT TARGET Qt5::GuiPrivate) +- message(FATAL_ERROR "Could not find GuiPrivate component of Qt5. It might be shipped as a separate package, please check that.") +-endif() +- + if(CMAKE_BUILD_TYPE MATCHES Debug) + add_definitions(-DQT_QML_DEBUG) + endif() +@@ -513,7 +509,6 @@ target_link_libraries(nextcloudCore + PUBLIC + Nextcloud::sync + Qt5::Widgets +- Qt5::GuiPrivate + Qt5::Svg + Qt5::Network + Qt5::Xml diff --git a/debian/patches/series b/debian/patches/series index 6a1289818..db7bdcfa8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ 0001-fix-installationpath-of-dolphin-plugin.patch 0002-use_system_buildflags.patch 0003-Use-release-version-for-Debian.patch +0004-Don-t-use-GuiPrivate.patch