pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/djvulibre-lib import djvulibre-lib-3.5.17, wh...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f2704bfa951
branches: trunk
changeset: 518072:0f2704bfa951
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Aug 30 17:03:28 2006 +0000
description:
import djvulibre-lib-3.5.17, which is the library part of the "djvulibre"
distribution, which is a (de)compression library for the "djvu" file
format, which is useful for scanned documents
diffstat:
graphics/djvulibre-lib/DESCR | 10 ++++++++++
graphics/djvulibre-lib/Makefile | 23 +++++++++++++++++++++++
graphics/djvulibre-lib/PLIST | 27 +++++++++++++++++++++++++++
graphics/djvulibre-lib/buildlink3.mk | 19 +++++++++++++++++++
graphics/djvulibre-lib/distinfo | 8 ++++++++
graphics/djvulibre-lib/patches/patch-aa | 22 ++++++++++++++++++++++
graphics/djvulibre-lib/patches/patch-ab | 15 +++++++++++++++
graphics/djvulibre-lib/patches/patch-ac | 13 +++++++++++++
8 files changed, 137 insertions(+), 0 deletions(-)
diffs (169 lines):
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/DESCR Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,10 @@
+DjVu is a set of compression technologies, a file format,
+and a software platform for the delivery over the Web of digital documents,
+scanned documents, and high resolution images.
+
+DjVu documents download and display extremely quickly, and look exactly the
+same on all platforms. DjVu can be seen as superior alternative to PDF and
+Postscript for digital documents, to TIFF (and PDF) for scanned documents, to
+JPEG for photographs and pictures, and to GIF for large palettized
+images. DjVu is the only Web format that is practical for distributing
+high-resolution scanned documents in color. No other format comes close.
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/Makefile Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+#
+
+DISTNAME= djvulibre-3.5.17
+PKGNAME= djvulibre-lib-3.5.17
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://djvulibre.djvuzone.org/
+COMMENT= Compression library for scanned documents
+
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+
+PKGCONFIG_OVERRIDE+= libdjvu/ddjvuapi.pc.in
+BUILD_DIRS= libdjvu
+INSTALL_DIRS= libdjvu
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/PLIST Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+include/libdjvu/ddjvuapi.h
+include/libdjvu/miniexp.h
+lib/libdjvulibre.la
+lib/pkgconfig/ddjvuapi.pc
+share/djvu/languages.xml
+share/djvu/osi/de/libdjvu++.xml
+share/djvu/osi/de/messages.xml
+share/djvu/osi/en/djvutools-reference.xml
+share/djvu/osi/en/libdjvu++.xml
+share/djvu/osi/en/messages.xml
+share/djvu/osi/en/unixgui-shared.xml
+share/djvu/osi/en/unixgui-viewer.xml
+share/djvu/osi/fr/libdjvu++.xml
+share/djvu/osi/fr/messages.xml
+share/djvu/osi/ja/libdjvu++.xml
+share/djvu/osi/ja/messages.xml
+share/djvu/osi/zh/libdjvu++.xml
+share/djvu/osi/zh/messages.xml
+@dirrm share/djvu/osi/zh
+@dirrm share/djvu/osi/ja
+@dirrm share/djvu/osi/fr
+@dirrm share/djvu/osi/en
+@dirrm share/djvu/osi/de
+@dirrm share/djvu/osi
+@dirrm share/djvu
+@dirrm include/libdjvu
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/buildlink3.mk Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DJVULIBRE_LIB_BUILDLINK3_MK:= ${DJVULIBRE_LIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= djvulibre-lib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndjvulibre-lib}
+BUILDLINK_PACKAGES+= djvulibre-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}djvulibre-lib
+
+.if ${DJVULIBRE_LIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.djvulibre-lib+= djvulibre-lib>=3.5.17
+BUILDLINK_PKGSRCDIR.djvulibre-lib?= ../../graphics/djvulibre-lib
+.endif # DJVULIBRE_LIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/distinfo Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+
+SHA1 (djvulibre-3.5.17.tar.gz) = ee7358b0d3a5941e0f68dae1f5cd44407d63b1bd
+RMD160 (djvulibre-3.5.17.tar.gz) = 1f9d2b1106d1e1898f04c0657b2c8b557246c33e
+Size (djvulibre-3.5.17.tar.gz) = 2298690 bytes
+SHA1 (patch-aa) = c819c6b1218b3178983bb48e53c4d3c0f7dd0227
+SHA1 (patch-ab) = 0144669dfb565d947ded9eaeff006ad8bbbba95a
+SHA1 (patch-ac) = 0c713031903aade12eda1d898595798a1468fd0a
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/patches/patch-aa Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+
+--- tools/Makefile.in.orig 2005-08-23 18:49:23.000000000 +0200
++++ tools/Makefile.in
+@@ -47,7 +47,7 @@ TIFF_CFLAGS=@TIFF_CFLAGS@
+ THREAD_LIBS = @THREAD_LIBS@
+ THREAD_CFLAGS = @THREAD_CFLAGS@
+
+-LIBDJVU = ${top_builddir}/libdjvu/libdjvulibre.la
++LIBDJVU = ${prefix}/lib/libdjvulibre.la
+
+ INCS = -I${top_builddir} -I${top_srcdir} -I${top_srcdir}/libdjvu -I${srcdir}
+ FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${TIFF_CFLAGS} ${THREAD_CFLAGS}
+@@ -81,7 +81,7 @@ install-bin: ${PROGRAMS} FORCE
+ install-scripts: FORCE
+ ${INSTALL} -d ${DESTDIR}${bindir}
+ for n in ${SCRIPTS} ; do \
+- ${INSTALL_PROGRAM} -m 0755 ${srcdir}/$$n ${DESTDIR}${bindir} \
++ ${INSTALL_SCRIPT} -m 0755 ${srcdir}/$$n ${DESTDIR}${bindir} \
+ || exit ; done
+
+ install-man: FORCE
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/patches/patch-ab Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+
+--- libdjvu/miniexp.h.orig 2006-02-21 20:27:41.000000000 +0100
++++ libdjvu/miniexp.h
+@@ -38,7 +38,9 @@ extern "C" {
+ /* miniexp_t --
+ Opaque pointer type representing a lisp expression. */
+
+-typedef struct miniexp_s* miniexp_t;
++#ifndef DDJVUAPI /* avoid double declaration */
++typedef struct miniexp_s* miniexp_t;
++#endif
+
+
+ /* There are four basic types of lisp expressions,
diff -r d14443e5c8e6 -r 0f2704bfa951 graphics/djvulibre-lib/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/patches/patch-ac Wed Aug 30 17:03:28 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $
+
+--- xmltools/Makefile.in.orig 2006-08-30 17:02:59.000000000 +0200
++++ xmltools/Makefile.in
+@@ -45,7 +45,7 @@ JPEG_CFLAGS=@JPEG_CFLAGS@
+ THREAD_LIBS = @THREAD_LIBS@
+ THREAD_CFLAGS = @THREAD_CFLAGS@
+
+-LIBDJVU = ${top_builddir}/libdjvu/libdjvulibre.la
++LIBDJVU = ${prefix}/lib/libdjvulibre.la
+
+ INCS = -I${top_builddir} -I${top_srcdir}/libdjvu -I${srcdir}
+ FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${THREAD_CFLAGS}
Home |
Main Index |
Thread Index |
Old Index