jbig2enc 0.28 is out!

General discussion about software packages and releases, new software you've found, and threads by programmers and script writers.

Moderator: peterZ

Post Reply
User avatar
Misty
Posts: 481
Joined: 06 Nov 2009, 12:20
Number of books owned: 0
Location: Frozen Wasteland

jbig2enc 0.28 is out!

Post by Misty »

jbig2enc finally has a new official release, 0.28! You can grab the source tarball from the Github repository (under Tags). Mac users, I've updated the Homebrew formula to use 0.28.

This new version includes a number of bugfixes, including a very important fix to retain the DPI of input images.
The opinions expressed in this post are my own and do not necessarily represent those of the Canadian Museum for Human Rights.
User avatar
dingodog
Posts: 110
Joined: 22 Jul 2010, 18:19
Number of books owned: 1000
Country: on the net
Location: on the net
Contact:

Re: jbig2enc 0.28:solve compilation issue in puppy linux

Post by dingodog »

some issues for building in Puppy Linux. here the way I solved and built jbig2enc successfully (if anyone has similar issues): this pots is adressed to Puppy Linux users and people experimenting similar or same issues

1 - jbig2enc CONFIGURE ISSUES
I needed to comment lines 19242-19244 and 19251-19256 in configure script

Code: Select all

#{ echo "$as_me:$LINENO: result: $ac_cv_lib_lept_findFileFormatStream" >&5
#echo "${ECHO_T}$ac_cv_lib_lept_findFileFormatStream" >&6; }
#if test $ac_cv_lib_lept_findFileFormatStream = yes; then

Code: Select all

#else

			#echo "Error! Leptonica not detected."
			#exit -1

#fi
otherwise make file is not built
2 - HOW TO PROPERLY BUILD LEPTONICA

STEPS:
- enter into src directory of leptonica source code uncompressed archive
- fine the makefile.static and rename in makefile
- start make, a library liblept.a is built in upper dir/libs/nodebug
- cp upper dir/libs/nodebug/liblept.a /usr/lib
- mkdir -p /usr/include/leptonica && cp *.h /usr/include/leptonica

3 - JBIG2ENC MAKE FILE ISSUES

you need to add some libs to two make files into jbig2enc sources (one into top-level directory and other into src subdirectory)

- add -ltiff -lpng to LIBS

and finally you can make jbig2enc if you been unable to build
Post Reply