Ignore:
Timestamp:
08/07/2007 01:30:46 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
3d9e7a1
Parents:
2a91da1
Message:

Updated to AbiWord-2.4.6

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/office/abiword.xml

    r2a91da1 r10ef383  
    77  <!ENTITY AbiWord-download-http "http://www.abisource.com/downloads/abiword/&AbiWord-version;/source/abiword-&AbiWord-version;.tar.bz2">
    88  <!ENTITY AbiWord-download-ftp  " ">
    9   <!ENTITY AbiWord-md5sum        "69dd69179b861a41613291afd10af9ab">
    10   <!ENTITY AbiWord-size          "23.5 MB">
    11   <!ENTITY AbiWord-buildsize     "217 MB">
    12   <!ENTITY AbiWord-time          "3.6 SBU (to build and install the program, docs and all plugins)">
     9  <!ENTITY AbiWord-md5sum        "8ed5fb282b9741aca75b9e47500d39a1">
     10  <!ENTITY AbiWord-size          "25 MB">
     11  <!ENTITY AbiWord-buildsize     "262 MB (additional 210 MB to build and install the API docs)">
     12  <!ENTITY AbiWord-time          "4.5 SBU (to build and install the program, docs and all plugins)">
     13  <!ENTITY AbiWord-minor-version "2.4">
     14  <!ENTITY AbiWord-under-version "2_4">
    1315]>
    1416
     
    6365
    6466    <bridgehead renderas="sect4">Optional</bridgehead>
    65     <para role="optional">
    66     <ulink url="http://www.abisource.com/enchant/">Enchant</ulink>
    67     (uses <xref linkend="aspell"/>), <xref linkend="gucharmap"/>,
    68     <xref linkend="imagemagick"/> and
     67    <para role="optional"><xref linkend="libgnomeui"/> (for GNOME-2 support),
     68    <xref linkend="gucharmap"/>,
     69    <ulink url="http://www.abisource.com/enchant/">Enchant</ulink> (uses
     70    <xref linkend="aspell"/>),
    6971    <ulink url="http://wvware.sourceforge.net/">wv</ulink> (with
    70     <ulink url="http://sourceforge.net/projects/wvware">libwmf</ulink>
    71     installed first)</para>
     72    <ulink url="http://sourceforge.net/projects/wvware">libwmf</ulink> installed first), and
     73    <ulink url="http://valgrind.org/">Valgrind</ulink></para>
    7274
    7375    <bridgehead renderas="sect4">Optional for Plugins</bridgehead>
    74     <para role="optional"><xref linkend="libgsf"/>
    75     (needed to build the OpenDocument/OpenOffice plugin),
    76     <xref linkend="poppler"/> (for the pdf plugin),
     76    <para role="optional"><xref linkend="libgsf"/> (to build the OpenDocument/OpenOffice plugin),
     77    <xref linkend="poppler"/> (for the pdf plugin, requires installing with unsupported xpdf headers),
    7778    <xref linkend="librsvg"/>,
    78     <xref linkend="gnome-utils"/>,
    79     <xref linkend="goffice"/>,
     79    <!-- Currently Broken <xref linkend="html-tidy"/>, -->
     80    <!-- Currently Broken <ulink url="http://www.inter7.com/index.php?page=eps">EPS</ulink>, -->
     81    <xref linkend="nautilus"/> (for GNOME-2 support),
     82    <xref linkend="goffice"/> (you must use a version of
     83    <ulink url="&gnome-download-http;/goffice/0.2/">GOffice &lt;0.3.0</ulink>),
     84    <ulink url="http://www.abisource.com/projects/link-grammar/">Link Grammar</ulink>,
    8085    <ulink url="http://aiksaurus.sourceforge.net/">Aiksaurus</ulink>,
    81     <ulink url="http://www.gnome-db.org/">libgda</ulink>,
    82     <ulink url="http://www.gnome-db.org/">libgnomedb</ulink>,
     86    <ulink url="http://www.gnome-db.org/">libgnomedb version &lt;1.3.0</ulink> (requires
     87    <ulink url="http://www.gnome-db.org/">libgda version &lt;1.3.0</ulink>),
    8388    <ulink url="http://sourceforge.net/projects/wvware">libwmf</ulink>,
     89    <ulink url="http://helm.cs.unibo.it/mml-widget/">GtkMathView</ulink> (requires
     90    <ulink url="http://sourceforge.net/projects/gmetadom/">Gnome DOM Bindings</ulink> which requires
     91    <ulink url="http://gdome2.cs.unibo.it/">gdome2</ulink>),
    8492    <ulink url="http://libwpd.sourceforge.net/">libwpd</ulink>,
    85     <ulink url="http://libots.sourceforge.net/">OTS</ulink> and
     93    <ulink url="http://libots.sourceforge.net/">OTS</ulink>, and
    8694    <ulink url="http://software.frodo.looijaard.name/psiconv/">Psiconv</ulink></para>
    8795
     
    97105    commands:</para>
    98106
    99 <screen><userinput>cd abiword-plugins &amp;&amp;
     107<screen><userinput>cd abi &amp;&amp;
     108./configure --prefix=/usr &amp;&amp;
     109make &amp;&amp;
     110
     111cd ../abiword-plugins &amp;&amp;
     112sed -i 's/dictionary_file)/reinterpret_cast&lt;const unsigned char *&gt;(&amp;)/' \
     113        tools/ots/xp/AbiOts.cpp &amp;&amp;
     114
    100115./configure --prefix=/usr --without-inter7eps &amp;&amp;
    101116make &amp;&amp;
    102 cd ../abi &amp;&amp;
    103 ./configure --prefix=/usr &amp;&amp;
    104 make</userinput></screen>
    105 
    106     <para>This package does not come with a test suite.</para>
     117
     118cd ..</userinput></screen>
     119
     120    <para>If you wish to create the API documentation,
     121    <xref linkend="doxygen"/> must be installed and issue the following
     122    commands:</para>
     123
     124<screen><userinput>pushd abi &amp;&amp;
     125doxygen &amp;&amp;
     126popd</userinput></screen>
     127
     128    <para>This package's test suite requires <ulink
     129    url="http://valgrind.org/">Valgrind</ulink>. Though the end message will
     130    indicate the tests failed, there will actually be many tests that run
     131    to a successful completion. Run the tests by issuing the following
     132    commands:</para>
     133
     134<screen><userinput>pushd abi &amp;&amp;
     135make check &amp;&amp;
     136popd</userinput></screen>
    107137
    108138    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    109139
    110 <screen role="root"><userinput>make install &amp;&amp;
    111 cp -v -R docs /usr/share/AbiSuite-2.4/AbiWord &amp;&amp;
     140<screen role="root"><userinput>cd abi &amp;&amp;
     141make install &amp;&amp;
     142
     143install -v -m755 -d /usr/share/doc/abiword-&AbiWord-version; &amp;&amp;
     144install -v -m644    docs/*.* \
     145                    /usr/share/doc/abiword-&AbiWord-version; &amp;&amp;
     146
    112147cd ../abiword-plugins &amp;&amp;
    113 make install</userinput></screen>
    114 
    115     <para>If you have a <application>GNOME-2</application> installation, issue
     148make install &amp;&amp;
     149
     150cd ..</userinput></screen>
     151
     152    <para><application>AbiWord</application> is now installed and must be used
     153    to build the Help files. Issue the following commands as an unprivileged
     154    user:</para>
     155
     156<screen><userinput>pushd abiword-docs &amp;&amp;
     157./make-html.sh &amp;&amp;
     158cd ..</userinput></screen>
     159
     160<!-- removing this as it does exactly the same thing as
     161     the make-html.sh does          ./make-gnome-html.sh &amp;&amp; -->
     162
     163    <para>Then as the <systemitem class="username">root</systemitem> user,
     164    install the help files:</para>
     165
     166<screen role="root"><userinput>install -v -m644 man/abiword.1 /usr/share/man/man1 &amp;&amp;
     167install -v -m644 Manual/en/Abiword_Manual.abw \
     168                 /usr/share/doc/abiword-&AbiWord-version; &amp;&amp;
     169cp -v -Rf help   /usr/share/AbiSuite-&AbiWord-minor-version;/AbiWord &amp;&amp;
     170find             /usr/share/AbiSuite-&AbiWord-minor-version;/AbiWord/help \
     171                 -type d -exec chmod -v 755 {} \;</userinput></screen>
     172
     173    <para>If you have a <application>GNOME</application> installation, issue
    116174    the following command as the <systemitem class="username">root</systemitem>
    117175    user to install the <application>AbiWord</application> Bonobo component
    118176    description file:</para>
    119177
    120 <screen role="root"><userinput>cd .. &amp;&amp;
    121 install -v -m644 abidistfiles/GNOME_AbiWord_Control_2_4.server \
    122     $GNOME_PREFIX/lib/bonobo/servers</userinput></screen>
    123 
    124   </sect2>
    125 
    126   <sect2 role="installation">
    127     <title>Install The Help Documentation</title>
    128 
    129     <para>Build the help files by issuing the following commands as an
    130     unprivileged user:</para>
    131 
    132 <screen><userinput>cd abiword-docs &amp;&amp;
    133 sed -i 's@AbiWord-2.0@abiword@' make-gnome-html.sh &amp;&amp;
    134 ./make-gnome-html.sh &amp;&amp;
    135 ./make-html.sh</userinput></screen>
    136 
    137     <para>Then, as the <systemitem class="username">root</systemitem> user,
    138     install the help files:</para>
    139 
    140 <screen role="root"><userinput>install -v -m644 man/abiword.1 /usr/share/man/man1 &amp;&amp;
    141 install -v -m644 Manual/en/Abiword_Manual.abw \
    142     /usr/share/AbiSuite-2.4/AbiWord/docs  &amp;&amp;
    143 cp -v -R help /usr/share/AbiSuite-2.4/AbiWord &amp;&amp;
    144 find /usr/share/AbiSuite-2.4/AbiWord/help \
    145     -type d -exec chmod -v 755 {} \;</userinput></screen>
     178<screen role="root"><userinput>install -v -m644 abidistfiles/GNOME_AbiWord_Control_&AbiWord-under-version;.server \
     179                 $GNOME_PREFIX/lib/bonobo/servers</userinput></screen>
     180
     181    <para>If the <application>GNOME</application> installation is in any prefix
     182    other than <filename class='directory'>/usr</filename>, remove unneeded
     183    directories by issuing the following command as the
     184    <systemitem class="username">root</systemitem> user:
     185    <command>rmdir -v /usr/lib/{bonobo/servers,bonobo}</command>.</para>
     186
     187    <para>If you built the API documentation, install it by issuing the
     188    following commands as the <systemitem class="username">root</systemitem>
     189    user:</para>
     190
     191<screen role="root"><userinput>install -v -m755 -d  /usr/share/doc/abiword-&AbiWord-version;/api &amp;&amp;
     192
     193for FILENAME in $(ls abi/docs/dox/html); do
     194    install -v -m644 abi/docs/dox/html/${FILENAME} \
     195                     /usr/share/doc/abiword-&AbiWord-version;/api
     196done</userinput></screen>
    146197
    147198  </sect2>
     
    155206    linking to the package and incurring a build failure.</para>
    156207
    157     <para><command>sed -i 's@AbiWord-2.0@abiword@' make-gnome-html.sh</command>:
    158     This command alters the <command>make-gnome-html.sh</command> script to
    159     look for the current version of <command>abiword</command>.</para>
     208    <para><command>sed -i '...' tools/ots/xp/AbiOts.cpp </command>:
     209    This command is used to fix an incompatibility with
     210    <application>GCC</application> and the
     211    <application>libots</application> package.</para>
    160212
    161213  </sect2>
     
    181233      list produced by the following command:</para>
    182234
    183 <screen><userinput>ls /usr/share/AbiSuite-2.4/templates</userinput></screen>
     235<screen><userinput>ls /usr/share/AbiSuite-&AbiWord-minor-version;/templates</userinput></screen>
    184236
    185237      <para>Create the folder
     
    187239      <filename>normal.awt</filename> you want into it:</para>
    188240
    189 <screen><userinput>mkdir -p -v ~/.AbiSuite/templates &amp;&amp;
    190 cp -v /usr/share/AbiSuite-2.4/templates/normal.awt-<replaceable>&lt;lang&gt;</replaceable> \
    191       ~/.AbiSuite/templates/normal.awt</userinput></screen>
     241<screen><userinput>install -v -m750 -d ~/.AbiSuite/templates &amp;&amp;
     242install -v -m640    /usr/share/AbiSuite-&AbiWord-minor-version;/templates/normal.awt-<replaceable>&lt;lang&gt;</replaceable> \
     243                    ~/.AbiSuite/templates/normal.awt</userinput></screen>
    192244
    193245      <para>Change <replaceable>&lt;lang&gt;</replaceable> in the above
    194246      command to fit the name of the file you want.</para>
     247
     248      <para>If you have <xref linkend="desktop-file-utils"/> installed,
     249      you should run the <command>update-desktop-database</command> command
     250      to update the mimeminfo cache and allow the Help system to work.</para>
    195251
    196252    </sect3>
     
    207263
    208264      <seglistitem>
    209         <seg>abiword, AbiWord-2.4, ttfadmin.sh, and ttftool</seg>
     265        <seg>abiword, AbiWord-&AbiWord-minor-version;, ttfadmin.sh, and ttftool</seg>
    210266        <seg>Numerous plugin library support modules</seg>
    211         <seg>/usr/lib/AbiWord-2.4 and
    212         /usr/share/AbiSuite-2.4</seg>
     267        <seg>/usr/lib/AbiWord-&AbiWord-minor-version; and
     268        /usr/share/AbiSuite-&AbiWord-minor-version;</seg>
    213269      </seglistitem>
    214270    </segmentedlist>
     
    223279        <listitem>
    224280          <para>is a symbolic link to the main
    225           <command>AbiWord-2.4</command>
     281          <command>AbiWord-&AbiWord-minor-version;</command>
    226282          executable.</para>
    227283          <indexterm zone="abiword abiword-prog">
     
    231287      </varlistentry>
    232288
    233       <varlistentry id="AbiWord-2.4">
    234         <term><command>AbiWord-2.4</command></term>
     289      <varlistentry id="AbiWord-version-number">
     290        <term><command>AbiWord-&AbiWord-minor-version;</command></term>
    235291        <listitem>
    236292          <para>is the word-processing program executable.</para>
    237           <indexterm zone="abiword AbiWord-2.4">
    238             <primary sortas="b-AbiWord-2.4">AbiWord-2.4</primary>
     293          <indexterm zone="abiword AbiWord-version-number">
     294            <primary sortas="b-AbiWord-&AbiWord-minor-version;">AbiWord-&AbiWord-minor-version;</primary>
    239295          </indexterm>
    240296        </listitem>
Note: See TracChangeset for help on using the changeset viewer.