[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#807361: libkf5calendarcore-dev: bad version number in KF5CalendarCoreConfigVersion.cmake



On 16/12/2015 20:15, Sandro Knauß wrote:

But digikam can't relay on a version for libkcalcore > 5 because the ci build.kde.org would show red for that.

It should not but it does.


I checked the source code (kipi plugins) and see the following CMakeLists.txt:
PRINT_OPTIONAL_LIBRARY_STATUS("libkcalcore"     "https://projects.kde.org/projects/kde/pim/kcalcore";              "(version >= 4.81.0)"                 "Kipi-plugins will be compiled without libkcalcore support."     KF5CalendarCore_FOUND)

what is correct.


I reinsatlled original version of the file with originam version number and rerun the bootstrap.linux Makefile and got this message:

Starting CMake configuration for: kipi-plugins
-- Found KF5: success (found suitable version "5.16.0", minimum required is "5.1.0") found components: Config WindowSystem XmlGui I18n KIO Service IconThemes CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
  Could not find a configuration file for package "KF5CalendarCore" that is
  compatible with requested version "5.1.0".

  The following configuration files were considered but not accepted:


/usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake, version: 4.82.0

Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:116 (find_package)


-- Could NOT find KF5CalendarCore , checked the following files:

/usr/lib/x86_64-linux-gnu/cmake/KF5CalendarCore/KF5CalendarCoreConfig.cmake (version 4.82.0)

I haven't yet found the line that generates that.


Hope that helps clearifing this.

It does but does not solve the compilation problem without hacking the version number.

-- eric


Reply to: