Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Please convert to new font packaging guidelines
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Summary: Please convert to new font packaging guidelines Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: freefont AssignedTo: orion@cora.nwra.com ReportedBy: nicolas.mailhot@laposte.net QAContact: extras-qa@fedoraproject.org CC: orion@cora.nwra.com, fedora-fonts-bugs-list@redhat.com Blocks: 477044 Classification: Fedora
After more than a month of consultation, feedback and tweaking new font packaging guidelines have been approved by FESCO.
http://fedoraproject.org/wiki/PackagingDrafts/Fonts_packaging_automation_(20...) http://fedoraproject.org/wiki/Fedora_fonts_policy_package http://fedoraproject.org/wiki/Simple_fonts_spec_template http://fedoraproject.org/wiki/Fonts_spec_template_for_multiple_fonts
Package maintainers must now convert their packages in rawhide to the new templates.
The following packages have already been converted in rawhide and can serve as examples if the templates published in the fontpackages-devel package are not clear enough:
❄ 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 ❄ stix-fonts ❄ yanone-kaffeesatz-fonts
FPC and FESCO were not consulted on splitting or renaming packages, nevertheless the new templates make it fare easier to manage subpackages, so you're strongly encouraged to split your packages along font family lines.
A mandatory rule about splitting will probably be submitted for approval before the F11 release.
Further information on fonts packaging changes will be published on fedora-fonts-bugs-list at redhat.com
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #1 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-11 10:19:09 EDT --- To help packagers manage the transition to the new guidelines, we've published the following FAQ
http://fedoraproject.org/wiki/Shipping_fonts_in_other_packages_(FAQ)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #2 from Orion Poplawski orion@cora.nwra.com 2009-01-12 18:07:41 EDT --- Created an attachment (id=328799) --> (https://bugzilla.redhat.com/attachment.cgi?id=328799) freefont.spec
Nicolas -
Can you comment on this updated spec? Not really sure what the appropriate font name for this package is.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Orion Poplawski orion@cora.nwra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Flag| |needinfo?(nicolas.mailhot@l | |aposte.net)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Nicolas Mailhot nicolas.mailhot@laposte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(nicolas.mailhot@l | |aposte.net) |
--- Comment #3 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-12 18:30:06 EDT --- You need to use the %_font_pkg macro http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#What_is_a_c...
I'm sure this will make your task easier and simplify your spec considerably
For examples, see the dejavu, vera, mgopen, abyssinica etc packages
As for the naming, my suggested guideline is http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_(FAQ)#How_should_I_na...
but FPC is discussing changes to it. spot has probably the best view on what the final rules are likely to be.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #4 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-14 13:36:36 EDT --- FPC approved those two additional guidelines recently, please take them into account if you need to create or update a fonts package or subpackage:
– 2009-01-14: naming http://fedoraproject.org/wiki/PackagingDrafts/Font_package_naming_%282009-01...
— 2009-01-06: exact splitting rules http://fedoraproject.org/wiki/PackagingDrafts/Font_package_splitting_rules_%...
(packagers that can drop font files and just depend on an existing font package are not impacted)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #5 from Jeffrey C. Ollie jeff@ocjtech.us 2009-01-17 09:53:59 EDT --- Adding myself on the CC list since my package gramps requires freefont.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Jon Ciesla limb@jcomserv.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |480473
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Jon Ciesla limb@jcomserv.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |limb@jcomserv.net
--- Comment #6 from Jon Ciesla limb@jcomserv.net 2009-01-20 12:30:42 EDT --- Adding CC for slingshot.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Jeffrey C. Ollie jeff@ocjtech.us changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |480457
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Nicolas Mailhot nicolas.mailhot@laposte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |477473
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #7 from Orion Poplawski orion@cora.nwra.com 2009-02-04 16:37:57 EDT --- Any help on this would be greatly appreciated. I'm pretty busy at the moment, and this is low on my personal priority list.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #8 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-04 16:50:41 EDT --- Maybe Jeffrey or Jon can step in as co-maintainers since their packages depend on yours?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #9 from Jon Ciesla limb@jcomserv.net 2009-02-06 13:47:05 EDT --- I may be able to get to this next week.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #10 from Jon Ciesla limb@jcomserv.net 2009-02-09 12:03:40 EDT --- Created an attachment (id=331334) --> (https://bugzilla.redhat.com/attachment.cgi?id=331334) New spec
Nicholas, how does this look?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #11 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-14 16:44:19 EDT --- (In reply to comment #10)
Created an attachment (id=331334)
--> (https://bugzilla.redhat.com/attachment.cgi?id=331334) [details]
New spec
Nicholas, how does this look?
This one looks better, however to completely convert freefont you should:
1. rename the base package to gnu-free-fonts http://fedoraproject.org/wiki/Packaging:FontsPolicy#Naming http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#What_if_the...
2. build from the sfd sources upstream publishes http://fedoraproject.org/wiki/Packaging:FontsPolicy#Building_from_sources
3. add a few fontconfig rules http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#The_fontcon...
4. try to stay closer to the template by using the same declaration order and spacing lines (makes it so much easier to check in a diff tool) http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#Can_I_re-in...
5. remove the "Requires: fontconfig". It is contrary to packaging guidelines http://fedoraproject.org/wiki/Packaging:FontsPolicy#Install-time_dependencie...
6. probably be more conservative with provides http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#Do_I_need_t...
7. use -compat as metapackage if you need one http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#But_my_old_...
8. use nice names for your subpackages via -n as suggested by the templates http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#What_font_p...
Piece of cake :p
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petersen@redhat.com Summary|Please convert to new font |[freefont] Please convert |packaging guidelines |to new font packaging | |guidelines
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #12 from Jon Ciesla limb@jcomserv.net 2009-02-17 14:24:34 EDT --- Oh, is that all? ;) I'll get started.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #13 from Jon Ciesla limb@jcomserv.net 2009-02-17 14:24:44 EDT --- Oh, is that all? ;) I'll get started.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #14 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-18 14:31:50 EDT --- This is a reminder for all the packagers that still have bugs open about adapting to font packaging guidelines there is only one month left before Fedora 11 beta: http://fedoraproject.org/wiki/Releases/11/Schedule
A week of this month will see the Fedora 11 mass rebuild, that will load the build farm: http://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
As already converted packages showed it is quite possible to make mistakes during the conversion. Please make releng and QA happy and don't wait till the last minute to do your changes (avoid pre-beta panic). If possible start before the mass rebuild so we don't burn cycles on incorrect packages.
The PackageKit enhancements stated for Fedora 11 assume fonts and font-using packages are sane (basically respect packaging guidelines). It is quite possible that not-converted packages will interact with the F11 font autoinstall feature in "interesting" ways. http://fedoraproject.org/wiki/Features/AutomaticFontInstallation
We don't want that
There is extensive documentation on the wiki and most of your questions have likely already been answered there. Please do read the FAQ before making more work for the support team by asking questions answered there. http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Sven Lankes sven@lank.es changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |477471
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #15 from Jon Ciesla limb@jcomserv.net 2009-02-23 09:57:39 EDT ---
From #11, I've done 1, 2, 5 and 6. I could use assistance with 3, 4, 7 and 8,
so I'll submit a review for the new package and set it blocking this bug.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Jon Ciesla limb@jcomserv.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |486977
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #16 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-23 10:32:36 EDT --- 3. is mostly just filling the right template in /usr/share/fontconfig/templates/ The feedback I have so far from the people who looked at them is that it was harder to decide to look at them than actually use them. Can't do a lot for the first part.
4. is mostly cosmetic
For 7 & 8 I'd be happy to clarify the doc or templates if you could tell me what you don't understand (very frustrating to write help and not know what part is wrong)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #17 from Jon Ciesla limb@jcomserv.net 2009-02-23 10:40:47 EDT --- Well, for 7, do I need a compat- package? I don't think I do. For 8, I already use -n in the %_font_pkg macro, is that sufficient?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #18 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-23 10:53:26 EDT --- You need a compat package if you want to provide an upgrade path for users of the current package that upgrades to the full font set. Having the main package require the other packages is a no-go, it kills modularity
For 8 if you do not use -n in %package and %description as documented in the templates I'd be surprised if it built at all.
That still does not tell me what I should change in the doc to avoid the next packager making the same mistakes :(
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #19 from Jon Ciesla limb@jcomserv.net 2009-02-23 11:12:02 EDT --- How does a compat subpackage doing the same thing *not* kill modularity?
8: But it does. I'll have another look at the templates.
As far as doc changes, maybe it's just me, but I find concrete examples to be more illuminating that templates. Could just be my learning style, but I had more luck understanding what needed to be done (or so I thought) by looking at the already-converted specs that at the templates.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #20 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-23 12:06:05 EDT --- (In reply to comment #19)
How does a compat subpackage doing the same thing *not* kill modularity?
Because nothing depends on the compat package, it can be removed, and new installes do not even see it exists
8: But it does. I'll have another look at the templates.
As far as doc changes, maybe it's just me, but I find concrete examples to be more illuminating that templates. Could just be my learning style, but I had more luck understanding what needed to be done (or so I thought) by looking at the already-converted specs that at the templates.
The problem with concrete example is a "pure" package is rather uncommon and blind cut & pasting results in copying quirks.
But if you want to look at concrete converted packages, certainly there is no lack of them.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #21 from Jon Ciesla limb@jcomserv.net 2009-02-23 12:18:18 EDT --- repoquery gives me: moodle-0:1.9.4-1.fc10.noarch cinepaint-0:0.22.1-10.fc10.i386 plplot-0:5.9.0-2.svn8752.fc10.i386 gramps-0:2.2.10-1.fc9.noarch ftgl-utils-0:2.1.2-8.fc9.i386 slingshot-0:0.8.1p-1.fc8.noarch gramps-0:3.0.4-1.fc10.noarch cinepaint-0:0.22.1-7.fc9.i386
That need freefont. Moodle and slingshot are mine. Would it not be better to simply pull the band-aid off and fix all these right after freefont>gnu-free-fonts, and be done with it?
I wasn't suggesting copy/pasting, just reading for guidance.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #22 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-23 13:41:09 EDT --- The point of a compat package is to kill the old name completely so packages depending on it adapt to the new font name now. I think that's the same thing you mean as pulling the band-aid (also the packagers of those should seriously consider why they depend on freefont and not one of our default fonts)
But first, freefont packaging need to be fixed
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #23 from Jon Ciesla limb@jcomserv.net 2009-02-23 13:50:39 EDT --- Exactly! We both want that, I think, but what I'm getting at is, why is forcing packages to move from freefont to freefont-compat to gnu-free-fonts better than forcing packages to go from freefont to gnu-free-fonts?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #24 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-23 14:05:50 EDT --- IIRC freefont has several font families inside
So package deps need to move from freefont to gnu-free-foo1-fonts, gnu-free-foo2-fonts, etc
And users need to be upgraded from freefont to gnu-free-fonts-compat that requires gnu-free-foo1-fonts, gnu-free-foo2-fonts
A gnu-free-fonts package should never exist in the system or people will start adding deps on it
I've tried to explain this in http://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_...
But I've clearly failed
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #25 from Jon Ciesla limb@jcomserv.net 2009-02-23 14:15:01 EDT --- So instead of main package, subpackages for font families and a compat package, it's just the subpackages for font families and a compat package, so that there is not an RPM that matches the name of the SRPM?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #26 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-23 14:25:11 EDT --- That way the only packages ending in -fonts in the repo are packages that actually contain font files
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Jon Ciesla limb@jcomserv.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |RAWHIDE
--- Comment #27 from Jon Ciesla limb@jcomserv.net 2009-03-24 14:28:59 EDT --- gnu-free-fonts has replaced freefont in rawhide.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
Bug 477336 depends on bug 486977, which changed state.
Bug 486977 Summary: Review Request: gnu-free-fonts https://bugzilla.redhat.com/show_bug.cgi?id=486977
What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |RAWHIDE
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=477336
--- Comment #28 from Jon Ciesla limb@jcomserv.net 2009-03-24 14:47:48 EDT --- Reminder to Nicolas and Orion to update cinepaint, plplot and ftgl-utils.
fonts-bugs@lists.fedoraproject.org