Bug 421381

Summary: choqok incorrectly depends on KF5Purpose
Product: [Unmaintained] choqok Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: generalAssignee: Andrea Scarpino <scarpino>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eugene Shalygin 2020-05-12 00:02:24 UTC
SUMMARY

find_package(KF5Purpose) is the last one for KF5, and when it is not found cmake considers the whole KF5 package to be not found and configuring fails.

STEPS TO REPRODUCE
1. cmake -DCMAKE_DISABLE_FIND_PACKAGE_KF5Purpose=ON

OBSERVED RESULT

-- The following REQUIRED packages have not been found:

 * KF5

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


cmake 3.17.2
Comment 1 Christoph Feck 2020-06-05 00:27:09 UTC
It looks like the Purpose dependency is actually optional, so it could use "find_package(KF5 OPTIONAL_COMPONENTS Purpose)".

If it is indeed required, the Purpose component could just be moved to the previous find_package call.
Comment 2 Christoph Cullmann 2025-06-09 20:08:10 UTC
Choqok is unfortunately no longer maintained.

If a new maintainer wants to step up and take care, the project is archived here:

https://invent.kde.org/network/choqok

You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived.

Sorry for the inconveniences.