File:  [mozdev] / abimoz / www / installation.html
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Thu Nov 8 20:27:15 2001 UTC (15 years, 11 months ago) by mikep
Branches: MAIN
CVS tags: HEAD
Modified and added files.

<script language="javascript">
<!--

function triggerURL(url) {

        if (!InstallTrigger.updateEnabled())
          return false; 

        else
          InstallTrigger.startSoftwareUpdate(url); 

}

//-->
</script>


<!-- MAIN CONTENT -->
<p><b>Installation For End Users (Linux Only)</b><br>
<ul>
    <li>Ensure you have a copy of <a href="http://prdownloads.sourceforge.net/abiword/abiword-gtk-RH7.1-0.9.4.1.rpm">AbiWord for RedHat 7.1 v. 0.9.4.1</a> installed, and a copy of Mozilla 0.9.5.
    <li>Download the file <a href="files/libAbiWord.so">libAbiWord.so here</a> (Right click and do Save Link As).
    <li>Copy that to /usr/lib/libAbiWord.so
    <li><a href="files/libWPPlugin.so">Download libWPPlugin.so</a> (Right click and do Save Link As ).
    <li>Copy that to (YOUR MOZILLA DIRECTORY)/plugins
    <li>Export a variable ABISUITE_HOME by doing this in a terminal:<BR>
        export ABISUITE_HOME=/usr/share/AbiSuite
     <p>You should add this line to your .profile or .bashrc so that it happens automatically when you login.
    <li>You will need to restart Mozilla to have the plugin registered.
    <li><a href="files/wordp.xul">Open up this test page</a> in Mozilla to see if it works.
</ul>

<p><b>Installation For Developers</b><br>
    <b>From plugin.tar.gz</b>
    <ul>
        <li>Download <a href="files/plugin.tar.gz">plugin.tar.gz</a>
    </ul>
<p>
<b>From CVS</b><br> 
<ul>
    <li>Get the source code for the plugin. Follow directions on <a href="source.html">this page</a>.
</ul>        

<p>There are a few steps that you have to go through in order to help develop the plugin:
    <ul>
        <li>Get the source of Abiword. You can get this at <a href="http://www.abisource.org">abisource.org</a>
        <li>Modify the Makefile in libabiword. Change "ABIBUILD= /usr/local/oe-abiword-devel" to "ABIBUILD= PATHTOSOURCE" where PATHTOSOURCE is obviously where the source code of Abiword is on your machine.
        <li>cd to the libabiword directory type make and then make install. This creates libAbiWord.so and puts in in /usr/lib
        <li>cd ../plugin
        <li>Edit the Makefile: Change "MOZZY= /usr/lib/mozilla" to the path where Mozilla is installed.
        <li>Change "MOZZYDEV = /usr/include/mozilla" to the path to your Mozilla header files.
        <li>Type make and then make install. This creates libWPPlugin.so and moves it to MOZZY/plugins.
        <li>cd MOZZY, delete your components.reg file and run ./regxpcom
        <li>You're done!
    </ul>
<p>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>