- Timestamp:
- 11/12/2010 12:59:28 AM (13 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:
- e549304
- Parents:
- 91a9ba6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/ps/fop.xml
r91a9ba6 r48bd327 8 8 <!-- <!ENTITY fop-download-ftp "ftp://apache.mirrors.pair.com/xmlgraphics/fop/fop-&fop-version;-src.tar.gz"> --> 9 9 <!ENTITY fop-download-ftp "&sources-anduin-ftp;/f/fop-&fop-version;-src.tar.gz"> 10 <!ENTITY fop-md5sum " 58593e6c86be17d7dc03c829630fd152">11 <!ENTITY fop-size "1 3.1 MB">12 <!ENTITY fop-buildsize "3 56MB">13 <!ENTITY fop-time " 1.4SBU">10 <!ENTITY fop-md5sum "95dcc4c2dd08b4bc88ce9ce1ee88c439"> 11 <!ENTITY fop-size "16.1 MB"> 12 <!ENTITY fop-buildsize "360 MB"> 13 <!ENTITY fop-time "2.8 SBU"> 14 14 15 15 <!ENTITY jai-version "1_1_3"> … … 18 18 <!ENTITY jai-size "3.4 MB"> 19 19 20 <!ENTITY offo-download "&sourceforge-repo;/offo/offo-hyphenation_v 1.2.zip">21 <!ENTITY offo-md5sum " b2e64872ab0b5e6ada1d37778f8a1935">22 <!ENTITY offo-size " 378 KB">20 <!ENTITY offo-download "&sourceforge-repo;/offo/offo-hyphenation_v2.0.zip"> 21 <!ENTITY offo-md5sum "a78171d47c9af223c51bbd42df36f26d"> 22 <!ENTITY offo-size "858 KB"> 23 23 ]> 24 24 … … 112 112 <bridgehead renderas="sect4">Optional</bridgehead> 113 113 <para role="optional"><ulink url="http://java.sun.com/products/jimi/">JIMI SDK</ulink>, 114 <ulink url="http://xmlunit.sourceforge.net/">XMLUnit</ulink>, and 115 <ulink url="http://forrest.apache.org/">Forrest</ulink> (only used to rebuild 116 the documentation)</para> 114 <ulink url="http://xmlunit.sourceforge.net/">XMLUnit</ulink>, 115 <ulink url="https://jai-imageio.dev.java.net/">JAI Image I/O Tools</ulink>, 116 <ulink url="http://jeuclid.sourceforge.net/">JEuclid</ulink>, 117 <ulink url="http://pmd.sourceforge.net">PMD</ulink> 118 (requires <ulink url="http://jaxen.codehaus.org/">Jaxen</ulink>), and 119 <ulink url="http://forrest.apache.org/">Forrest</ulink> (Forrest used only 120 to rebuild the documentation)</para> 117 121 118 122 <para condition="html" role="usernotes">User Notes: … … 124 128 <title>Installation of FOP</title> 125 129 126 <para>You must run this installation from an X-window using a GL-aware 127 Xorg server or some of the JUnit tests will hang. Using an X-window from 128 the console is the preferred method.</para> 130 <important> 131 <para>You must run this installation from an X-window using a GL-aware 132 <application>Xorg</application> server or some of the 133 <application>JUnit</application> tests will hang. Using an X-window from 134 the console is the preferred method.</para> 135 </important> 129 136 130 137 <para>Ensure <envar>$JAVA_HOME</envar> is set correctly before beginning … … 134 141 identified in the <envar>CLASSPATH</envar> environment variable.</para> 135 142 136 <!-- <para>Some versions of tar will display a message similar to137 <quote><computeroutput>tar: A lone zero block at 33476</computeroutput></quote>138 when unpacking the source tarball. You may safely ignore this message.</para> -->139 140 143 <sect3> 141 144 <title>Installing OFFO Hyphenation Patterns</title> … … 144 147 <application>FOP</application> source tarball and the hyphenation zipfile 145 148 from the same directory, then change directories into the root of the 146 <application>FOP</application> source tree. The XML Hyphenation patterns147 will be copiedinto the <application>FOP</application> source tree by149 <application>FOP</application> source tree. Copy the XML hyphenation 150 patterns into the <application>FOP</application> source tree by 148 151 running the following commands:</para> 149 152 … … 186 189 <title>Installing FOP Components</title> 187 190 188 <para>If <application> forrest</application> is not installed, remove191 <para>If <application>Forrest</application> is not installed, remove 189 192 a reference to it in the build.xml:</para> 193 190 194 <screen><userinput>sed -i -e "s/all,javadocs,docs/all,javadocs/" \ 191 195 -e '\#${dist.bin.result.dir}/docs#,\#</copy>#d' build.xml</userinput></screen> 192 196 193 197 <para>Compile <application>FOP</application> by running the … … 199 203 above.</para> 200 204 201 <para>Now install FOP as the <systemitem class="username">root</systemitem> user:</para> 202 203 <screen role="root"><userinput>install -v -d -m755 /opt/fop-&fop-version; && 204 pushd dist-bin/fop-&fop-version; && 205 cp -v -R * /opt/fop-&fop-version; && 206 popd && 205 <para>Now, as the <systemitem class="username">root</systemitem> 206 user:</para> 207 208 <screen role="root"><userinput>install -v -d -m755 /opt/fop-&fop-version; && 209 mv -v dist-bin/fop-&fop-version;/* /opt/fop-&fop-version; && 207 210 ln -v -sf fop-&fop-version; /opt/fop</userinput></screen> 208 211 209 212 </sect3> 210 211 <!-- <sect3>212 <title>Installing the Batik JAR</title>213 214 <para>You'll need to install one additional <application>Java</application>215 class library to process SVG objects. This library is part of the216 <ulink url="http://xml.apache.org/batik/">Batik</ulink> package, but is217 also included with the <application>FOP</application> package. If you218 have <application>Batik</application> installed, ensure the219 <filename>batik.jar</filename> library is included in your220 <envar>$CLASSPATH</envar> environment variable. Alternatively, create a221 symbolic link from <filename>/opt/fop-&fop-version;/lib/batik.jar</filename>222 pointing to the full path of the installed <filename>batik.jar</filename>223 file so that the <command>fop.sh</command> script will automatically pick it224 up.</para>225 226 <para>If you don't have the <application>Batik</application> package227 installed, run the following commands as the <systemitem228 class="username">root</systemitem> user:</para>229 230 <screen role="root"><userinput>install -v -m644 lib/batik.jar /opt/fop-&fop-version;/lib &&231 install -v -m644 lib/batik.LICENSE.txt \232 /opt/fop-&fop-version;/docs/lib</userinput></screen>233 234 </sect3>235 236 <sect3>237 <title>Installing the Xalan-Java components</title>238 239 <para>The components of <application>FOP</application> required to240 process FO files created by an XSL transformation engine (also known241 as an XSLT processor) is now complete. An XSL transformation engine242 (<command>xsltproc</command>) is included with the243 <xref linkend="libxslt"/> package in BLFS. The244 <application>FOP</application> package includes components of245 <ulink url="http://xml.apache.org/xalan-j/">Xalan-Java</ulink> to246 accomplish XSL transformations. If you have the247 <application>Xalan-Java</application> package installed, skip to248 the next section.</para>249 250 <para>If you wish to install the <application>Xalan-Java</application>251 components provided by the <application>FOP</application>252 package, run the following commands as the <systemitem253 class="username">root</systemitem> user:</para>254 255 <screen role="root"><userinput>sed -i "s/build/lib/" xalan.sh &&256 install -v -m755 xalan.sh /opt/fop-&fop-version;/bin &&257 install -v -m644 lib/xml-apis.jar \258 lib/xercesImpl-2.2.1.jar \259 lib/xalan-2.4.1.jar \260 /opt/fop-&fop-version;/lib &&261 install -v -m644 lib/{xml-apis,xerces,xalan}.LICENSE.txt \262 lib/xml-apis.README.txt \263 /opt/fop-&fop-version;/docs/lib</userinput></screen>264 265 </sect3>266 267 <sect3>268 <title>Installing the Jimi SDK JAR</title>269 270 <para>If you installed the Java Image I/O class library271 (<application>Jimi SDK</application>) into the272 <application>FOP</application> source tree273 <filename class='directory'>lib</filename> directory before building274 <application>FOP</application> (this will enable Jimi275 support), ensure you also install this JAR file into276 <filename class='directory'>/opt/fop-&fop-version;/lib</filename>.</para>277 278 </sect3> -->279 213 280 214 </sect2> … … 289 223 <application>FOP</application> tarball can be found.</para> 290 224 291 <para><command>sh $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin</command>: This 225 <para><command>sh 226 $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin</command>: This 292 227 command installs the <application>JAI</application> components 293 228 into the <application>JDK</application> file structure. … … 295 230 executable.</para> 296 231 297 <!-- <para><command>sed -i "s/build/lib/" ...</command>: These commands modify 298 the installed shell scripts so that the location of the installed 299 <filename>fop.jar</filename> file is correctly identified.</para> --> 300 301 <!-- <para><command>install -v ...; cp -v ...</command>: There is no installation 302 script provided by the <application>FOP</application> 303 package. These commands install the package.</para> --> 304 305 <para><command>ant dist</command>: This reads the <filename>build.xml</filename> 306 file and performs the <option>dist</option> target that builds the 307 package and runs the unit regression tests. It also creates the Java API 308 documentation and a directory where the newly created binaries are placed 309 into. This directory is used to install <application>FOP</application> 310 to its final place.</para> 232 <para><command>ant dist</command>: This reads the 233 <filename>build.xml</filename> file's <option>dist</option> target, 234 builds the package and runs the unit regression tests. It also creates the 235 Java API documentation and a directory where the newly created binaries 236 are placed. This directory is used to install <application>FOP</application> 237 into its final place.</para> 311 238 312 239 <para><command>ln -v -sf fop-&fop-version; /opt/fop</command>: This is
Note:
See TracChangeset
for help on using the changeset viewer.