File no-x11.patch of Package plasma-integration

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a78c96..3077e25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,14 +48,6 @@ elseif($ENV{CI_JOB_NAME_SLUG} MATCHES "qt6")
     set(BUILD_QT6 ON)
 endif()
 
-find_package(XCB COMPONENTS XCB)
-set_package_properties(XCB PROPERTIES
-    DESCRIPTION "X protocol C-language Binding"
-    URL "https://xcb.freedesktop.org"
-    TYPE REQUIRED
-    PURPOSE "Required to pass style properties to native Windows on X11 Platform"
-)
-
 find_package(FontNotoSans)
 set_package_properties(FontNotoSans PROPERTIES
     PURPOSE "Default sans-serif font -- this is not detected automatically, pass -DCMAKE_DISABLE_FIND_PACKAGE_FontNotoSans=true to mark it ignored."
diff --git a/qt6/src/platformtheme/CMakeLists.txt b/qt6/src/platformtheme/CMakeLists.txt
index 6e84157..15fcc59 100644
--- a/qt6/src/platformtheme/CMakeLists.txt
+++ b/qt6/src/platformtheme/CMakeLists.txt
@@ -1,15 +1,3 @@
-find_package(X11)
-set_package_properties(X11 PROPERTIES DESCRIPTION "Required for updating the Cursor theme on X11"
-                        URL "https://www.x.org"
-                        TYPE REQUIRED
-                        )
-set(HAVE_X11 ${X11_FOUND})
-if(HAVE_X11)
-
-  find_package(XCB COMPONENTS XCB)
-  set_package_properties(XCB PROPERTIES TYPE REQUIRED)
-endif()
-
 configure_file(config-platformtheme.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-platformtheme.h )
 
 set(platformtheme_SRCS
@@ -22,7 +10,6 @@ set(platformtheme_SRCS
     kfiletreeview.cpp
     kdirselectdialog.cpp
     kwaylandintegration.cpp kwaylandintegration.h
-    x11integration.cpp x11integration.h
     main.cpp
     qxdgdesktopportalfiledialog.cpp
     qtquickrenderersettings.cpp
@@ -75,7 +62,6 @@ target_link_libraries(KDEPlasmaPlatformTheme6
         KF6::Notifications
         KF6::WindowSystem
         KF6::GuiAddons
-        XCB::XCB
         Qt6::WaylandClient
         Qt6::GuiPrivate
         Wayland::Client
@@ -83,9 +69,5 @@ target_link_libraries(KDEPlasmaPlatformTheme6
 
 target_link_libraries(KDEPlasmaPlatformTheme6 PRIVATE KF6::ColorScheme)
 
-if(HAVE_X11)
-  target_link_libraries(KDEPlasmaPlatformTheme6 PRIVATE ${X11_Xcursor_LIB} ${XCB_XCB_LIBRARY})
-endif()
-
 set_target_properties(KDEPlasmaPlatformTheme6 PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/platformthemes/")
 install(TARGETS KDEPlasmaPlatformTheme6 DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/platformthemes)
diff --git a/qt6/src/platformtheme/kdeplatformtheme.cpp b/qt6/src/platformtheme/kdeplatformtheme.cpp
index c6b6efe..acdbb7e 100644
--- a/qt6/src/platformtheme/kdeplatformtheme.cpp
+++ b/qt6/src/platformtheme/kdeplatformtheme.cpp
@@ -19,7 +19,6 @@
 #if QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
 #include "qdbusmenubarwrapper.h"
 #endif
-#include "x11integration.h"
 
 #include <QApplication>
 #include <QDBusConnection>
diff --git a/qt6/src/platformtheme/kdeplatformtheme.h b/qt6/src/platformtheme/kdeplatformtheme.h
index 854d580..9c95532 100644
--- a/qt6/src/platformtheme/kdeplatformtheme.h
+++ b/qt6/src/platformtheme/kdeplatformtheme.h
@@ -19,7 +19,6 @@
 class KHintsSettings;
 class KFontSettingsData;
 class KWaylandIntegration;
-class X11Integration;
 class QIconEngine;
 class QWindow;
 
@@ -63,7 +62,6 @@ private:
     KHintsSettings *m_hints = nullptr;
     KFontSettingsData *m_fontsData = nullptr;
     QScopedPointer<KWaylandIntegration> m_kwaylandIntegration;
-    QScopedPointer<X11Integration> m_x11Integration;
 };
 
 #endif // KDEPLATFORMTHEME_H