Author: bdubbs
Date: 2012-10-28 14:30:43 -0600 (Sun, 28 Oct 2012)
New Revision: 10813

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/pst/ps/a2ps.xml
   trunk/BOOK/pst/ps/fop.xml
Log:
Update to fop-1.1.
Tag a2ps


Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2012-10-28 16:21:20 UTC (rev 10812)
+++ trunk/BOOK/general.ent      2012-10-28 20:30:43 UTC (rev 10813)
@@ -928,7 +928,7 @@
 <!ENTITY gsview-version               "4.8">
 <!ENTITY xpdf-version                 "3.02">
 <!ENTITY epdfview-version             "0.1.8">
-<!ENTITY fop-version                  "1.0">
+<!ENTITY fop-version                  "1.1">
 <!ENTITY paps-version                 "0.6.8">
 
 <!-- Removed

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       2012-10-28 16:21:20 UTC 
(rev 10812)
+++ trunk/BOOK/introduction/welcome/changelog.xml       2012-10-28 20:30:43 UTC 
(rev 10813)
@@ -44,6 +44,15 @@
 
 -->
     <listitem>
+      <para>October 28th, 2012</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to fop-1.1.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>October 26th, 2012</para>
       <itemizedlist>
         <listitem>
@@ -210,7 +219,6 @@
       </itemizedlist>
     </listitem>
 
-
     <listitem>
       <para>October 23rd, 2012</para>
       <itemizedlist>

Modified: trunk/BOOK/pst/ps/a2ps.xml
===================================================================
--- trunk/BOOK/pst/ps/a2ps.xml  2012-10-28 16:21:20 UTC (rev 10812)
+++ trunk/BOOK/pst/ps/a2ps.xml  2012-10-28 20:30:43 UTC (rev 10813)
@@ -36,7 +36,7 @@
     every input format into PostScript output. The application's name
     expands appropriately to <quote>all to PostScript</quote>.</para>
 
-    &lfs70_checked;
+    &lfs72_checked;
 
     <caution>
       <para><application>a2ps</application> cannot convert UTF-8 encoded

Modified: trunk/BOOK/pst/ps/fop.xml
===================================================================
--- trunk/BOOK/pst/ps/fop.xml   2012-10-28 16:21:20 UTC (rev 10812)
+++ trunk/BOOK/pst/ps/fop.xml   2012-10-28 20:30:43 UTC (rev 10813)
@@ -6,10 +6,10 @@
 
   <!ENTITY fop-download-http 
"http://archive.apache.org/dist/xmlgraphics/fop/source/fop-&fop-version;-src.tar.gz";>
   <!ENTITY fop-download-ftp  " ">
-  <!ENTITY fop-md5sum        "95dcc4c2dd08b4bc88ce9ce1ee88c439">
-  <!ENTITY fop-size          "16.1 MB">
-  <!ENTITY fop-buildsize     "360 MB">
-  <!ENTITY fop-time          "2.8 SBU">
+  <!ENTITY fop-md5sum        "7b63af514b28c06fe710a794cbf4d68e">
+  <!ENTITY fop-size          "23 MB">
+  <!ENTITY fop-buildsize     "206 MB">
+  <!ENTITY fop-time          "0.5 SBU">
 
   <!ENTITY jai-version       "1_1_3">
   <!ENTITY jai-download      
"http://download.java.net/media/jai/builds/release/&jai-version;/jai-&jai-version;-lib-linux-i586.tar.gz";>
@@ -19,10 +19,11 @@
   <!ENTITY jai64-download    
"http://download.java.net/media/jai/builds/release/&jai-version;/jai-&jai-version;-lib-linux-amd64.tar.gz";>
   <!ENTITY jai64-md5sum      "4a906db35612f668aeef2c0606d7075b">
   <!ENTITY jai64-size        "3.4 MB">
-
+<!--
   <!ENTITY offo-download     
"&sourceforge-repo;/offo/offo-hyphenation_v2.0.zip">
   <!ENTITY offo-md5sum       "a78171d47c9af223c51bbd42df36f26d">
   <!ENTITY offo-size         "858 KB">
+-->
 ]>
 
 <sect1 id="fop" xreflabel="fop-&fop-version;">
@@ -50,7 +51,7 @@
     SVG, XML (area tree representation), print, AWT, MIF and ASCII text. The
     primary output target is PDF.</para>
 
-    &lfs70_checked;
+    &lfs72_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -75,9 +76,10 @@
     </itemizedlist>
 
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
-
     <itemizedlist spacing="compact">
       <title>Required packages</title>
+
+<!--
       <listitem>
         <para>Objects for Formatting Objects (OFFO) hyphenation patterns:
           <simplelist>
@@ -87,6 +89,7 @@
           </simplelist>
         </para>
       </listitem>
+-->
       <listitem>
         <para>Java Advanced Imaging (JAI) API components (architecture 
dependent):
           <simplelist>
