Bug 404241 - Unable to build Breeze GTK2 5.15.0 as sources have dependency on 5.14.90
Summary: Unable to build Breeze GTK2 5.15.0 as sources have dependency on 5.14.90
Status: RESOLVED WORKSFORME
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: scionicspectre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-12 14:46 UTC by Steve Storey
Modified: 2019-02-12 15:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!