Opened 3 years ago

Last modified 3 years ago

#16041 closed enhancement

falcon-3.2.0 requires karchive — at Version 2

Reported by: ken@… Owned by: blfs-book
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Bruce Dubbs)

With 3.2.0, kactivities is now *required* and some other parts are optional (and not just for use with pyside2).

From the cmake file:

# Mandatory: KF5
find_package(KF5 REQUIRED COMPONENTS Archive)

and

# Optional: KWallet, KIO, KCrash, KCoreAddons
set(KF5_MIN_VERSION "5.54.0")
find_package(KF5Wallet ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5Wallet PROPERTIES DESCRIPTION "KDE Frameworks Integration plugin" TYPE OPTIONAL)
find_package(KF5KIO ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5KIO PROPERTIES DESCRIPTION "KDE Frameworks Integration plugin" TYPE OPTIONAL)
find_package(KF5Crash ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5Crash PROPERTIES DESCRIPTION "KDE Frameworks Integration plugin" TYPE OPTIONAL)
find_package(KF5CoreAddons ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5CoreAddons PROPERTIES DESCRIPTION "KDE Frameworks Integration plugin" TYPE OPTIONAL)
find_package(KF5Purpose ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5Purpose PROPERTIES DESCRIPTION "KDE Frameworks Integration plugin" TYPE OPTIONAL)
if (KF5Wallet_FOUND AND KF5KIO_FOUND AND KF5Crash_FOUND AND KF5CoreAddons_FOUND AND KF5Purpose_FOUND)
    set(ENABLE_KDE_FRAMEWORKS_INTEGRATION_PLUGIN TRUE)

IMHO, building all of KF5 is an unnecessary, and heavy, overhead. But I cannot see how to mark only karchive as required with the current structure of the book.

Change History (2)

comment:1 by ken@…, 3 years ago

Note that I'm running 3.2.0 with only ECM and karchive, both in /usr.

comment:2 by Bruce Dubbs, 3 years ago

Description: modified (diff)

Looking at the description above, I think we should promote kf5 to required, but add a note something like:

Strictly speaking, only karchive is required to build falkon, but several other packages in KF5 can be used if they are present. To build only karchive, download that package from the directory specified in <link to kf5 page> and use the build instructions on that page changing the $KF5_PREFIX to /usr.

Note: See TracTickets for help on using tickets.