Bug 289038 - compile error in debian: setAboutData
Summary: compile error in debian: setAboutData
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 2.4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 14:26 UTC by Ivan Tarozzi
Modified: 2023-10-24 14:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0


Attachments

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