diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-05-03 20:49:44 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-05-03 20:49:44 +0000 |
commit | 1017b7f137ac34ead9ba1cc2be63869fc3667036 (patch) | |
tree | dbb984e6aa087949cec4ffa51236c7bdc539742c /graphics/sane | |
parent | 6f4c81a9a6258b2d6069bfed29e20e04258779b6 (diff) | |
download | pkgsrc-1017b7f137ac34ead9ba1cc2be63869fc3667036.tar.gz |
Initial addition of sane 0.72 based on pr 5389.
Diffstat (limited to 'graphics/sane')
-rw-r--r-- | graphics/sane/Makefile | 25 | ||||
-rw-r--r-- | graphics/sane/files/md5 | 1 | ||||
-rw-r--r-- | graphics/sane/patches/patch-aa | 22 | ||||
-rw-r--r-- | graphics/sane/patches/patch-ab | 11 | ||||
-rw-r--r-- | graphics/sane/patches/patch-ac | 11 | ||||
-rw-r--r-- | graphics/sane/pkg/COMMENT | 1 | ||||
-rw-r--r-- | graphics/sane/pkg/DESCR | 7 | ||||
-rw-r--r-- | graphics/sane/pkg/PLIST | 103 |
8 files changed, 181 insertions, 0 deletions
diff --git a/graphics/sane/Makefile b/graphics/sane/Makefile new file mode 100644 index 00000000000..6acdaa2f27a --- /dev/null +++ b/graphics/sane/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 1998/05/03 20:49:44 frueauf Exp $ +# FreeBSD Id: Makefile,v 1.3 1998/04/30 02:38:03 obrien Exp +# + +DISTNAME= sane-0.72 +CATEGORIES= graphics +MASTER_SITES= ftp://ftp.mostang.com/pub/sane/ + +MAINTAINER= packages@netbsd.org + +LIB_DEPENDS= gtk.1.:../../x11/gtk + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_X11= yes + +MAN1= scanimage.1 xscanimage.1 saned.1 +MAN5= sane-dll.5 sane-hp.5 sane-mustek.5 sane-net.5 sane-pnm.5 \ + sane-pint.5 sane-qcam.5 sane-umax.5 sane-scsi.5 sane-dmc.5 \ + sane-epson.5 sane-microtek.5 + +post-install: + ${LDCONFIG} || ${TRUE} + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/sane/files/md5 b/graphics/sane/files/md5 new file mode 100644 index 00000000000..2a12d332fee --- /dev/null +++ b/graphics/sane/files/md5 @@ -0,0 +1 @@ +MD5 (sane-0.72.tar.gz) = 17740676be8bce35871b0415002bf57a diff --git a/graphics/sane/patches/patch-aa b/graphics/sane/patches/patch-aa new file mode 100644 index 00000000000..ad770f64cc6 --- /dev/null +++ b/graphics/sane/patches/patch-aa @@ -0,0 +1,22 @@ +--- backend/Makefile.in.orig Thu Apr 30 05:54:27 1998 ++++ backend/Makefile.in Thu Apr 30 05:55:10 1998 +@@ -75,7 +75,7 @@ + + %-s.c: $(srcdir)/stubs.c + rm -f $@ +- ln -s $(srcdir)/stubs.c $@ ++ ln -sf $(srcdir)/stubs.c $@ + + # Don't delete any intermediate files. + .PRECIOUS: %-s.c %-s.lo %.lo dll-preload.c +@@ -92,8 +92,8 @@ + @$(LIBTOOL) $(MINST) --finish $(libdir) + rm -f $(libdir)/libsane.a $(libdir)/libsane.so \ + $(libdir)/libsane.so.$(V_MAJOR)* +- ln -s libsane-dll.a $(libdir)/libsane.a +- ln -s libsane-dll.so $(libdir)/libsane.so ++ ln -sf libsane-dll.a $(libdir)/libsane.a ++ ln -sf libsane-dll.so $(libdir)/libsane.so + @cd $(libdir) && for n in libsane-dll.so.$(V_MAJOR)*; do \ + nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \ + ln -s $$n $$nn; \ diff --git a/graphics/sane/patches/patch-ab b/graphics/sane/patches/patch-ab new file mode 100644 index 00000000000..b59cfa1cc90 --- /dev/null +++ b/graphics/sane/patches/patch-ab @@ -0,0 +1,11 @@ +--- include/sane/sanei_pio.h.orig Tue Apr 7 06:44:32 1998 ++++ include/sane/sanei_pio.h Thu Apr 30 21:24:04 1998 +@@ -46,7 +46,7 @@ + + #include <sane/sane.h> + +-extern SANE_Status sanei_pio_open (const char * dev, int * fd); ++extern int sanei_pio_open (const char * dev, SANE_Status * fd); + extern void sanei_pio_close (int fd); + extern int sanei_pio_read (int fd, u_char * buf, int n); + extern int sanei_pio_write (int fd, const u_char * buf, int n); diff --git a/graphics/sane/patches/patch-ac b/graphics/sane/patches/patch-ac new file mode 100644 index 00000000000..daacbd9e5cd --- /dev/null +++ b/graphics/sane/patches/patch-ac @@ -0,0 +1,11 @@ +--- frontend/Makefile.in-orig Wed Nov 5 08:36:47 1997 ++++ frontend/Makefile.in Sun May 3 19:56:31 1998 +@@ -28,7 +28,7 @@ + + CC = @CC@ + INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include \ +- -I/usr/local/include ++ -I/usr/local/include -I${prefix}/lib/glib/include + CPPFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ + LDFLAGS = @LDFLAGS@ diff --git a/graphics/sane/pkg/COMMENT b/graphics/sane/pkg/COMMENT new file mode 100644 index 00000000000..bb48c672fe9 --- /dev/null +++ b/graphics/sane/pkg/COMMENT @@ -0,0 +1 @@ +API for access to scanners, digitals camera, frame grabbers etc. diff --git a/graphics/sane/pkg/DESCR b/graphics/sane/pkg/DESCR new file mode 100644 index 00000000000..79696e59f96 --- /dev/null +++ b/graphics/sane/pkg/DESCR @@ -0,0 +1,7 @@ +SANE is a universal scanner interface. The value of such a universal +interface is that it allows writing just one driver per image acquisition +device rather than one driver for each device and application. So, if you +have three applications and four devices, traditionally you'd have had to +write 12 different programs. With SANE, this number is reduced to seven: +the three applications plus the four drivers. Of course, the savings get +even bigger as more and more drivers and/or applications are added. diff --git a/graphics/sane/pkg/PLIST b/graphics/sane/pkg/PLIST new file mode 100644 index 00000000000..a1e7f72af5c --- /dev/null +++ b/graphics/sane/pkg/PLIST @@ -0,0 +1,103 @@ +@comment $NetBSD: PLIST,v 1.1 1998/05/03 20:49:45 frueauf Exp $ +bin/scanimage +bin/xcam +bin/xscanimage +etc/sane.d/apple.conf +etc/sane.d/artec.conf +etc/sane.d/coolscan.conf +etc/sane.d/dll.conf +etc/sane.d/dmc.conf +etc/sane.d/epson.conf +etc/sane.d/hp.conf +etc/sane.d/microtek.conf +etc/sane.d/mustek.conf +etc/sane.d/net.conf +etc/sane.d/s9036.conf +etc/sane.d/snapscan.conf +etc/sane.d/tamarack.conf +etc/sane.d/umax.conf +include/sane/config.h +include/sane/sane.h +include/sane/sanei.h +include/sane/sanei_backend.h +include/sane/sanei_codec_ascii.h +include/sane/sanei_codec_bin.h +include/sane/sanei_debug.h +include/sane/sanei_net.h +include/sane/sanei_scsi.h +include/sane/sanei_wire.h +include/sane/saneopts.h +lib/libsane-apple.a +lib/libsane-apple.la +lib/libsane-apple.so.0.72 +lib/libsane-artec.a +lib/libsane-artec.la +lib/libsane-artec.so.0.72 +lib/libsane-canon.a +lib/libsane-canon.la +lib/libsane-canon.so.0.72 +lib/libsane-coolscan.a +lib/libsane-coolscan.la +lib/libsane-coolscan.so.0.72 +lib/libsane-dll.a +lib/libsane-dll.la +lib/libsane-dll.so.0.72 +lib/libsane-dmc.a +lib/libsane-dmc.la +lib/libsane-dmc.so.0.72 +lib/libsane-epson.a +lib/libsane-epson.la +lib/libsane-epson.so.0.72 +lib/libsane-hp.a +lib/libsane-hp.la +lib/libsane-hp.so.0.72 +lib/libsane-microtek.a +lib/libsane-microtek.la +lib/libsane-microtek.so.0.72 +lib/libsane-mustek.a +lib/libsane-mustek.la +lib/libsane-mustek.so.0.72 +lib/libsane-net.a +lib/libsane-net.la +lib/libsane-net.so.0.72 +lib/libsane-pint.a +lib/libsane-pint.la +lib/libsane-pint.so.0.72 +lib/libsane-pnm.a +lib/libsane-pnm.la +lib/libsane-pnm.so.0.72 +lib/libsane-s9036.a +lib/libsane-s9036.la +lib/libsane-s9036.so.0.72 +lib/libsane-snapscan.a +lib/libsane-snapscan.la +lib/libsane-snapscan.so.0.72 +lib/libsane-tamarack.a +lib/libsane-tamarack.la +lib/libsane-tamarack.so.0.72 +lib/libsane-umax.a +lib/libsane-umax.la +lib/libsane-umax.so.0.72 +lib/libsane.a +lib/libsane.so +lib/libsane.so.0.72 +@exec /sbin/ldconfig || /usr/bin/true +man/man1/saned.1.gz +man/man1/scanimage.1.gz +man/man1/xscanimage.1.gz +man/man5/sane-dll.5.gz +man/man5/sane-dmc.5.gz +man/man5/sane-epson.5.gz +man/man5/sane-hp.5.gz +man/man5/sane-microtek.5.gz +man/man5/sane-mustek.5.gz +man/man5/sane-net.5.gz +man/man5/sane-pnm.5.gz +man/man5/sane-pint.5.gz +man/man5/sane-qcam.5.gz +man/man5/sane-umax.5.gz +man/man5/sane-scsi.5.gz +sbin/saned +share/sane-style.rc +@dirrm include/sane +@dirrm etc/sane.d |