Bug 451913

Summary: Automate generation of FOP configuration files
Product: [Community] Publican Reporter: Jeff Fearn <jfearn>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 1.6CC: mmcallis, publican-list
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.34 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-23 01:35:44 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Jeff Fearn 2008-06-17 23:12:38 EDT
Currently there are separate fop files (conf, font metrics) for each version of
FOP and each version of the O/S. These files need to be created when publican is
built instead of being pre-generated.

Supported O/S: rhel4, rhel5, fc9, rawhide
Supported FOP: 0.20, 0.95beta

Files that need auto-generation:
 1. fop.conf
 2. font-metrics/*.xml (one per font)
 3. pickfont.xsl (needs xsl:import in pdf.xsl)

pickfont.xsl needs to override these templates:
 1. pickfont-sans
 2. pickfont-serif
 3. pickfont-mono

Spec file needs to be able to set the correct Requires and BuildRequires for
each O/S.

FOP 0.20 support will be dropped for O/S >= rhel5 since FOP 0.95beta has been
built in brew.

FOP has not been built for epel4 or epel5 so integration needs to be disabled
for those builds until FOP is available in those repositories.
Comment 1 Jeff Fearn 2008-06-23 01:35:44 EDT
Added script to generate FOP font-metrics files and fop.xconf file at build time.