Red Hat Bugzilla – Bug 456527
Review Request: sil-gentium-basic-fonts - Gentium Basic Font Family
Last modified: 2009-03-16 17:46:34 EDT
Spec URL: http://rbhalera.fedorapeople.org/gentium-basic-fonts/gentium-basic-fonts.spec
SRPM URL: http://rbhalera.fedorapeople.org/gentium-basic-fonts/gentium-basic-fonts-1.1-1.fc10.src.rpm
Description: Gentium Basic is a font family based on the original Gentium design.
I'll start the review process now but since I'll be unavailable till september
in a few days someone else will probably have to finish it (or you'll have to
wait or be very reactive)
1. Please make sure you've done all the steps in
and in particular the wiki-related ones
2. Gentium Basic is OFL, not GPL
3. Its homepage is http://scripts.sil.org/Gentium_Basic
4. Please make sure to touch the txt files so your recoding does not change
their timestamp each time you rebuild them (look at one of the gfs fonts specs
5. please use sil-gentium-basic-fonts as package name
6. for fedora versions ≥ 9 you can drop the -f argument to fc-cache
7. You can flesh up your description a bit. You can take inspiration from
8. Since the font is effectively a limited Gentium with more faces, you need to
teach fontconfig to substitute it to Gentium (and the Gentium packager will need
to do it the other way). Look how it's done for dejavu and dejavu lgc, that's
just a little fontconfig file to add
*** Bug 456799 has been marked as a duplicate of this bug. ***
(In reply to comment #1)
> I'll start the review process now but since I'll be unavailable till september
> in a few days someone else will probably have to finish it (or you'll have to
> wait or be very reactive)
> 2. Gentium Basic is OFL, not GPL
Oops. My fault.
> 8. Since the font is effectively a limited Gentium with more faces, you need to
> teach fontconfig to substitute it to Gentium (and the Gentium packager will need
> to do it the other way). Look how it's done for dejavu and dejavu lgc, that's
> just a little fontconfig file to add
I am little unsure about what to substitute for faces. The families are
generically serif for all the fonts in this package.
The archive name in the %setup section has to be written with '\' to escape the
spaces on F-8 machines but does not work on F-9.
%setup -q -n "Gentium\ Basic\ 1.1"
Could you please confirm which is the correct way?
Suggest to target rawhide and F-9 initially - can worry about F8 later.
(Not sure why there would be a difference for that between f8 and f9 though.)
Better would be to suggest to upstream not to use spaces in the top directory name.
(In reply to comment #3)
> I am little unsure about what to substitute for faces. The families are
> generically serif for all the fonts in this package.
You basically need to tell fontconfig in the Gentium package "if something asks for Gentium Basic, use Gentium if it's not available" and the reverse in the other package. Plus tell fontconfig it's a serif package.
Like I wrote that's the same magic we do for dejavu full and dejavu lgc, just look at their fontconfig files and copy the dejavu full to dejavu lgc rules (replacing with gentium and gentium basic)
Don't bother about F-8, it's better to have a good devel package and worry afterwards of previous distros. At this rate F-8 will be EOL-ed before you have any package in the distro :(
also please rename the package sil-gentium-basic-fonts
Hi, Sorry for the delay. Here are the updated spec and source rpms.
At this point, since FPC approved the new packaging templates yesterday, and FESCO will review them next week, it's probably more productive if you target the new templates directly (that will probably also make my next request easier). Otherwise you'll just spend time on the old template and I'll ask you to change it all next week.
So just install the fontpackages* rpm from
and use it as a template to make an rpm with two subpackages (one for gentium basic and one for gentium book basic)
Then you can look at
for the substitution rules (but your current rules do not seem too bad) However, your xml is broken. Please always check your xml files with xmllint --format before submission.
(In reply to comment #11)
> However, your xml is broken. Please always check your xml files with xmllint
> --format before submission.
Would it make sense to run xmllint in all fonts packages %build or %install to check for errors?
(In reply to comment #12)
> (In reply to comment #11)
> > However, your xml is broken. Please always check your xml files with xmllint
> > --format before submission.
> Would it make sense to run xmllint in all fonts packages %build or %install to
> check for errors?
IMHO this would needlessly complexify font specs just at the time we've finally made them simple.
Since fontconfig config files are not supposed to change that often, this check belongs more in rpmlint or the package auto reviewer IMHO
(check being: check that all files installed in the fontconfig dir as defined by fontpackages-filesystem validate against the current fontconfig DTD)
[This is a simplified version of the message sent to every package maintainer that ships TTF/OTF/Type1 fonts in Fedora.]
Our font packaging guidelines have now changed. New font package submissions must now be adapted to the new templates available in the fontpackages-devel
It is preferred to create a font package or subpackage per font family, though
it is not currently a hard guidelines requirement.
has been submitted for FPC and FESCO approval today.
The new templates should make the creation of font packages easy and safe.
The following packages have already been converted by their packager in fedora-devel and can serve as examples:
The new spec templates have been designed to be easy to update to from the previous guidelines, and to remove complexity from font packages. To help new package creation the fontpackages-devel package has been made available in Fedora 9 and 10.
If you have any remaining questions about the new guidelines please ask them
fedora-fonts-list at redhat.com
Here are the updates according to new font packaging guidelines:
You still need to take care of
Since FPC unexpectedly decided to change our package naming rules.
Apart that is looks nice so I'm going to approve it now and let you take care of the naming before the Fedora import.
You can now continue starting from
Thank you for packaging a new font in Fedora
✻✻✻ APPROVED ✻✻✻
New Package CVS Request
Package Name: sil-gentium-fonts
Short Description: Gentium Basic Font Family from SIL
oops; probably want to have the srpm named sil-gentium-basic-fonts since we already have a gentium-fonts package that will eventually be renamed sil-gentium-fonts
(missed this, sorry, too much stuff to review and too little time)
Please rename the package to sil-gentium-basic-fonts. We already have Gentium, which will be renamed to sil-gentium-fonts. Updating the CVS request:
New Package CVS Request
Package Name: sil-gentium-basic-fonts
Short Description: Gentium Basic Font Family from SIL
I used the general name because there are families named 'basic' and 'book-basic' within this package. So changing the name in the suggested way would make the subpackages' name 'sil-gentium-basic-basic-fonts' and 'sil-gentium-basic-book-basic-fonts'. If that is fine, I would change the name as per the suggestion in Comment 19 and 20.
If you look at rawhide you'll see it's perfectly possible to have one of the font subpackages named like the srpm (and in fact this is what the main gentium package is going to do)
(or sil-gentium-book-basic-fonts if you insist, would make it harder for reporters to find the right bugzilla component associated to the package))
(In reply to comment #22)
> (or sil-gentium-book-basic-fonts if you insist,
This one won't work, use the other
Ok. I have changed the naming. The new spec and srpm are at:
Not sure if it needs reapproval?
I'll look at it later but in the meanwhile no, I didn't revoque my approval
1. you have a typo in you -common description
2. \ after %common_desc in book description is probably unnecessary
Otherwise this looks like a very fine package
Probably you should also update the wiki page as this font has at least a pkgdb page now: https://fedoraproject.org/wiki/SIL_Gentium_Basic_fonts