[Digikam-devel] Compiling KDE for Debian

Achim Bohnet ach at mpe.mpg.de
Fri Feb 9 19:06:42 GMT 2007


On Friday, 9. February 2007, Gerhard Kulzer wrote:
> Hello Achim,
> a question to you (or anybody else in this room):
> I have a Debian 4.0 running KDE (of course)
> The admin directory is from here: 
> svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
> 
> Now during document compilation, there's always a wrong install path derived 
> by the make scripts for $kde_htmldir. 
> I changed the admin/acinclude.m4 at line 431 from /doc/HTML to /doc/kde/HTML
> 
>   if test -z "$kde_htmldir"; then
>     kde_htmldir='\${datadir}/doc/kde/HTML'
>   fi
> 
> And all works fine. Now my question: Is this Debian specific or is the 
> aclocal.m4 wrong, in case of which it should be corrected in the KDE svn 
> repository.

It's debian specific (and derived distros).  When debian pkgs are build
the flood configure with path settings to make sure everything is were
it be according to debian policy.  E.g. digikam configure is started with

 
cd obj-i486-linux-gnu && CC="cc" CXX="g++" CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS="" /home/ach/src/digikam/0.9.0/digikam-0.9.0/./configure --build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include/kde" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/digikam" --disable-maintainer-mode --disable-dependency-tracking  --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama --enable-final --disable-debug

Above is cdbs pkgs buildsystem's default. Old-way build pkgs either
hardcode the setting or use output of 

	admin/debianrules  echodirs

Achim
> 
> Gerhard
> 
> -- 
> Hakuna matata
> http://www.gerhard.fr
> 
> 



-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com



More information about the Digikam-devel mailing list