Stuck trying to build a theme for Plasma

I’m trying to build the klassik theme for Plasma and I’ve hit a brick wall with what to install

The error message is:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find KF6 (missing: I18n Service KIO ColorScheme JobWidgets Config
  CoreAddons Notifications IconThemes)

      Reason given by package: Missing the following required components: I18n Service KIO ColorScheme JobWidgets Config CoreAddons Notifications IconThemes

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/ECM/find-modules/FindKF6.cmake:100 (find_package_handle_standard_args)
  CMakeLists.txt:29 (find_package)

You probably need the devel packages for KDE Frameworks.

Try:

sudo dnf --refresh install "kf6-*-devel"

Check that what it suggests looks sensible before hitting Y to actually install anything. If you don’t want the whole lot, you could look at the package list and try to pick out the packages that match the ones given in the error message.

Well I’ve got further and made my through a few more errors. Now I’ve got stuck on the following error and again, I can’t find what to install:

CMake Error at src/plasma/CMakeLists.txt:72 (target_link_libraries):
  Target "Plasma" links to:

    Qt6::GuiPrivate

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Maybe qt6-qtbase-private-devel ? (per pkgs.org search for Qt6GuiPrivate)

That’s already installed, besides it linking. That implies a binary file.

Don’t know the answer sorry, but noticed something a bit odd.

From the line number 72 for that error message, this looks like the version of the file on an obsolete Github mirror from before the package was renamed rather than the upstream version for Plasma 6.7.

The older one requires Qt6::GuiPrivate for X11 support, but the newer one doesn’t.

(The newer version is available on Github too, but under the new repo name libplasma.)

Good Grief that’s a lot of added cargo for a theme.
It’s far too bright for my ageing eyes, but I got it installed, but ask if it’s worth it?

I’m checking if all the extra stuff compromises my stable system before I chime in.

I’m giving up. The nostalgia isn’t worth the trouble I’m having.

Very wise choice. :+1:
Outside of @pg-tips suggestions there was about 4 other Devel applications that is needed. That is a potential breakage point with current updates to fedora. (IMO)

Whew That was a fun dive down the rabbit hole! :smiley:

So I’ve got installed on EndeavourOS and the default colour scheme is hideous. Put a decent one on it and it looks quite good. I think I’d like it on Fedora as well, so do you mind me asking which devel packages you installed?

This list might be incomplete due to I completely removed them days ago. :frowning:

List is:

  libplasma-devel qt6-qtdeclarative-devel extra-cmake-modules kf6-ki18n-devel   kf6-kservice-devel   kf6-kio-devel   kf6-kcolorscheme-devel   kf6-kjobwidgets-devel   kf6-kconfig-devel   kf6-kcoreaddons-devel   kf6-knotifications-devel   kf6-kiconthemes-devel plasma-activities-devel plasma-activities-stats-devel qt6-qtbase-private-devel kdecoration-devel libksysguard-devel

I think that is all of them. Now that’s a Ship Ton!!! :+1:

Thanks for that. It still won’t build though because the right version is not found. I’ve definitely screwed something up with my playing around. When I get a bit of time, I’ll do a fresh install.

Before doing a fresh install, try this. @pg-tips noticed your Qt6::GuiPrivate error looks like it came from an old libplasma mirror, so it seems you built libplasma/ECM from source at some point. Check for leftovers in /usr/local (e.g. /usr/local/share/ECM), since those get picked up before Fedora’s packages and can cause “right version not found”. Remove them (sudo xargs rm < install_manifest.txt from each old build dir), then use Fedora’s -devel packages instead and do a fresh git clone of Klassik’s master branch with a new build folder. It might save you a reinstall :sweat_smile:

Did that and still get the same error, so a clean install seems to be the way to go.

Yeah at this point a clean install sounds better than going back and forth

When your ready, I’ll try to help you on your end>>>>If you feel this theme is really desirable. :wink:

Here’s a package build for F44+:

You can rebuild it from the specfile or use as is.

Thanks for the offer but I took the easy way and installed the RPM

Thanks for that, it’s now installed