factor/unmaintained/pdf
Erik Charlebois baab8c060d Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
..
libhpdf Remove ENUM: f and replace uses with CONSTANTs. 2010-04-19 20:08:40 -07:00
authors.txt move pdf to unmaintained 2008-03-14 18:55:58 -06:00
pdf-tests.factor Factor source files should not be executable 2009-11-21 17:50:43 -06:00
pdf.factor move pdf to unmaintained 2008-03-14 18:55:58 -06:00
readme.txt move pdf to unmaintained 2008-03-14 18:55:58 -06:00

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

To build libharu as a shared dylib on Mac OS X, modify the Makefile after calling ./configure --shared

Here are the relevant sections and the lines to be changed:

...
CC=cc
PREFIX=/usr/local

LIBNAME=libhpdf.a
SONAME=libhpdf.dylib
SOVER1=.1
SOVER2=.0.0
LIBTARGET=libhpdf.dylib
CFLAGS=-Iinclude -fPIC -fno-common -c
...
$(SONAME): $(OBJS)
$(CC) -dynamiclib -o $(SONAME)$(SOVER1)$(SOVER2) $(OBJS) $(LDFLAGS) -Wl
ln -sf $(SONAME)$(SOVER1)$(SOVER2) $(SONAME)$(SOVER1)
ln -sf $(SONAME)$(SOVER1) $(SONAME)

Now you can build and install:

make clean
make
make install

Test PDF files from pdf-tests.factor are generated in the test folder.