Bug 2151458 - Review Request: ipa-exgothic-fonts - Japanese Gothic-typeface OpenType font by IPA
Summary: Review Request: ipa-exgothic-fonts - Japanese Gothic-typeface OpenType font b...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Benson Muite
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-07 07:57 UTC by Akira TAGOH
Modified: 2022-12-16 04:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-16 04:30:06 UTC
Type: ---
Embargoed:
benson_muite: fedora-review+


Attachments (Terms of Use)

Description Akira TAGOH 2022-12-07 07:57:32 UTC
Spec URL: https://tagoh.fedorapeople.org/reviews/ipa-exgothic-fonts/ipa-exgothic-fonts.spec
SRPM URL: https://tagoh.fedorapeople.org/reviews/ipa-exgothic-fonts/ipa-exgothic-fonts-004.01-10.fc38.src.rpm
Description: IPAex Font is a Japanese OpenType fonts that is JIS X 0213:2004
compliant, provided by Information-technology Promotion Agency, Japan.

This package contains Gothic (sans-serif) style font.

Fedora Account System Username: tagoh

Comment 1 Akira TAGOH 2022-12-07 07:59:08 UTC
This is actually package renaming from ipa-ex-gothic-fonts due to the fonts packaging guidelines update.

Comment 2 Benson Muite 2022-12-08 13:40:28 UTC
[!]: Sources can be downloaded from URI in Source: tag
     Note: Could not download Source0:
     https://oscdl.ipa.go.jp/IPAexfont/ipaexg00401.zip
     See: https://docs.fedoraproject.org/en-US/packaging-
     guidelines/SourceURL/

Comment 4 Benson Muite 2022-12-09 11:08:41 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated". 3 files have unknown license. Detailed
     output of licensecheck in /home/fedora/2151458-ipa-exgothic-
     fonts/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.

fonts:
[!]: Run repo-font-audit on all fonts in package.
     Note: Cannot find repo-font-audit, install fontpackages-tools package
     to make a comprehensive font review.
     See: url: undefined
[!]: Run ttname on all fonts in package.
     Note: Cannot find ttname command, install ttname package to make a
     comprehensive font review.
     See: url: undefined


Rpmlint
-------
Checking: ipa-exgothic-fonts-004.01-11.fc38.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpx3niw0hn')]
checks: 31, packages: 1

ipa-exgothic-fonts.spec:49: W: macro-in-comment %build
ipa-exgothic-fonts.spec:76: W: macro-in-comment %{archivename}
 1 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 0.7 s 




Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Source checksums
----------------
https://moji.or.jp/wp-content/ipafont/IPAexfont/ipaexg00401.zip :
  CHECKSUM(SHA256) this package     : 4ab6fee94bf6f94b3eeb31be2b73c559f738dc6b336d722d5301b1f3f592f850
  CHECKSUM(SHA256) upstream package : 4ab6fee94bf6f94b3eeb31be2b73c559f738dc6b336d722d5301b1f3f592f850


Requires
--------


Provides
--------


Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review -b 2151458
Buildroot used: fedora-rawhide-aarch64
Active plugins: Shell-api, fonts, Generic
Disabled plugins: C/C++, R, PHP, Java, Ruby, Haskell, Python, Perl, Ocaml, SugarActivity
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

$ rpmlint ipa-exgothic-fonts-004.01-11.fc38.src.rpm
========================================== rpmlint session starts ==========================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 1

ipa-exgothic-fonts.spec:49: W: macro-in-comment %build
ipa-exgothic-fonts.spec:76: W: macro-in-comment %{archivename}
=========== 1 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 1.8 s ===========

$ rpmlint ipa-exgothic-fonts-004.01-11.fc38.noarch.rpm
========================================== rpmlint session starts ==========================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 1

ipa-exgothic-fonts.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/ipa-exgothic-fonts/Readme_ipaexg00401.txt
=========== 1 packages and 0 specfiles checked; 0 errors, 1 warnings, 0 badness; has taken 1.4 s ===========


Comments:
a) When importing can you change the line ending encoding in Readme_ipaexg00401.txt for example using
dos2unix Readme_ipaexg00401.txt
this would add dos2unix as a dependency.
Minor points/questions:
i) In the ttf file, the font foundry has an extra space
foundry: "IPA "(s)
ii) Maybe users might appreciate Japanese names in 68-ipa-exgothic-fonts.conf

Comment 5 Akira TAGOH 2022-12-15 05:55:47 UTC
Thank you for reviewing.

> Comments:
> a) When importing can you change the line ending encoding in Readme_ipaexg00401.txt for example using
dos2unix Readme_ipaexg00401.txt
> this would add dos2unix as a dependency.

Sure. will do.

> Minor points/questions:
> i) In the ttf file, the font foundry has an extra space
> foundry: "IPA "(s)

Well, that's intentional thing. the foundry property is coming from achVendID in OS2 table which is supposed to be 4-character string and stores as it is. https://learn.microsoft.com/en-us/typography/opentype/spec/os2#achvendid

ii) Maybe users might appreciate Japanese names in 68-ipa-exgothic-fonts.conf

I could add it as well.

Comment 6 Benson Muite 2022-12-15 06:24:26 UTC
>> a) When importing can you change the line ending encoding in Readme_ipaexg00401.txt for example using
dos2unix Readme_ipaexg00401.txt
>> this would add dos2unix as a dependency.

> Sure. will do.
It is also possible to use sed to change line endings,
sed 's/\r//' a.txt 
from
https://jjames.fedorapeople.org/makemusic-finale-fonts/makemusic-finale-fonts.spec
but either is fine.

Comment 7 Gwyn Ciesla 2022-12-15 14:31:14 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/ipa-exgothic-fonts

Comment 8 Akira TAGOH 2022-12-16 04:30:06 UTC
The package has been built in rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=2101113


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