[csw-maintainers] Font packages

Ben Walton bwalton at opencsw.org
Wed Dec 16 13:44:46 CET 2009


Excerpts from James Lee's message of Wed Dec 16 05:27:14 -0500 2009:

> > > a way of notifying the apps, eg, Gostscript's Fontmap.GS.
> 
> > please propose something?
> 
> I thought this is what package hooks was for?  If not, what I think
> they are will do it.

Hooks could do this, but aren't ideally suited to the task.  You'd
need to do something like:

prebatch(remove|install|upgrade):  Record list of fonts present
postbatch(remove|install|upgrade): Compare current list with previouslist;
				   trigger font index updates if
				   difference.

The problems are:

1. The script(s) need to be aware of all different indexes that need
   updating.
2. It's not plain pkgadd/pkgrm aware.

Ultimately, class action scripts would be better for this, but since
this whole /usr issue seems so thorny, I'm not sure it will gain
tractaion.

If only Sun hadn't made this such a fundamental flaw. </wishful thinking>

-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20091216/f64b19b8/attachment-0002.asc>


More information about the maintainers mailing list