[Bug 477461] Please convert to new font packaging guidelines

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 13 09:42:00 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=477461





--- Comment #5 from Sarantis Paskalis <paskalis at di.uoa.gr>  2009-01-13 04:41:59 EDT ---
Thanks for the feedback.

(In reply to comment #4)
> Thank you for working on this I realise it's not easy to be the first TEX
> packager to adapt your packages. Anyway, some QA feedback:
> 
> 1. you need to add the template (build)requires on fontpackages* for build
> mock/koji to work

Bah, I would swear I had them in earlier versions.  Will fix.

> 2. you have several different font families in this package.
> 
> http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#What_is_this_font_family_thing.3F
> 
> Each one needs a separate font subpackage
> http://fedoraproject.org/wiki/Shipping_fonts_in_Fedora_%28FAQ%29#How_many_font_files_can_I_put_in_a_font_.28sub.29package.3F

I am aware of that.  However, the separation of the font families is a somewhat
more difficult problem (the filenames are not so intuitive), so I left them to
a later point in time.   Well, ok I will give it a shot, since I already did it
to mgopen-fonts.

> 3. since you'll have multiple font subpackages, you need to create a common
> subpackage they depend on that will own the font package directory and the
> fonts COPYING

OK.

> 4. I'm not sure your (duplicated) %define fontpkg \-n\ cm-lgc-fonts is a good
> idea then.

Thanks for pointing to the duplication.  

What I was trying to do is having a subpackage name in line with other font
packages (such as mgopen-fonts) instead of (te)tex-font-cm-lgc).  Since a
rename of the package is in order, and the font packages already carry the
%{fontname}-fonts name, cm-lgc-fonts fits for the srpm name,
cm-lgc-fonts-common, cm-lgc-fonts-roman, etc for the different families, and
tex-fonts-cm-lgc for the TeX specific stuff.

I think that would be the straightforward way of dealing with the mess

The alternative would be to call the srpm tex-fonts-cm-lgc and suffix it with
-common, -roman, -sans, etc.  This, however, leads to names such as
tex-font-cm-lgc-roman, which is not compatible with the rest of the fedora font
packages.

> 5. are you sure you can not use a subpackages named srpmname-foo? Removing the
> srpmname prefix will confuse users.

See above.

> 6. some fontconfig files would be nice, there are good templates in
> fontpackages-devel

OK, I will come up with some fontconfig stuff for the families only (the
encodings are a really dark area).

-- 
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