@@ -113,6 +116,7 @@
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
+      <xref linkend="junit"/> (to run tests),
       <ulink url="http://java.sun.com/products/jimi/";>JIMI SDK</ulink>,
       <ulink url="http://xmlunit.sourceforge.net/";>XMLUnit</ulink>,
       <ulink url="https://jai-imageio.dev.java.net/";>JAI Image I/O 
Tools</ulink>,
@@ -120,7 +124,7 @@
       <ulink url="http://pmd.sourceforge.net";>PMD</ulink>
           (requires <ulink url="http://jaxen.codehaus.org/";>Jaxen</ulink>), and
       <ulink url="http://forrest.apache.org/";>Forrest</ulink> (Forrest used 
only
-      to rebuild the documentation)
+      to build the documentation)
     </para>
 
     <para condition="html" role="usernotes">User Notes:
@@ -142,7 +146,7 @@
     <application>XMLUnit</application> extension classes, ensure the
     corresponding <filename class='extension'>.jar</filename> files can be
     found via the <envar>CLASSPATH</envar> environment variable.</para>
-
+<!--
     <sect3>
       <title>Installing OFFO Hyphenation Patterns</title>
 
@@ -156,7 +160,7 @@
 rm -rf ../offo-hyphenation</userinput></screen>
 
     </sect3>
-
+-->
     <sect3>
       <title>Installing Java Advanced Imaging (JAI) API components</title>
 
@@ -176,31 +180,35 @@
     cp -v jai-&jai-version;/lib/libmlib_jai.so             
$JAVA_HOME/jre/lib/amd64/
     ;;
 esac</userinput></screen>
-
     </sect3>
 
     <sect3>
       <title>Installing fop Components</title>
 
-      <para>If <application>Forrest</application> is not installed, remove
-      a reference to it in the build.xml:</para>
-
-<screen><userinput>sed -i -e "s/all,javadocs,docs/all,javadocs/" \
-       -e '\#${dist.bin.result.dir}/docs#,\#&lt;/copy&gt;#d' 
build.xml</userinput></screen>
-
       <para>Compile <application>fop</application> by running the
       following commands:</para>
 
-<screen><userinput>ant dist</userinput></screen>
+<screen><userinput>ant compile &amp;&amp;
+ant jar-main &amp;&amp;
+ant javadocs &amp;&amp;
+mv build/javadocs .</userinput></screen>
 
-      <para>The unit regression tests were performed in the build step
-      above.</para>
+      <para>If <application>Forrest</application> is installed,
+      build the full set of documentation:</para>
 
+<screen><userinput>ant docs</userinput></screen>
+
+      <para>To test the application run <command>ant junit-all</command>.
+      The hyphenation tests will fail.  To see a list of other
+      test targets, use <command>ant -p</command>.</para>
+
       <para>Now, as the <systemitem class="username">root</systemitem>
       user:</para>
 
-<screen role="root"><userinput>install -v -d -m755      /opt/fop-&fop-version; 
&amp;&amp;
-mv -v dist-bin/fop-&fop-version;/* /opt/fop-&fop-version; &amp;&amp;
+<screen role="root"><userinput>install -v -d -m755                             
        /opt/fop-&fop-version; &amp;&amp;
+cp -v  KEYS LICENSE NOTICE README                       /opt/fop-&fop-version; 
&amp;&amp;
+cp -va build conf examples fop* javadocs lib status.xml /opt/fop-&fop-version; 
&amp;&amp;
+
 ln -v -sf fop-&fop-version; /opt/fop</userinput></screen>
 
     </sect3>
@@ -210,12 +218,8 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>ant dist</command>: This reads the
-    <filename>build.xml</filename> file's <option>dist</option> target,
-    builds the package and runs the unit regression tests. It also creates the
-    Java API documentation and a directory where the newly created binaries
-    are placed. This directory is used to install 
<application>fop</application>
-    into its final place.</para>
+    <para><command>ant <option>target</option></command>: This reads the file
+    <filename>build.xml</filename> and builds the target files.</para>
 
     <para><command>ln -v -sf fop-&fop-version; /opt/fop</command>: This is
     optional and creates a convenience symlink so that <envar>$FOP_HOME</envar>
@@ -265,7 +269,6 @@
 <screen><userinput>cat &gt; ~/.foprc &lt;&lt; "EOF"
 <literal>FOP_OPTS="-Xmx<replaceable>&lt;RAM_Installed&gt;</replaceable>m"
 FOP_HOME="/opt/fop"</literal>
-
 EOF</userinput></screen>
 
       <para>Replace <replaceable>&lt;RAM_Installed&gt;</replaceable> with a
@@ -280,6 +283,15 @@
 
 <screen><literal>PATH=$PATH:/opt/fop</literal></screen>
 
+       <note><para>Running <command>fop</command> can be somewhat verbose.
+       The default logging level can be changed from INFO to any of
+       FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, ALL, or OFF.
+       To do this, edit 
+       <filename>$JAVA_HOME/jre/lib/logging.properties</filename> and change 
+       the entries for <option>.leval</option> and 
+       <option>java.util.logging.ConsoleHandler.level</option> to 
+       the desired value.</para></note>
+
     </sect3>
 
   </sect2>

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to