kdegraphics4 mistakenly thinks that optional libs are installed (Bug #22)


Added by Remko van der Vossen almost 2 years ago. Updated about 1 year ago.


Status:Closed Start date:07/19/2011
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:KDE
Target version:-
Grimoire:

Description

I do not have libkipi, libkdcraw or libkexiv2 installed on my system:

root@smgl_test:/usr/src/kdegraphics-4.6.3# gaze versions libkipi
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
stable kde-apps libkipi 0.1.5 -

root@smgl_test:/usr/src/kdegraphics-4.6.3# gaze versions libkdcraw
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
stable kde-apps libkdcraw 0.1.8 -

root@smgl_test:/usr/src/kdegraphics-4.6.3# gaze versions libkexiv2
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
stable kde-apps libkexiv2 0.1.8 -

yet kdegraphics4 seems to think so anyway, apparently due to them being included in the same source:

-- Check Kipi library in local sub-folder...
-- Found Kipi library in local sub-folder: /usr/src/kdegraphics-4.6.3/libs/libkipi
-- Check Kdcraw library in local sub-folder...
-- Found Kdcraw library in local sub-folder: /usr/src/kdegraphics-4.6.3/libs/libkdcraw
-- Check Kexiv2 library in local sub-folder...
-- Found Kexiv2 library in local sub-folder: /usr/src/kdegraphics-4.6.3/libs/libkexiv2

...

-- Found Kexiv2 library in cache: kexiv2
-- Found Kdcraw library in cache: kdcraw

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
----------------------------------------------------------------------------- * QImageBlitz - An image effects library * JPEG - A library for reading and writing JPEG image files * KIPI - A library for adding kipi support * libkexiv2 - A library for reading and writing image metadata * libkdcraw - A library for accessing raw files * lcms - A library for color management

This causes an obvious problem later in the build:

[ 16%] Building CXX object thumbnailers/raw/CMakeFiles/rawthumbnail.dir/rawcreator.o
/usr/src/kdegraphics-4.6.3/thumbnailers/raw/rawcreator.cpp: In member function 'virtual bool RAWCreator::create(const QString&, int, int, QImage&)':
/usr/src/kdegraphics-4.6.3/thumbnailers/raw/rawcreator.cpp:59: warning: 'bool KExiv2Iface::KExiv2::load(const QByteArray&) const' is deprecated (declared at /usr/src/kdegraphics-4.6.3/libs/libkexiv2/libkexiv2/kexiv2.h:197)
Linking CXX shared module ../../lib/rawthumbnail.so
/usr/lib/gcc/i486-pc-linux-gnu/4.4.3/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lkexiv2
collect2: ld returned 1 exit status
make2: * [lib/rawthumbnail.so] Error 1
make1: *
[thumbnailers/raw/CMakeFiles/rawthumbnail.dir/all] Error 2


History

Updated by Remko van der Vossen almost 2 years ago

Note, that exiv2 is not installed:

root@smgl_test:/usr/src/kdegraphics-4.6.3# gaze versions exiv2
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
stable graphics exiv2 0.21.1 -

Updated by Bor Kraljič almost 2 years ago

We only fix the installation path of *.pc files in PRE_BUILD. Everything else is the same as upstream...

Anyway do you have the same problem with kdegraphics4 4.6.4 that is in stable grimoire or 4.6.5 that is in test grimoire ?

Updated by Remko van der Vossen almost 2 years ago

I'm not going to test it, I'm trying to get libpng tested properly, this is something I encountered on the way and reported. Personally I don't care for KDE one bit.

Updated by Bor Kraljič almost 2 years ago

Spells libkexiv2, libkdcraw and libkipi are from kde3. kdegraphics4 have all those libraries in it source and seems that it compiles them and installs them by default. In kde4.7 kdegraphics4 is split again on similar way that was split in kde3. So we have spells libkexiv24, libkdcraw4 and libkipi4 in devel-kde47 branch.

But that is not the reason why the compile should fail. My best guess is that exiv2 is not optional...

Updated by Bor Kraljič over 1 year ago

kdegraphics4 is deprecated. Libs are now separated in own spells. Just like in kde3.

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Vlad Glagolev about 1 year ago

closing the bug

  • Status changed from Resolved to Closed

Also available in: Atom PDF