Skip to content

Make UserFeedback an optional component

Alfred Wingate requested to merge parona/discover:mandatory_userfeedback into master

Gentoo has a policy of making telemetry of all kind optional which is why it would be ideal to have this. This would work the same as the QtWebengine optional component which can be disabled with -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebView=ON if chosen.

cmake -C /var/tmp/portage/kde-plasma/discover-9999/work/discover-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DQT_MAJOR_VERSION=6 -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt6=ON -DWITH_KCM=OFF -DBUILD_DummyBackend=OFF -DBUILD_FlatpakBackend=no -DBUILD_FwupdBackend=yes -DBUILD_RpmOstreeBackend=OFF -DBUILD_SteamOSBackend=OFF -DCMAKE_DISABLE_FIND_PACKAGE_KF6UserFeedback=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebView=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-plasma/discover-9999/work/discover-9999_build/gentoo_toolchain.cmake /var/tmp/portage/kde-plasma/discover-9999/work/discover-9999
loading initial cache file /var/tmp/portage/kde-plasma/discover-9999/work/discover-9999_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE  
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.6.0", minimum required is "0.5.0") 
-- Found WrapVulkanHeaders: /usr/include  
CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (message):
  Failed to find optional Qt component "WebView".

  Expected Config file at
  "/usr/lib64/cmake/Qt6WebView/Qt6WebViewConfig.cmake" does NOT exist

Call Stack (most recent call first):
  CMakeLists.txt:26 (find_package)


-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.1.0") 
-- Found KF6Kirigami: /usr/lib64/cmake/KF6Kirigami/KF6KirigamiConfig.cmake (found version "5.247.0") 
-- Found KF6CoreAddons: /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "5.247.0") 
-- Found KF6Config: /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake (found version "5.247.0") 
-- Found KF6Crash: /usr/lib64/cmake/KF6Crash/KF6CrashConfig.cmake (found version "5.247.0") 
-- Found KF6DBusAddons: /usr/lib64/cmake/KF6DBusAddons/KF6DBusAddonsConfig.cmake (found version "5.247.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.4") 
-- Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "5.247.0") 
-- Found KF6XmlGui: /usr/lib64/cmake/KF6XmlGui/KF6XmlGuiConfig.cmake (found version "5.247.0") 
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found KF6KIO: /usr/lib64/cmake/KF6KIO/KF6KIOConfig.cmake (found version "5.247.0") 
-- Found KF6KCMUtils: /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake (found version "5.247.0") 
-- Found KF6IdleTime: /usr/lib64/cmake/KF6IdleTime/KF6IdleTimeConfig.cmake (found version "5.247.0") 
-- Found KF6Notifications: /usr/lib64/cmake/KF6Notifications/KF6NotificationsConfig.cmake (found version "5.247.0") 
-- Found KF6Purpose: /usr/lib64/cmake/KF6Purpose/KF6PurposeConfig.cmake (found version "5.247.0") 
-- Found KF6Auth: /usr/lib64/cmake/KF6Auth/KF6AuthConfig.cmake (found version "5.247.0") 
-- Found KF6StatusNotifierItem: /usr/lib64/cmake/KF6StatusNotifierItem/KF6StatusNotifierItemConfig.cmake (found version "5.247.0") 
-- Found KF6: success (found suitable version "5.247.0", minimum required is "5.240.0") found components: Kirigami CoreAddons Config Crash DBusAddons I18n XmlGui KIO KCMUtils IdleTime Notifications Purpose Auth StatusNotifierItem 
-- Could NOT find KF6UserFeedback: found neither KF6UserFeedbackConfig.cmake nor kf6userfeedback-config.cmake 
-- Could NOT find KF6 (missing: UserFeedback) (Required is at least version "5.240.0")
-- Checking for module 'flatpak>=0.11.8'
--   Package 'flatpak', required by 'virtual:world', not found
-- Checking for module 'fwupd>=1.9.4'
--   Found fwupd, version 1.9.10
CMake Warning at libdiscover/backends/CMakeLists.txt:31 (find_package):
  By not providing "FindSnapd.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Snapd", but
  CMake did not find one.

  Could not find a package configuration file provided by "Snapd" with any of
  the following names:

    SnapdConfig.cmake
    snapd-config.cmake

  Add the installation prefix of "Snapd" to CMAKE_PREFIX_PATH or set
  "Snapd_DIR" to a directory containing one of the above files.  If "Snapd"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following features have been enabled:

 * Fwupd, Exposes fwupd

-- The following OPTIONAL packages have been found:

 * OpenGL
 * Qt6Test (required version >= 6.6.0)
 * Qt6QmlTools (required version >= 6.6.1)
 * Qt6Quick (required version >= 6.5.0)
 * Qt6Concurrent (required version >= 6.5.0)
 * Qt6DBusTools (required version >= 6.6.1)
 * Qt6WidgetsTools (required version >= 6.6.1)
 * Qt6Widgets (required version >= 6.5.0)
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * WrapVulkanHeaders
 * Qt6GuiTools (required version >= 6.6.1)
 * Qt6Network (required version >= 6.5.0)
 * KF6Attica (required version >= 5.247.0), KDE Framework that implements the Open Collaboration Services API
   Required to build the KNewStuff3 backend
 * KF6NewStuff (required version >= 5.53), Qt library that allows to interact with KNewStuff implementations
   Required to build the KNS backend
 * Qt6CoreTools (required version >= 6.6.1)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.240.0)
 * Qt6 (required version >= 6.6.0)
 * KF6Kirigami (required version >= 5.240.0)
 * KF6Crash (required version >= 5.240.0)
 * KF6DBusAddons (required version >= 5.240.0)
 * Gettext
 * KF6I18n (required version >= 5.240.0)
 * KF6Config (required version >= 5.247.0)
 * KF6XmlGui (required version >= 5.240.0)
 * KF6CoreAddons (required version >= 5.247.0)
 * PkgConfig
 * KF6KIO (required version >= 5.240.0)
 * KF6KCMUtils (required version >= 5.240.0)
 * KF6IdleTime (required version >= 5.240.0)
 * KF6Notifications (required version >= 5.240.0)
 * KF6Purpose (required version >= 5.240.0)
 * KF6Auth (required version >= 5.240.0)
 * KF6StatusNotifierItem (required version >= 5.240.0)
 * AppStreamQt (required version >= 1.0), Library that lists Appstream resources, <https://www.freedesktop.org>
   Required to build the PackageKit, Flatpak and Snap backends
 * KF6KirigamiAddons
   Provides additional visual components

-- The following features have been disabled:

 * Flatpak, Library that exposes flatpak repositories. Required to build the Flatpak backend
 * Ostree, Library to manage ostree repository. Required to build the rpm-ostree backend
 * RpmOstree, rpm-ostree binary to manage the system. Required to build the rpm-ostree backend

-- The following OPTIONAL packages have not been found:

 * Snapd, Library that exposes Snapd, <https://www.snapcraft.io>
   Required to build the Snap backend

-- The following REQUIRED packages have not been found:

 * KF6 (required version >= 5.240.0)

CMake Error at /usr/share/cmake/Modules/FeatureSummary.cmake:464 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:119 (feature_summary)


-- Configuring incomplete, errors occurred!

Merge request reports