diff options
author | rh <rh@pkgsrc.org> | 1999-04-06 05:57:31 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 1999-04-06 05:57:31 +0000 |
commit | 535546437345684f0a317513b819f38c022e3317 (patch) | |
tree | 5834e94ddbb9ab49442f60779aa86a3dea9ff1b3 /graphics/xsane | |
parent | 3e361c25fd676580c5a6e0a06f65796f9ca65b45 (diff) | |
download | pkgsrc-535546437345684f0a317513b819f38c022e3317.tar.gz |
Initial import of xsane-0.19, an improved scanner frontend for SANE
that also includes photocopier functionality.
Diffstat (limited to 'graphics/xsane')
-rw-r--r-- | graphics/xsane/Makefile | 25 | ||||
-rw-r--r-- | graphics/xsane/files/md5 | 3 | ||||
-rw-r--r-- | graphics/xsane/patches/patch-aa | 42 | ||||
-rw-r--r-- | graphics/xsane/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/xsane/patches/patch-ac | 30 | ||||
-rw-r--r-- | graphics/xsane/patches/patch-ad | 22 | ||||
-rw-r--r-- | graphics/xsane/pkg/COMMENT | 1 | ||||
-rw-r--r-- | graphics/xsane/pkg/DESCR | 18 | ||||
-rw-r--r-- | graphics/xsane/pkg/PLIST | 23 |
9 files changed, 177 insertions, 0 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile new file mode 100644 index 00000000000..83716979af0 --- /dev/null +++ b/graphics/xsane/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ +# + +DISTNAME= xsane-0.19 +CATEGORIES= graphics +MASTER_SITES= http://www.wolfsburg.de/~rauch/sane/ + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://www.wolfsburg.de/~rauch/sane/sane-xsane.html + +DEPENDS+= jpeg-6b:../../graphics/jpeg +DEPENDS+= png-1.0.3:../../graphics/png +DEPENDS+= tiff-3.4:../../graphics/tiff +DEPENDS+= gtk10-1.0.6:../../x11/gtk10 +DEPENDS+= sane-1.00:../../graphics/sane + +GNU_CONFIGURE= YES +USE_GMAKE= YES +USE_X11BASE= YES +USE_LIBTOOL= YES +CONFIGURE_ENV+= GTK_CONFIG="${X11BASE}/bin/gtk10-config" + +CPPFLAGS+= -I${PREFIX}/include + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/xsane/files/md5 b/graphics/xsane/files/md5 new file mode 100644 index 00000000000..b28434e1d2f --- /dev/null +++ b/graphics/xsane/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ + +MD5 (xsane-0.19.tar.gz) = 2cfad927bb8eb4a08782b40a9931520b diff --git a/graphics/xsane/patches/patch-aa b/graphics/xsane/patches/patch-aa new file mode 100644 index 00000000000..d58e067ffc1 --- /dev/null +++ b/graphics/xsane/patches/patch-aa @@ -0,0 +1,42 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ + +--- configure.orig Mon Mar 22 16:39:21 1999 ++++ configure Mon Apr 5 19:20:54 1999 +@@ -9,7 +9,7 @@ + + # Defaults: + ac_help= +-ac_default_prefix=/usr/local ++ac_default_prefix=${PREFIX} + # Any additions from configure.in: + ac_help="$ac_help + --enable-shared build shared libraries [default=yes] +@@ -2698,6 +2698,7 @@ + echo "$ac_t""no" 1>&6 + fi + ++if false; then + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +@@ -2743,6 +2744,7 @@ + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ + $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } ++fi + + + +@@ -3931,10 +3933,12 @@ + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + ++if false; then + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac ++fi + + echo creating "$ac_file" + rm -f "$ac_file" diff --git a/graphics/xsane/patches/patch-ab b/graphics/xsane/patches/patch-ab new file mode 100644 index 00000000000..7db4e66db88 --- /dev/null +++ b/graphics/xsane/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ + +--- lib/Makefile.in.orig Wed Mar 3 00:14:45 1999 ++++ lib/Makefile.in Mon Apr 5 19:11:21 1999 +@@ -36,7 +36,7 @@ + DEFS = @DEFS@ + + COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + MCOMP = --mode=compile + MLINK = --mode=link + diff --git a/graphics/xsane/patches/patch-ac b/graphics/xsane/patches/patch-ac new file mode 100644 index 00000000000..2a0ea6b42de --- /dev/null +++ b/graphics/xsane/patches/patch-ac @@ -0,0 +1,30 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ + +--- frontend/Makefile.in.orig Thu Mar 25 16:42:21 1999 ++++ frontend/Makefile.in Mon Apr 5 19:46:35 1999 +@@ -29,7 +29,7 @@ + + CC = @CC@ + INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include \ +- @GTK_CFLAGS@ @INCLUDES@ ++ @GTK_CFLAGS@ @INCLUDES@ -I${LOCALBASE}/include + DEFS = @DEFS@ + CPPFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ +@@ -38,7 +38,7 @@ + GTK_LIBS = @GTK_LIBS@ + GIMP_LIBS = @GIMP_LIBS@ + +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + MINST = --mode=install + MLINK = --mode=link + XSCAN = @XSCAN@ +@@ -66,7 +66,6 @@ + $(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) $${program} \ + $(bindir)/$${program}; \ + done +- $(INSTALL_DATA) $(srcdir)/sane-style.rc $(datadir)/sane-style.rc + $(INSTALL_DATA) $(srcdir)/xsane-logo.xpm $(datasanedir)/xsane-logo.xpm + + xsane: $(XSANE_OBJS) $(LIBSANEI) $(LIBLIB) diff --git a/graphics/xsane/patches/patch-ad b/graphics/xsane/patches/patch-ad new file mode 100644 index 00000000000..5cbac1bd544 --- /dev/null +++ b/graphics/xsane/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ + +--- sanei/Makefile.in.orig Wed Mar 3 00:25:06 1999 ++++ sanei/Makefile.in Mon Apr 5 19:13:46 1999 +@@ -27,7 +27,7 @@ + RANLIB = @RANLIB@ + + CC = @CC@ +-INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include ++INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include -I${PREFIX}/include + CPPFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ + LDFLAGS = @LDFLAGS@ +@@ -35,7 +35,7 @@ + DEFS = @DEFS@ + + COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) +-LIBTOOL = ../libtool ++LIBTOOL = @LIBTOOL@ + MCOMP = --mode=compile + MLINK = --mode=link + diff --git a/graphics/xsane/pkg/COMMENT b/graphics/xsane/pkg/COMMENT new file mode 100644 index 00000000000..689c08f8e9b --- /dev/null +++ b/graphics/xsane/pkg/COMMENT @@ -0,0 +1 @@ +A new improved frontend for SANE. diff --git a/graphics/xsane/pkg/DESCR b/graphics/xsane/pkg/DESCR new file mode 100644 index 00000000000..c1c41b45c3c --- /dev/null +++ b/graphics/xsane/pkg/DESCR @@ -0,0 +1,18 @@ + Xsane is a versatile new frontend for SANE that is improved over +the standard xscanimage. Features are: + + * Scan and photocopy function. + * Works as GIMP-plugin. + * Unique user interface for all scanners. + * 8 bit output formats: pnm, png, postscript, jpeg and tiff. + * Experimental 16 bit support. + * 16 bit output formats: pnm (ascii), png and raw (comparable to + pnm raw). + * Automatic increase of filename counter (use filename of the + form: image-001.ext) + * Changes of color enhancement (gamma, brightness, contrast, + white-, gray- and black point) are + * updated in preview window without a new preview-scan! + * Color enhancement for scanners/backends that do not support + custom gamma. + * Autoadjust-function for gamma, contrast and brightness. diff --git a/graphics/xsane/pkg/PLIST b/graphics/xsane/pkg/PLIST new file mode 100644 index 00000000000..bbbd80b22a3 --- /dev/null +++ b/graphics/xsane/pkg/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/06 05:57:31 rh Exp $ +bin/xsane +man/man1/xsane.1 +share/sane/xsane-logo.xpm +share/sane/sane-xsane-advanced-doc.html +share/sane/sane-xsane-copy-doc.html +share/sane/sane-xsane-doc.html +share/sane/sane-xsane-fax-doc.html +share/sane/sane-xsane-gimp-doc.html +share/sane/sane-xsane-histogram-doc.html +share/sane/sane-xsane-main-doc.html +share/sane/sane-xsane-scan-doc.html +share/sane/sane-xsane-setup-doc.html +share/sane/sane-xsane-standard-doc.html +share/sane/sane-logo.gif +share/sane/sane-xsane-advanced.gif +share/sane/sane-xsane-histogram.gif +share/sane/sane-xsane-setup.gif +share/sane/sane-xsane-standard.gif +share/sane/sane-xsane.gif +share/sane/xsane-logo.gif +share/sane/xsane-logo2.gif +@dirrm share/sane |