Need to update Digikam version in Mageia 3

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Need to update Digikam version in Mageia 3

Postby dude67 » Aug 19th, '13, 20:36

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! :)
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Need to update Digikam version in Mageia 3

Postby wintpe » Aug 20th, '13, 00:32

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
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Need to update Digikam version in Mageia 3

Postby doktor5000 » Aug 20th, '13, 07:24

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 ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Need to update Digikam version in Mageia 3

Postby djennings » Aug 20th, '13, 11:01

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. :(
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Need to update Digikam version in Mageia 3

Postby dude67 » Aug 20th, '13, 19:58

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?
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland

Re: Need to update Digikam version in Mageia 3

Postby doktor5000 » Aug 21st, '13, 19:38

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Need to update Digikam version in Mageia 3

Postby dude67 » Aug 21st, '13, 20:02

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.
Image
User avatar
dude67
 
Posts: 61
Joined: Jun 2nd, '11, 07:56
Location: Finland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron