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=478891
Summary: Please convert to new font packaging guidelines Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: medium Component: wqy-zenhei-fonts AssignedTo: fangqq@gmail.com ReportedBy: nicolas.mailhot@laposte.net QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, fangqq@gmail.com, fedora-fonts-bugs-list@redhat.com, fedora-i18n-bugs@redhat.com Blocks: 477044 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' '*.ttc' --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=478891
--- Comment #1 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-11 10:20:45 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=478891
--- Comment #2 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-14 13:38:27 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=478891
--- Comment #3 from Qianqian Fang fangqq@gmail.com 2009-01-14 18:35:05 EDT --- sorry for my delay in responding to this upgrade. I used to build all the packages from a FC6 machine, and it took me a while to set up everything on a F10 virtual machine. Now everything seems to be working fine.
I have a problem to compile my package (for example, wqy-zenhei-fonts) with the new spec file (attached later): "make i386" complains about missing "wqy-zenhei-fonts-0.8.34" folder, which I assume it is the definition of %{_fontdir}, right?
the upstream src file only extract a wqy-zenhei folder, as other font packages from wqy. they are not named based on fedora font packages. What do you suggest me to do to get around this?
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=478891
--- Comment #4 from Qianqian Fang fangqq@gmail.com 2009-01-14 18:36:09 EDT --- Created an attachment (id=329052) --> (https://bugzilla.redhat.com/attachment.cgi?id=329052) updated spec file for wqy-zenhei-fonts
Let me know if this file makes sense to you.
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=478891
--- Comment #5 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-15 03:28:50 EDT --- np, there are lots of packagers which have not started working on it yer
1. You do not need the %{_fontdir}/*.ttc line in %files
2. Do you actually need to declare the fonts in the legacy core fonts X11 system? If it's not 100% necessary life will be simpler without the fonts.scale bit
3. If you install multiple fontconfig file you must find an expression rpm accepts that can be used as argument to the -f call to %{fontconf} (generaly, using ?? or other rpm wildcards)
Also please test with "fontpackages-*-1.14" from 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=478891
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |446451
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=478891
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #329052|application/octet-stream |text/plain mime type| |
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=478891
Qianqian Fang fangqq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |NEXTRELEASE
--- Comment #6 from Qianqian Fang fangqq@gmail.com 2009-02-12 00:32:09 EDT --- new package was built 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=478891
--- Comment #7 from Qianqian Fang fangqq@gmail.com 2009-02-12 00:44:03 EDT --- Also, as I mentioned before, I set up a sub-project to complete Google's Droid Sans Fallback. In the past 3 months, we used our web-based application (demo http://wenq.org/demo/fontopia_droid_tutorial.htm) and completed all 4300+ missing Han glyphs in CJK basic (U4E00-U9FC3). In the past month, we have been doing the final review and are about to release a new font soon (named "WenQuanYi Micro Hei"). Micro hei is only 4M in size with high quality glyphs. I strongly recommend shipping this font with F11 (possibly default install for Chinese support).
The latest nightly-build of the font can be found at http://wenq.org/daily/microhei/wqy-microhei-0.2-nightlybuild.tar.gz
I will submit a new package request soon.
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=478891
--- Comment #8 from Qianqian Fang fangqq@gmail.com 2009-02-12 00:46:20 EDT --- sorry, the above comment meant to posted at Bug#476459.
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=478891
--- Comment #9 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-14 07:54:14 EDT --- A new package request will be very welcome :p
i18n-bugs@lists.fedoraproject.org