Obtaining source code

Checkout the BePDF module from SourceForge:
  • cvs -d:pserver:anonymous@cvs.bepdf.sourceforge.net:/cvsroot/bepdf login
And press enter when asked for the password.
  • cvs -z3 -d:pserver:anonymous@cvs.bepdf.sourceforge.net:/cvsroot/bepdf co BePDF
See CVS for more details.

Additionally liblayout and FreeType 2 are required to build BePDF:


Creating the directory structure

  1. Execute makedirs from the shell or with Tracker.
  2. Extract liblayout-dev.zip into the directory where you checked out BePDF.
  3. Extract the source code for FreeType 2 to sonewhere and move the contents of the created directory into the freetype2 directory in the BePDF root directory.
  4. Install the liblayout-x86 shared library into /boot/home/config/lib and liblayout-ppc into /boot/develop/tools/develop_ppc/lib/ppc/liblayout-1.3.0/ for ppc cross compilation.

Directory Tree

If everything proceeded normally the root directory should look like this:
root
+ bepdf
+ bin 
| + ppc
| | + docs -> ../../bepdf/docs
| | + lib
| | + locale -> ../../bepdf/locale 
| + x86
|   + docs -> ../../bepdf/docs
|   + lib 
|   + locale -> ../../bepdf/locale
+ freetype2
+ liblayout-dev
+ santa
+ xpdf 


Building BePDF from source

Subset of Santa's Gift Bag

Open libsanta.x86.so.proj or libsanta.ppc.so.proj with BeIDE and make the shared library.

FreeType 2 Library

Open libft2.x86.so.proj or libft2.ppc.so.proj with BeIDE and make the shared library.

PDF Library

Open libpdf.x86.so.proj or libpdf.ppc.so.proj with BeIDE and make the shared library.

BePDF

Open BePDF-x86.proj or BePDF-ppc.proj to build the executable.

Send feedback to:

Michael Pfeiffer