Bug 466394 (pdf-renderer)
| Summary: | Review Request: pdf-renderer - A 100% Java PDF renderer and viewer | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orcan Ogetbil <oget.fedora> |
| Component: | Package Review | Assignee: | Mamoru TASAKA <mtasaka> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | fedora-package-review, mtasaka, notting |
| Target Milestone: | --- | Flags: | mtasaka:
fedora-review+
kevin: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-10-13 03:40:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 465511 | ||
|
Description
Orcan Ogetbil
2008-10-10 02:15:29 UTC
I know that the way I formulate the release number may not be the most ideal one. What is the best way of putting it? Some comments:
* About versioning
- Some maintaners use (and I recomment):
0-0.X.<cvs related number>%{?dist}
* native2ascii
- build.log shows:
-------------------------------------------------
30 + find . -name '*.java' -exec native2ascii '{}' '{}' ';'
31 find: `native2ascii'
32 : Permission denied
33 find: `native2ascii'
34 : Permission denied
35 find: `native2ascii'
....
-------------------------------------------------
Can these messages be ignored?
* Font .pfb
- Would you check how these fonts file (binaries) are
used?
* If these files can be removed, please remove these.
* If these files are really used, please replace these
with fonts which are system-widely provided.
These fonts are all in urw-fonts (i.e. BR: urw-fonts is
needed if these fonts are needed). BaseFonts.properties
also needs fixing in this case.
And as (rpm says) urw-fonts are under GPL+,
the license tag of this package should be changed to
"LGPLv2+ and GPL+".
Thank you,
* I made the release number 0-0.X.<cvs related number>%{?dist}
* There are only a few files that have encoding issues and those are getting fixed properly. Hence the native2ascii warnings can be ignored.
* .pfb files are removed. But since they are needed by the program I hacked the code to use the system-fonts. Now urw-fonts is Required and the license is "LGPLv2+ and GPL+".
The final version of files:
SPEC: http://oget.fedorapeople.org/review/pdf-renderer.spec
SRPM: http://oget.fedorapeople.org/review/pdf-renderer-0-0.2.20081005cvs.fc10.src.rpm
Okay. Now one issue and one question
* License
- Since you completely removed .pfb files from tarball, the license can be
simply "LGPLv2+".
? XXXX.length in BaseFonts.properties
- One question is that BaseFonts.properties contains lines like the
following:
------------------------------------------------------------------
Courier-Bold.length=120373
------------------------------------------------------------------
However on my system n022004l.pfb has 101592 bytes.
Can these difference of size be ignored?
If not (i.e. size should also be fixed), the following sample scripts
may be useful.
------------------------------------------------------------------
#!/bin/sh
INPUT=BaseFonts.properties
OUTPUT=BaseFonts.properties.1
FONTDIR=/usr/share/fonts/default/Type1
rm -f $OUTPUT
cat $INPUT | while read line
do
newline=$line
if echo $newline | grep -q 'file=.*pfb'
then
pfbname=$(echo $newline | sed -e 's|^.*file=||')
newline=$(echo $newline | sed -e "s|file=|file=${FONTDIR}/|")
elif echo $newline | grep -q 'length='
then
size=$(ls -al ${FONTDIR}/$pfbname | awk '{print $5}')
newline=$(echo $newline | sed -e "s|length=.*|length=$size|")
fi
echo $newline >> $OUTPUT
done
-------------------------------------------------------------------
(When size needs fixing and you use this script, "BuildRequires: urw-fonts"
is needed to examine the size of the installed fonts)
- I didn't think about the font sizes. I am not sure whether they are important, but for the sake of completeness I used your script to rewrite the BaseFonts.properties file, just in case... Thank you for the script. - The license is set back to LGPLv2+. - Files updated: SPEC: http://oget.fedorapeople.org/review/pdf-renderer.spec SRPM: http://oget.fedorapeople.org/review/pdf-renderer-0-0.3.20081005cvs.fc10.src.rpm Okay.
--------------------------------------------------------------------------
This package (pdf-renderer) is APPROVED by mtasaka
--------------------------------------------------------------------------
New Package CVS Request ======================= Package Name: pdf-renderer Short Description: A 100% Java PDF renderer and viewer Owners: oget Branches: InitialCC: cvs done. |