Page 1 of 1

Need to update Digikam version in Mageia 3

PostPosted: Aug 19th, '13, 20:36
by dude67
I've got a problem with Digikam since updating to Mageia 3. I've used Digikam for years and have in the recent year come to like the raw image editing. After updating to Mageia 3 the raw photo editing was broken. The editing window starts loading the file, but crashes (when it's about 12% loaded) the whole Digikam.

Mageia 3 comes with Digikam v3.1.0 and it uses libraw (v0.14.7). Looking at different solutions to this problem on different forums, it was suggested to update libraw v0.15.x.

I first tried to log a bug at KDE for Digikam, I was not able to do so, because the version beeing used is an old one (the latest Digikam available is v3.3.0).

So I want to update my Digikam and hopefully also libraw. I saw that it would be available in Mageia couldron, but I don't want to update the hole system to Couldron version. Is there any way of getting an updated versions of Digikam and libraw - keeping in mind that I would like to use urpmi (or MCC). I'm not confident compiling anything myself.

I'm working with Digikam on both my laptop (Mageia 3 i586) and on my desktop (Mageia 3 64bit) and would like to update both Digikams.

Thanks in advance! :)

Re: Need to update Digikam version in Mageia 3

PostPosted: Aug 20th, '13, 00:32
by wintpe
not sure about digicam specificly, or how easy this will be, dependancies in versions etc.

but you could grab just the source rpm's from couldren, and recompile on magia 3.

I know you said your not comfortable with recompiling, but with source rpm's its a breeze , all the hard work is done for you.

for example , i still compile thunderbird 2 for mageia 2 and 3, and dont ask why, i just want to do it, dont give a monkeys on anyones opinion on how sensible or not that is.

so lets say you have the srpm file that you have downloaded from the couldren ftp site.

urpmi install rpm-build (this will pull in c compilers etc).

now rpmbuild --rebuild digicam.whateverversion.srpm.

it may say somelib-devel needed for digicam.whateverversion.

so urpmi somelib-deve.

then try again.

cant be sure how successfull you will be, if the maintainer has done something daft like put minimum versions in the spec file
you would have to reverse bundle the spec file, which i can talk you through, but its a whole lot more complex.

anyway if your successfull at this first level, it will produce an rpm under some path in /root.

best of luck.

regards peter

Re: Need to update Digikam version in Mageia 3

PostPosted: Aug 20th, '13, 07:24
by doktor5000
For how to rebuild a src.rpm, you may want to have a look at viewtopic.php?f=41&t=5530
Especially the part about urpmi --buildrequires which saves quite some hunting for libraries and -devel packages ;)

Re: Need to update Digikam version in Mageia 3

PostPosted: Aug 20th, '13, 11:01
by djennings
I just tried rebuilding digikam-3.3 for you. Unfortunately it fails because the version of opencv in mageia3 is too old. To get around it opencv would have to be updated, and who knows what else.

If you can wait a few months mga4 will be along soon. :(

Re: Need to update Digikam version in Mageia 3

PostPosted: Aug 20th, '13, 19:58
by dude67
Thanks for your quick replies!

What if I could just update the libraw to latest 0.15.0 or 0.15.3? How would I go about doing that?

Re: Need to update Digikam version in Mageia 3

PostPosted: Aug 21st, '13, 19:38
by doktor5000
The same as for digikam update, check my previous post.

In general: Get the src.rpm from cauldron, rebuild under your Mageia installation, until all the requirements are fullfilled.
In this case it would probably mean an update of opencv, kipi-plugins, libraw and digikam and it's other direct dependencies.

Re: Need to update Digikam version in Mageia 3

PostPosted: Aug 21st, '13, 20:02
by dude67
Danke, Herr Doktor! :-)
I'll see if I have time during weekend to try your instructions. May be fun, if I have the time on the weekend.

Shall keep you posted.