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

Bug 99365

Summary: Qt 4, incorrect documenation path
Product: Gentoo Linux Reporter: Carsten Lohrke (RETIRED) <carlo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: VERIFIED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carsten Lohrke (RETIRED) gentoo-dev 2005-07-17 15:39:51 UTC
is: /usr/share/qt4/doc/...
should be: /usr/share/doc/${PF}/...
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-07-19 14:26:23 UTC
fixed. 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-19 14:52:03 UTC
Nope, docs go into $PF := $PN-$PVR, not $PV :) I would have done it myself btw.,
but I wasn't sure, if you'd prefer to symlink and add a obligatory rm -rf in
pkg_postrm().

Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-07-21 08:39:56 UTC
Okay, changed to PF.  Not worried about a symlink right now, but it might be a 
nice addition. 
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-21 12:48:22 UTC
Just that portage doesn't clean out directories with symlinks, so something like

pkg_postrm(){
    [ -n "${PF}" ] && rm -rf ${ROOT}/usr/share/doc/${PF}
}

would be needed.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-05-05 09:48:32 UTC
I'm changing the Qt4 ebuild back, because I want the DATADIR stuff to go into /usr/share/qt4, but the DOCS to go into this directory.  I broke it by making datadir go into the above...
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-05-05 09:55:14 UTC
What I mean is that I changed DATADIR instead of DOCDIR.  The new format is:

DATADIR=/usr/share/qt4
DOCSDIR=/usr/share/doc/qt-4.x.x

Because the mkspecs files need to be a place (DATADIR) that doesnt' change between emerged versions.