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

Re: Debian KDE 3 packages using a different kde_htmldir



On Dienstag, 13. Mai 2003 19:39, Dominique Devriese wrote:
> Hi,
>
> ( i'm not sure if this is the debian kde development list, or if it's
> more of a user list, so please refer me to the right place if this
> isn't the place for this )
>
> The only Debian kdelibs patch,
> kdelibs/debian/patches/kdelibs.dirs.diff changes KGlobals to only look
> for html resources that are named "$prefix/share/doc/kde/HTML" ( and
> changes some cgi-bin search path too.. ).
>
> This patch breaks the documentation of all third party KDE
> applications, since these packages ( at least those that use the
> standard KDE build system to install docs ), install their
> documentation in "$prefix/share/doc/HTML", and this is never searched
> by kio_help, even when KDEDIRS is set properly.
>
> So my question is:
> Wtf is this patch intended to fix, and why does it not make sure that
> people installing third party kde apps from source can still read the
> documentation..

They can. They just have to source the file debianrules in the admin directory 
of their sourcepackage they compile. You can also just easily use dh-make to 
package the source directly so you can uninstall it if you don't like it.

apt-get install dh-make

dh_make -t /usr/share/doc/kdelibs4-dev/dh-make

That will add a debian dir to the sourcepackage that works with the current 
kdelibs and exports all values needed:

export kde_htmldir=/usr/share/doc/kde/HTML

:-)

Ralf
>
> Basically, I see three ways to fix this problem:
> 1 remove the patch. This would probably also mean some
>   work to make the docs install in the proper place again..
> 2 fix the patch, to make sure it *also* searches in the old place
> 3 keep the patch, and fix the kde build system to make sure that a
>   3rd party source package properly detects where it should install
>   its documentation.
>
> What do you think ?
> cheers
> domi
>
> --
> Conscience doth make cowards of us all.
> 		-- Shakespeare

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden@kde.org

The K Desktop Environment       The KDevelop Project
http://www.kde.org              http://www.kdevelop.org

Attachment: pgp8iM_ah2cas.pgp
Description: signature


Reply to: