Changeset 48bd327


Ignore:
Timestamp:
11/12/2010 12:59:28 AM (13 years ago)
Author:
Randy McMurchy <randy@…>
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
Message:

Updated to FOP-1.0

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r91a9ba6 r48bd327  
    862862<!ENTITY xpdf-version                 "3.02">
    863863<!ENTITY epdfview-version             "0.1.7">
    864 <!ENTITY fop-version                  "0.95">
     864<!ENTITY fop-version                  "1.0">
    865865<!ENTITY paps-version                 "0.6.8">
    866866
  • introduction/welcome/changelog.xml

    r91a9ba6 r48bd327  
    4545      <para>November 12th, 2010</para>
    4646      <itemizedlist>
     47        <listitem>
     48          <para>[randy] - Updated to FOP-1.0.</para>
     49        </listitem>
    4750        <listitem>
    4851          <para>[randy] - Updated to unixODBC-2.3.0.</para>
  • pst/ps/fop.xml

    r91a9ba6 r48bd327  
    88  <!-- <!ENTITY fop-download-ftp  "ftp://apache.mirrors.pair.com/xmlgraphics/fop/fop-&fop-version;-src.tar.gz"> -->
    99  <!ENTITY fop-download-ftp  "&sources-anduin-ftp;/f/fop-&fop-version;-src.tar.gz">
    10   <!ENTITY fop-md5sum        "58593e6c86be17d7dc03c829630fd152">
    11   <!ENTITY fop-size          "13.1 MB">
    12   <!ENTITY fop-buildsize     "356 MB">
    13   <!ENTITY fop-time          "1.4 SBU">
     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">
    1414
    1515  <!ENTITY jai-version       "1_1_3">
     
    1818  <!ENTITY jai-size          "3.4 MB">
    1919
    20   <!ENTITY offo-download     "&sourceforge-repo;/offo/offo-hyphenation_v1.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">
    2323]>
    2424
     
    112112    <bridgehead renderas="sect4">Optional</bridgehead>
    113113    <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>
    117121
    118122    <para condition="html" role="usernotes">User Notes:
     
    124128    <title>Installation of FOP</title>
    125129
    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>
    129136
    130137    <para>Ensure <envar>$JAVA_HOME</envar> is set correctly before beginning
     
    134141    identified in the <envar>CLASSPATH</envar> environment variable.</para>
    135142
    136     <!-- <para>Some versions of tar will display a message similar to
    137     <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 
    140143    <sect3>
    141144      <title>Installing OFFO Hyphenation Patterns</title>
     
    144147      <application>FOP</application> source tarball and the hyphenation zipfile
    145148      from the same directory, then change directories into the root of the
    146       <application>FOP</application> source tree. The XML Hyphenation patterns
    147       will be copied into the <application>FOP</application> source tree by
     149      <application>FOP</application> source tree. Copy the XML hyphenation
     150      patterns into the <application>FOP</application> source tree by
    148151      running the following commands:</para>
    149152
     
    186189      <title>Installing FOP Components</title>
    187190
    188       <para>If <application>forrest</application> is not installed, remove
     191      <para>If <application>Forrest</application> is not installed, remove
    189192      a reference to it in the build.xml:</para>
     193
    190194<screen><userinput>sed -i -e "s/all,javadocs,docs/all,javadocs/" \
    191            -e '\#${dist.bin.result.dir}/docs#,\#&lt;/copy&gt;#d' build.xml</userinput></screen>
     195       -e '\#${dist.bin.result.dir}/docs#,\#&lt;/copy&gt;#d' build.xml</userinput></screen>
    192196
    193197      <para>Compile <application>FOP</application> by running the
     
    199203      above.</para>
    200204
    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; &amp;&amp;
    204 pushd dist-bin/fop-&fop-version; &amp;&amp;
    205 cp -v -R * /opt/fop-&fop-version; &amp;&amp;
    206 popd &amp;&amp;
     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; &amp;&amp;
     209mv -v dist-bin/fop-&fop-version;/* /opt/fop-&fop-version; &amp;&amp;
    207210ln -v -sf fop-&fop-version; /opt/fop</userinput></screen>
    208211
    209212    </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 the
    216       <ulink url="http://xml.apache.org/batik/">Batik</ulink> package, but is
    217       also included with the <application>FOP</application> package. If you
    218       have <application>Batik</application> installed, ensure the
    219       <filename>batik.jar</filename> library is included in your
    220       <envar>$CLASSPATH</envar> environment variable. Alternatively, create a
    221       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 it
    224       up.</para>
    225 
    226       <para>If you don't have the <application>Batik</application> package
    227       installed, run the following commands as the <systemitem
    228       class="username">root</systemitem> user:</para>
    229 
    230 <screen role="root"><userinput>install -v -m644 lib/batik.jar /opt/fop-&fop-version;/lib &amp;&amp;
    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 to
    240       process FO files created by an XSL transformation engine (also known
    241       as an XSLT processor) is now complete. An XSL transformation engine
    242       (<command>xsltproc</command>) is included with the
    243       <xref linkend="libxslt"/> package in BLFS. The
    244       <application>FOP</application> package includes components of
    245       <ulink url="http://xml.apache.org/xalan-j/">Xalan-Java</ulink> to
    246       accomplish XSL transformations. If you have the
    247       <application>Xalan-Java</application> package installed, skip to
    248       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 <systemitem
    253       class="username">root</systemitem> user:</para>
    254 
    255 <screen role="root"><userinput>sed -i "s/build/lib/" xalan.sh &amp;&amp;
    256 install -v -m755 xalan.sh /opt/fop-&fop-version;/bin &amp;&amp;
    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 &amp;&amp;
    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 library
    271       (<application>Jimi SDK</application>) into the
    272       <application>FOP</application> source tree
    273       <filename class='directory'>lib</filename> directory before building
    274       <application>FOP</application> (this will enable Jimi
    275       support), ensure you also install this JAR file into
    276       <filename class='directory'>/opt/fop-&fop-version;/lib</filename>.</para>
    277 
    278     </sect3> -->
    279213
    280214  </sect2>
     
    289223    <application>FOP</application> tarball can be found.</para>
    290224
    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
    292227    command installs the <application>JAI</application> components
    293228    into the <application>JDK</application> file structure.
     
    295230    executable.</para>
    296231
    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>
    311238
    312239    <para><command>ln -v -sf fop-&fop-version; /opt/fop</command>: This is
Note: See TracChangeset for help on using the changeset viewer.