Changeset 50cc5ad for pst/ps/fop.xml
- Timestamp:
- 11/19/2008 07:13:14 AM (15 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:
- a3146e1
- Parents:
- 8e82479
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/ps/fop.xml
r8e82479 r50cc5ad 13 13 <!ENTITY fop-time "0.9 SBU"> 14 14 15 <!ENTITY jai-download "http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jai-1_1_2_01-oth-JPR&SiteId=JSC&TransactionId=noreg"> 16 <!ENTITY jai-md5sum "f2be3619a8d002eff3874355e96327eb"> 17 <!ENTITY jai-size "2.6 MB"> 15 <!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 "a63b661c4940582aa1679233e5f518b2"> 18 <!ENTITY jai-size "3.4 MB"> 18 19 19 20 <!ENTITY offo-download "&sourceforge-repo;/offo/offo-hyphenation.zip"> … … 85 86 <para>Java Advanced Imaging (JAI) API components: 86 87 <simplelist> 87 <member> 88 <ulink url="&jai-download;"> 89 http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&</ulink> 90 <ulink url="&jai-download;"> 91 PartDetailId=jai-1_1_2_01-oth-JPR&SiteId=JSC&TransactionId=noreg</ulink> 92 </member> 88 <member><ulink url="&jai-download;"/></member> 93 89 <member>&jai-md5sum;</member> 94 90 <member>&jai-size;</member> 95 <member>Choose the <quote>Linux JDK Install</quote> file after96 accepting the license agreement.</member>97 91 </simplelist> 98 92 </para> … … 156 150 157 151 <tip> 158 <para>The <command>$FOP_ BUILD_DIR/JAI.bin</command>152 <para>The <command>$FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin</command> 159 153 command below installs the JAI components in the JDK tree. You will be 160 154 required to view, and then accept (by entering a <keycap>y</keycap> … … 171 165 root of the <application>FOP</application> source tree:</para> 172 166 173 <screen role="root"><userinput>install -m755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin JAI.bin && 167 <!-- JAI make tail +nnn only for SunOS now 168 <screen role="root"><userinput>install -m755 ../jai-&jai-version;-lib-linux-i586-jdk.bin JAI.bin && 174 169 sed -i 's/tail +122/tail -n +122/' JAI.bin && 175 176 FOP_BUILD_DIR=$(pwd) && 177 cd $JAVA_HOME && 178 179 $FOP_BUILD_DIR/JAI.bin && 180 181 cd $FOP_BUILD_DIR && 182 rm JAI.bin</userinput></screen> 170 --> 171 <screen role="root"><userinput>FOP_PKG_DIR=$(pwd)/.. && 172 pushd $JAVA_HOME && 173 sh $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin && 174 popd</userinput></screen> 183 175 184 176 </sect3> … … 187 179 <title>Installing FOP Components</title> 188 180 189 <para>Install <application>FOP</application> by running the 181 <para>In case of not having <application>forrest</application> installed, remove 182 a reference to it in the build.xml:</para> 183 <screen><userinput>sed -i -e "s/all,javadocs,docs/all,javadocs/" \ 184 -e '\#${dist.bin.result.dir}/docs#,\#</copy>#d' build.xml</userinput></screen> 185 186 <para>Compile <application>FOP</application> by running the 190 187 following commands:</para> 191 188 192 <screen><userinput>ant && 193 ant javadocs</userinput></screen> 189 <screen><userinput>ant dist</userinput></screen> 194 190 195 191 <para>The unit regression tests were performed in the build step 196 192 above.</para> 197 193 198 <para>Now ,as the <systemitem class="username">root</systemitem> user:</para>194 <para>Now install FOP as the <systemitem class="username">root</systemitem> user:</para> 199 195 200 196 <screen role="root"><userinput>install -v -d -m755 /opt/fop-&fop-version; && 197 pushd dist-bin/fop-&fop-version; && 201 198 cp -v -R * /opt/fop-&fop-version; && 199 popd && 202 200 ln -v -sf fop-&fop-version; /opt/fop</userinput></screen> 203 201 … … 278 276 <title>Command Explanations</title> 279 277 280 <para><command>sed -i 's/tail +122/tail -n +122/' ...</command>: 281 The <application>JAI</application> binary file has a <command>tail</command> 282 command imbedded in the file which uses obsolete syntax and causes the 283 file to unpack incorrectly. This command fixes the obsolete 284 syntax.</para> 285 286 <para><command>$FOP_BUILD_DIR/JAI.bin</command>: This 278 <para><command>FOP_PKG_DIR=$(pwd)/..</command>: Assuming that the source packages 279 are stored one level above of the current working directory. This is the allways default - but 280 may be different because of personal tast. Change this to match the directory where the 281 FOP tarball can be found.</para> 282 283 <para><command>sh $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin</command>: This 287 284 command installs the <application>JAI</application> components 288 285 into the <application>JDK</application> file structure. 289 <envar>$FOP_BUILD_DIR</envar> is used as a reference point to the source 290 executable and as a method to return back to the 291 <application>FOP</application> source tree.</para> 286 <envar>$FOP_PKG_DIR</envar> is used as a reference point to the source 287 executable.</para> 292 288 293 289 <!-- <para><command>sed -i "s/build/lib/" ...</command>: These commands modify … … 299 295 package. These commands install the package.</para> --> 300 296 301 <para><command>ant</command>: This reads the <filename>build.xml</filename> 302 file and performs the default <option>all</option> target which builds the 303 package and runs the unit regression tests.</para> 304 305 <para><command>ant javadocs</command>: This builds the Java API 306 documentation. Omit this step if desired.</para> 297 <para><command>ant dist</command>: This reads the <filename>build.xml</filename> 298 file and performs the <option>dist</option> target which builds the 299 package and runs the unit regression tests. It also creates the Java API documentation 300 and a directory where the newly created binaries are placed into. This directory is 301 used to install <application>FOP</application> to its final place.</para> 307 302 308 303 <para><command>ln -v -sf fop-&fop-version; /opt/fop</command>: This is
Note:
See TracChangeset
for help on using the changeset viewer.