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

Bug 48503

Summary: PHP Docs installed in version specific location, breaks future ebuild of gPHPEdit
Product: Gentoo Linux Reporter: Andy Jeffries <gentoo>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: minor CC: gnome
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 44264    

Description Andy Jeffries 2004-04-20 12:59:17 UTC
Installing app-doc/php-docs results in the html files going in /usr/share/doc/${PF}/html correctly as per the dohtml script.  However, a future ebuild of gPHPEdit relies on them being in a certain place (for context sensitive help).  I don't mind changing where gPHPEdit looks for them, but it's going to be awful to have to code in a different potential location every time a new ebuild of php-docs is released.

Can the docs be installed in a single location, such as /usr/share/doc/php-docs/ so I can check for the presence of files in that location?

Just to be clear, when I say a future ebuild of gPHPEdit, the version that does this is already released and is available to Red Hat users via RPM and all other users via tarball - but it won't work on Gentoo because of the location of the php-docs changing with every release.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Installed in /usr/share/doc/php-docs/(html?)
Comment 1 foser (RETIRED) gentoo-dev 2004-08-19 16:02:27 UTC
you probably have a point, but we don't have much time for trivial issues atm
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2005-03-07 00:09:18 UTC
This is something for the PHP herd.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-07 00:36:15 UTC
as it's general gentoo pracice to keep everything in /usr/share/doc trying to be under a directory named $PF, would a symlink at /usr/share/php-docs pointing to the actual location be fine?
(gtk-doc currently exists in this fashion at /usr/share/gtk-doc/
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2005-08-22 00:33:30 UTC
Hi,

This has been fixed by app-doc/php-docs-20050822, which you can currently find
in the Gentoo PHP Overlay.  Please test, and confirm whether or not this fixes
your fault.

If you're happy with the fix, we'll get this updated package into Portage as
soon as possible.

Best regards,
Stu