diff options
author | ade <ade@FreeBSD.org> | 2000-03-29 21:22:50 +0000 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-03-29 21:22:50 +0000 |
commit | 51c22eea984352ab62c150d27e0abd27a69ca88b (patch) | |
tree | 24de2faf676557b657d6adcbfaccdd896793f1dd /graphics/libdjvu++ | |
parent | 0950028832d5d8378973a73fd251f429262f8547 (diff) | |
download | FreeBSD-ports-51c22eea984352ab62c150d27e0abd27a69ca88b.zip FreeBSD-ports-51c22eea984352ab62c150d27e0abd27a69ca88b.tar.gz |
libdjvu++ is AT&T's DjVu library from scanned images
See http://www.djvu.com/ for more details
PR: 12722
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'graphics/libdjvu++')
-rw-r--r-- | graphics/libdjvu++/Makefile | 39 | ||||
-rw-r--r-- | graphics/libdjvu++/distinfo | 1 | ||||
-rw-r--r-- | graphics/libdjvu++/files/patch-aa | 7 | ||||
-rw-r--r-- | graphics/libdjvu++/files/patch-ab | 7 | ||||
-rw-r--r-- | graphics/libdjvu++/files/patch-ac | 18 | ||||
-rw-r--r-- | graphics/libdjvu++/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/libdjvu++/pkg-descr | 14 | ||||
-rw-r--r-- | graphics/libdjvu++/pkg-plist | 120 |
8 files changed, 207 insertions, 0 deletions
diff --git a/graphics/libdjvu++/Makefile b/graphics/libdjvu++/Makefile new file mode 100644 index 0000000..4b3bcce --- /dev/null +++ b/graphics/libdjvu++/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: libdjvu++ +# Version required: 2.1 +# Date Created: 20 July 1999 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +DISTNAME= libdjvu++-2.1 +CATEGORIES= graphics +MASTER_SITES= http://www.djvu.com/open/ + +MAINTAINER= mi@aldan.algebra.com + +IS_INTERACTIVE= yes +USE_NEWGCC= yes +HAS_CONFIGURE= yes +CONFIGURE_ENV= CXX=${CXX} +CONFIGURE_ARGS= --with-cxxflag="${CXXFLAGS}" +MAKE_ARGS= OPT="" + +post-extract: + ${SH} ${WRKSRC}/RunMe + +do-install: +.for prog in djvuinfo c44 d44 djvutopnm djvumake djvuextract ppmcoco bzz + ${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin +.endfor +.for lib in libdjvu++.a libdjvu++.so.2 + ${INSTALL_DATA} ${WRKSRC}/${lib} ${PREFIX}/lib +.endfor + ${LN} -sf libdjvu++.so.2 ${PREFIX}/lib/libdjvu++.so + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/djvu + ${INSTALL_DATA} ${WRKSRC}/@Doc/* ${PREFIX}/share/doc/djvu +.endif + +.include <bsd.port.mk> diff --git a/graphics/libdjvu++/distinfo b/graphics/libdjvu++/distinfo new file mode 100644 index 0000000..83a93ee --- /dev/null +++ b/graphics/libdjvu++/distinfo @@ -0,0 +1 @@ +MD5 (libdjvu++-2.1.tar.gz) = b218b0ac7bffc6771c6c455f97fcb4eb diff --git a/graphics/libdjvu++/files/patch-aa b/graphics/libdjvu++/files/patch-aa new file mode 100644 index 0000000..213b2b6 --- /dev/null +++ b/graphics/libdjvu++/files/patch-aa @@ -0,0 +1,7 @@ +--- DjVuImage.cpp.orig Wed Mar 17 14:24:56 1999 ++++ DjVuImage.cpp Tue Jul 20 14:32:03 1999 +@@ -125,3 +125,3 @@ + GCriticalSectionLock lock(&mutex); +- bs.writall((const void*)raw, raw.length()); ++ bs.writall((const char*)raw, raw.length()); + } diff --git a/graphics/libdjvu++/files/patch-ab b/graphics/libdjvu++/files/patch-ab new file mode 100644 index 0000000..673e68e --- /dev/null +++ b/graphics/libdjvu++/files/patch-ab @@ -0,0 +1,7 @@ +--- GContainer.h.orig Wed Mar 17 14:24:57 1999 ++++ GContainer.h Tue Jul 20 14:33:21 1999 +@@ -981,3 +981,3 @@ + if (data && lobound<=hibound) +- for (int i=lobound; i<=hibound; i++) ++ for (i=lobound; i<=hibound; i++) + data[i-minlo].TYPE::~TYPE(); diff --git a/graphics/libdjvu++/files/patch-ac b/graphics/libdjvu++/files/patch-ac new file mode 100644 index 0000000..4479876 --- /dev/null +++ b/graphics/libdjvu++/files/patch-ac @@ -0,0 +1,18 @@ +--- Makefile.in.orig Wed Mar 17 14:24:59 1999 ++++ Makefile.in Tue Jul 20 18:08:59 1999 +@@ -36 +36 @@ +-LIB= libdjvu++.a ++LIB= libdjvu++.so +@@ -53,4 +53,3 @@ +-$(LIB): $(LIBOBJS) +- if [ -r $(LIB) ] ; then rm $(LIB) ; fi +- $(AR) cq $(LIB) $(LIBOBJS) +- $(RANLIB) $(LIB) ++$(LIB): ${LIBOBJS:.o=.cpp} ++ ${MAKE} -f bsd.lib.mk CXX="${CXX}" OBJS="${LIBOBJS}" LIB=djvu++ \ ++ SHLIB_MAJOR=${VER:R} SHLIB_MINOR=${VER:E} +--- @Test/Makefile.in.orig Fri Mar 5 19:42:53 1999 ++++ @Test/Makefile.in Tue Jul 20 18:00:24 1999 +@@ -17 +17 @@ +-LIB= ../libdjvu++.a ++LIB= ../libdjvu++.so diff --git a/graphics/libdjvu++/pkg-comment b/graphics/libdjvu++/pkg-comment new file mode 100644 index 0000000..a82ec01 --- /dev/null +++ b/graphics/libdjvu++/pkg-comment @@ -0,0 +1 @@ +AT&T's DjVu: The Technology for Scanned Documents on the Web diff --git a/graphics/libdjvu++/pkg-descr b/graphics/libdjvu++/pkg-descr new file mode 100644 index 0000000..0bfc4d6 --- /dev/null +++ b/graphics/libdjvu++/pkg-descr @@ -0,0 +1,14 @@ +The DjVu Reference Library does not contain the entire implementation of +the DjVu system. While it contains the entire decoder, and a big +piece of the encoder, it does not contain the sophisticated encoding +strategies necessary for reaching the highest compression ratios. + +Among other things, The DjVu Reference Library contains the full DjVu +decoder, the full IW44 wavelet encoder/decoder for continuous tone +images, and the back-end of JB2 bilevel image compression technique. +However, it does not contain the code for separating document images +into foreground and background layers, nor does it contain the code of +the lossy JB2 scheme that achieves the highest compression ratios on +bitonal images. + +WWW: http://www.djvu.com/ diff --git a/graphics/libdjvu++/pkg-plist b/graphics/libdjvu++/pkg-plist new file mode 100644 index 0000000..a04a99c --- /dev/null +++ b/graphics/libdjvu++/pkg-plist @@ -0,0 +1,120 @@ +bin/djvuinfo +bin/c44 +bin/d44 +bin/djvutopnm +bin/djvumake +bin/djvuextract +bin/ppmcoco +bin/bzz +lib/libdjvu++.a +lib/libdjvu++.so +lib/libdjvu++.so.2 +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +share/doc/djvu/ATTLicense.h.html +share/doc/djvu/ATTLicense.html +share/doc/djvu/ATTSourceCodeAgreement.html +share/doc/djvu/BSByteStream.h.html +share/doc/djvu/BSByteStream.html +share/doc/djvu/BitContext.html +share/doc/djvu/ByteStream.h.html +share/doc/djvu/ByteStream.html +share/doc/djvu/ClassGraph.class +share/doc/djvu/ClassGraphPanel.class +share/doc/djvu/ClassLayout.class +share/doc/djvu/CompilingtheLibrarySystemsotherthanUnix.html +share/doc/djvu/CompilingtheLibraryUnix.html +share/doc/djvu/DJVUVERSION.html +share/doc/djvu/DJVUVERSION_TOO_NEW.html +share/doc/djvu/GArray.html +share/doc/djvu/DJVUVERSION_TOO_OLD.html +share/doc/djvu/DecodingDjVuContent.html +share/doc/djvu/DjVuAnno.html +share/doc/djvu/DjVuFileStructure.html +share/doc/djvu/DjVuGlobal.h.html +share/doc/djvu/DjVuImage.h.html +share/doc/djvu/DjVuImage.html +share/doc/djvu/DjVuImageFiles.html +share/doc/djvu/DjVuInfo.html +share/doc/djvu/DjVuInterface.html +share/doc/djvu/DjVuMemory.html +share/doc/djvu/DjVuNames.html +share/doc/djvu/DjVuProgress.html +share/doc/djvu/DjVuversionconstants.html +share/doc/djvu/ExperimentalFeatures..html +share/doc/djvu/GBitmap.h.html +share/doc/djvu/GBitmap.html +share/doc/djvu/GBitmapScaler.html +share/doc/djvu/GContainer.h.html +share/doc/djvu/GContainer.html +share/doc/djvu/GContainerBase.html +share/doc/djvu/GException.h.html +share/doc/djvu/GException.html +share/doc/djvu/GList.html +share/doc/djvu/GMap.html +share/doc/djvu/GMonitor.html +share/doc/djvu/GMonitorLock.html +share/doc/djvu/GOS.h.html +share/doc/djvu/GOS.html +share/doc/djvu/GP.html +share/doc/djvu/GPBase.html +share/doc/djvu/GPEnabled.html +share/doc/djvu/GPixel.html +share/doc/djvu/GPixmap.h.html +share/doc/djvu/GPixmap.html +share/doc/djvu/GPixmapScaler.html +share/doc/djvu/GPosition.html +share/doc/djvu/GRect.h.html +share/doc/djvu/GRect.html +share/doc/djvu/GSArray.html +share/doc/djvu/GRectMapper.html +share/doc/djvu/GScaler.h.html +share/doc/djvu/GScaler.html +share/doc/djvu/GSmartPointer.h.html +share/doc/djvu/GString.h.html +share/doc/djvu/GString.html +share/doc/djvu/GThread.html +share/doc/djvu/GThreads.h.html +share/doc/djvu/GettingStarted.html +share/doc/djvu/HIER.html +share/doc/djvu/HIERjava.html +share/doc/djvu/Hashfunctions.html +share/doc/djvu/IFFByteStream.h.html +share/doc/djvu/IFFByteStream.html +share/doc/djvu/IW44ImageFiles.html +share/doc/djvu/IWBitmap.html +share/doc/djvu/IWEncoderParms.html +share/doc/djvu/IWImage.h.html +share/doc/djvu/IWPixmap.html +share/doc/djvu/aindex.html +share/doc/djvu/Introduction.html +share/doc/djvu/JB2Blit.html +share/doc/djvu/JB2Image.h.html +share/doc/djvu/JB2Image.html +share/doc/djvu/JB2Shape.html +share/doc/djvu/LibraryReference.html +share/doc/djvu/MemoryByteStream.html +share/doc/djvu/NavigatorButton.class +share/doc/djvu/PNMandRLEfileformats.html +share/doc/djvu/StaticByteStream.html +share/doc/djvu/StdioByteStream.html +share/doc/djvu/UtilityPrograms.html +share/doc/djvu/ZPCodec.h.html +share/doc/djvu/ZPCodec.html +share/doc/djvu/ZPCodecExamples.html +share/doc/djvu/bzz.html +share/doc/djvu/c44.html +share/doc/djvu/d44.html +share/doc/djvu/down.gif +share/doc/djvu/djvuextract.html +share/doc/djvu/djvuinfo.2.html +share/doc/djvu/djvumake.html +share/doc/djvu/djvutopnm.html +share/doc/djvu/dxxgifs.tex +share/doc/djvu/gifs.db +share/doc/djvu/icon1.gif +share/doc/djvu/icon2.gif +share/doc/djvu/index.html +share/doc/djvu/logo.gif +share/doc/djvu/ppmcoco.html +@dirrm share/doc/djvu |