Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109396

Summary: missing KDEDIR var causes various kde apps to install documentation in wrong directory
Product: Gentoo Linux Reporter: Przemyslaw Maciag (RETIRED) <troll>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal CC: tajmorton
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Przemyslaw Maciag (RETIRED) gentoo-dev 2005-10-15 15:00:29 UTC
Hello!

I'm looking forward to helping kde-team as its member (I hope) and so - I
started looking more curefuly in my ebuilds. After a small investigation I
found, that few apps installed it HTML documentation in wrong directory.

Normally kde apps install its documentation here:
/usr/kde/KDEVER/share/doc/HTML/xx/yy
but few installed HTML docs here:
/usr/share/doc/HTML/xx/yy

examples:
basket-0.5.0
rekall-2.2.3-r1
systemtrayapplet2-0.51
ksmoothdock-3.6_beta1
kpager2-0.6.0a
kbfx-0.4.7.3
kdevelop-3.2.0
kdbg-1.9.7
kmplayer-0.8.4a
klamav-0.30.3
k3b-0.12.4a

some of them are in portage, some are (mostly) my ebuilds that are somewhere on
bugzilla...

I'm not sure what causes this. For sure I know that problem is missing KDEDIR var.

Anyway - this non-standard directory has caused one more problem - kde help
center cannot find this documentation. So even when we install them, users won't
be able to use it.

Question is - how to deal with ebuilds of such an apps?
1) we can use set-kdedir function from eclass and put it somewhere in
/etc/profile, so this could be done globally (missing KDEDIR var, cause various
bug reports...)
2) we can edit each of this ebuilds and install it by hand

These are two posibilities. But maybe they are wrong... :)

PS. Sorry for my english.

Cheers,
Przemek
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-15 16:47:19 UTC
KDEDIR is deprecated and that all non kde.org applications install into /usr is
intended.
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-10-15 16:58:54 UTC
ok - got it. thx for claryfing.

Cheers,
Przemek
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-30 00:41:39 UTC
*** Bug 131732 has been marked as a duplicate of this bug. ***