<div dir="ltr">Just added find_package() instruction in CMakeLists.txt and added the FindExiv2 module. No system changed. No crash.<div>May this be useful in the repo as well?<br><div>Regards.</div><div><br></div><div>Luca</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 3:19 PM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Certainly, but i'm more complicated...<span class="HOEnZb"><font color="#888888"><div><br></div><div>Gilles Caulier</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-08-17 14:17 GMT+02:00 Luca Carlon <span dir="ltr"><<a href="mailto:carlon.luca@gmail.com" target="_blank">carlon.luca@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks.<div><br></div><div>Is it possible to do this by using a different prefix than /usr? So can I avoid removing header files and can I avoid having to install exiv2 0.25 in the system paths?</div><div>Regards.</div><span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">Luca</font></span><div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 11:11 AM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I do it on my system.<div><br></div><div>1/ Remove 0.24 headers files (Exiv2 devel package). Binaries files can stay in place.</div><div>2/ Checkout Exiv2 0.25 source code. Configure, compile and install on your system (install prefix=/usr). Take a care about all options to enable, especially XMP support. disable Video writing support which still experimental. Video read support is fixed in this release, which is the problem.</div><div>3/ Checkout digiKam source code. There is a Cmake option to recompile libkexiv2 (this one use only Exiv2 API/ABI). Look in readme.</div><div>4/ Compile and install digiKam including libkexiv2. run it and look into Help/Composants Info dialog to see if Exiv2 0.25 is well used.</div><div><br></div><div>Gilles Caulier</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-08-17 10:54 GMT+02:00 Luca Carlon <span dir="ltr"><<a href="mailto:carlon.luca@gmail.com" target="_blank">carlon.luca@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div>it's been some months since I fixed a segfault in libexiv2 that prevents digikam from even starting with my collection. I suppose libexiv2 0.25 should include that fix, but Ubuntu still is using 0.24.</div><div>Can someone explain how to rebuild digikam linking against my own build of libexiv2 instead of linking against the system libexiv2?</div><div><br></div><div>I started by rebuilding libexiv2 setting the prefix to some staging directory. Then I rebuilt libkexiv2 setting CMAKE_PREFIX_PATH. This seemed to work: libkexiv2 seems to be linked against libexiv2 0.25. I also set the prefix to the staging dir and now both are in there. Problem arise when trying to build digikam itself: by setting CMAKE_PREFIX_PATH seems to link against my build of libkexiv2 but not my build of libexiv2. ldd confirms that digikam executable links to my own libkexiv2 but the system libexiv2. Can someone provide any info about how how to build digikam against my build of libexiv2?</div><div><br></div><div>Regards.</div><span><font color="#888888"><div><br></div><div>Luca</div></font></span></div>
<br></div></div>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div></div></div></div></div>
<br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org" target="_blank">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>