No Subject
Gnome-font-install will be mostly meant as config-writing backend for
XST font installer, but until that becomes usable, installer has to
be somewhat user-runnable. In general, it is used only to write
'gnome-print.fontmap' files - other fontmap files are meant to be
installed by binary packages (datadir), sysadmin (sysconfdir) or user
(home).
In future, I imagine, that binary packages will just drop
$PACKAGENAME.fontmap file into $DATADIR/gnome/fonts. This should remove
all nightmares, if dependencies are correct.
Until that becomes true, we can still get rid of installation
nightmares with following strategy:
- binary gp packages depend on ghostscript-fonts
- binary gp packages install ghostscript-fonts.fontmap
- installer is only used to rescan/write $SYSCONFDIR/gnome/fontmap, and
even if it fails completely,
$DATADIR/gnome/fonts/ghostscript-fonts.fontmap will still be there.
One think, I consider, is adding test="filename" attribute to fontmap
header. So we can drop as much distro specific fontmaps into global
directory, as we want, without considering, which packages are
installed. Certain fontmap is only used, if given file exists in
filesystem.
Not extremely clean, but best that can be done at moment IMHO.
What do you think?
Best wishes,
Lauris Kaplinski
On Sun, 2001-09-23 at 00:34, Havoc Pennington wrote:
>
> Jody Goldberg <jgoldberg@home.com> writes:
> > Please be VERY careful applying this patch. If it goes in we should
> > attempt to notify as many distributions and packagers as possible.
> > Getting the fontmap(2) file filled correctly has been a long running
> > irritation. Doing it properly requires some knowledge of where on
> > the system to find type1 fonts. If you move it the distribution
> > specific wrappers will need to change. Have a look in the Debian or
> > Gnumeric bug logs for hundreds of examples of failure.
>
> An alternative change might be a --with-fontmap-dir= option to
> configure, then I could put that on our configure line, leaving the
> default as-is.
>
> Havoc
>
>
> _______________________________________________
> Gnome-print maillist - Gnome-print@ximian.com
> http://lists.ximian.com/mailman/listinfo/gnome-print
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]