my armish is busy and my sparc64 is powered down in order that I can have
some other machines powered up, can anyone test this for me please? (ideally
some !i386/amd64 arch). it's an alternative decompressor (binary/static
library) for JBIG2 files.

tarball of jbig2dec attached, mupdf diff inline (against -current from
today; remote X forwarding works now, so it's easier to test).

test PDFs are available via http://jbig2dec.sourceforge.net/

(ghostscript can probably also use this).

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/mupdf/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    14 Jul 2009 19:20:41 -0000      1.7
+++ Makefile    14 Jul 2009 21:31:55 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      graphic library, pdf parser, viewer and utilities
 
-PKGNAME =      mupdf-0.4p2
+PKGNAME =      mupdf-0.4p3
 DISTNAME =     mupdf-2009-07-07-source
 
 CATEGORIES =   textproc x11
@@ -21,7 +21,8 @@ WANTLIB =     X11 Xext c freetype m pthread 
 
 MASTER_SITES = http://ccxvii.net/mupdf/download/
 
-BUILD_DEPENDS =        ::devel/jam
+BUILD_DEPENDS =        ::devel/jam \
+               ::graphics/jbig2dec
 
 LIB_DEPENDS =  openjpeg::graphics/openjpeg \
                jpeg.>=62::graphics/jpeg
@@ -37,6 +38,7 @@ MAKE_ENV +=   CC=${CC} CXX=${CXX}
 JAMFLAGS = \
        -sALL_LOCATE_TARGET=${WRKBUILD} \
        -sBUILD= \
+       -sHAVE_JBIG2DEC=yes \
        -sHAVE_OPENJPEG=yes \
        -sOPTIM="${CFLAGS}" \
        -sOS=LINUX \

Attachment: jbig2dec.tgz
Description: application/tar-gz

Reply via email to