[OpenIndiana-discuss] Building Applications

Alan Coopersmith alan.coopersmith at oracle.com
Tue Oct 19 03:43:59 UTC 2010


Albert Lee wrote:
> pkg(5) has a as-yet
> unused "facet" mechanism that would let you filter components of
> packages to not be installed; for example, development files or
> documentation. 

While it's not yet widely used, X has bravely stepped forward as
a test case - you should be able to disable the doc or devel
facets and see the man pages, headers, etc. from the X consolidation
disappear.

Most of the magic in the X build to mark files with their facets is in:
http://src.opensolaris.org/source/xref/x-cons/xnv-clone/pkg/transforms/facets
though some packages have them directly in the package manifest as well
for files that don't match the common patterns.

More consolidations should be tagging their packages with facets in the
future.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the OpenIndiana-discuss mailing list