Monday, November 3, 2008

KDiff3 on Ubuntu 8.10

After the good feeling of seeing the new things that Ubuntu 8.10 "Intrepid Ibex" includes (such as ridiculously easy configuration of 3G modems), I had a not-so-good surprise: kdiff3 was removed from the archive, because Intrepid Ibex doesn't include KDE3.

I know there are other good graphics tools to deal with comparing and merging files, but I think that kdiff3 is really good, in terms of power, usability and speed. And it's cross-platform too, so I can use it on Windows and Mac (when I actually get a Mac, but that's not the point of this post...).

Fortunately we, kdiff3 users, are not hopeless. The author is coding a KDE4 version, and on the same bug page I linked above he tells us how to get it compiled from source:

svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/kdiff3 kdiff3
cd kdiff3
mkdir release
cd release
cmake .. -DCMAKE_INSTALL_PREFIX=
make
sudo make install

So I'm happy again now that hg merge (and hg qpush -a -m) gives me the nice and powerful kdiff3 3-way merge interface to merge conflicts instead of a "sorry, there are conflicts, please fix them" message on the console.

7 comments:

gyrm said...

Thanks for the tip! I too missed kdiff3 greatly - I tried Meld which was nice, but not exactly what I wanted.

Egon Willighagen said...

If you do not have installed it yet, like on my fresh 8.10 install, do:

sudo aptitude install kdelibs5-dev

Egon Willighagen said...

Oh, and:

sudo aptitude install libkonq5-dev

Kyle said...

You've brought my baby back home... thanks!

Todd said...

Anyone besides me find that the buttons for next/prev/merge etc are missing? Any ideas what I did wrong in the build (or didn't install)?

Thanks

Herman Vega Jara said...

Hi Leo, u can try 'meld' diff and merge tool.

Leo Soto M. said...

Yeah, meld is nice but last time I checked it wasn't as powerful as kdiff3.