Kdiff3

From Genunix

kdiff3 - A graphical text and directory diff and merge tool

Contents

Rating

3 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build kdiff3-0.9.91 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/gzip -dc kdiff3-0.9.91.tar.gz | /usr/sfw/bin/gtar xf -

cd kdiff3-0.9.91

export CC=/usr/sfw/bin/gcc
export CXX=/usr/sfw/bin/g++
export CFLAGS="-O4 -fPIC -DPIC -Xlinker -i -fno-omit-frame-pointers"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"

cd src-QT4

perl -i.orig -lpe 's/local\/// if $. == 51 || $. == 56' kdiff3.pro

qmake kdiff3.pro -o Makefile.qt
make -f Makefile.qt

Other configure options

output of ./configure --help

Directory paths that kdiff3 installs to

bin
share/doc/kdiff3
share/doc/kdiff3/da
share/doc/kdiff3/de
share/doc/kdiff3/en
share/doc/kdiff3/en/common
share/doc/kdiff3/es
share/doc/kdiff3/et
share/doc/kdiff3/fr
share/doc/kdiff3/it
share/doc/kdiff3/nl
share/doc/kdiff3/pt
share/doc/kdiff3/sv

Other 3rd party software kdiff3 requires

BuildRequires: qt
Requires: qt