Bug 456527
Summary: | Review Request: sil-gentium-basic-fonts - Gentium Basic Font Family | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rahul Bhalerao <b.rahul.pm> |
Component: | Package Review | Assignee: | Rahul Bhalerao <b.rahul.pm> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, fonts-bugs, fschwarz, mvaliyav, notting, petersen, roozbeh |
Target Milestone: | --- | Flags: | nicolas.mailhot:
fedora-review+
kevin: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-02-25 07:24:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rahul Bhalerao
2008-07-24 13:07:58 UTC
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 http://fedoraproject.org/wiki/Font_package_lifecycle#2.a and in particular the wiki-related ones http://fedoraproject.org/wiki/SIL_Gentium_Basic_fonts 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 for example) 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 Debian's packaging http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GentiumBasic_110_diff&filename=ttf-sil-gentium-basic_1.1.diff.gz 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) Thanks. > > 2. Gentium Basic is OFL, not GPL > Oops. My fault. > http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GentiumBasic_110_diff&filename=ttf-sil-gentium-basic_1.1.diff.gz > > 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. Nicolas, 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 Ping? Hi, Sorry for the delay. Here are the updated spec and source rpms. Spec URL: http://rbhalera.fedorapeople.org/sil-gentium-basic-fonts/sil-gentium-basic-fonts.spec SRPM URL: http://rbhalera.fedorapeople.org/sil-gentium-basic-fonts/sil-gentium-basic-fonts-1.1-3.fc11.src.rpm Hi Rahul, 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 http://nim.fedorapeople.org/fontpackages/ check /etc/rpmdevtools/spectemplate-fonts-multi.spec 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 /usr/share/doc/fontpackages-devel-1.11/fontconfig-templates/substitution-font-template.conf 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 package: – http://fedoraproject.org/wiki/fontpackages – http://fedoraproject.org/wiki/Simple_fonts_spec_template – http://fedoraproject.org/wiki/Fonts_spec_template_for_multiple_fonts It is preferred to create a font package or subpackage per font family, though it is not currently a hard guidelines requirement. http://fedoraproject.org/wiki/PackagingDrafts/Font_package_splitting_rules_(2008-12-21) 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: ❄ abyssinica-fonts ❄ andika-fonts ❄ apanov-heuristica-fonts ❄ bitstream-vera-fonts ❄ charis-fonts ❄ dejavu-fonts ❄ ecolier-court-fonts ❄ edrip-fonts ❄ gfs-ambrosia-fonts ❄ gfs-artemisia-fonts ❄ gfs-baskerville-fonts ❄ gfs-bodoni-classic-fonts ❄ gfs-bodoni-fonts ❄ gfs-complutum-fonts ❄ gfs-didot-classic-fonts ❄ gfs-didot-fonts ❄ gfs-eustace-fonts ❄ gfs-fleischman-fonts ❄ gfs-garaldus-fonts ❄ gfs-gazis-fonts ❄ gfs-jackson-fonts ❄ gfs-neohellenic-fonts ❄ gfs-nicefore-fonts ❄ gfs-olga-fonts ❄ gfs-porson-fonts ❄ gfs-solomos-fonts ❄ gfs-theokritos-fonts ❄ nafees-web-naskh-fonts ❄ stix-fonts ❄ yanone-kaffeesatz-fonts 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 on: fedora-fonts-list at redhat.com Here are the updates according to new font packaging guidelines: SPEC URL: http://rbhalera.fedorapeople.org/sil-gentium-fonts/sil-gentium-fonts.spec SRPM URL: http://rbhalera.fedorapeople.org/sil-gentium-fonts/sil-gentium-fonts-1.1-1.fc11.src.rpm You still need to take care of http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#What_font_packaging_changes_are_needed_with_post-1.13_fontpackages_.3F 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 http://fedoraproject.org/wiki/Font_package_lifecycle#3.a ⇒ re-assigning Thank you for packaging a new font in Fedora ✻✻✻ APPROVED ✻✻✻ SPEC URL: http://rbhalera.fedorapeople.org/sil-gentium-fonts/sil-gentium-fonts.spec SRPM URL: http://rbhalera.fedorapeople.org/sil-gentium-fonts/sil-gentium-fonts-1.1-2.fc11.src.rpm New Package CVS Request ======================= Package Name: sil-gentium-fonts Short Description: Gentium Basic Font Family from SIL Owners: rbhalera Branches: devel InitialCC: fonts-sig 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 Owners: rbhalera Branches: devel InitialCC: fonts-sig 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) srpm: sil-gentium-basic-fonts rpm: sil-gentium-basic-fonts sil-gentium-basic-fonts-common sil-gentium-basic-book-fonts (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: http://rbhalera.fedorapeople.org/temp/sil-gentium-basic-fonts/sil-gentium-basic-fonts.spec http://rbhalera.fedorapeople.org/temp/sil-gentium-basic-fonts/sil-gentium-basic-fonts-1.1-3.fc11.src.rpm 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 cvs done. 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 |