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=477405
Summary: Please convert to new font packaging guidelines Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: medium Component: kacst-fonts AssignedTo: rbhalera@redhat.com ReportedBy: nicolas.mailhot@laposte.net QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, rbhalera@redhat.com, fedora-i18n-bugs@redhat.com Estimated Hours: 0.0 Classification: Fedora
This bug has been filed because we've detected your package includes one or several font files:
repoquery -C --repoid=rawhide -f '*.ttf' -f '*.otf' -f '*.pfb' -f '*.pfa' --qf='%{SOURCERPM}\n' |sed -e 's+-[0-9.-]*.fc[123456789](.*)src.rpm++g'|sort|uniq
Unfortunately the script does not detect symlinks to other packages, so if that's your case, you can close this bug report now.
Otherwise, you should know that:
- Fedora guidelines demand the packaging of fonts in a separate package or subpackage: http://fedoraproject.org/wiki/Packaging/Guidelines#Avoid_bundling_of_fonts_i...
- our font packaging guidelines recently changed, and every package that ships fonts must be adapted to the new templates available in the fontpackages-devel package. 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
Please make your package conform to the current guidelines in rawhide.
If your package is not principaly a font package, depending on a separate font package or subpackage is the prefered solution. If your application does not use fontconfig you can always package symlinks to the files provided by the font package and installed in the correct fontconfig directories.
It is preferred to make a font package or subpackage per font family, though it is not currently a hard guidelines requirement (it may become before Fedora 11 is released). The definition of a font family is given on http://fedoraproject.org/wiki/Fonts_spec_template_notes/font-family
The new templates should make the creation of font subpackages easy and safe.
The following packages have already been converted and can serve as examples: - 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
If you have any remaining questions about the new guidelines please ask them on fedora-fonts-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=477405
Nicolas Mailhot nicolas.mailhot@laposte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora-fonts-bugs-list@redh | |at.com Blocks| |477044
--- Comment #1 from Nicolas Mailhot nicolas.mailhot@laposte.net 2008-12-20 19:55:56 EDT --- [Since the bot made a mess of the text here it is again in properly indented form.]
This bug has been filed because we've detected your package includes one or several font files:
repoquery -C --repoid=rawhide -f '*.ttf' -f '*.otf' -f '*.pfb' -f '*.pfa' --qf='%{SOURCERPM}\n' |sed -e 's+-[0-9.-]*.fc[123456789](.*)src.rpm++g'|sort|uniq
Unfortunately this script does not detect symlinks to other packages, so if that's your case, you can close this bug report now.
Otherwise, you should know that:
— Fedora guidelines demand the packaging of fonts in a separate package (or subpackage): http://fedoraproject.org/wiki/Packaging/Guidelines#Avoid_bundling_of_fonts_i...
— our font packaging guidelines recently changed, and every package that ships fonts must be adapted to the new templates available in the fontpackages-devel package: – 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
Please make your package conform to the current guidelines in rawhide (you can use the fontpackages package in F9 or F10 to test, but only submit changes to rawhide please).
If your package is not principaly a font package, depending on a separate font package or subpackage is the prefered solution. If your application does not use fontconfig you can always package symlinks to the files provided by the font package and installed in the correct fontconfig directories.
It is preferred to create a font package or subpackage per font family, though it is not currently a hard guidelines requirement (it may become before Fedora 11 is released). The definition of a font family is given on: http://fedoraproject.org/wiki/Fonts_spec_template_notes/font-family
The new templates should make the creation of font subpackages easy and safe.
The following packages have already been converted by their packager and can serve as examples: ❄ 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
If you have any remaining questions about the new guidelines please ask them on: fedora-fonts-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=477405
--- Comment #2 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-11 10:19:37 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=477405
--- Comment #3 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-14 13:37:10 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=477405
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Please convert to new font |[kacst-fonts] Please |packaging guidelines |convert 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=477405
--- Comment #4 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-18 14:32:18 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=477405
Rajeesh rajeeshknambiar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rajeeshknambiar@gmail.com
--- Comment #5 from Rajeesh rajeeshknambiar@gmail.com 2009-03-14 00:45:06 EDT --- With reference to bug #477044. This font spec needs very small corrections:
1. Remove the %define fontdir (in line 2) 2. Change %{fontdir} to %{_fontdir} in both the install commands (line 33 & 34) 3. Change the %files section altogether to the following (no %files directive needed):
%_font_pkg *.ttf %doc Copyright LICENSE README %dir %{_fontdir}
These changes should make the font compliant to new font packaging guidelines. Thanks!
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=477405
--- Comment #6 from Rajeesh rajeeshknambiar@gmail.com 2009-03-14 01:39:48 EDT --- Additionally:
4. Add "BuildRequires: fontpackages-devel > 1.13" 5. Remove both %post and %postun sections
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=477405
--- Comment #7 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-03-15 15:29:02 EDT --- Since this package includes many different font families, it needs splitting. So the needed changes are more extensive
However at this stage there are many multi-font packages in rawhide one can look at for examples, if the templates are not clear enough
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=477405
Pravin Satpute psatpute@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |psatpute@redhat.com AssignedTo|rbhalera@redhat.com |psatpute@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=477405
Pravin Satpute psatpute@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED Version|11 |rawhide
--- Comment #9 from Pravin Satpute psatpute@redhat.com 2009-07-08 07:29:50 EDT --- updates as per new packaging guideline, built for rawhide 16 subpackages
also filed bug for comps for updating kacst-fonts thing
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=477405
Pravin Satpute psatpute@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution| |RAWHIDE
i18n-bugs@lists.fedoraproject.org