[Bug 477336] Please convert to new font packaging guidelines
bugzilla at redhat.com
bugzilla at redhat.com
Sat Feb 14 21:44:20 UTC 2009
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 at 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_new_naming_guidelines_require_me_to_rename_my_source_package.3F
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_fontconfig_stuff_the_font_guidelines_suggest_seems_complex._Can_I_skip_it.3F
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-indent.2Fre-order_the_fonts_packaging_template.3F
5. remove the "Requires: fontconfig". It is contrary to packaging guidelines
http://fedoraproject.org/wiki/Packaging:FontsPolicy#Install-time_dependencies
6. probably be more conservative with provides
http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#Do_I_need_to_Provide_my_old_package_names.3F
7. use -compat as metapackage if you need one
http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#But_my_old_package_is_replaced_by_several_new_packages.21
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_packaging_changes_are_needed_with_post-1.13_fontpackages.3F
Piece of cake :p
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the fonts-bugs
mailing list