Bug 404241

Summary: Unable to build Breeze GTK2 5.15.0 as sources have dependency on 5.14.90
Product: [Plasma] Breeze Reporter: Steve Storey <sstorey>
Component: gtk themeAssignee: scionicspectre
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steve Storey 2019-02-12 14:46:49 UTC
SUMMARY

Unable to build breeze-gtk2 5.15.0 package because it still has a dependency on 5.14.90

STEPS TO REPRODUCE
1. Download sources
2. Run `cmake .`

OBSERVED RESULT

CMake Error at CMakeLists.txt:15 (find_package):
  Could not find a configuration file for package "Breeze" that is compatible
  with requested version "5.15.0".

  The following configuration files were considered but not accepted:

    /usr/lib64/cmake/Breeze/BreezeConfig.cmake, version: 5.14.5
    /lib64/cmake/Breeze/BreezeConfig.cmake, version: 5.14.5



-- Configuring incomplete, errors occurred!
See also "/home/steve/rpmbuild/BUILD/breeze-gtk-5.15.0/CMakeFiles/CMakeOutput.log".

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 29 x86_64
(available in About System)
KDE Plasma Version: attempting to build 5.15.0
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

I believe that this line is the culprit: https://github.com/KDE/breeze-gtk/blob/Plasma/5.15/CMakeLists.txt#L15
Comment 1 Steve Storey 2019-02-12 14:48:36 UTC
Oh damn, sorry I edited the CMakeLists.txt file locally, so the description doesn't actually show the correct error - putting it back to the vanilla sources shows:

```
BUILD/breeze-gtk-5.15.0 $ cmake .
CMake Error at CMakeLists.txt:15 (find_package):
  Could not find a configuration file for package "Breeze" that is compatible
  with requested version "5.14.90".
```
Comment 2 Steve Storey 2019-02-12 15:05:51 UTC
Ugh. This is my bad. It was the lack of having updated the underlying breeze library first, and doing so first did then fix the build problem. Apologies for the noise!