On Sun, 2020-09-27 at 21:54 +0200, Stefan Seyfried wrote:
Am 27.09.20 um 19:22 schrieb Ben Greiner:
Am 26.09.20 um 12:56 schrieb Ben Greiner:
Thanks! the font(:lang=en) specification looks like it is perfect to directly include it into libqt5-qtwebengine. Meh, that just creates "unresolvable: have choice ..." with a large list of possible font choices for all packages depending on libqt5-qtwebengine. We cannot demand to set a `Prefer:` for every project. Or `#!BuildIgnore` for every package.
This would "just" need to be done for all "Top Level" projects, e.g. openSUSE:Factory, openSUSE:Leap:15.2, ... and would be inherited from there.
I would suggest that we either do this at the top-level projects or, alternatively, create new meta-packages called "default-serif-font", "default-sans-font", and "default-mono-font" each of which would simply "Requires:" the appropriate font package providing a single font of the respective style (serif/sans/mono). There are, I suspect, other packages that require at least one font during building, without caring for any particular font specifically.
So back to `BuildRequires:` an arbitrary font package. `free-ttf-fonts` may be not the perfect choice, but nobody sees the content produced during unit testing anyway.
If it is just needed for unit tests, then requiring a specific font might get you more deterministic results anyway.
Yes, but free-ttf-fonts is a wrong choice for this purpose as it provides not one, not two, but ~350 different font families/styles! If a single font is need for an application to build, I would recommend using a package that provides a single font --- for example, "font(freeserif)" or "font(freesans)" as suggested earlier. Cheers, -- Atri Bhattacharya Mon 28 Sep 01:12:18 CEST 2020 Sent from openSUSE Tumbleweed on my laptop. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org