Getting the source code

From AbiWiki

(Difference between revisions)
Jump to: navigation, search
 
(4 intermediate revisions not shown)
Line 1: Line 1:
-
>If you are just starting out with AbiWord you will need to get the latest development version of the source code with this command.
+
If you are just starting out with AbiWord you will need to get the latest development version of the source code with this command.
   svn co http://svn.abisource.com/abiword/trunk abiword
   svn co http://svn.abisource.com/abiword/trunk abiword
Line 18: Line 18:
After the 2.6 branch the plugins have been integrated into the main build system.
After the 2.6 branch the plugins have been integrated into the main build system.
-
[[Category:Developer]]
+
For Fedora developers you need a few extra packages on top of the Workstation installation.
 +
First:
-
----
+
  dnf update
-
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
+
  dnf install dnf-plugins-core
-
----
+
-
>=[http://obigawurum.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
+
-
----
+
-
----
+
Then install the build dependencies for abiword. There are a lot of these! However they're rolled up in the following dnf command:
-
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
+
-
----
+
-
=[http://ucizelulaji.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
+
-
----
+
-
=[http://ucizelulaji.co.cc CLICK HERE]=
+
-
----
+
-
</div>
+
-
=[http://obigawurum.co.cc CLICK HERE]=
+
  dnf builddep abiword
-
----
+
 
-
</div>
+
You also need the following *-devel packages:
 +
 
 +
  dnf install libabiword-devel
 +
 
 +
You also need the "autoconf-archive" package to build the "configure" script
 +
 
 +
  dnf install autoconf-archive
 +
 
 +
Now you can build the configure script with:
 +
 
 +
  NOCONFIGURE=1 ./autogen.sh
 +
 
 +
Now you can use the "configure" script to build abiword with as many plugins as you want
 +
 
 +
My favourite way to configure abiword is to do the following in a directory parallel to the abiword source:
 +
 
 +
mkdir build-debug
 +
mkdir build-nodebug
 +
cd build-debug
 +
NOCONFIGURE=1 ../abiword/autogen.sh
 +
../abiword/configure --prefix="/home/msevior/abidir" --enable-debug --enable-plugins="collab abicommand presentation aiksaurus mathview gimp google latex goffice gdict"
 +
cd ../build-nodebug
 +
../abiword/configure --prefix="/home/msevior/abidir" --enable-debug --enable-plugins="collab abicommand presentation aiksaurus mathview gimp google latex goffice gdict"
 +
 
 +
Now you make debug and nodebug builds from the same source directory by simply cd'ing into the appropriate build directory and doing "make -j4 install". The upshot of this example is to build my favourite set of plugibs, employ's 4 CPU's in a parallel make and installs abiword into the directory "/home/msevior/abidir/bin". The executable is "/home/msevior/abidir/bin/abiword"
 +
 
 +
[[Category:Developer]]

Current revision as of 01:40, 29 June 2018

If you are just starting out with AbiWord you will need to get the latest development version of the source code with this command.

 svn co http://svn.abisource.com/abiword/trunk abiword

Once you have a commit access to AbiWord you use subversion to get the main tree and plugins with this command (where "<username>" is you svn access name):

 svn co svn+ssh://<username>@svn.abisource.com/svnroot/abiword/trunk abiword

If you need to get the 2.8 branch do:

 svn co svn+ssh://<username>@svn.abisource.com/svnroot/abiword/branches/ABI-2-8-0-STABLE/ abiword-2.8
  

If you need to get the 2.6 branch do:

 svn co svn+ssh://<username>@svn.abisource.com/svnroot/abiword/branches/ABI-2-6-0-STABLE/ abiword-2.6   
 svn co svn+ssh://<username>@svn.abisource.com/svnroot/abiword-plugins/branches/ABI-2-6-0-STABLE/ abiword-plugins-2.6 

After the 2.6 branch the plugins have been integrated into the main build system.

For Fedora developers you need a few extra packages on top of the Workstation installation. First:

 dnf update
 dnf install dnf-plugins-core

Then install the build dependencies for abiword. There are a lot of these! However they're rolled up in the following dnf command:

 dnf builddep abiword

You also need the following *-devel packages:

 dnf install libabiword-devel

You also need the "autoconf-archive" package to build the "configure" script

 dnf install autoconf-archive

Now you can build the configure script with:

 NOCONFIGURE=1 ./autogen.sh

Now you can use the "configure" script to build abiword with as many plugins as you want

My favourite way to configure abiword is to do the following in a directory parallel to the abiword source:

mkdir build-debug
mkdir build-nodebug
cd build-debug
NOCONFIGURE=1 ../abiword/autogen.sh
../abiword/configure --prefix="/home/msevior/abidir" --enable-debug --enable-plugins="collab abicommand presentation aiksaurus mathview gimp google latex goffice gdict"
cd ../build-nodebug
../abiword/configure --prefix="/home/msevior/abidir" --enable-debug --enable-plugins="collab abicommand presentation aiksaurus mathview gimp google latex goffice gdict"

Now you make debug and nodebug builds from the same source directory by simply cd'ing into the appropriate build directory and doing "make -j4 install". The upshot of this example is to build my favourite set of plugibs, employ's 4 CPU's in a parallel make and installs abiword into the directory "/home/msevior/abidir/bin". The executable is "/home/msevior/abidir/bin/abiword"

Personal tools