Difference between revisions of "Getting the source"
Pereriksson2 (Talk | contribs) m (adding link to 2.4.x) |
Pereriksson2 (Talk | contribs) (introduced svn) |
||
Line 2: | Line 2: | ||
| | | | ||
''This is describing the latest version. For 2.4, see [[Getting_it_2.4.x]]'' | ''This is describing the latest version. For 2.4, see [[Getting_it_2.4.x]]'' | ||
+ | |||
+ | The source code can be fetched in several ways, as described below. | ||
+ | |||
+ | == Downloading the source == | ||
The latest version of the source code can be downloaded as tarballs from [http://download.openoffice.org/ Download], see '''Source''' on the right. | The latest version of the source code can be downloaded as tarballs from [http://download.openoffice.org/ Download], see '''Source''' on the right. | ||
Line 31: | Line 35: | ||
|} | |} | ||
− | Unpack these tarballs to a directory. They will create a new directory with the name of the milestone, such as '''OOO310_m11'''. This folder will from now on be the '''$SRC_ROOT'''. | + | Unpack these tarballs to a directory. They will create a new directory with the name of the milestone, such as '''OOO310_m11'''. This folder will from now on be the '''$SRC_ROOT''', so set this environment variable to this path on your machine. |
If you intend to build on Linux <strong>without</strong> the '''system''' tarball: | If you intend to build on Linux <strong>without</strong> the '''system''' tarball: | ||
− | + | * You will need to tell ./configure explicitly to use the system libraries for the software that is otherwise contained in this tarball. Otherwise the build will fail. | |
− | + | * System software is in active development. If it has changed significantly (and Mozilla sometimes does), the build may fail or OpenOffice.org may not work correctly. | |
− | * unowinreg.dll - Do not be fooled by the .dll extension. Without it, the build will fail on Linux and it is not included in the core package. Don't worry about downloading this now because the build process will tell you where to get it and where to stick it to proceed. | + | * unowinreg.dll - Do not be fooled by the .dll extension. Without it, the build will fail on Linux and it is not included in the core package. Don't worry about downloading this now because the build process will tell you where to get it and where to stick it to proceed. |
For a full build you need them all. For development, <tt>src_core</tt> is usually all you need (but see the caveats for <tt>src_system</tt> above). | For a full build you need them all. For development, <tt>src_core</tt> is usually all you need (but see the caveats for <tt>src_system</tt> above). | ||
− | + | == Checking out from Subversion == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | == Checking out | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Checking out the source code from the Subversion tree can be done in the following ways. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ''' Checking out the trunk (main development branch) ''' | |
− | + | ||
− | + | ||
− | + | ||
− | + | svn checkout svn://svn.services.openoffice.org/ooo/trunk | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | The files will be placed in the current directory. | |
− | + | '''More information:'''<br> | |
− | + | [http://tools.openoffice.org/svn_checkout.html Acessing the source code repository]<br> | |
+ | [[OOo and Subversion]] | ||
== See also == | == See also == |
Revision as of 16:28, 3 July 2009
This is describing the latest version. For 2.4, see Getting_it_2.4.x The source code can be fetched in several ways, as described below. Downloading the sourceThe latest version of the source code can be downloaded as tarballs from Download, see Source on the right. The source is pretty big and has therefore been split into several files.
Unpack these tarballs to a directory. They will create a new directory with the name of the milestone, such as OOO310_m11. This folder will from now on be the $SRC_ROOT, so set this environment variable to this path on your machine. If you intend to build on Linux without the system tarball:
For a full build you need them all. For development, src_core is usually all you need (but see the caveats for src_system above). Checking out from SubversionChecking out the source code from the Subversion tree can be done in the following ways. Checking out the trunk (main development branch) svn checkout svn://svn.services.openoffice.org/ooo/trunk The files will be placed in the current directory. More information: See also |
|