Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Buildbot

Builds our system every night to ensure master is build-able on all supported platforms

SystemLinkDownload
Windows32Requested waiting for infra 
Windows64Requested waiting for infra 
Ubuntuhttps://ci.apache.org/builders/corinthia-master 
OS-XRequested waiting for infra 
RAT scanhttps://ci.apache.org/builders/corinthia-master-rat 

The configuration is available at

https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/corinthia.conf

 

1: Download and install tools

Building on Linux

Ubuntu

You need the following packages:

  1. cmake --- we use the latest version (3.0.2) and if Ubuntu has not upgraded yet, you need to go here to get it: http://www.cmake.org/download/
  2. libxml2-dev
  3. zlib1g-dev
  4. libsdl2-image-dev

Typical command to get the libraries needed is sudo apt-get install libxml2

Fedora

You need the following packages:

...

PlatformToolVersion >=Download siteComment
allgit1.9.0

http://git-scm.com/

 
allcmake3.1

...

 
Windowsvisual studio2013https://www.visualstudio.com/Free for open source developers
Linuxgcc4.8.4https://gcc.gnu.org/ 
Linuxg++4.8.4https://gcc.gnu.org/Only needed for editor
Linuxmake3.81https://www.gnu.org/software/make/ 
OS-XXcode6.4https://developer.apple.com/xcode/downloads/ 

Please follow installation instructions relevant for your system. We do not maintain installation instructions for maintenance reasons.

2: Get  the source

mkdir incubator-corinthia
cd incubator-corinthia
git clone https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git 

We use the following branches:

NameDescription
MasterDefault, Main development branch
StableCopy for master, after confirming all test passes
Release_0.1First official release

Please make patches to master only.

3: Get needed libraries

 

 

Then the libraries must be installed. Finding the libraries in a 32bit and 64bit is a chal

 

Corinthia source release, does not contain makefiles or microsoft solutions, instead cmake (see http://www.cmake.org) is used to generate the build files needed on a given platform. The build process can be adapte

 

 

 

 

 

Builds

Android

IOS (iPad / iPhone)

Linux (Ubuntu)

OS-X

Typical command to get the libraries needed is sudo yum install libxml2

Making the make files

Note that, as per standard cmake practice, you should always build separately from the source tree (although a separate sub-directory within the source tree is acceptable).

Set the DOCFORMATS_DIR environment variable to the location of the repository root. Then, any where on your file system:

cd build

cmake -G "Unix Makefiles" $DOCFORMATS_DIR

Build

To have the make system call your compile and build the binaries

make

This will produce four binaries in your build directory:

lib/libDocFormats.a  – a static library

bin/dfconvert   – the converter program

bin/dftest         – the test suite

bin/dfutil          –  the driver program

   

To run the tests, type the following from your /build directory:

./bin/dftest -plain

 

 Building on OS X

 

You can either use the instructions above for building using make, or alternatively generate an Xcode project:

 

    mkdir build

    cd build

    cmake -G Xcode $DOCFORMATS__DIR

 

 

This will produce DocFormats.xcodeproj, which you can then open in Xcode.

 

...

Windows