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 is required to build BePDF:


Creating the directory structure

  1. Execute makedirs from the shell.
  2. Extract liblayout-dev.zip into the directory where you checked out BePDF.
  3. 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
+ freetype
+ liblayout-dev
+ santa
+ t1lib
+ 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 Library

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

Type 1 Library

Open libt1.x86.so.proj with BeIDE and make the shared library. The ppc version of BePDF does not support Type 1 fonts, because the source code is not ANSI-C conform.

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