Re: Idea to add defaultfont(:lang=xx) rpm Provides to default font packages

2019-02-21 Thread Peng Wu
Thanks, I see! Just some random thought which requests for evaluation. ;) Peng On Fri, Feb 22, 2019 at 3:09 PM Akira TAGOH wrote: > On Fri, Feb 22, 2019 at 12:59 AM Owen Taylor wrote: > > > > On Thu, Feb 21, 2019 at 3:04 AM Peng Wu wrote: > > > When the langpack packages Requires

Re: Idea to add defaultfont(:lang=xx) rpm Provides to default font packages

2019-02-21 Thread Akira TAGOH
On Fri, Feb 22, 2019 at 12:59 AM Owen Taylor wrote: > > On Thu, Feb 21, 2019 at 3:04 AM Peng Wu wrote: > > When the langpack packages Requires font(:lang=xx), it will pull in > > one random font package choose from several fonts packages which > > Provides font(:lang=xx). > > > > To fix

Re: Idea to add defaultfont(:lang=xx) rpm Provides to default font packages

2019-02-21 Thread nicolas . mailhot
Adding a defaultfont provide won't help because locale to font package is a one to many mapping. You would need to add a all operator to rpm requires to make things like Requires: all(defaultfont(:lang=foo)) work (this would probably be useful for other things, but I already spammed the rpm

Re: Idea to add defaultfont(:lang=xx) rpm Provides to default font packages

2019-02-21 Thread Owen Taylor
On Thu, Feb 21, 2019 at 3:04 AM Peng Wu wrote: > When the langpack packages Requires font(:lang=xx), it will pull in > one random font package choose from several fonts packages which > Provides font(:lang=xx). > > To fix random fonts dependencies problem, I think maybe we can > manually add

Idea to add defaultfont(:lang=xx) rpm Provides to default font packages

2019-02-21 Thread Peng Wu
Hi, Currently for font packages, when building the package, fontconfig compute font(:lang=xx) rpm Provides automatically. And langpack packages will Requires font(:lang=xx) to pull in default fonts. But the problem is that for some fonts like CJK fonts, the fonts contains many glyphs, and