[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging a KDevelop project for debian



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 01 October 2002 16:53, James Thorniley wrote:
> On Tuesday 01 October 2002 2:09 pm, Dan Boresjo wrote:

> > Currenly running 'make install' puts all the files in the wrong place
> > (presumably the KDE standard locations). Is it correct for the debian
> > version of KDevelop to set-up the make this way?
>
> Yes and no. Doing this means that source distributions from KDevelop are
> compatible with the KDE source distributions (i.e. behave in a predictable
> way to other KDE developers). You can get a source KDE app to work quite
> well in debian by using the --prefix=/usr argument to configure, with the
> notable exception of the help system not working as far as I can tell. I
> think it works better in KDE3 though.

For kde2, at least, the problem I think you are refering to is the docs ending 
up in /usr/share/doc/HTML, which is reserved for another program (doc-base?). 
KDE HTML documentation should go in /usr/share/doc/kde/HTML

A straight forward way to fix the two/three usual (IMO) problems with kde 
application packages is to add:

  --prefix=/usr --disable-rpath

to the ./configure line (in the config.status target of debian/rules) and add:

  kde_htmldir=$(CURDIR)/debian/kfoo/usr/share/doc/kde/HTML

to the make install line in the install target of debian/rules. 

For an example of how I do this, see the guarddog package (sarge/sid).

Paul Cupis
- -- 
paul@cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9md50IzuKV+SHX/kRAufgAJ0a9aqovYYYgjgmnjv7tD/qXAy5EwCdGNGP
hhQFH26DORLzIcrNzOQnwgs=
=BMqy
-----END PGP SIGNATURE-----



Reply to: