- Timestamp:
- 05/08/2012 05:21:33 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- b822871
- Parents:
- e7fc5cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/ps/fop.xml
re7fc5cf r75d53372 6 6 7 7 <!ENTITY fop-download-http "http://archive.apache.org/dist/xmlgraphics/fop/source/fop-&fop-version;-src.tar.gz"> 8 <!-- <!ENTITY fop-download-ftp "ftp://apache.mirrors.pair.com/xmlgraphics/fop/fop-&fop-version;-src.tar.gz"> --> 9 <!ENTITY fop-download-ftp "&sources-anduin-ftp;/f/fop-&fop-version;-src.tar.gz"> 8 <!ENTITY fop-download-ftp " "> 10 9 <!ENTITY fop-md5sum "95dcc4c2dd08b4bc88ce9ce1ee88c439"> 11 10 <!ENTITY fop-size "16.1 MB"> … … 14 13 15 14 <!ENTITY jai-version "1_1_3"> 16 <!ENTITY jai-download "http://download.java.net/media/jai/builds/release/&jai-version;/jai-&jai-version;-lib-linux-i586 -jdk.bin">17 <!ENTITY jai-md5sum "a 63b661c4940582aa1679233e5f518b2">15 <!ENTITY jai-download "http://download.java.net/media/jai/builds/release/&jai-version;/jai-&jai-version;-lib-linux-i586.tar.gz"> 16 <!ENTITY jai-md5sum "a2cbc155ef3899bcde9c74a8035764b3"> 18 17 <!ENTITY jai-size "3.4 MB"> 18 19 <!ENTITY jai64-download "http://download.java.net/media/jai/builds/release/&jai-version;/jai-&jai-version;-lib-linux-amd64.tar.gz"> 20 <!ENTITY jai64-md5sum "4a906db35612f668aeef2c0606d7075b"> 21 <!ENTITY jai64-size "3.4 MB"> 19 22 20 23 <!ENTITY offo-download "&sourceforge-repo;/offo/offo-hyphenation_v2.0.zip"> … … 23 26 ]> 24 27 25 <sect1 id="fop" xreflabel=" FOP-&fop-version;">28 <sect1 id="fop" xreflabel="fop-&fop-version;"> 26 29 <?dbhtml filename="fop.html"?> 27 30 … … 31 34 </sect1info> 32 35 33 <title> FOP-&fop-version;</title>36 <title>fop-&fop-version;</title> 34 37 35 38 <indexterm zone="fop"> 36 <primary sortas="a- FOP">FOP</primary>39 <primary sortas="a-fop">fop</primary> 37 40 </indexterm> 38 41 39 42 <sect2 role="package"> 40 <title>Introduction to FOP</title>43 <title>Introduction to fop</title> 41 44 42 45 <para>The <application>FOP</application> (Formatting Objects Processor) … … 48 51 primary output target is PDF.</para> 49 52 50 <para>&lfssvn_checked;20101029&lfssvn_checked2;</para>53 &lfs70_checked; 51 54 52 55 <bridgehead renderas="sect3">Package Information</bridgehead> … … 86 89 </listitem> 87 90 <listitem> 88 <para>Java Advanced Imaging (JAI) API components :91 <para>Java Advanced Imaging (JAI) API components (architecture dependent): 89 92 <simplelist> 90 93 <member><ulink url="&jai-download;"/></member> … … 92 95 <member>&jai-size;</member> 93 96 </simplelist> 97 <simplelist> 98 <member><ulink url="&jai64-download;"/></member> 99 <member>&jai64-md5sum;</member> 100 <member>&jai64-size;</member> 101 </simplelist> 94 102 </para> 95 103 </listitem> 96 104 </itemizedlist> 97 105 98 <!-- <itemizedlist spacing='compact'> 99 <title>Required patch</title> 100 <listitem> 101 <para><ulink 102 url="&patch-root;/fop-&fop-version;-jdk_1.5.0-1.patch"/></para> 103 </listitem> 104 </itemizedlist> --> 105 106 <bridgehead renderas="sect3">FOP Dependencies</bridgehead> 106 <bridgehead renderas="sect3">fop Dependencies</bridgehead> 107 107 108 108 <bridgehead renderas="sect4">Required</bridgehead> 109 <para role="required"> <xref linkend="xorg7"/>,110 <xref linkend="apache-ant"/>, and111 <ulink url="http://java.sun.com/javase/technologies/desktop/media/jai/">Java112 Advanced Imaging (JAI) API components</ulink></para>109 <para role="required"> 110 <xref linkend="xorg7"/> and 111 <xref linkend="apache-ant"/> 112 </para> 113 113 114 114 <bridgehead renderas="sect4">Optional</bridgehead> 115 <para role="optional"><ulink url="http://java.sun.com/products/jimi/">JIMI SDK</ulink>, 116 <ulink url="http://xmlunit.sourceforge.net/">XMLUnit</ulink>, 117 <ulink url="https://jai-imageio.dev.java.net/">JAI Image I/O Tools</ulink>, 118 <ulink url="http://jeuclid.sourceforge.net/">JEuclid</ulink>, 119 <ulink url="http://pmd.sourceforge.net">PMD</ulink> 120 (requires <ulink url="http://jaxen.codehaus.org/">Jaxen</ulink>), and 121 <ulink url="http://forrest.apache.org/">Forrest</ulink> (Forrest used only 122 to rebuild the documentation)</para> 115 <para role="optional"> 116 <ulink url="http://java.sun.com/products/jimi/">JIMI SDK</ulink>, 117 <ulink url="http://xmlunit.sourceforge.net/">XMLUnit</ulink>, 118 <ulink url="https://jai-imageio.dev.java.net/">JAI Image I/O Tools</ulink>, 119 <ulink url="http://jeuclid.sourceforge.net/">JEuclid</ulink>, 120 <ulink url="http://pmd.sourceforge.net">PMD</ulink> 121 (requires <ulink url="http://jaxen.codehaus.org/">Jaxen</ulink>), and 122 <ulink url="http://forrest.apache.org/">Forrest</ulink> (Forrest used only 123 to rebuild the documentation) 124 </para> 123 125 124 126 <para condition="html" role="usernotes">User Notes: … … 128 130 129 131 <sect2 role="installation"> 130 <title>Installation of FOP</title>132 <title>Installation of fop</title> 131 133 132 134 <important> 133 135 <para>You must run this installation from an X-window using a GL-aware 134 136 <application>Xorg</application> server or some of the 135 <application>JUnit</application> tests will hang. Using an X-window from 136 the console is the preferred method.</para> 137 <application>JUnit</application> tests will hang.</para> 137 138 </important> 138 139 … … 140 141 the build. To build the <application>JIMI SDK</application> and/or 141 142 <application>XMLUnit</application> extension classes, ensure the 142 corresponding <filename class='extension'>.jar</filename> files are143 identified inthe <envar>CLASSPATH</envar> environment variable.</para>143 corresponding <filename class='extension'>.jar</filename> files can be 144 found via the <envar>CLASSPATH</envar> environment variable.</para> 144 145 145 146 <sect3> 146 147 <title>Installing OFFO Hyphenation Patterns</title> 147 148 148 <para>Before beginning the build, unpack the 149 <application>FOP</application> source tarball and the hyphenation zipfile 150 from the same directory, then change directories into the root of the 151 <application>FOP</application> source tree. Copy the XML hyphenation 152 patterns into the <application>FOP</application> source tree by 153 running the following commands:</para> 149 <para>First, unpack the <application>fop</application> source tarball and 150 the hyphenation zipfile from the same directory, then change directories 151 into the root of the <application>fop</application> source tree. Copy the 152 XML hyphenation patterns into the <application>fop</application> source 153 tree by running the following commands:</para> 154 154 155 155 <screen><userinput>cp ../offo-hyphenation/hyph/* hyph && … … 159 159 160 160 <sect3> 161 <title>Installing JAI</title> 162 163 <tip> 164 <para>The <command>$FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin</command> 165 command below installs the JAI components in the JDK tree. You will be 166 required to view, and then accept (by entering a <keycap>y</keycap> 167 keypress), a license agreement before the installation will continue. 168 If you are scripting (automating) the build, you'll need to account for 169 this. There is information about automating build commands in the 170 <xref linkend="automating-builds"/> section of Chapter 2. Towards the 171 end of this section, specific information for automating this type of 172 installation is discussed.</para> 173 </tip> 174 175 <para>Install the JAI components by running the following commands as 176 the <systemitem class="username">root</systemitem> user while in the 177 root of the <application>FOP</application> source tree:</para> 178 179 <!-- JAI make tail +nnn only for SunOS now 180 <screen role="root"><userinput>install -m755 ../jai-&jai-version;-lib-linux-i586-jdk.bin JAI.bin && 181 sed -i 's/tail +122/tail -n +122/' JAI.bin && 182 --> 183 <screen role="root"><userinput>FOP_PKG_DIR=$(pwd)/.. && 184 pushd $JAVA_HOME && 185 sh $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin && 186 popd</userinput></screen> 161 <title>Installing Java Advanced Imaging (JAI) API components</title> 162 163 <para>Next install the JAI API components. As the <systemitem 164 class="username">root</systemitem> user:</para> 165 166 <screen><userinput>case `uname -m` in 167 i?86) 168 tar -xf ../jai-&jai-version;-lib-linux-i586.tar.gz 169 cp -v jai-&jai-version;/lib/{jai*,mlibwrapper_jai.jar} $JAVA_HOME/jre/lib/ext/ 170 cp -v jai-&jai-version;/lib/libmlib_jai.so $JAVA_HOME/jre/lib/i386/ 171 ;; 172 173 x86_64) 174 tar -xf ../jai-&jai-version;-lib-linux-amd64.tar.gz 175 cp -v jai-&jai-version;/lib/{jai*,mlibwrapper_jai.jar} $JAVA_HOME/jre/lib/ext/ 176 cp -v jai-&jai-version;/lib/libmlib_jai.so $JAVA_HOME/jre/lib/amd64/ 177 ;; 178 esac</userinput></screen> 187 179 188 180 </sect3> 189 181 190 182 <sect3> 191 <title>Installing FOPComponents</title>183 <title>Installing fop Components</title> 192 184 193 185 <para>If <application>Forrest</application> is not installed, remove … … 197 189 -e '\#${dist.bin.result.dir}/docs#,\#</copy>#d' build.xml</userinput></screen> 198 190 199 <para>Compile <application> FOP</application> by running the191 <para>Compile <application>fop</application> by running the 200 192 following commands:</para> 201 193 … … 218 210 <sect2 role="commands"> 219 211 <title>Command Explanations</title> 220 221 <para><command>FOP_PKG_DIR=$(pwd)/..</command>: This assumes that the222 source packages are stored one level above the current working directory.223 This is always the default; but may be different because of personal224 taste. If necessary, change this to match the directory where the225 <application>FOP</application> tarball can be found.</para>226 227 <para><command>sh228 $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin</command>: This229 command installs the <application>JAI</application> components230 into the <application>JDK</application> file structure.231 <envar>$FOP_PKG_DIR</envar> is used as a reference point to the source232 executable.</para>233 212 234 213 <para><command>ant dist</command>: This reads the … … 236 215 builds the package and runs the unit regression tests. It also creates the 237 216 Java API documentation and a directory where the newly created binaries 238 are placed. This directory is used to install <application> FOP</application>217 are placed. This directory is used to install <application>fop</application> 239 218 into its final place.</para> 240 219 … … 246 225 247 226 <sect2 role="configuration"> 248 <title>Configuring FOP</title>227 <title>Configuring fop</title> 249 228 250 229 <sect3 id="fop-config"> … … 262 241 <title>Configuration Information</title> 263 242 264 <para>Using <application> FOP</application> to process some large FO's243 <para>Using <application>fop</application> to process some large FO's 265 244 (including the FO derived from the BLFS XML sources), can lead to memory 266 245 errors. Unless you add a parameter to the <command>java</command> command … … 280 259 <para>The <command>fop</command> script looks for a 281 260 <envar>FOP_HOME</envar> environment variable to locate the 282 <application> FOP</application> class libraries. You can create this261 <application>fop</application> class libraries. You can create this 283 262 variable using the <filename>~/.foprc</filename> file as well. Create 284 263 a <filename>~/.foprc</filename> file using the following commands:</para> … … 294 273 megabytes). An example would be 295 274 <userinput>FOP_OPTS="-Xmx768m"</userinput>. For more information about 296 memory issues running <application> FOP</application>, see275 memory issues running <application>fop</application>, see 297 276 <ulink url="http://xml.apache.org/fop/running.html#memory"/>.</para> 298 277 … … 333 312 <listitem> 334 313 <para>is a wrapper script to the <command>java</command> command 335 which sets up the <application> FOP</application>314 which sets up the <application>fop</application> 336 315 environment and passes the required parameters.</para> 337 316 <indexterm zone="fop fop-prog"> … … 344 323 <term><filename class='libraryfile'>fop.jar</filename></term> 345 324 <listitem> 346 <para>contains all the <application> FOP</application>325 <para>contains all the <application>fop</application> 347 326 <application>Java</application> classes.</para> 348 327 <indexterm zone="fop fop.jar">
Note:
See TracChangeset
for help on using the changeset viewer.