[Digikam-users] Re: Compiling Issues (my version of the wheel)

Photonoxx photonoxx at free.fr
Mon Dec 20 15:33:17 GMT 2010


Le Sun, 19 Dec 2010 18:36:53 +0100, Mark Greenwood  
<captain_bodge at yahoo.co.uk> a écrit:
> Some hints for Ubuntu users:
>
> sudo apt-get build-dep digikam  (installs all dependencies for building  
> digikam)
>
> apt-get source digikam    (gets the source code for the ubuntu digikam  
> package - easiest thing to do if all you want to do is rebuild it  
> against a new library)
> dpkg-buildpackage -rfakeroot -uc -b  (builds the .deb package from the  
> source you just retrieved)
>
> sudo add-apt-repository ppa:philip5/extra
> sudo apt-get update
> sudo apt-get upgrade      (sets up a repository with, amongst other  
> things, the latest and greatest digikam and kipi-plugins)
>
> All found via Google. Happy holidays ;-)

Can you confirm you post here two different hint (the one with  
dpkg-buildpackage and the other with PPA).

Inspired by this, I found way simpler way two get evix2 0.20 working with  
Digikam.

At least you have to pass by a compile step, but don't have to compile  
Digikam. May be it's a little late for Hevï Guy...

If more technician could validate this method, it would be nice.

First of all I download exiv2 deb packages from natty repository on  
Launchpad.

I think the needed packages are mostly Libexiv2-9 and libexiv2-dev

https://launchpad.net/ubuntu/natty/+package/libexiv2-9
https://launchpad.net/ubuntu/natty/+package/libexiv2-dev

For each URL you still have to select which published version you need  
(32bits or 64bits ?) and click on the deb link in the new page (under  
"downloadable item...")

With this deb you can install Libexiv2-9 and libexiv2-dev

After that, you just have to recompile you libkexiv2-8 that is used by  
Digikam.

To do that, I make this in an appropriate folder for exemple src:

mkdir src

cd src

sudo apt-get build-dep libkexiv2-8

apt-get source libkexiv2-8

cd kdegraphics[you-version, just look the name of the created folder]

dpkg-buildpackage -rfakeroot -uc -b


This last command take a quite long time because I don't knows how to only  
generate the deb for libkexiv2, and the command line generate packages for  
all the kdegraphics components. but at the end, in the src directory,  
you'll get all the generated deb files.

Now, there just stay to install libkexiv2-8[your-version].deb file.

Double-clicking on it to open software-center give me some trouble. In  
fact, when I click on "reinstall" button, Software-center says Digikam and  
some other software have to be uninstalled to reinstall libkexiv2-8  
package, and so, I decided to install gdebi software and Just have to make  
a right click on libkexiv2-8.*.*.deb and choosing "open with gdebi...",  
and reinstall work without alert.

Launching Digikam give me now exiv 0.20 in component info.

If someone, more expert than me, could confirm there's no matter with this  
way...

-- 
Nicolas Boulesteix
Photographe chasseur de lueurs
http://www.photonoxx.fr



More information about the Digikam-users mailing list