Bug 565830 - Review Request: paktype-naskh-basic-fonts - Fonts for Arabic from PakType
Summary: Review Request: paktype-naskh-basic-fonts - Fonts for Arabic from PakType
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Naveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-Legal
TreeView+ depends on / blocked
 
Reported: 2010-02-16 13:22 UTC by Naveen Kumar
Modified: 2010-04-09 10:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-08 06:22:30 UTC
Type: ---
Embargoed:
psatpute: fedora-review+
tcallawa: fedora-cvs+


Attachments (Terms of Use)

Description Naveen Kumar 2010-02-16 13:22:01 UTC
Spec URL: http://pravins.fedorapeople.org/paktype-nashk-basic-fonts.spec
SRPM URL: http://pravins.fedorapeople.org/paktype-nashk-basic-fonts-3.0-1.fc12.src.rpm
Description: 
Hi! I have just finished packaging paktype-nashk-basic-fonts, and I would appreciate a review so that I can get into fedora (FE-NEEDSPONSOR). Some of the informal reviews that I have done till now:
1. https://bugzilla.redhat.com/show_bug.cgi?id=559936
2. https://bugzilla.redhat.com/show_bug.cgi?id=561270
3. https://bugzilla.redhat.com/show_bug.cgi?id=561271
4. https://bugzilla.redhat.com/show_bug.cgi?id=561289
5. https://bugzilla.redhat.com/show_bug.cgi?id=561225

I have packaged one package, which may take some time to get reviewed properly: https://bugzilla.redhat.com/show_bug.cgi?id=563444

Koji Scratch Build for paktype-nashk-basic-fonts: http://koji.fedoraproject.org/koji/taskinfo?taskID=1990670

Comment 1 Nicolas Mailhot 2010-02-22 15:23:49 UTC
This could probably be a nice package, unfortunately it does not pass legal checks

The fonts are derived from GPL sources and DejaVu/Vera. GPL and Vera License do not mix (the Vera license restricts the font naming, and forbids standalone selling, and the GPL forbids additional restrictions)

Therefore, those fonts can not be shipped in Fedora, unless Bitstream agrees to relicence Vera under a GPL variant, or KACST/URW agree to relicence under the Vera license (or they all agree to relicence under some other license). Short term the best solution for upstream is to remove the vera bits from the mix.

This is all very sad, and the reason why we ask new font projects to release under GPL + FE or OFL, and stop inventing new licenses (granted, OFL has been largely inspired by the Vera license, so Vera was a huge leap forward, even though it can not mix with GPL fonts)

I'll be happy to re-review this package is the licensing problems are lifted, or any other font package you may wish to submit. It looks like you invested a lot of work in this package. Unfortunately for fonts checking legal is a good idea before looking at technical issues :(

Please close this bug if you think the legal issues can not be lifted. NEEDINFO in the meanwhile.

Comment 3 Naveen Kumar 2010-03-05 06:57:23 UTC
updated Spec file and SRPM.

Koji Scratch Build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2032277

Comment 4 Pravin Satpute 2010-03-05 08:51:26 UTC
just some comments on spec file

1) use complete link wget link for source0, no need to create macro for only line
2) dont repeat 

ln -s %{_fontconfig_templatedir}/%{fontconf}-sa.conf \
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}-sa.conf

use for loop for it as per /etc/rpmdevtools/spectemplate-fonts-multi.spec
3) 

for txt in License.txt; do
   fold -s $txt > $txt.new
   sed -i 's/\r//' $txt.new
   touch -r $txt $txt.new
   mv $txt.new $txt
done

no need of this only 
%{__sed} -i 's/\r//' License.txt working fine

4) # get rid of the white space (' ')

for PakType Naskh Basic Comparison Chart.pdf
PakType\ Naskh\ Basic\ Comparison\ Chart.htm

may be add _ in place of 'space'

5) i think no need to change name of upstream file, just add _ instead of "space" PakType\ Naskh\ Basic\ Comparison\ Chart.htm


6) from Readme sed
remove 
   sed -i 's/\x95//g' $txt.new
as it doesnt have x95 character

7)no need of $cd .. much
i think its good to do things from $pwd

8) add .conf file for PakTypeNaskhBasic.ttf as well

follow /usr/share/fontconfig/templates/basic-font-template.conf

9) i think %_font_pkg PakTypeNaskhBasic.ttf, should move just before its package.

10) remove unnecessary space from 
sindhi.conf
    <string>PakType Nashk Basic Sindhi </string>

11) please add %doc under common files, presently no rpm is getting generated.

