Changeset 1d3a3fa for pst


Ignore:
Timestamp:
12/15/2005 08:42:00 PM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
28bfba0
Parents:
fd2aad88
Message:

Added a sed command to the FOP instructions to fix a tail command with obsolete syntax in the JAI binary

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/ps/fop.xml

    rfd2aad88 r1d3a3fa  
    133133      root of the <application>FOP</application> source tree:</para>
    134134
    135 <screen role="root"><userinput>chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &amp;&amp;
     135<screen role="root"><userinput>sed -i 's/tail +122/tail -n +122/' \
     136    ../jai-1_1_2_01-lib-linux-i586-jdk.bin &amp;&amp;
     137chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &amp;&amp;
    136138FOP_BUILD_DIR=$(pwd) &amp;&amp;
    137139cd $JAVA_HOME &amp;&amp;
     
    149151<screen><userinput>patch -Np1 -i ../fop-&fop-version;-jdk_1.5.0-1.patch &amp;&amp;
    150152./build.sh &amp;&amp;
    151 sed -i -e "s/build/lib/" fop.sh</userinput></screen>
     153sed -i "s/build/lib/" fop.sh</userinput></screen>
    152154
    153155      <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    212214      class="username">root</systemitem> user:</para>
    213215
    214 <screen role="root"><userinput>sed -i -e "s/build/lib/" xalan.sh &amp;&amp;
     216<screen role="root"><userinput>sed -i "s/build/lib/" xalan.sh &amp;&amp;
    215217install -v -m755 xalan.sh /opt/fop-&fop-version;/bin &amp;&amp;
    216218install -v -m644 lib/xml-apis.jar \
     
    242244    <title>Command Explanations</title>
    243245
     246    <para><command>sed -i 's/tail +122/tail -n +122/' ...</command>:
     247    The <application>JAI</application> binary file has a <command>tail</command>
     248    command imbedded in the file which uses obsolete syntax and causes the
     249    file to not unpack correctly. This command fixes the obsolete
     250    syntax.</para>
     251
    244252    <para><command>yes | $FOP_BUILD_DIR/../jai-...-jdk.bin</command>: This
    245253    command installs the <application>JAI</application> components
     
    251259    the <application>FOP</application> source tree.</para>
    252260
    253     <para><command>sed -i -e "s/build/lib/" ...</command>: These commands modify
     261    <para><command>sed -i "s/build/lib/" ...</command>: These commands modify
    254262    the installed shell scripts so that the location of the installed
    255263    <filename>fop.jar</filename> file is correctly identified.</para>
Note: See TracChangeset for help on using the changeset viewer.