Changeset 50cc5ad for pst/ps/fop.xml


Ignore:
Timestamp:
11/19/2008 07:13:14 AM (15 years ago)
Author:
Thomas Trepl <thomas@…>
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
Message:

Version update FOP and JAI (#2566 and #2392)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7602 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/ps/fop.xml

    r8e82479 r50cc5ad  
    1313  <!ENTITY fop-time          "0.9 SBU">
    1414
    15   <!ENTITY jai-download      "http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;PartDetailId=jai-1_1_2_01-oth-JPR&amp;SiteId=JSC&amp;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">
    1819
    1920  <!ENTITY offo-download     "&sourceforge-repo;/offo/offo-hyphenation.zip">
     
    8586        <para>Java Advanced Imaging (JAI) API components:
    8687          <simplelist>
    87             <member>
    88               <ulink url="&jai-download;">
    89               http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;</ulink>
    90               <ulink url="&jai-download;">
    91               PartDetailId=jai-1_1_2_01-oth-JPR&amp;SiteId=JSC&amp;TransactionId=noreg</ulink>
    92             </member>
     88            <member><ulink url="&jai-download;"/></member>
    9389            <member>&jai-md5sum;</member>
    9490            <member>&jai-size;</member>
    95             <member>Choose the <quote>Linux JDK Install</quote> file after
    96             accepting the license agreement.</member>
    9791          </simplelist>
    9892        </para>
     
    156150
    157151      <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>
    159153        command below installs the JAI components in the JDK tree. You will be
    160154        required to view, and then accept (by entering a <keycap>y</keycap>
     
    171165      root of the <application>FOP</application> source tree:</para>
    172166
    173 <screen role="root"><userinput>install -m755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin JAI.bin &amp;&amp;
     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 &amp;&amp;
    174169sed -i 's/tail +122/tail -n +122/' JAI.bin &amp;&amp;
    175 
    176 FOP_BUILD_DIR=$(pwd) &amp;&amp;
    177 cd $JAVA_HOME &amp;&amp;
    178 
    179 $FOP_BUILD_DIR/JAI.bin &amp;&amp;
    180 
    181 cd $FOP_BUILD_DIR &amp;&amp;
    182 rm JAI.bin</userinput></screen>
     170-->
     171<screen role="root"><userinput>FOP_PKG_DIR=$(pwd)/.. &amp;&amp;
     172pushd $JAVA_HOME &amp;&amp;
     173sh $FOP_PKG_DIR/jai-&jai-version;-lib-linux-i586-jdk.bin &amp;&amp;
     174popd</userinput></screen>
    183175
    184176    </sect3>
     
    187179      <title>Installing FOP Components</title>
    188180
    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#,\#&lt;/copy&gt;#d' build.xml</userinput></screen>
     185
     186      <para>Compile <application>FOP</application> by running the
    190187      following commands:</para>
    191188
    192 <screen><userinput>ant &amp;&amp;
    193 ant javadocs</userinput></screen>
     189<screen><userinput>ant dist</userinput></screen>
    194190
    195191      <para>The unit regression tests were performed in the build step
    196192      above.</para>
    197193
    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>
    199195
    200196<screen role="root"><userinput>install -v -d -m755 /opt/fop-&fop-version; &amp;&amp;
     197pushd dist-bin/fop-&fop-version; &amp;&amp;
    201198cp -v -R * /opt/fop-&fop-version; &amp;&amp;
     199popd &amp;&amp;
    202200ln -v -sf fop-&fop-version; /opt/fop</userinput></screen>
    203201
     
    278276    <title>Command Explanations</title>
    279277
    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
    287284    command installs the <application>JAI</application> components
    288285    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>
    292288
    293289    <!-- <para><command>sed -i "s/build/lib/" ...</command>: These commands modify
     
    299295    package. These commands install the package.</para> -->
    300296
    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>
    307302
    308303    <para><command>ln -v -sf fop-&fop-version; /opt/fop</command>: This is
Note: See TracChangeset for help on using the changeset viewer.