On Sun, 2008-04-13 at 21:09 +0200, Nicolas Mailhot wrote:
> Le dimanche 13 avril 2008 à 19:39 +0100, Richard Hughes a écrit :
> > On Sun, 2008-04-13 at 14:17 +0200, Nicolas Mailhot wrote:
>
> > > — help users install the right fonts on their system:
> > > — when a user encounters some script (in its browser, office
> > > suite, etc) the system can not render due to lack of fonts the
> > > application used could propose installing the needed font packages
> > > (probably needs work with Behdad to write an helper that auto-adds the
> > > needed Provides to font packages at build time)
> >
> > Sure, we can install them trivially. See
> >
http://hughsient.livejournal.com/55964.html
>
> It's not trivial because current packages do not have the necessary
> metadata. And the install-fonts-by-style is yet another thing. But since
> this metadata would be pretty useless for humans and only makes sense in
> a packagekit-like context, you have a chicken and egg problem.
Well, yes and no. Bastien wrote a script to auto-add the codec metadata
as provides in the spec file, so now we can install the right codec by
querying the provides. Can we not do the same thing with font-styles?
It's three lines of code to install a package from a provides using
gnome-packagekit.
That's what I was proposing. But I suspect a good auto-provider would be
non-trivial, which is why having Behdad in the boat would be good.
Regards,
--
Nicolas Mailhot