Changeset cbfc7b61 for pst/ps/fop.xml
- Timestamp:
- 10/28/2012 08:30:43 PM (11 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:
- 6e994229
- Parents:
- 5ee9d85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/ps/fop.xml
r5ee9d85 rcbfc7b61 7 7 <!ENTITY fop-download-http "http://archive.apache.org/dist/xmlgraphics/fop/source/fop-&fop-version;-src.tar.gz"> 8 8 <!ENTITY fop-download-ftp " "> 9 <!ENTITY fop-md5sum " 95dcc4c2dd08b4bc88ce9ce1ee88c439">10 <!ENTITY fop-size " 16.1MB">11 <!ENTITY fop-buildsize " 360MB">12 <!ENTITY fop-time " 2.8SBU">9 <!ENTITY fop-md5sum "7b63af514b28c06fe710a794cbf4d68e"> 10 <!ENTITY fop-size "23 MB"> 11 <!ENTITY fop-buildsize "206 MB"> 12 <!ENTITY fop-time "0.5 SBU"> 13 13 14 14 <!ENTITY jai-version "1_1_3"> … … 20 20 <!ENTITY jai64-md5sum "4a906db35612f668aeef2c0606d7075b"> 21 21 <!ENTITY jai64-size "3.4 MB"> 22 22 <!-- 23 23 <!ENTITY offo-download "&sourceforge-repo;/offo/offo-hyphenation_v2.0.zip"> 24 24 <!ENTITY offo-md5sum "a78171d47c9af223c51bbd42df36f26d"> 25 25 <!ENTITY offo-size "858 KB"> 26 --> 26 27 ]> 27 28 … … 51 52 primary output target is PDF.</para> 52 53 53 &lfs7 0_checked;54 &lfs72_checked; 54 55 55 56 <bridgehead renderas="sect3">Package Information</bridgehead> … … 76 77 77 78 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 78 79 79 <itemizedlist spacing="compact"> 80 80 <title>Required packages</title> 81 82 <!-- 81 83 <listitem> 82 84 <para>Objects for Formatting Objects (OFFO) hyphenation patterns: … … 88 90 </para> 89 91 </listitem> 92 --> 90 93 <listitem> 91 94 <para>Java Advanced Imaging (JAI) API components (architecture dependent): … … 114 117 <bridgehead renderas="sect4">Optional</bridgehead> 115 118 <para role="optional"> 119 <xref linkend="junit"/> (to run tests), 116 120 <ulink url="http://java.sun.com/products/jimi/">JIMI SDK</ulink>, 117 121 <ulink url="http://xmlunit.sourceforge.net/">XMLUnit</ulink>, … … 121 125 (requires <ulink url="http://jaxen.codehaus.org/">Jaxen</ulink>), and 122 126 <ulink url="http://forrest.apache.org/">Forrest</ulink> (Forrest used only 123 to rebuild the documentation)127 to build the documentation) 124 128 </para> 125 129 … … 143 147 corresponding <filename class='extension'>.jar</filename> files can be 144 148 found via the <envar>CLASSPATH</envar> environment variable.</para> 145 149 <!-- 146 150 <sect3> 147 151 <title>Installing OFFO Hyphenation Patterns</title> … … 157 161 158 162 </sect3> 159 163 --> 160 164 <sect3> 161 165 <title>Installing Java Advanced Imaging (JAI) API components</title> … … 177 181 ;; 178 182 esac</userinput></screen> 179 180 183 </sect3> 181 184 … … 183 186 <title>Installing fop Components</title> 184 187 185 <para>If <application>Forrest</application> is not installed, remove186 a reference to it in the build.xml:</para>187 188 <screen><userinput>sed -i -e "s/all,javadocs,docs/all,javadocs/" \189 -e '\#${dist.bin.result.dir}/docs#,\#</copy>#d' build.xml</userinput></screen>190 191 188 <para>Compile <application>fop</application> by running the 192 189 following commands:</para> 193 190 194 <screen><userinput>ant dist</userinput></screen> 195 196 <para>The unit regression tests were performed in the build step 197 above.</para> 191 <screen><userinput>ant compile && 192 ant jar-main && 193 ant javadocs && 194 mv build/javadocs .</userinput></screen> 195 196 <para>If <application>Forrest</application> is installed, 197 build the full set of documentation:</para> 198 199 <screen><userinput>ant docs</userinput></screen> 200 201 <para>To test the application run <command>ant junit-all</command>. 202 The hyphenation tests will fail. To see a list of other 203 test targets, use <command>ant -p</command>.</para> 198 204 199 205 <para>Now, as the <systemitem class="username">root</systemitem> 200 206 user:</para> 201 207 202 <screen role="root"><userinput>install -v -d -m755 /opt/fop-&fop-version; && 203 mv -v dist-bin/fop-&fop-version;/* /opt/fop-&fop-version; && 208 <screen role="root"><userinput>install -v -d -m755 /opt/fop-&fop-version; && 209 cp -v KEYS LICENSE NOTICE README /opt/fop-&fop-version; && 210 cp -va build conf examples fop* javadocs lib status.xml /opt/fop-&fop-version; && 211 204 212 ln -v -sf fop-&fop-version; /opt/fop</userinput></screen> 205 213 … … 211 219 <title>Command Explanations</title> 212 220 213 <para><command>ant dist</command>: This reads the 214 <filename>build.xml</filename> file's <option>dist</option> target, 215 builds the package and runs the unit regression tests. It also creates the 216 Java API documentation and a directory where the newly created binaries 217 are placed. This directory is used to install <application>fop</application> 218 into its final place.</para> 221 <para><command>ant <option>target</option></command>: This reads the file 222 <filename>build.xml</filename> and builds the target files.</para> 219 223 220 224 <para><command>ln -v -sf fop-&fop-version; /opt/fop</command>: This is … … 266 270 <literal>FOP_OPTS="-Xmx<replaceable><RAM_Installed></replaceable>m" 267 271 FOP_HOME="/opt/fop"</literal> 268 269 272 EOF</userinput></screen> 270 273 … … 280 283 281 284 <screen><literal>PATH=$PATH:/opt/fop</literal></screen> 285 286 <note><para>Running <command>fop</command> can be somewhat verbose. 287 The default logging level can be changed from INFO to any of 288 FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, ALL, or OFF. 289 To do this, edit 290 <filename>$JAVA_HOME/jre/lib/logging.properties</filename> and change 291 the entries for <option>.leval</option> and 292 <option>java.util.logging.ConsoleHandler.level</option> to 293 the desired value.</para></note> 282 294 283 295 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.