[Digikam-users] Re: Help! Installation of new exiv2 2.0??

Hevï Guy heviiguy at gmail.com
Mon Dec 20 04:21:20 GMT 2010


First problem encountered...

Following the instructions given at
http://www.digikam.org/drupal/download/SvnAlongStable  I've been able to
get as far as "Patch CMakeLists.txt to be able to build standalone.
Download appended patch and place it in your development folder." I
found the original CMakeLists.txt on my boat trunk/libkeeiv2/ and, I
found the patch via the link:

Index: CMakeLists.txt 

===================================================================
--- CMakeLists.txt	(Revision 1117624)
+++ CMakeLists.txt	(Arbeitskopie)
@@ -1,5 +1,20 @@
 PROJECT(libkexiv2)
 
+FIND_PACKAGE(KDE4 REQUIRED)
+INCLUDE(KDE4Defaults)
+INCLUDE(MacroLibrary)
+INCLUDE(MacroOptionalAddSubdirectory)
+INCLUDE(FindPackageHandleStandardArgs)
+
+ADD_DEFINITIONS (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS})
+INCLUDE_DIRECTORIES (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+
+# Preview acess was added in Exiv2 0.18
+# IMPORTANT : Several fixes done in 0.19. Set as default version when KDE 4.4 will be released
+set(EXIV2_MIN_VERSION "0.18")
+macro_optional_find_package(Exiv2)
+macro_log_feature(EXIV2_FOUND "Exiv2" "A library to access image metadata" "http://www.exiv2.org" FALSE ${EXIV2_MIN_VERSION} "Required to build libkexiv2 and gwenview.")
+
 # =======================================================
 # Information to update before to release this library.


I assume that I copy the above and paste it into CMakeLists.txt. Is this
correct? Where do I append it? At the beginning? At the end?


On Sun, 2010-12-19 at 19:58 +0100, Michael G. Hansen wrote: 

> On 12/19/2010 07:50 PM, Hevï Guy wrote:
> > Thank-you Michael. A few more Noob questions:
> >
> > If I am somehow successful in getting DigiKam running by following what
> > seems to be a complete set of instructions in your link, how would I
> > then delete the stable version?
> 
> You would have to uninstall it using the package management tools of 
> your distribution - for ubuntu, 'sudo apt-get remove digikam'. However, 
> you should first remove it, otherwise your installation overwrites the 
> files which apt-get thinks are in the package, and then they may be 
> removed when you uninstall.
> 
> > Will it be safe to delete the development folder and contents after a
> > successful build (I assume that the build also makes all the appropriate
> > directories and populates the files accordingly, right?).
> 
> Once you ran 'make install', yes, you can remove the build folder.
> 
> Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20101219/0f12b2aa/attachment.html>


More information about the Digikam-users mailing list