Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 176096 - Review Request: gentium-fonts: SIL Gentium fonts
Summary: Review Request: gentium-fonts: SIL Gentium fonts
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Mahowald
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: FE-ACCEPT 482985
TreeView+ depends on / blocked
 
Reported: 2005-12-19 12:42 UTC by Roozbeh Pournader
Modified: 2009-01-29 07:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-12-22 17:15:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Roozbeh Pournader 2005-12-19 12:42:34 UTC
Spec Name or Url: http://guava.farsiweb.info/~roozbeh/gentium-fonts.spec
SRPM Name or Url: http://guava.farsiweb.info/~roozbeh/gentium-fonts-1.02-1.src.rpm

Description:
I wish to ask for a review for the above package. This is my first FE package, so I also wish to ask for a sponsor.

The description from the SPEC file:
SIL Gentium ("belonging to the nations" in Latin) is a Unicode typeface family
designed to enable the many diverse ethnic groups around the world who use
the Latin script to produce readable, high-quality publications. It supports
a wide range of Latin-based alphabets and includes glyphs that correspond to
all the Latin ranges of Unicode.

Comment 1 Roozbeh Pournader 2005-12-20 14:35:13 UTC
Someone just raised the issue on the IRC that the full URL of the source file is
not mentioned in the spec file. The reason is that the full URL is utterly ugly.
It's this:

http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=Gentium_102_L_tar&filename=%2Fttf-sil-gentium_1.0.2.tar.gz

Comment 2 John Mahowald 2005-12-20 17:53:14 UTC
- rpmlint doesn't like the license, but their FAQ states it can be packaged.
http://scripts.sil.org/OFL
- package meets naming guidelines, somewhat like urw-fonts
- package meets packaging guidelines
- license text in %doc
- spec file legible, in am. english
- source matches upstream (you may want to leave a comment about where to find
the source)
- package compiles on FC4 i386
- no missing BR
- no unnecessary BR
- no locales
- not relocatable
- owns all directories that it creates
- no duplicate files
- permissions ok
- %clean ok
- macro use consistent
- code, not content
- no need for -docs
- nothing in %doc affects runtime
- no need for .desktop file

Also similar to bitstream-vera-fonts spec file.

Installed package, fonts appeared in char map and OpenOffice.org, gone upon
package removal.

Looks good to me. However, you still need a sponsor. Perhaps we can find one of
them interested interested in fonts.



Comment 3 Michael A. Peters 2005-12-20 19:47:37 UTC
I would make two recommendations -

1) ass the following:

Obsoletes: fonts-sil-gentium
Provides: fonts-sil-gentium

Reason: upstream provides an rpm with that name.

It's up to you, but if upstream provides an rpm then I think it generally best
to make sure that the Fedora rpm provides the same name.

2)

I *think* you need to change

if [ -x %{_bindir}/fc-cache ]; then
  %{_bindir}/fc-cache %{_datadir}/fonts
fi

to

if [ -x %{_bindir}/fc-cache ]; then
  %{_bindir}/fc-cache %{_datadir}/fonts/gentium
fi

I seem to remember the fonts.cache-2 file not being properly created in FC5 when
fc-cache is run on the %{_datadir}/fonts instead of the directory containing them.

3) I personally would get rid of

%define fontdir         %{_datadir}/fonts/gentium

Just use %{_datadir}/fonts/gentium

Comment 4 Michael A. Peters 2005-12-20 20:48:13 UTC
(In reply to comment #3)
> I would make two recommendations -
> 
> 1) ass the following:

I'm so sorry. That's suppose to add the following :-/

Comment 5 Roozbeh Pournader 2005-12-21 14:01:22 UTC
(In reply to comment #2)
> - source matches upstream (you may want to leave a comment about where to find
the source)

Done.

(In reply to comment #3)
> 1) add the following:
> 
> Obsoletes: fonts-sil-gentium
> Provides: fonts-sil-gentium

Done.

> I *think* you need to change
> 
> if [ -x %{_bindir}/fc-cache ]; then
>   %{_bindir}/fc-cache %{_datadir}/fonts
> fi
> 
> to
> 
> if [ -x %{_bindir}/fc-cache ]; then
>   %{_bindir}/fc-cache %{_datadir}/fonts/gentium
> fi

But that will fail to register the gentium directory in
%{_datadir}/fonts/fonts.cache-1, won't it?

> 3) I personally would get rid of
> 
> %define fontdir         %{_datadir}/fonts/gentium
> 
> Just use %{_datadir}/fonts/gentium

I prefer to stay with it, to minimize possible mistakes when in a later version
one mistakenly writes "genitum".

New package is posted at:
Spec Url: http://guava.farsiweb.info/~roozbeh/gentium-fonts.spec
SRPM Url: http://guava.farsiweb.info/~roozbeh/gentium-fonts-1.02-2.src.rpm

BTW, Daniel Veillard has now sponsored me for cvsextras access, so I just need
the package itself to be accepted.


Comment 6 Roozbeh Pournader 2005-12-21 14:02:51 UTC
I forgot to post the ChangeLog:

%changelog

* Wed Dec 21 2005 Roozbeh Porunader <roozbeh> 1.02-2
- Added comment to Source0 about where to get the file
- Added Provides and Obsoletes for upsteam RPM name


Comment 7 Michael A. Peters 2005-12-22 05:46:01 UTC
(In reply to comment #5)

> 
> But that will fail to register the gentium directory in
> %{_datadir}/fonts/fonts.cache-1, won't it?

It doesn't seem to be an issue anymore, but it doesn't specifically need to be
registered in %{_datadir}/fonts/fonts.cache-{1,2} in order for the fonts to work.

However - I just tested your package, and fc-cache on devel does in fact create
the proper file in devel branch now when used on a parent directory - so the
spec file is fine.

> 
> > 3) I personally would get rid of
> > 
> > %define fontdir         %{_datadir}/fonts/gentium
> > 
> > Just use %{_datadir}/fonts/gentium
> 
> I prefer to stay with it, to minimize possible mistakes when in a later version
> one mistakenly writes "genitum".

That's fine.
I guess it's a matter of taste.

-=-
This package is listed as assigned and in FE-Review.
But it's assigned to default gdk

Is that a mistake?
-=-

We should request a bug with rpmlint to get the license added to rpmlint since I
would like to see othe SIL fonts with that license (when released) added to
extras as well.

I'll do that later tonight.

Comment 8 Roozbeh Pournader 2005-12-22 14:23:01 UTC
Since I've already got an sponsor, it seems that a normal review should work.
John, would you ACCEPT?

Comment 9 Brian Pepple 2005-12-22 14:39:54 UTC
I believe the first package must be reviewed by the person that sponsors you.

http://fedoraproject.org/wiki/Extras/Contributors
(Step 7).

Comment 10 Roozbeh Pournader 2005-12-22 14:45:10 UTC
(In reply to comment #9)
> I believe the first package must be reviewed by the person that sponsors you.
> 
> http://fedoraproject.org/wiki/Extras/Contributors
> (Step 7).

I've seen the page, but neither Daniel nor Seth Vidal thought that would be
necessary anymore.


Comment 11 John Mahowald 2005-12-22 14:52:24 UTC
APPROVED.


Note You need to log in before you can comment on or make changes to this bug.