%files common
%defattr(-,root,root,-)
%doc ....
%dir %{fontdir} ...

Comment 6 Naveen Kumar 2010-03-05 09:36:55 UTC
Please ignore above scratch build
Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2032496

Comment 7 Pravin Satpute 2010-03-08 10:08:38 UTC
- Remove  BuildRequires: fontforge >= 20080429, as we are not generating ttf from .sfd

- also remove Requires:       fontpackages-filesystem from base package, since common package is already pulling that 

- as we are using common desc. for all packages it should be little bit more generic or please append little bit more in description of each package

- Remove
rmdir NaskhBasic-3.0;
rm -r Ready\ to\ use\ fonts/
rm -r License\ files/
rm -r NaskhBasic-3.0/Project\ files/
no need to do this


- mv PakType\ Naskh\ Basic\ License.txt License.txt
no need to rename this file, keep original name just add "_" instead of " "

- .conf file
in .ttf file, style is written as Decorative, please confirm it, what we suppose to write in that case in .conf file

Comment 8 Naveen Kumar 2010-03-09 10:12:20 UTC
(In reply to comment #7)

> - .conf file
> in .ttf file, style is written as Decorative, please confirm it, what we
> suppose to write in that case in .conf file    

I do not much about this. For the time being it is written as sans-serif.


Updated Spec & SRPM:

SPEC: http://nkumar.fedorapeople.org/paktype-nashk-basic-fonts/paktype-nashk-basic-fonts-3.0-4/paktype-nashk-basic-fonts.spec

SRPM: http://nkumar.fedorapeople.org/paktype-nashk-basic-fonts/paktype-nashk-basic-fonts-3.0-4/paktype-nashk-basic-fonts-3.0-4.fc12.src.rpm

Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2040498

Comment 9 Pravin Satpute 2010-03-12 04:55:47 UTC
- package name should be paktype-naskh-fonts not nashk

Comment 11 Pravin Satpute 2010-03-12 08:07:08 UTC
- write appropriate summary in each subpackage
This is wrong --> Summary: Tehreer Fonts for Arabic from PakType
- improve common_desc or append something in each subpackage's description

Comment 12 Naveen Kumar 2010-03-12 10:33:17 UTC
(In reply to comment #11)
> - write appropriate summary in each subpackage
> This is wrong --> Summary: Tehreer Fonts for Arabic from PakType
> - improve common_desc or append something in each subpackage's description    

Updated Spec & SRPM:

SPEC: http://nkumar.fedorapeople.org/paktype-naskh-basic-fonts/paktype-naskh-basic-fonts-3.0-6.fc12/paktype-naskh-basic-fonts.spec

SRPM: http://nkumar.fedorapeople.org/paktype-naskh-basic-fonts/paktype-naskh-basic-fonts-3.0-6.fc12/paktype-naskh-basic-fonts-3.0-6.fc12.src.rpm

Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2048458

Comment 13 Pravin Satpute 2010-03-12 10:50:16 UTC
+ package builds in mock (rawhide i686).
koji Build => http://koji.fedoraproject.org/koji/taskinfo?taskID=2048458
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url 
407b095967ceecc4a342355295dd8c83  NaskhBasic-3.0.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
combination of "GPLv2 with Font Exceptions" and "GPLVv2+ with Font Exceptions"
so "GPLv2 with Font Exceptions" is proper license
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ fonts scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Not a GUI application

install -m 0644 -p PakTypeNaskhBasicFarsi.ttf PakTypeNaskhBasic.ttf PakTypeNaskhBasicSA.ttf PakTypeNaskhBasicUrdu.ttf PakTypeNaskhBasicSindhi.ttf $RPM_BUILD_ROOT%{_fontdir}, do check is *.ttf works for it before import.

Comment 14 Naveen Kumar 2010-03-12 13:06:06 UTC
New Package CVS Request
=======================
Package Name: paktype-naskh-basic-fonts
Short Description: Fonts for Arabic, Farsi, Urdu and Sindhi from PakType
Owners: nkumar
Branches: F-12 F-13
InitialCC: fonts-sig

Comment 15 Tom "spot" Callaway 2010-03-15 21:41:35 UTC
CVS done (by process-cvs-requests.py).

Comment 16 Naveen Kumar 2010-04-09 10:39:23 UTC
Thanks to Tom "spot" Callaway, Pravin Satpute & Nicolas Mailhot. You all have been great and supportive...:)

Comment 17 Naveen Kumar 2010-04-09 10:40:06 UTC
Tom "spot" Callaway! Thanks for the CVS.


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