From 87275ab459f44ae494c732d4d5aa3c2f3c755742 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20Knau=C3=9F?= Date: Sun, 9 Mar 2025 01:36:45 +0100 Subject: [PATCH] Add Patch to fix build with WebEngine=OFF. --- ...0008-Fix-build-without-WebEngine-OFF.patch | 25 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 26 insertions(+) create mode 100644 debian/patches/0008-Fix-build-without-WebEngine-OFF.patch diff --git a/debian/patches/0008-Fix-build-without-WebEngine-OFF.patch b/debian/patches/0008-Fix-build-without-WebEngine-OFF.patch new file mode 100644 index 000000000..aa465694a --- /dev/null +++ b/debian/patches/0008-Fix-build-without-WebEngine-OFF.patch @@ -0,0 +1,25 @@ +From: =?utf-8?q?Sandro_Knau=C3=9F?= +Date: Sun, 9 Mar 2025 01:03:27 +0100 +Subject: Fix build without WebEngine=OFF. + +Origin: Debian +Forwarded: https://github.com/nextcloud/desktop/pull/7988 +Last-Update: 2025-02-09 +--- + src/gui/wizard/owncloudwizard.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/gui/wizard/owncloudwizard.cpp b/src/gui/wizard/owncloudwizard.cpp +index 3a20931..be162d1 100644 +--- a/src/gui/wizard/owncloudwizard.cpp ++++ b/src/gui/wizard/owncloudwizard.cpp +@@ -374,7 +374,9 @@ void OwncloudWizard::displayError(const QString &msg, bool retryHTTPonly) + switch (static_cast(currentId())) { + case WizardCommon::Page_Welcome: + case WizardCommon::Page_Flow2AuthCreds: ++#ifdef WITH_WEBENGINE + case WizardCommon::Page_WebView: ++#endif // WITH_WEBENGINE + case WizardCommon::Page_TermsOfService: + break; + diff --git a/debian/patches/series b/debian/patches/series index b0deb47c4..d21f0587b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ 0004-Don-t-use-GuiPrivate.patch 0006-Revert-better-logs-and-factor-common-code-in-folder-.patch 0007-Revert-ensure-no-any-user-writable-permissions-in-Ne.patch +0008-Fix-build-without-WebEngine-OFF.patch -- 2.30.2