diff options
author | veego <veego@pkgsrc.org> | 2001-02-21 19:53:27 +0000 |
---|---|---|
committer | veego <veego@pkgsrc.org> | 2001-02-21 19:53:27 +0000 |
commit | 7ca0731f3f07334e5152c42fb54ee6e7cf3b66ad (patch) | |
tree | ee96646f62fca3ded820a7c9b27630c9c79b6035 /graphics | |
parent | fc6aebde7f8ae4b1e4ff107e361661a629723a9c (diff) | |
download | pkgsrc-7ca0731f3f07334e5152c42fb54ee6e7cf3b66ad.tar.gz |
Begining with version 1.0.4 the sane package from http://www.mostang.com/sane/
has been split into two packages: backends and frontends.
We do the same split in pkgsrc and create two new packages.
This is the sane-backends package (based on the old sane package).
Changes since sane 1.0.3:
* New backends: as6e, nec, pie.
* Updated backends: artec (v0.5.15), avision (v0.2.1), epson (v0.1.39),
hp (v0.93), mustek (v1.0-102), mustek_pp (v0.9-devel), plustek (v0.38),
sharp (v0.32), umax (v1.0-21).
* Moved frontends xscanimage and xcam to a new package (sane-frontends).
* Added authentification with encrypted passwords.
* Installation of shared libraries on AIX is supported now.
* Fixed compilation bugs on Irix and FreeBSD.
* Better debug output on platforms not supporting vararg macros.
* Better documentation about SANE devicenames.
* Bugfixes.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sane-backends/Makefile | 32 | ||||
-rw-r--r-- | graphics/sane-backends/files/md5 | 3 | ||||
-rw-r--r-- | graphics/sane-backends/files/patch-sum | 5 | ||||
-rw-r--r-- | graphics/sane-backends/patches/patch-aa | 46 | ||||
-rw-r--r-- | graphics/sane-backends/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/sane-backends/patches/patch-ac | 13 | ||||
-rw-r--r-- | graphics/sane-backends/pkg/DESCR | 7 | ||||
-rw-r--r-- | graphics/sane-backends/pkg/PLIST | 246 |
8 files changed, 365 insertions, 0 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile new file mode 100644 index 00000000000..d7b32b1969f --- /dev/null +++ b/graphics/sane-backends/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ +# FreeBSD Id: Makefile,v 1.3 1998/04/30 02:38:03 obrien Exp +# + +DISTNAME= sane-backends-1.0.4 +CATEGORIES= graphics +MASTER_SITES= ftp://ftp.mostang.com/pub/sane/ \ + ftp://gd.tuwien.ac.at/hci/sane/ \ + ftp://metalab.unc.edu/pub/Linux/apps/graphics/capture/ \ + ftp://metalab.unc.edu/pub/Linux/Incoming/ \ + ftp://ftp.u-aizu.ac.jp/pub/misc/device/scsi/scanner/sane/ \ + http://gd.tuwien.ac.at/hci/sane/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.mostang.com/sane/ +COMMENT= API for access to scanners, digitals camera, frame grabbers etc + +DEPENDS+= jpeg-6b:../../graphics/jpeg + +CONFLICTS+= sane<=1.0.3 + +GNU_CONFIGURE= yes +USE_GMAKE= yes +#USE_X11BASE= yes +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig +CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include" + +# -O to work around a bug with -O2 and egcs. +CFLAGS= -O -I${LOCALBASE}/include + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/sane-backends/files/md5 b/graphics/sane-backends/files/md5 new file mode 100644 index 00000000000..517250d0f9d --- /dev/null +++ b/graphics/sane-backends/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ + +MD5 (sane-backends-1.0.4.tar.gz) = 9c265548bc5b628e6cc614124d49b00e diff --git a/graphics/sane-backends/files/patch-sum b/graphics/sane-backends/files/patch-sum new file mode 100644 index 00000000000..6314996885a --- /dev/null +++ b/graphics/sane-backends/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ + +MD5 (patch-aa) = 264ff2a5c27555b86ddf3cadf89df5d8 +MD5 (patch-ab) = d746083f91b2d120613a48b3ec80f430 +MD5 (patch-ac) = 6ff46739fc3bffb80a66b3e9cb016eb6 diff --git a/graphics/sane-backends/patches/patch-aa b/graphics/sane-backends/patches/patch-aa new file mode 100644 index 00000000000..05dce7cbcd9 --- /dev/null +++ b/graphics/sane-backends/patches/patch-aa @@ -0,0 +1,46 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ + +--- backend/Makefile.in Thu Nov 30 21:05:49 2000 ++++ backend/Makefile.in Sun Feb 18 16:30:49 2001 +@@ -33,7 +33,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + RANLIB = @RANLIB@ +-LN_S = @LN_S@ ++LN_S = @LN_S@ -f + + CC = @CC@ + INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include +@@ -93,7 +93,7 @@ + $(MKDIR) $(libdir) $(libsanedir) $(configdir) + @list="$(LIBS)"; for be in $$list; do \ + echo installing $${be} in $(libsanedir)...; \ +- $(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) $${be} $(libsanedir)/$${be} \ ++ $(LIBTOOL) $(MINST) $(INSTALL_DATA) $${be} $(libsanedir)/$${be} \ + || exit 1; \ + done + @$(LIBTOOL) $(MINST) --finish $(libsanedir) +@@ -101,10 +101,14 @@ + @dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \ + list="$(ALL_BACKENDS)"; cd $(libsanedir) && for be in $$list; do \ + file=libsane-$${be}.$$dllend.$(V_MAJOR); \ ++ lnkf=libsane-$${be}.so.$(V_MAJOR); \ + lib=`grep dlname= libsane-$${be}.la | cut -f2 -d"'"`; \ + if test ! -f $${file} -a -n "$${lib}"; then \ + $(LN_S) $${lib} $${file}; \ + fi; \ ++ if test ! -f $${lnkf} -a -n "$${lib}"; then \ ++ $(LN_S) $${lib} $${lnkf}; \ ++ fi; \ + done + @# Assume the dll name without any versions is last + @dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \ +@@ -116,7 +120,7 @@ + nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \ + (cd ..; $(LN_S) sane/$$n $$nn); \ + done || exit 1 +- $(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) libsane.la $(libdir)/libsane.la ++ $(LIBTOOL) $(MINST) $(INSTALL_DATA) libsane.la $(libdir)/libsane.la + @list="$(CONFIGS)"; for cfg in $$list; do \ + if test ! -r $(srcdir)/$${cfg}; then continue; fi; \ + if test -f $(configdir)/$${cfg}; then \ diff --git a/graphics/sane-backends/patches/patch-ab b/graphics/sane-backends/patches/patch-ab new file mode 100644 index 00000000000..6c56e71969d --- /dev/null +++ b/graphics/sane-backends/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ + +--- configure Thu Dec 21 23:22:15 2000 ++++ configure Sun Feb 18 16:29:25 2001 +@@ -2434,7 +2434,7 @@ + EOF + if { (eval echo configure:2436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=yes" ++ eval "ac_cv_lib_$ac_lib_var=no" + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 diff --git a/graphics/sane-backends/patches/patch-ac b/graphics/sane-backends/patches/patch-ac new file mode 100644 index 00000000000..c4d1c6f5909 --- /dev/null +++ b/graphics/sane-backends/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ + +--- tools/Makefile.in.orig Sun Mar 5 14:45:19 2000 ++++ tools/Makefile.in Mon Jul 3 17:13:09 2000 +@@ -65,7 +65,7 @@ + all: $(DESTINATIONS) + + install: sane-config +- $(INSTALL_PROGRAM) sane-config $(bindir)/sane-config ++ ${BSD_INSTALL_SCRIPT} sane-config ${bindir}/sane-config + + sane-config: sane-config.in $(top_builddir)/config.status + cd $(top_builddir) \ diff --git a/graphics/sane-backends/pkg/DESCR b/graphics/sane-backends/pkg/DESCR new file mode 100644 index 00000000000..79696e59f96 --- /dev/null +++ b/graphics/sane-backends/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-backends/pkg/PLIST b/graphics/sane-backends/pkg/PLIST new file mode 100644 index 00000000000..f0d462edc51 --- /dev/null +++ b/graphics/sane-backends/pkg/PLIST @@ -0,0 +1,246 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/21 19:53:27 veego Exp $ +bin/sane-config +bin/scanimage +etc/sane.d/abaton.conf +etc/sane.d/agfafocus.conf +etc/sane.d/apple.conf +etc/sane.d/artec.conf +etc/sane.d/avision.conf +etc/sane.d/coolscan.conf +etc/sane.d/dc210.conf +etc/sane.d/dc25.conf +etc/sane.d/dll.conf +etc/sane.d/dmc.conf +etc/sane.d/epson.conf +etc/sane.d/hp.conf +etc/sane.d/m3096g.conf +etc/sane.d/microtek.conf +etc/sane.d/microtek2.conf +etc/sane.d/mustek.conf +etc/sane.d/mustek_pp.conf +etc/sane.d/nec.conf +etc/sane.d/net.conf +etc/sane.d/pie.conf +etc/sane.d/plustek.conf +etc/sane.d/ricoh.conf +etc/sane.d/s9036.conf +etc/sane.d/saned.conf +etc/sane.d/sharp.conf +etc/sane.d/snapscan.conf +etc/sane.d/sp15c.conf +etc/sane.d/st400.conf +etc/sane.d/tamarack.conf +etc/sane.d/umax.conf +include/sane/sane.h +include/sane/saneopts.h +lib/libsane.a +lib/libsane.la +lib/libsane.so +lib/libsane.so.1 +lib/libsane.so.1.4 +lib/sane/libsane-abaton.a +lib/sane/libsane-abaton.la +lib/sane/libsane-abaton.so +lib/sane/libsane-abaton.so.1 +lib/sane/libsane-abaton.so.1.4 +lib/sane/libsane-agfafocus.a +lib/sane/libsane-agfafocus.la +lib/sane/libsane-agfafocus.so +lib/sane/libsane-agfafocus.so.1 +lib/sane/libsane-agfafocus.so.1.4 +lib/sane/libsane-apple.a +lib/sane/libsane-apple.la +lib/sane/libsane-apple.so +lib/sane/libsane-apple.so.1 +lib/sane/libsane-apple.so.1.4 +lib/sane/libsane-artec.a +lib/sane/libsane-artec.la +lib/sane/libsane-artec.so +lib/sane/libsane-artec.so.1 +lib/sane/libsane-artec.so.1.4 +lib/sane/libsane-as6e.a +lib/sane/libsane-as6e.la +lib/sane/libsane-as6e.so +lib/sane/libsane-as6e.so.1 +lib/sane/libsane-as6e.so.1.4 +lib/sane/libsane-avision.a +lib/sane/libsane-avision.la +lib/sane/libsane-avision.so +lib/sane/libsane-avision.so.1 +lib/sane/libsane-avision.so.1.4 +lib/sane/libsane-canon.a +lib/sane/libsane-canon.la +lib/sane/libsane-canon.so +lib/sane/libsane-canon.so.1 +lib/sane/libsane-canon.so.1.4 +lib/sane/libsane-coolscan.a +lib/sane/libsane-coolscan.la +lib/sane/libsane-coolscan.so +lib/sane/libsane-coolscan.so.1 +lib/sane/libsane-coolscan.so.1.4 +lib/sane/libsane-dc210.a +lib/sane/libsane-dc210.la +lib/sane/libsane-dc210.so +lib/sane/libsane-dc210.so.1 +lib/sane/libsane-dc210.so.1.4 +lib/sane/libsane-dc25.a +lib/sane/libsane-dc25.la +lib/sane/libsane-dc25.so +lib/sane/libsane-dc25.so.1 +lib/sane/libsane-dc25.so.1.4 +lib/sane/libsane-dll.a +lib/sane/libsane-dll.la +lib/sane/libsane-dll.so +lib/sane/libsane-dll.so.1 +lib/sane/libsane-dll.so.1.4 +lib/sane/libsane-dmc.a +lib/sane/libsane-dmc.la +lib/sane/libsane-dmc.so +lib/sane/libsane-dmc.so.1 +lib/sane/libsane-dmc.so.1.4 +lib/sane/libsane-epson.a +lib/sane/libsane-epson.la +lib/sane/libsane-epson.so +lib/sane/libsane-epson.so.1 +lib/sane/libsane-epson.so.1.4 +lib/sane/libsane-hp.a +lib/sane/libsane-hp.la +lib/sane/libsane-hp.so +lib/sane/libsane-hp.so.1 +lib/sane/libsane-hp.so.1.4 +lib/sane/libsane-m3096g.a +lib/sane/libsane-m3096g.la +lib/sane/libsane-m3096g.so +lib/sane/libsane-m3096g.so.1 +lib/sane/libsane-m3096g.so.1.4 +lib/sane/libsane-microtek.a +lib/sane/libsane-microtek.la +lib/sane/libsane-microtek.so +lib/sane/libsane-microtek.so.1 +lib/sane/libsane-microtek.so.1.4 +lib/sane/libsane-microtek2.a +lib/sane/libsane-microtek2.la +lib/sane/libsane-microtek2.so +lib/sane/libsane-microtek2.so.1 +lib/sane/libsane-microtek2.so.1.4 +lib/sane/libsane-mustek.a +lib/sane/libsane-mustek.la +lib/sane/libsane-mustek.so +lib/sane/libsane-mustek.so.1 +lib/sane/libsane-mustek.so.1.4 +lib/sane/libsane-mustek_pp.a +lib/sane/libsane-mustek_pp.la +lib/sane/libsane-mustek_pp.so +lib/sane/libsane-mustek_pp.so.1 +lib/sane/libsane-mustek_pp.so.1.4 +lib/sane/libsane-nec.a +lib/sane/libsane-nec.la +lib/sane/libsane-nec.so +lib/sane/libsane-nec.so.1 +lib/sane/libsane-nec.so.1.4 +lib/sane/libsane-net.a +lib/sane/libsane-net.la +lib/sane/libsane-net.so +lib/sane/libsane-net.so.1 +lib/sane/libsane-net.so.1.4 +lib/sane/libsane-pie.a +lib/sane/libsane-pie.la +lib/sane/libsane-pie.so +lib/sane/libsane-pie.so.1 +lib/sane/libsane-pie.so.1.4 +lib/sane/libsane-pint.a +lib/sane/libsane-pint.la +lib/sane/libsane-pint.so +lib/sane/libsane-pint.so.1 +lib/sane/libsane-pint.so.1.4 +lib/sane/libsane-plustek.a +lib/sane/libsane-plustek.la +lib/sane/libsane-plustek.so +lib/sane/libsane-plustek.so.1 +lib/sane/libsane-plustek.so.1.4 +lib/sane/libsane-pnm.a +lib/sane/libsane-pnm.la +lib/sane/libsane-pnm.so +lib/sane/libsane-pnm.so.1 +lib/sane/libsane-pnm.so.1.4 +lib/sane/libsane-ricoh.a +lib/sane/libsane-ricoh.la +lib/sane/libsane-ricoh.so +lib/sane/libsane-ricoh.so.1 +lib/sane/libsane-ricoh.so.1.4 +lib/sane/libsane-s9036.a +lib/sane/libsane-s9036.la +lib/sane/libsane-s9036.so +lib/sane/libsane-s9036.so.1 +lib/sane/libsane-s9036.so.1.4 +lib/sane/libsane-sharp.a +lib/sane/libsane-sharp.la +lib/sane/libsane-sharp.so +lib/sane/libsane-sharp.so.1 +lib/sane/libsane-sharp.so.1.4 +lib/sane/libsane-snapscan.a +lib/sane/libsane-snapscan.la +lib/sane/libsane-snapscan.so +lib/sane/libsane-snapscan.so.1 +lib/sane/libsane-snapscan.so.1.4 +lib/sane/libsane-sp15c.a +lib/sane/libsane-sp15c.la +lib/sane/libsane-sp15c.so +lib/sane/libsane-sp15c.so.1 +lib/sane/libsane-sp15c.so.1.4 +lib/sane/libsane-st400.a +lib/sane/libsane-st400.la +lib/sane/libsane-st400.so +lib/sane/libsane-st400.so.1 +lib/sane/libsane-st400.so.1.4 +lib/sane/libsane-tamarack.a +lib/sane/libsane-tamarack.la +lib/sane/libsane-tamarack.so +lib/sane/libsane-tamarack.so.1 +lib/sane/libsane-tamarack.so.1.4 +lib/sane/libsane-umax.a +lib/sane/libsane-umax.la +lib/sane/libsane-umax.so +lib/sane/libsane-umax.so.1 +lib/sane/libsane-umax.so.1.4 +man/man1/saned.1 +man/man1/scanimage.1 +man/man5/sane-abaton.5 +man/man5/sane-agfafocus.5 +man/man5/sane-apple.5 +man/man5/sane-artec.5 +man/man5/sane-as6e.5 +man/man5/sane-avision.5 +man/man5/sane-canon.5 +man/man5/sane-coolscan.5 +man/man5/sane-dc210.5 +man/man5/sane-dc25.5 +man/man5/sane-dll.5 +man/man5/sane-dmc.5 +man/man5/sane-epson.5 +man/man5/sane-fujitsu.5 +man/man5/sane-hp.5 +man/man5/sane-microtek.5 +man/man5/sane-microtek2.5 +man/man5/sane-mustek.5 +man/man5/sane-mustek_pp.5 +man/man5/sane-nec.5 +man/man5/sane-net.5 +man/man5/sane-pie.5 +man/man5/sane-pint.5 +man/man5/sane-plustek.5 +man/man5/sane-pnm.5 +man/man5/sane-qcam.5 +man/man5/sane-ricoh.5 +man/man5/sane-s9036.5 +man/man5/sane-scsi.5 +man/man5/sane-sharp.5 +man/man5/sane-snapscan.5 +man/man5/sane-st400.5 +man/man5/sane-tamarack.5 +man/man5/sane-umax.5 +man/man5/sane-v4l.5 +sbin/saned +@dirrm etc/sane.d +@dirrm include/sane +@dirrm lib/sane |