Adriaan de Groot wrote:
> Let's revive the filesystem hierarchy discussion again, shall we? Fortunately 
> this time it is inside a single $PREFIX (currently /opt/foss). What goes 
> where? Qt has lots of stuff:
> 
> bin
> lib
> include <- the first three are standard
> 
> But there is lots of other directories. For instance:
> 
> lib/pkgconfig (contains pkgconfig files)
> lib/plugins (contains qt plugins)
> 
> I think those two are ok; lib/pkgconfig seems to be a normal location for 
> *.pc 
> files.

Yup, lib/pkgconfig is the standard location on Solaris as well.

To these i would add

bin/${ARCH64}
lib/${ARCH64}
lib/${ARCH64}/pkgconfig
lib/${ARCH64}/plugins

for the 64-bit equivalents [ where ${ARCH64} can be either amd64 or 
sparcv9 ].

But then there's random stuff:
> 
> demos
> doc
> examples
> mkspecs
> phrasebooks
> q3porting.xml
> translations
> 
> I have filed these all under share/, although demos and examples are filled 
> with executables. If I compare with FBSD, under /usr/local (the $PREFIX 
> there) we have:
> 
> translations/
> share/qt4/mkspecs/
> share/qt/phrasebooks/
> share/doc/qt4/
> 
> (none of demos, examples or q3porting.xml is installed).
> 
> Do these locations make sense? Is there a standard we ought to be adhering 
> to? 
> Please comment or fix direc

This works for me (everything under share/), and it's pretty standard. 
I would include qtdemo under bin/ and bin/${ARCH64}  respectively.

I think /opt/foss is a great idea.

--Stefan

-- 
Stefan Teleman
Sun Microsystems, Inc.
stefan.teleman at Sun.COM


Reply via email to