Changeset 6f6f731 for pst/ps


Ignore:
Timestamp:
05/17/2020 01:44:36 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
42e419b5
Parents:
8c03e97
Message:

fop-2.5

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/ps/fop.xml

    r8c03e97 r6f6f731  
    77  <!ENTITY fop-download-http "https://archive.apache.org/dist/xmlgraphics/fop/source/fop-&fop-version;-src.tar.gz">
    88  <!ENTITY fop-download-ftp  " ">
    9   <!ENTITY fop-md5sum        "e379d5916bc705b6fd3808a77f5d8478">
     9  <!ENTITY fop-md5sum        "5e7e87ef12845d31bce7a1fe8d61f501">
    1010  <!ENTITY fop-size          "26 MB">
    11   <!ENTITY fop-buildsize     "252 MB ">
     11  <!ENTITY fop-buildsize     "491 MB ">
    1212  <!ENTITY fop-time          "0.4 SBU">
    1313
     
    2020  <!ENTITY fontbox-md5sum    "74b3b8ee7eef40b0aff5ca5aa07d96f7">
    2121  <!ENTITY fontbox-size      "1.5 MB">
     22
     23  <!ENTITY maven-major        "3">
     24  <!ENTITY maven-version      "3.6.3">
     25  <!ENTITY maven-download     "http://mirror.reverse.net/pub/apache/maven/maven-&maven-major;/&maven-version;/binaries/apache-maven-&maven-version;-bin.tar.gz">
     26  <!ENTITY maven-md5sum       "9792c717f5845d952907d5144b8253c3">
     27  <!ENTITY maven-size         "9 MB (additionally, about 100 MB are downloaded to the building user's directory)">
    2228
    2329  <!ENTITY offo-download     "&sourceforge-dl;/offo/2.2/offo-hyphenation.zip">
     
    112118        </para>
    113119      </listitem>
     120      <listitem>
     121        <para>
     122          Maven build system:
     123          <simplelist>
     124            <member><ulink url="&maven-download;"/></member>
     125            <member>&maven-md5sum;</member>
     126            <member>&maven-size;</member>
     127          </simplelist>
     128        </para>
     129      </listitem>
    114130    </itemizedlist>
    115131
     
    139155<!-- Included into ant      <xref linkend="junit"/> (to run tests),-->
    140156      <xref linkend="x-window-system"/> (to run tests),
    141 <!--      <xref linkend="maven"/> (an alternate build system), not funcional
     157<!--      <xref linkend="maven"/> (an alternate build system), not functional
    142158      with fop-2.3          -->
    143159      <ulink url="http://jai-tools.blogspot.com/">JAI Image I/O Tools</ulink>, and
     
    145161<!-- [pierre 2017-04-29] Note to devs: there are a lot of bundled dependencies.
    146162     Some were listed here, but not all. I am not sure it is possible to
    147      use system ones. So, I have removed them, an kept only those which
     163     use system ones. So, I have removed them, and kept only those which
    148164     are not bundled. -->
    149165    </para>
     
    176192cp offo-hyphenation/hyph/* fop/hyph &amp;&amp;
    177193rm -rf offo-hyphenation</userinput></screen>
     194
     195    </sect3>
     196
     197    <sect3>
     198      <title>Installing a temporary Maven binary</title>
     199
     200      <para>
     201        Starting with fop-2.5, the Maven build system is required. We use
     202        the binary provided by apache, that we install in a temporary location:
     203      </para>
     204
     205<screen><userinput>tar -xf ../apache-maven-&maven-version;-bin.tar.gz -C /tmp</userinput></screen>
    178206
    179207    </sect3>
     
    206234
    207235      <para>
    208         With <xref linkend="openjdk"/>, the minimum source version is 1.7,
    209         while <application>FOP</application> build system has 1.6. Change that:
    210       </para>
    211 
    212 <screen><userinput>sed -e 's/1\.6/1.7/' \
    213     -i fop/build.xml</userinput></screen>
    214 
    215       <para>
    216236        The <filename>build.xml</filename> file calls for an old version of
    217237        <application>PDFBox</application> components that are no longer
     
    226246      </para>
    227247
    228 <screen><userinput>cd fop                    &amp;&amp;
    229 export LC_ALL=en_US.UTF-8 &amp;&amp;
    230 ant all javadocs          &amp;&amp;
     248<screen><userinput>cd fop &amp;&amp;
     249
     250LC_ALL=en_US.UTF-8                     \
     251PATH=$PATH:/tmp/apache-maven-&maven-version;/bin \
     252ant all javadocs &amp;&amp;
     253
    231254mv build/javadocs .</userinput></screen>
    232255
    233256      <para>
    234         The <application>junit</application> test suite was run as part of the
    235         above commands.
     257        This package comes with a testsuite, but the java infrastructure
     258        installed in this book does not allow running it.
    236259      </para>
    237260 
     
    245268chmod a+x /opt/fop-&fop-version;/fop                                &amp;&amp;
    246269ln -v -sfn fop-&fop-version; /opt/fop</userinput></screen>
     270
     271      <para>
     272        The last thing to do is to clean what we have done:
     273      </para>
     274
     275<screen><userinput>rm -rf /tmp/apache-maven-&maven-version;</userinput></screen>
    247276
    248277    </sect3>
     
    411440          <para>
    412441            is a wrapper script to the <command>java</command> command
    413           which sets up the <application>fop</application>
    414           environment and passes the required parameters.
     442            which sets up the <application>fop</application>
     443            environment and passes the required parameters.
    415444          </para>
    416445          <indexterm zone="fop fop-prog">
Note: See TracChangeset for help on using the changeset viewer.