Bug 289038

Summary: compile error in debian: setAboutData
Product: [Applications] digikam Reporter: Ivan Tarozzi <itarozzi>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, lukasz.spas
Priority: NOR    
Version: 2.4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 8.2.0

Description Ivan Tarozzi 2011-12-15 14:26:09 UTC
Version:           unspecified
OS:                Linux

compiling kipiplugins in digikam 2.4.1 tarball I obtain the error:

[ 19%] Building CXX object extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/plugin/photolayoutseditor.cpp.o
/home/ivan/src/digikam-2.4.1/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp: In constructor ‘KIPIPhotoLayoutsEditor::PhotoLayoutsEditor::PhotoLayoutsEditor(QWidget*)’:
/home/ivan/src/digikam-2.4.1/extra/kipi-plugins/photolayoutseditor/plugin/photolayoutseditor.cpp:131: error: ‘class KComponentData’ has no member named ‘setAboutData’
make[2]: *** [extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/plugin/photolayoutseditor.cpp.o] Error 1
make[1]: *** [extra/kipi-plugins/photolayoutseditor/CMakeFiles/libphotolayoutseditor.dir/all] Error 2



Reproducible: Always

Steps to Reproduce:
compile digikam 2.4.1 from source in debian squeeze

Actual Results:  
compile error

Expected Results:  
compile ok

Installed: kdelibs5-dev:
  Installato: 4:4.4.5-2+squeeze3

This package contains kcomponentdata.h but this don't have setAboutData class function.

This problem actually break compatibility with debian ?!?
Comment 1 Łukasz Spas 2011-12-15 16:11:27 UTC
PhotoLayoutsEditor has been developed using KDELibs 4.7. Update your version of KDELibs, please, and it will compile.
Comment 2 Ivan Tarozzi 2011-12-15 16:36:54 UTC
On 15/12/2011 17:11, Łukasz Spas  wrote:
> https://bugs.kde.org/show_bug.cgi?id=289038
>
>
> Łukasz Spas<lukasz.spas@gmail.com>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>           Resolution|                            |INVALID
>
>
>
>
> --- Comment #1 from Łukasz Spas<lukasz spas gmail com>   2011-12-15 16:11:27 ---
> PhotoLayoutsEditor has been developed using KDELibs 4.7. Update your version of
> KDELibs, please, and it will compile.
>

Thanks for your response!
but this is not possible. KDELibs is only in debian experimental and due 
dependecies is really hard to upgrade.

Testing and unstable debian repository contains only 4.6

So the point is: if there are not other solution, I'm affraid Digikam is 
not compatible with the current debian distribution.

May be this is a problem of debian, and not of digikam, but this cut off 
a lot of linux user :(
And also who use debian testing and unstable!

Ivan
Comment 3 Łukasz Spas 2011-12-15 17:01:30 UTC
You could also try to upgrade your KDELibs to at least 4.5 (the method mentioned in errors track was introduced in this version of KDE).