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

Bug 203510

Summary: dev-php5/jpgraph-2.3 installs docs in /usr/share/doc/dev-php5/jpgraph-2.3
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: minor    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2007-12-27 19:44:54 UTC
jpgraph-2.3.ebuild installs docs into:
   /usr/share/doc/${CATEGORY}/${PF}

instead of:
   /usr/share/doc/${PF}

replacing:
   insinto /usr/share/doc/${CATEGORY}/${PF}
   doins -r docs/*

with:
   dohtml -r docs/*

changes this and you automatically get the /usr/share/doc/html/dev-php5/jpgraph symlink.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-27 19:46:13 UTC
That's an intended location for all PHP ebuilds and is required due to PHP slotting.
Comment 2 Chris Mayo 2007-12-27 20:34:04 UTC
Fair enough. Still no symlink though, how about adding:

   dodir /usr/share/doc/html/${CATEGORY}
   dosym /usr/share/doc/${CATEGORY}/${PF} /usr/share/doc/html/${CATEGORY}/${PN}
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-27 20:36:54 UTC
I really don't get the purpose of these symlinks, TBH.