Looking through some of the bugs in bugzilla we never resolved, I came across
a couple on font dependencies for IPS packages, which were mostly deferred to
think about later, after we had a richer set of dependency types.
Well, now is definitely later, and I think we might be able to pull it off now.
Most gnome apps default to one of the generic fontconfig names - "Monospace",
"Sans", or "Sans Serif", which fontconfig in turn maps to the first font it
finds off the lists in /etc/fonts/conf.d/*.conf.
It seems most of the font packages have fonts that satisfy all three common
variants, so one dependency list should cover it - would it make sense to
deliver a package like this that apps could depend on?
set name=pkg.fmri value=pkg:/system/font/base-font-set
set name=pkg.summary value="Base set of fonts for generic aliases"
set name=pkg.description \
"Installs at least one set of fonts covering the generic
aliases for sans, sans-serif, and monospace for applications
using fontconfig."
depend type=require-any \
fmri=system/font/truetype/dejavu \
fmri=system/font/truetype/bitstream-vera \
fmri=system/font/truetype/bh-luxi \
fmri=system/font/truetype/fonts-core
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss