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=477374
Summary: Please convert to new font packaging guidelines Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: medium Component: culmus-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=477374
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:13 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=477374
--- Comment #2 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-11 10:19:17 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=477374
--- Comment #3 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-01-14 13:36:44 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=477374
Rahul Bhalerao rbhalera@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |RAWHIDE
--- Comment #4 from Rahul Bhalerao rbhalera@redhat.com 2009-02-05 01:44:27 EDT --- The package is now updated to new 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=477374
Nicolas Mailhot nicolas.mailhot@laposte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Reopened Status|CLOSED |ASSIGNED CC| |oron@actcom.co.il Resolution|RAWHIDE |
--- Comment #5 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-15 13:36:22 EDT --- 1. your -compat package needs to obsolete culmus-fonts < thisversion-thisrelease for the upgrade path to work http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#But_my_old_...
2. if you don't add a suitably threatening description to your compat package people will do stupid stuff such as adding new deps on it http://koji.fedoraproject.org/koji/buildinfo?buildID=82799
3. Your descriptions and summaries may need a little work, maybe ask the Hebrew localization team for help? http://translate.fedoraproject.org/languages/he
4. I'd have followed /usr/share/fontconfig/templates/substitution-font-template.conf
a bit more closely to make sure the fonts are registered in the correct generic families but that's your choice to make of course
The Obsolete bit is the only part which is likely to be a big problem short term
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=477374
Rahul Bhalerao rbhalera@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #6 from Rahul Bhalerao rbhalera@redhat.com 2009-02-16 02:10:46 EDT --- Nicholas, thanks for the suggestions. Here are the updates: 1. added obsoletes to -compat. 2. added the suitable description. 3. so far, I haven't been able to find any documentation on culmus project's website or anywhere to derive proper description for every subpackage. So keeping the same generic one. 4. the .conf are derived from the original files from the upstream project, only split between subpackages.
Hope that works for now.
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=477374
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Please convert to new font |[culmus-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=477374
--- Comment #7 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-18 14:31:57 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=477374
--- Comment #8 from Oron Peled oron@actcom.co.il 2009-02-18 18:13:33 EDT --- * Someone called my name ;-) [yes, I'm the slow Hebrew l10n coordinator] * Historically the Culmus project distributed its fonts as: - Culmus (the regular fonts you just re-packaged) - Culmus fancy fonts. Extra free fonts. They are currently still packaged as: fonts-hebrew-fancy-0.20051122-4.fc10.noarch - Lately they added a third category -- Ancient fonts (for ancient Semitic scripts). All these are linked from: http://culmus.sourceforge.net/ [it's a bit confusing as the normal "Download" links of sourceforge only lead you to the "regular" Culmus fonts]
* Some of the fancy fonts are unique. E.g: the "Ktav-Yad" is the only free "hand-writing" font in Hebrew.
* As for naming: - For consistency to end users, i think the fonts in the "fancy" category should be named just like the other Culmus fonts. Example: culmus-ktav-yad-fonts and not: culmus-fancy-ktav-yad-fonts. [the split to "fancy" was done for economy (bandwidth) reasons not really functional ones].
- Of course we can group the "fancy" ones via a meta-package that requires each of them. But I don't think it worth the trouble and it may confuse people to think it's yet another font from this collection.
- We can add the "Ancient" ones in this go (if you have time for this) But IMO their name should contain "ancient", as they actually represent different scripts). E.g: culmus-ancient-hebrew-paleo-gezer-fonts What? this is getting too much. Maybe settle for: ancient-hebrew-paleo-gezer-fonts
* For any help/rants etc., just mail me (on http://translate.fedoraproject.org/languages/he you can see my email as my bugzilla account.
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=477374
--- Comment #9 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-02-20 12:42:31 EDT --- @oron
(In reply to comment #8)
- Someone called my name ;-) [yes, I'm the slow Hebrew l10n coordinator]
- As for naming:
Actually the problem is not the naming, we have pretty clear naming rules nowadays, the problem are the summaries/descriptions that need help from people who actually use the fonts to become useful to new users
@rahul
1. I'm 100% sure we'll have less maintenance load long term if all our font packages use the same kind of fontconfig rules
2. I think you misunderstood the Obsoleting stuff. The aim is not to have compat obsolete the new packages which should be fine, the aim is to have it obsolete the pre-split culmus-fonts < 0.101-6 to have yum update it automatically
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=477374
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ASSIGNED
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=477374
--- Comment #10 from Rahul Bhalerao rbhalera@redhat.com 2009-02-24 04:40:21 EDT --- Nicolas, As I said earlier, the configuration files were adopted from the upstream ones. Besides, I do not see much syntactical and semantic conflict between the template and given conf files. I don't even have any knowledge pertaining to the various other unavailable(to me) font families that are aliased or substituted by given fonts. Thus I may not be able to provide aliases of my own. Thus I really do not see any need to rewrite the configuration files and keep this bug open for that reason.
About obsoleting, yep I was confused a bit there, and followed the documented stuff blindly. I will make that correction.
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=477374
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|11 |rawhide AssignedTo|smohan@redhat.com |b.rahul.pm@gmail.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=477374
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|b.rahul.pm@gmail.com |pnemade@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=477374
Parag pnemade@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |NEXTRELEASE
--- Comment #13 from Parag pnemade@redhat.com 2009-09-15 01:49:31 EDT --- I think this is already fixed. If still any problem exists then either reopen this bug or create new bug.
i18n-bugs@lists.fedoraproject.org