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

2015-12-16 Thread Sandro Knauß
Hey,

ah now i see the problem:
>extra/kipi-plugins/CMakeLists.txt:116 (find_package)

find_package(KF5 ${KF5_MIN_VERSION}
 OPTIONAL_COMPONENTS
 Archive  # for FlashExport
 ThreadWeaver # for Panorama
 CalendarCore # for Calendar
)

^^ here it tries to load CalendarCore with >"5.1.0"

jepp this is a bug on kipi-plugins side. It must changed to:
find_package(KF5CalendarCore 4.81.0 OPTIONAL)

or

find_package(KF5 4.81.0 OPTIONAL_COMPONENTS 
CalendarCore
)

my first guess was, that the find_package silently fails and the next line 
checks the kcalccore version in more depth.

regards,

sandro

PS: btw. I'm release manager of kdepim so also of kcalcore and i can tell you 
for sure, that there is no 5 version for kcalcore released now



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

2015-12-16 Thread Eric Valette

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



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

2015-12-16 Thread Eric Valette



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


find_package(KF5 ${KF5_MIN_VERSION}
 OPTIONAL_COMPONENTS
 Archive  # for FlashExport
 ThreadWeaver # for Panorama
 CalendarCore # for Calendar   <==
)

--eric



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

2015-12-16 Thread Sandro Knauß
Hey,

no it is not a bad version number, because it is planned to push kcalcore to 
Frameworks, but because it isn't ready for frameworks it is shipped with KDE 
Applications alongside with kdepim. Thats why the version number isn't synced 
with KDE Applications.

Regards,

sandro



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

2015-12-16 Thread Eric Valette

On 16/12/2015 17:58, Adrien Grellier wrote:

Hi,

It seems that the lib version is 4.82, as we can see in the filename or in the
CmakeLists.txt :
https://sources.debian.net/src/kcalcore/4:15.08.2-1/CMakeLists.txt/

In order to build digikam, I am afraid we will have to wait for a newer
version of libkf5calendarcore.


I'm quite surprised because digikam expects 15.08.2 which is the package 
version name. 4:15.08.2-1 => 15.08.2 no?



--eric



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

2015-12-16 Thread Sandro Knauß
Hi,

> I'm quite surprised because digikam expects 15.08.2 which is the package
> version name. 4:15.08.2-1 => 15.08.2 no?

Debian take the versionnumer from the bundles in where the libs exist - in our 
case it is KDE Applications and this is release every four months (15.08, 
15.12,...)
But everything can have its own version.
And the version of libkcalcore is 4.8X at the moment.

Also other applications do have different versions like marble and also got a 
bug https://bugs.debian.org/759422

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

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.

The bug is README.
libkcalcore >= 5.0.0

also Adrien pointed out in IRC that we got cmake happy with the 4.82 version. 
So it looks like only the README is incorrect about the version number.

Hope that helps clearifing this.

Regards,

sandro

signature.asc
Description: This is a digitally signed message part.


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

2015-12-16 Thread Adrien Grellier
Hi,

It seems that the lib version is 4.82, as we can see in the filename or in the 
CmakeLists.txt :
https://sources.debian.net/src/kcalcore/4:15.08.2-1/CMakeLists.txt/

In order to build digikam, I am afraid we will have to wait for a newer 
version of libkf5calendarcore.

Regards,

Adrien

signature.asc
Description: This is a digitally signed message part.


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

2015-12-07 Thread Eric Valette
Package: libkf5calendarcore-dev
Version: 4:15.08.2-1
Severity: important

KF5CalendarCoreConfigVersion.cmake has a version equal to 4.82.0. I just do not
get the numbering sheme and digikam compilation fails because of that.

Why not 15.08.2?

set(PACKAGE_VERSION "4.82.0")

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.13 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages libkf5calendarcore-dev depends on:
ii  libical-dev1.0.1-0.1
ii  libkf5calendarcore54:15.08.2-1
ii  libkf5kdelibs4support-dev  5.16.0-1

libkf5calendarcore-dev recommends no packages.

libkf5calendarcore-dev suggests no packages.

-- no debconf information