Skip to content

Commit

Permalink
Bump to latest Leptonica release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Langley committed Nov 11, 2010
1 parent c709efe commit 0df183e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LEPTONICA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.63
1.67
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
CC=g++
LEPTONICA=../leptonlib-1.63
LEPTONICA=../leptonlib-1.67
# For example, a fink MacOSX install:
# EXTRA=-I/sw/include/ -I/sw/include/libpng -I/sw/include/libjpeg -L/sw/lib
CFLAGS=-I${LEPTONICA}/src -Wall -I/usr/include -L/usr/lib -O3 ${EXTRA}

jbig2: libjbig2enc.a jbig2.cc
$(CC) -o jbig2 jbig2.cc -L. -ljbig2enc ${LEPTONICA}/src/liblept.a $(CFLAGS) -lpng -ljpeg -ltiff -lm
$(CC) -o jbig2 jbig2.cc -L. -ljbig2enc ${LEPTONICA}/src/.libs/liblept.a $(CFLAGS) -lpng -ljpeg -ltiff -lm -lz

libjbig2enc.a: jbig2enc.o jbig2arith.o jbig2sym.o
ar -rcv libjbig2enc.a jbig2enc.o jbig2arith.o jbig2sym.o
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ better compression than G4. This encoder can:
It uses the (Apache-ish licensed) Leptonica library:
http://www.leptonica.com/

You'll need version 1.63 - which is included with the distribution tarball.
You'll need version 1.67 - which is included with the distribution tarball.

KNOWN BUGS:

Expand All @@ -28,7 +28,7 @@ First, read the file PATENTS in the same directory as this file.
Fetch leptonica from its website and build it. For this you will also
need the standard libtiff, libpng and libjpeg.

If leptonica was unpacked in ../leptonlib-1.58/ you should just be able to type
If leptonica was unpacked in ../leptonlib-1.67/ you should just be able to type
make. Otherwise, fix up the path at the beginning of the Makefile first.

USAGE:
Expand Down

0 comments on commit 0df183e

Please sign in to comment.