Mercurial > oi > oi-build
changeset 359:a67615a8f492
7045959 migrate sane-backends and sane-frontends from SFW to userland
author | Liam Li<Liam.Li@Oracle.COM> |
---|---|
date | Sun, 03 Jul 2011 18:09:06 -0700 |
parents | b973df7d380a |
children | 4fd3779cba48 |
files | components/meta-packages/history/SUNWsane-backend.p5m components/meta-packages/history/SUNWsane-frontend.p5m components/sane-backends/Makefile components/sane-backends/patches/backends.patch components/sane-backends/sane-backends.license components/sane-backends/sane-backends.p5m components/sane-frontends/Makefile components/sane-frontends/patches/frontend.patch components/sane-frontends/sane-frontend.license components/sane-frontends/sane-frontends.p5m |
diffstat | 10 files changed, 1851 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/meta-packages/history/SUNWsane-backend.p5m Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,29 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# + +set name=pkg.fmri value=pkg:/SUNWsane-backend@1.0.19,5.11-0.133 +set name=pkg.renamed value=true + +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +depend fmri=image/scanner/xsane/sane-backends@1.0.19-0.133 type=require
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/meta-packages/history/SUNWsane-frontend.p5m Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,29 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# + +set name=pkg.fmri value=pkg:/SUNWsane-frontend@1.0.14,5.11-0.133 +set name=pkg.renamed value=true + +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +depend fmri=image/scanner/xsane/sane-frontend@1.0.14-0.133 type=require
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-backends/Makefile Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,48 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# +include ../../make-rules/shared-macros.mk + +COMPONENT_NAME= sane-backends +COMPONENT_VERSION= 1.0.19 +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz +COMPONENT_ARCHIVE_HASH= sha1:3ff8eefa8f32e72dcdbaa4bf20fe125df90144d5 +COMPONENT_ARCHIVE_URL= ftp://ftp2.sane-project.org/pub/sane/old-versions/sane-backends-1.0.19/$(COMPONENT_ARCHIVE) + +include ../../make-rules/prep.mk +include ../../make-rules/configure.mk +include ../../make-rules/ips.mk + +CONFIGURE_OPTIONS += --disable-locking +CONFIGURE_OPTIONS += --sysconfdir=/etc +CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" + +build: $(BUILD_32) + +install: $(INSTALL_32) + +test: $(NO_TESTS) + +BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) + +include ../../make-rules/depend.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-backends/patches/backends.patch Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,323 @@ +--- sane-backends-1.0.19/configure Sun Feb 10 15:02:31 2008 ++++ sane-backends-1.0.19/configure Mon May 30 19:25:06 2011 +@@ -3951,8 +3951,8 @@ + + + ++MAKEDEPEND=no + +- + if test "$MAKEDEPEND" != "no"; then + DEPEND_RECURSIVE="depend-recursive" + fi +--- sane-backends-1.0.19/backend/plustek-usb.h Mon Dec 17 06:28:13 2007 ++++ sane-backends-1.0.19/backend/plustek-usb.h Mon May 30 19:25:08 2011 +@@ -130,22 +130,28 @@ + #define _PHILO2WORD(x) ((u_short)x->bHi * 256U + x->bLo) + #define _PLOHI2WORD(x) ((u_short)x->bLo * 256U + x->bHi) + +-#define PACKED8 __attribute__ ((packed,aligned(1))) +-#define PACKED16 __attribute__ ((packed,aligned(2))) ++/* change to use Sun Studio CC */ + ++/* #define PACKED8 __attribute__ ((packed,aligned(1))) */ ++/* #define PACKED16 __attribute__ ((packed,aligned(2))) */ ++ ++#pragma pack(1) + /* useful for RGB-values */ + typedef struct { + u_char Red; + u_char Green; + u_char Blue; +-} PACKED8 RGBByteDef; ++} /*PACKED8*/ RGBByteDef; + ++#pragma pack(2) + typedef struct { + u_short Red; + u_short Green; + u_short Blue; +-} PACKED16 RGBUShortDef; ++} /*PACKED16*/ RGBUShortDef; + ++#pragma pack() ++ + typedef struct { + u_long Red; + u_long Green; +@@ -152,25 +158,29 @@ + u_long Blue; + } RGBULongDef; + ++#pragma pack(1) + typedef struct { + u_char a_bColor[3]; +-} PACKED8 ColorByteDef; ++} /*PACKED8*/ ColorByteDef; + + typedef struct { + u_char bHi; + u_char bLo; +-} PACKED8 HiLoDef; ++} /*PACKED8*/ HiLoDef; + ++#pragma pack(2) + typedef union { + HiLoDef HiLo[3]; + u_short Colors[3]; +-} PACKED16 ColorWordDef; ++} /*PACKED16*/ ColorWordDef; + + typedef union { + HiLoDef HiLo; + u_short Mono; +-} PACKED16 MonoWordDef; ++} /*PACKED16*/ MonoWordDef; + ++#pragma pack() ++ + typedef union { + + u_char *pb; +@@ -182,7 +192,7 @@ + RGBUShortDef *pw_rgb; + HiLoDef *philo; + +-} __attribute__ ((aligned(4))) AnyPtr; ++} /*__attribute__ ((aligned(4)))*/ AnyPtr; + + typedef struct { + unsigned short x; +--- sane-backends-1.0.19/backend/hp5590_cmds.c Wed Nov 28 03:43:39 2007 ++++ sane-backends-1.0.19/backend/hp5590_cmds.c Mon May 30 19:25:06 2011 +@@ -154,6 +154,9 @@ + #define CMD_START_SCAN 0x051b + #define CMD_BUTTON_STATUS 0x0020 + ++/* change attribute keyword to #pragma to use Sun Studio */ ++ ++#pragma pack(1) + struct init_resp + { + u_int8_t flags; /* bit 0 - TMA, bit 1 - ADF, bit 3 - LCD present */ +@@ -167,13 +170,13 @@ + u_int8_t pad2[8]; /* 00 00 00 00 00 00 00 00 */ + u_int16_t motor_param_normal; /* 00 64 = 100 */ + u_int16_t motor_param_max; /* 03 E8 = 1000 */ +-} __attribute__ ((packed)); ++}; /* __attribute__ ((packed)); */ + + struct power_resp + { + u_int8_t flags; + u_int16_t unk1; +-} __attribute__ ((packed)); ++}; /* __attribute__ ((packed)); */ + + /* + * 215.9 mm x 297.2 mm +@@ -347,7 +350,7 @@ + * + * bw 1200 : 04 f5 = 1269 + */ +-} __attribute__ ((packed)); ++}; /*__attribute__ ((packed)); */ + + struct image_params + { +@@ -395,7 +398,7 @@ + u_int16_t line_width; + u_int16_t real_size_y; + u_int32_t pad3; /* 00 00 00 00 */ +-} __attribute__ ((packed)); ++}; /*__attribute__ ((packed));*/ + + struct lamp_state + { +@@ -402,7 +405,7 @@ + u_int8_t unk1; /* 02 */ + u_int8_t flag; /* 01 on start, 02 - TMA, 03 - all other */ + u_int16_t turnoff_time; /* 0a 0a, 03 36, 0f 36 */ +-} __attribute__ ((packed)); ++};/* __attribute__ ((packed));*/ + + struct color_map + { +@@ -409,7 +412,7 @@ + u_int8_t color1[6]; /* 00 00 00 00 01 00 */ + u_int8_t color2[6]; /* 00 00 00 00 01 00 */ + u_int8_t color3[6]; /* 00 00 00 00 01 00 */ +-} __attribute__ ((packed)); ++};/* __attribute__ ((packed)); */ + + struct reg_03 + { +@@ -416,8 +419,10 @@ + u_int8_t unk1; /* 0x0b - ADF ready, 0x03 - not */ + u_int8_t unk2; /* 0x80 */ + u_int8_t adf_flags; /* 0x01 - ADF ready when selected, 0x02 - not */ +-} __attribute__ ((packed)); ++};/* __attribute__ ((packed));*/ + ++#pragma pack() ++ + /******************************************************************************/ + static SANE_Status + hp5590_vendor_product_id (enum hp_scanner_types scanner_type, +--- sane-backends-1.0.19/backend/hp5590_low.c Sat Feb 2 23:47:55 2008 ++++ sane-backends-1.0.19/backend/hp5590_low.c Mon May 30 19:25:07 2011 +@@ -65,12 +65,14 @@ + return SANE_STATUS_INVAL; \ + } + ++/* change attribute keyword to #pragma to use Sun Studio */ ++#pragma pack(1) + /* Structure describing bulk transfer size */ + struct bulk_size + { + u_int16_t size; + u_int8_t unused; +-} __attribute__ ((packed)); ++}; /* __attribute__ ((packed));*/ + + /* Structure describing bulk URB */ + /* FIXME: Verify according to USB standard */ +@@ -82,7 +84,7 @@ + u_int16_t unknown; + u_int16_t wLength; + u_int8_t pad; +-} __attribute__ ((packed)); ++}; /* __attribute__ ((packed)); */ + + /* Structure describing control URB */ + struct usb_in_usb_ctrl_setup { +@@ -91,8 +93,10 @@ + u_int16_t wValue; + u_int16_t wIndex; + u_int16_t wLength; +-} __attribute__ ((packed)); ++}; /* __attribute__ ((packed)); */ + ++#pragma pack() ++ + /* CORE status flag - ready or not */ + #define CORE_FLAG_NOT_READY 1 << 1 + +--- sane-backends-1.0.19/doc/sane-mustek_pp.man Sun Feb 11 09:36:31 2007 ++++ sane-backends-1.0.19/doc/sane-mustek_pp.man Mon May 30 19:25:09 2011 +@@ -422,7 +422,7 @@ + levels reduce verbosity. + .sp + .TS +-lb lb; ++lb lb + l l. + level debug output + - - +@@ -441,7 +441,7 @@ + million lines of debug output. + .sp + .TS +-lb lb; ++lb lb + l l. + level debug output + - - +--- sane-backends-1.0.19/backend/Makefile.in Fri May 20 00:42:26 2011 ++++ sane-backends-1.0.19/backend/Makefile.in Fri May 20 01:38:02 2011 +@@ -208,6 +208,32 @@ + umax1220u.c umax1220u-common.c umax1220u.conf.in \ + v4l.c v4l.conf.in v4l-frequencies.h v4l.h + ++BACKEND_CONFS = abaton.conf agfafocus.conf apple.conf \ ++ artec.conf artec_eplus48u.conf avision.conf \ ++ bh.conf canon.conf canon630u.conf \ ++ canon_pp.conf cardscan.conf coolscan.conf \ ++ coolscan2.conf dc210.conf dc240.conf \ ++ dc25.conf dell1600n_net.conf dll.conf \ ++ dmc.conf epjitsu.conf epson.conf \ ++ epson2.conf fujitsu.conf genesys.conf \ ++ gphoto2.conf gt68xx.conf hp.conf \ ++ hp3900.conf hp4200.conf hp5400.conf \ ++ hpsj5s.conf hs2p.conf ibm.conf \ ++ leo.conf lexmark.conf ma1509.conf \ ++ matsushita.conf microtek.conf microtek2.conf \ ++ mustek.conf mustek_pp.conf mustek_usb.conf \ ++ nec.conf net.conf pie.conf \ ++ plustek.conf plustek_pp.conf qcam.conf \ ++ ricoh.conf s9036.conf saned.conf \ ++ sceptre.conf sharp.conf sm3840.conf \ ++ snapscan.conf sp15c.conf st400.conf \ ++ stv680.conf tamarack.conf teco1.conf \ ++ teco2.conf teco3.conf test.conf \ ++ u12.conf umax.conf umax1220u.conf \ ++ umax_pp.conf v4l.conf \ ++ ++SUFFIXES = .conf.in .conf ++ + .PHONY: all clean depend dist distclean install uninstall + + libsane-%.la: %.lo %-s.lo $(EXTRA) $(LIBOBJS) +@@ -231,6 +257,9 @@ + + all: $(LIBS) libsane.la becfg + ++.SUFFIXES: ++.SUFFIXES: .conf.in .conf ++ + install: $(INSTALL_LOCKPATH) install-be@BE_INSTALL_FLAVOR@ install-libsane install-becfg + + install-be: +@@ -323,8 +352,8 @@ + -rpath $(libdir) -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) + + # Generate .conf files for all existing .conf.in files +-becfg: $(patsubst %.conf.in,%.conf,$(wildcard *.conf.in)) +-%.conf: %.conf.in ++becfg: $(BACKEND_CONFS) ++.conf.in.conf: + @echo Generating $@ from $^ + @sed -e 's|@DATADIR@|$(datadir)|g' \ + -e 's|@CONFIGDIR@|$(configdir)|g' \ +--- sane-backends-1.0.19/tools/Makefile.in Thu May 19 17:46:16 2011 ++++ sane-backends-1.0.19/tools/Makefile.in Thu May 19 18:24:03 2011 +@@ -110,7 +110,7 @@ + @$(LIBTOOL) $(MLINK) $(LINK) gamma4scanimage.o -lm + + ../backend/umax_pp_low.o: ../backend/umax_pp_low.c +- $(COMPILE) ../backend/umax_pp_low.c -o ../backend/umax_pp_low.o \ ++ $(COMPILE) $< -o ../backend/umax_pp_low.o \ + -DBACKEND_NAME=umax_pp_low + + umax_pp: umax_pp.o ../backend/umax_pp_low.o +@@ -119,23 +119,26 @@ + sane-desc: sane-desc.o + @$(LIBTOOL) $(MLINK) $(LINK) sane-desc.o $(LIBSANEI) $(LIBLIB) + +-hotplug/libsane.usermap: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc ++hotplug/libsane.usermap: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc | output-dir + @./sane-desc -m usermap -s ${top_srcdir}/doc/descriptions:${top_srcdir}/doc/descriptions-external \ + -d 1 > $@ + +-hotplug-ng/libsane.db: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc ++hotplug-ng/libsane.db: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc | output-dir + @./sane-desc -m db -s ${top_srcdir}/doc/descriptions:${top_srcdir}/doc/descriptions-external \ + -d 0 > $@ + +-udev/libsane.rules: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc ++udev/libsane.rules: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc | output-dir + @./sane-desc -m udev -s ${top_srcdir}/doc/descriptions:${top_srcdir}/doc/descriptions-external \ + -d 0 > $@ + +-hal/libsane.fdi: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc ++hal/libsane.fdi: $(wildcard ${top_srcdir}/doc/descriptions/*.desc) $(wildcard ${top_srcdir}/doc/descriptions-external/*.desc) sane-desc | output-dir + @./sane-desc -m hal -s ${top_srcdir}/doc/descriptions:${top_srcdir}/doc/descriptions-external \ + -d 0 > $@ + ++output-dir: ++ mkdir hotplug hotplug-ng udev hal + ++ + depend: + makedepend $(INCLUDES) *.c 2>/dev/null +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-backends/sane-backends.license Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,479 @@ +Oracle elects to use only the GNU Lesser General Public License version +2.1 (LGPL)/GNU General Public License version 2 (GPL) for any software +where a choice of LGPL/GPL license versions are made available with the +language indicating that LGPLv2.1/GPLv2 or any later version may be +used, or where a choice of which version of the LGPL/GPL is applied is +unspecified. Unless specifically stated otherwise, where a choice +exists between another license and either the GPL or the LGPL, Oracle +chooses the other license. +-------------------------------------------------------------------- + +Copyright (C) 1998 David Huggins-Daines, heavily based on the Apple +Copyright (C) 1998 Milon Firikis +Copyright (C) 1998-2000 Chris Pinkham +Copyright (C) 2000, 2001, 2002 Michael Herder <crapsite@gmx.net> +Copyright (C) 2000-2002 Gerhard Jaeger <g.jaeger@earthling.net> +Copyright (C) 2000 Eugene S. Weiss +Copyright (C) 1999, 2000, 2001 "René Rebe" <rene@exactcode.de> + "Meino Christian Cramer" <mccramer@s.netic.de> +Copyright (C) 2002 "René Rebe" <rene@exactcode.de> + "Jose Paulo Moitinho de Almeida" <moitinho@civil.ist.utl.pt> +Copyright (C) 2003, 2004, 2005, 2006, 2007 by "René Rebe" <rene@exactcode.de> +Copyright (C) 1999,2000 Tom Martone +Copyright (C) 1997 BYTEC GmbH Germany +Copyright (C) 2002, Nathan Rutman <nathan@gordian.com> +Copyright (C) 2001, Marcio Luis Teixeira +Copyright (C) 2001-2002 Matthew C. Duggan and Simon Krix +Copyright (C) 1998 Ugo Paternostro <paterno@dsi.unifi.it> +Copyright (C) 2006 Jon Chambers <jon@jon.demon.co.uk> +Copyright (C) 1998 David F. Skoll +Copyright (C) 2007 m. allan noah <kitno455 at gmail dot com> +Copyright (C) 1997 Hypercore Software Design, Ltd. +Copyright (C) 1998-1999 Kling & Hautzinger GmbH +Copyright (C) 2000 Mike Porter <mike@udel.edu> (mjp) +Copyright (C) 2003 EPSON KOWA Corporation +Copyright (C) 1999-2005 Karl Heinz Kremer <khk@khk.net> +Copyright (C) 2006 Claus Boje <claus@egehuset.dk> +Copyright (C) 1998-1999 Christian Bucher <bucher@vernetzt.at> +Copyright (C) 1999 Norihiko Sawa <sawa@yb3.so-net.ne.jp> +Copyright (C) 2004, 2005 Gerhard Jaeger <gerhard@gjaeger.de> +Copyright (C) 2006 Laurent Charpentier <laurent_pubs@yahoo.com> +Copyright (C) 2007 Luke <iceyfor@gmail.com> +Copyright (C) 2001-2007 Stephane Voltz <stef.dev@free.fr> +Copyright (C) 2005, 2006 Pierre Willenbrock <pierre@pirsoft.dnsalias.org> +Copyright (C) 2003 Oliver Rauch +Copyright (C) 2005 Philipp Schmid <philipp8288@web.de> +Copyright (C) 2002 Sergey Vlasov <vsu@altlinux.ru> +Copyright (C) 2002-2007 Henning Geinitz <sane@geinitz.org> +Copyright (C) 1997 Geoffrey T. Dairiki +Copyright (C) 2005-2008 Jonathan Bravo Lopez <jkdsoft@gmail.com> +Copyright (C) 2003 Martijn van Oosterhout <kleptog@svana.org> +Copyright (C) 2003 Thomas Soumarmon <thomas.soumarmon@cogitae.net> +Copyright (C) 2001 Bertrik Sikken (bertrik@zonnet.nl) +Copyright (C) 2007 Ilia Sotnikov <hostcc@gmail.com> +Copyright (C) 2007-2008 Philippe Rétornaz +Copyright (C) 2002 Max Vorobiev <pcwizard@telecoms.sins.ru> +Copyright (C) 2007 Jeremy Johnson +Copyright (C) 2003-2004 Lexmark International, Inc. (original source) +Copyright (C) 2005 Fred Odendaal +Copyright (C) 2002 Matthew Marjanovic +Copyright (C) 1996, 1997 David Mosberger-Tang and Andreas Czechanowski, +Copyright (C) 1996, 1997 David Mosberger-Tang, 1998 Andreas Bolsch +Copyright (C) 2000-2003 Jochen Eisinger <jochen.eisinger@gmx.net> +Copyright (C) 2001-2003 Eddy De Greef <eddy_de_greef at scarlet dot be> +Copyright (C) 2003 James Perry +Copyright (C) 2000-2005 Mustek. +Copyright (C) 2000-2001 Kazuya Fukuda +Copyright (C) 2003 Julien BLACHE <jb@jblache.org> +Copyright (C) 2000 Simon Munton +Copyright (C) 1997 Gordon Matzigkeit +Copyright (C) 2006-2007 Wittawat Yamwong <wittawat@web.de> +Copyright (C) 2000-2007 Gerhard Jaeger <gerhard@gjaeger.de> +Copyright (C) 1998,2000 Plustek Inc. +Copyright (C) 2003 Christopher Montgomery <monty@xiph.org> +Copyright (C) 1996, 1997 Andreas Beck +Copyright (C) 1996 by Scott Laird +Copyright (C) 1998 F.W. Dillema (dillema@acm.org) +Copyright (C) 1996, 1997 David Mosberger-Tang and Andreas Beck +Copyright (C) 1998, 1999 Kazuya Fukuda, Abel Deuring +Copyright (C) Marian Eichholz 2001 +Copyright (C) 2005-7 Earle F. Philhower, III +Copyright (C) 2006 Oliver Schwartz +Copyright (C) 2000, 2004 Henrik Johansson, Oliver Schwartz +Copyright (C) 1997, 1998, 2001 Franck Schnefra, Michel Roelofs, +Copyright (C) 1997, 1998 Franck Schnefra, Michel Roelofs, +Copyright (C) 2000 Henrik Johansson +Copyright (C) 1997-2005 Franck Schnefra, Michel Roelofs, Emmanuel Blot, +Copyright (C) 1997, 1998, 1999, 2001 Franck Schnefra, Michel Roelofs, +Copyright (C) 1999-2000 Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de) +Copyright (C) 2001-2004 Frank Zago (sane at zago dot net) +Copyright (C) 2003-2008 Gerard Klaver (gerard at gkall dot hobby dot nl) +Copyright (C) 2001-2006 Henning Meier-Geinitz <henning@meier-geinitz.de> +Copyright (C) 1996-1997 Michael K. Johnson +Copyright (C) 1997-2002 Oliver Rauch +Copyright (C) 1999 Paul Mackerras +Copyright (C) 2000 Adrian Perez Jorge +Copyright (C) 2006 Patrick Lessard +Copyright (C) 1996, 1997, 1998 David Mosberger-Tang +Copyright (C) 1997 Andreas Czechanowski and David Mosberger +Copyright (C) 1997 Jeffrey S. Freedman +Copyright (C) 2000-2003 Jochen Eisinger <jochen.eisinger@gmx.net> +Copyright (C) 2006 Tower Technologies +Copyright (C) 1998-2001 Yuri Dario +Copyright (C) 2005 Paul Smedley <paul@smedley.info> + + + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) 19yy <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + + + +=================================================================== +SANE exceptions: + +SANE consists of three parts each of which has its own licensing +terms: + + * The frontend programs. + + These programs are generally protected by the GNU General Public + License. (See file COPYING.) + + * The backend libraries. + + Most backend libraries are protected by the GNU General Public License + (see file COPYING), but as an exception, it is permissible to link against + such a library without affecting the licensing status of the program + that uses the libraries. For details, see the copyright notice at the + head of the backend files (e.g., backend/dll.c). + + Note that not all of the backends apply the exception and that some have + additional licensing constraints. E.g., the DC210 backend uses JPG code + that is licensed as described in README.djpeg. + + * The SANE API and network protocol as put forth in the standard document. + + The standard is considered to be in the public domain. Anyone is free + to implement SANE interface conforming applications or libraries in + any way he or she sees fit. + +COPYING file and README.djpeg can be found in the source package.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-backends/sane-backends.p5m Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,471 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# + +<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted> +set name=pkg.fmri \ + value=pkg:/image/scanner/xsane/sane-backends@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="SANE library and backends" +set name=info.classification \ + value=org.opensolaris.category.2008:System/Libraries +set name=info.source_url value=$(COMPONENT_ARCHIVE_URL) +set name=info.upstream_url value=http://www.sane-project.org/ +set name=opensolaris.arc_url \ + value=http://arc.opensolaris.org/caselog/PSARC/2008/170 +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) +dir path=etc +dir path=etc/sane.d +dir path=usr +dir path=usr/bin +dir path=usr/include +dir path=usr/include/sane +dir path=usr/lib +dir path=usr/lib/sane +dir path=usr/share +dir path=usr/share/man +dir path=usr/share/man/man1 +dir path=usr/share/man/man5 +dir path=usr/share/man/man7 +file path=etc/sane.d/abaton.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/abaton.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/apple.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/apple.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/artec.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/artec.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/artec_eplus48u.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/artec_eplus48u.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/avision.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/avision.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/bh.conf group=bin mode=0644 \ + original_name=SUNWsane-backend: owner=root preserve=renamenew +file path=etc/sane.d/canon.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/canon.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/canon630u.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/canon630u.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/cardscan.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/cardscan.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/coolscan.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/coolscan.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/coolscan2.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/coolscan2.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/dc25.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/dc25.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/dell1600n_net.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/dell1600n_net.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/dll.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/dll.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/dmc.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/dmc.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/epjitsu.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/epjitsu.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/epson.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/epson.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/fujitsu.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/fujitsu.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/genesys.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/genesys.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/gt68xx.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/gt68xx.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/hp.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/hp.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/hp3900.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/hp3900.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/hp5400.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/hp5400.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/hs2p.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/hs2p.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/ibm.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/ibm.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/leo.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/leo.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/lexmark.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/lexmark.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/ma1509.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/ma1509.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/matsushita.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/matsushita.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/microtek.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/microtek.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/microtek2.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/microtek2.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/mustek.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/mustek.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/mustek_usb.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/mustek_usb.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/nec.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/nec.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/net.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/net.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/pie.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/pie.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/plustek.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/plustek.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/plustek_pp.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/plustek_pp.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/ricoh.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/ricoh.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/sceptre.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/sceptre.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/sharp.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/sharp.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/sm3840.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/sm3840.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/snapscan.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/snapscan.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/sp15c.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/sp15c.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/st400.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/st400.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/teco1.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/teco1.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/teco2.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/teco2.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/teco3.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/teco3.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/test.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/test.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/u12.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/u12.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/umax.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/umax.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/umax1220u.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/umax1220u.conf owner=root \ + preserve=renamenew +file path=etc/sane.d/umax_pp.conf group=bin mode=0644 \ + original_name=SUNWsane-backend:etc/sane.d/umax_pp.conf owner=root \ + preserve=renamenew +file path=usr/bin/sane-config +file path=usr/bin/sane-find-scanner +file path=usr/bin/scanimage +file path=usr/include/sane/sane.h +file path=usr/include/sane/saneopts.h +file path=usr/lib/libsane.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-abaton.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-apple.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-artec.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-artec_eplus48u.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-as6e.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-avision.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-bh.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-canon.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-canon630u.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-cardscan.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-coolscan.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-coolscan2.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-dc25.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-dell1600n_net.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-dll.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-dmc.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-epjitsu.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-epson.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-fujitsu.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-genesys.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-gt68xx.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hp.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hp3500.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hp3900.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hp5400.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hp5590.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hpljm1005.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-hs2p.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-ibm.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-leo.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-lexmark.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-ma1509.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-matsushita.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-microtek.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-microtek2.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-mustek.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-mustek_usb.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-mustek_usb2.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-nec.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-net.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-pie.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-pixma.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-plustek.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-plustek_pp.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-ricoh.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-sceptre.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-sharp.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-sm3600.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-sm3840.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-snapscan.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-sp15c.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-st400.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-teco1.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-teco2.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-teco3.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-test.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-u12.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-umax.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-umax1220u.so.$(COMPONENT_VERSION) +file path=usr/lib/sane/libsane-umax_pp.so.$(COMPONENT_VERSION) +file path=usr/share/man/man1/sane-config.1 +file path=usr/share/man/man1/sane-find-scanner.1 +file path=usr/share/man/man1/scanimage.1 +file path=usr/share/man/man5/sane-abaton.5 +file path=usr/share/man/man5/sane-apple.5 +file path=usr/share/man/man5/sane-artec.5 +file path=usr/share/man/man5/sane-artec_eplus48u.5 +file path=usr/share/man/man5/sane-as6e.5 +file path=usr/share/man/man5/sane-avision.5 +file path=usr/share/man/man5/sane-bh.5 +file path=usr/share/man/man5/sane-canon.5 +file path=usr/share/man/man5/sane-canon630u.5 +file path=usr/share/man/man5/sane-canon_pp.5 +file path=usr/share/man/man5/sane-cardscan.5 +file path=usr/share/man/man5/sane-coolscan.5 +file path=usr/share/man/man5/sane-coolscan2.5 +file path=usr/share/man/man5/sane-dc25.5 +file path=usr/share/man/man5/sane-dll.5 +file path=usr/share/man/man5/sane-dmc.5 +file path=usr/share/man/man5/sane-epjitsu.5 +file path=usr/share/man/man5/sane-epson.5 +file path=usr/share/man/man5/sane-fujitsu.5 +file path=usr/share/man/man5/sane-genesys.5 +file path=usr/share/man/man5/sane-gphoto2.5 +file path=usr/share/man/man5/sane-gt68xx.5 +file path=usr/share/man/man5/sane-hp.5 +file path=usr/share/man/man5/sane-hp3500.5 +file path=usr/share/man/man5/sane-hp3900.5 +file path=usr/share/man/man5/sane-hp5400.5 +file path=usr/share/man/man5/sane-hp5590.5 +file path=usr/share/man/man5/sane-hpljm1005.5 +file path=usr/share/man/man5/sane-hpsj5s.5 +file path=usr/share/man/man5/sane-hs2p.5 +file path=usr/share/man/man5/sane-ibm.5 +file path=usr/share/man/man5/sane-leo.5 +file path=usr/share/man/man5/sane-lexmark.5 +file path=usr/share/man/man5/sane-ma1509.5 +file path=usr/share/man/man5/sane-matsushita.5 +file path=usr/share/man/man5/sane-microtek.5 +file path=usr/share/man/man5/sane-microtek2.5 +file path=usr/share/man/man5/sane-mustek.5 +file path=usr/share/man/man5/sane-mustek_pp.5 +file path=usr/share/man/man5/sane-mustek_usb.5 +file path=usr/share/man/man5/sane-mustek_usb2.5 +file path=usr/share/man/man5/sane-nec.5 +file path=usr/share/man/man5/sane-net.5 +file path=usr/share/man/man5/sane-pie.5 +file path=usr/share/man/man5/sane-pint.5 +file path=usr/share/man/man5/sane-pixma.5 +file path=usr/share/man/man5/sane-plustek.5 +file path=usr/share/man/man5/sane-plustek_pp.5 +file path=usr/share/man/man5/sane-pnm.5 +file path=usr/share/man/man5/sane-qcam.5 +file path=usr/share/man/man5/sane-ricoh.5 +file path=usr/share/man/man5/sane-sceptre.5 +file path=usr/share/man/man5/sane-scsi.5 +file path=usr/share/man/man5/sane-sharp.5 +file path=usr/share/man/man5/sane-sm3600.5 +file path=usr/share/man/man5/sane-sm3840.5 +file path=usr/share/man/man5/sane-snapscan.5 +file path=usr/share/man/man5/sane-sp15c.5 +file path=usr/share/man/man5/sane-st400.5 +file path=usr/share/man/man5/sane-teco1.5 +file path=usr/share/man/man5/sane-teco2.5 +file path=usr/share/man/man5/sane-teco3.5 +file path=usr/share/man/man5/sane-test.5 +file path=usr/share/man/man5/sane-u12.5 +file path=usr/share/man/man5/sane-umax.5 +file path=usr/share/man/man5/sane-umax1220u.5 +file path=usr/share/man/man5/sane-umax_pp.5 +file path=usr/share/man/man5/sane-usb.5 +file path=usr/share/man/man5/sane-v4l.5 +file path=usr/share/man/man7/sane.7 +legacy pkg=SUNWsane-backendr desc="SANE library and backends (1.0.19) (Root)" \ + name="SANE library and backends (root)" vendor="Oracle Corporation" +legacy pkg=SUNWsane-backendu desc="SANE library and backends (1.0.19) (Usr)" \ + name="SANE library and backends (usr)" vendor="Oracle Corporation" +license sane-backends.license license=GPLv2 +link path=usr/lib/libsane.so target=libsane.so.$(COMPONENT_VERSION) +link path=usr/lib/libsane.so.1 target=libsane.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-abaton.so.1 \ + target=libsane-abaton.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-apple.so.1 \ + target=libsane-apple.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-artec.so.1 \ + target=libsane-artec.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-artec_eplus48u.so.1 \ + target=libsane-artec_eplus48u.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-as6e.so.1 \ + target=libsane-as6e.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-avision.so.1 \ + target=libsane-avision.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-bh.so.1 \ + target=libsane-bh.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-canon.so.1 \ + target=libsane-canon.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-canon630u.so.1 \ + target=libsane-canon630u.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-cardscan.so.1 \ + target=libsane-cardscan.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-coolscan.so.1 \ + target=libsane-coolscan.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-coolscan2.so.1 \ + target=libsane-coolscan2.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-dc25.so.1 \ + target=libsane-dc25.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-dell1600n_net.so.1 \ + target=libsane-dell1600n_net.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-dll.so.1 \ + target=libsane-dll.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-dmc.so.1 \ + target=libsane-dmc.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-epjitsu.so.1 \ + target=libsane-epjitsu.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-epson.so.1 \ + target=libsane-epson.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-fujitsu.so.1 \ + target=libsane-fujitsu.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-genesys.so.1 \ + target=libsane-genesys.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-gt68xx.so.1 \ + target=libsane-gt68xx.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hp.so.1 \ + target=libsane-hp.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hp3500.so.1 \ + target=libsane-hp3500.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hp3900.so.1 \ + target=libsane-hp3900.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hp5400.so.1 \ + target=libsane-hp5400.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hp5590.so.1 \ + target=libsane-hp5590.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hpljm1005.so.1 \ + target=libsane-hpljm1005.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-hs2p.so.1 \ + target=libsane-hs2p.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-ibm.so.1 \ + target=libsane-ibm.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-leo.so.1 \ + target=libsane-leo.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-lexmark.so.1 \ + target=libsane-lexmark.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-ma1509.so.1 \ + target=libsane-ma1509.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-matsushita.so.1 \ + target=libsane-matsushita.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-microtek.so.1 \ + target=libsane-microtek.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-microtek2.so.1 \ + target=libsane-microtek2.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-mustek.so.1 \ + target=libsane-mustek.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-mustek_usb.so.1 \ + target=libsane-mustek_usb.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-mustek_usb2.so.1 \ + target=libsane-mustek_usb2.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-nec.so.1 \ + target=libsane-nec.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-net.so.1 \ + target=libsane-net.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-pie.so.1 \ + target=libsane-pie.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-pixma.so.1 \ + target=libsane-pixma.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-plustek.so.1 \ + target=libsane-plustek.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-plustek_pp.so.1 \ + target=libsane-plustek_pp.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-ricoh.so.1 \ + target=libsane-ricoh.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-sceptre.so.1 \ + target=libsane-sceptre.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-sharp.so.1 \ + target=libsane-sharp.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-sm3600.so.1 \ + target=libsane-sm3600.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-sm3840.so.1 \ + target=libsane-sm3840.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-snapscan.so.1 \ + target=libsane-snapscan.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-sp15c.so.1 \ + target=libsane-sp15c.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-st400.so.1 \ + target=libsane-st400.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-teco1.so.1 \ + target=libsane-teco1.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-teco2.so.1 \ + target=libsane-teco2.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-teco3.so.1 \ + target=libsane-teco3.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-test.so.1 \ + target=libsane-test.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-u12.so.1 \ + target=libsane-u12.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-umax.so.1 \ + target=libsane-umax.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-umax1220u.so.1 \ + target=libsane-umax1220u.so.$(COMPONENT_VERSION) +link path=usr/lib/sane/libsane-umax_pp.so.1 \ + target=libsane-umax_pp.so.$(COMPONENT_VERSION)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-frontends/Makefile Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,51 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# +include ../../make-rules/shared-macros.mk + +COMPONENT_NAME= sane-frontends +COMPONENT_VERSION= 1.0.14 +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz +COMPONENT_ARCHIVE_HASH= sha1:063e11df3e32d7a43161fd37026a4dc601d5482d +COMPONENT_ARCHIVE_URL= ftp://ftp2.sane-project.org/pub/sane/sane-frontends-1.0.14/$(COMPONENT_ARCHIVE) + +include ../../make-rules/prep.mk +include ../../make-rules/configure.mk +include ../../make-rules/ips.mk + +CONFIGURE_OPTIONS += --with-sane-prefix=/usr +CONFIGURE_OPTIONS += --disable-sanetest +CONFIGURE_OPTIONS += --disable-gtktest +CONFIGURE_OPTIONS += --disable-gimptest +CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" +CONFIGURE_OPTIONS += LDFLAGS="-lsane" + +build: $(BUILD_32) + +install: $(INSTALL_32) + +test: $(NO_TESTS) + +BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) + +include ../../make-rules/depend.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-frontends/patches/frontend.patch Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,19 @@ +--- sane-frontends-1.0.14/configure Fri May 20 03:17:42 2011 ++++ sane-frontends-1.0.14/configure Fri May 20 03:17:47 2011 +@@ -1817,6 +1817,8 @@ + echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 + # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 + # If not cross compiling, check that we can run a simple program. ++tmpval=$cross_compiling ++cross_compiling=yes + if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +@@ -1842,6 +1844,7 @@ + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + ++cross_compiling=$tmpval + rm -f a.out a.exe conftest$ac_cv_exeext b.out + ac_clean_files=$ac_clean_files_save + # Check the compiler produces executables we can run. If not, either
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-frontends/sane-frontend.license Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,358 @@ +Oracle elects to use only the GNU Lesser General Public License version +2.1 (LGPL)/GNU General Public License version 2 (GPL) for any software +where a choice of LGPL/GPL license versions are made available with the +language indicating that LGPLv2.1/GPLv2 or any later version may be +used, or where a choice of which version of the LGPL/GPL is applied is +unspecified. Unless specifically stated otherwise, where a choice +exists between another license and either the GPL or the LGPL, Oracle +chooses the other license. +-------------------------------------------------------------------- +Copyright (C) 1997 David Mosberger and Tristan Tarrant +Copyright (C) 1995 Spencer Kimball and Peter Mattis +Copyright (C) 1999 Tom Martone +Copyright (C) 1997, 1998 Andreas Beck, Tristan Tarrant, and David Mosberger + + + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) 19yy <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/sane-frontends/sane-frontends.p5m Sun Jul 03 18:09:06 2011 -0700 @@ -0,0 +1,44 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# + +<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted> +set name=pkg.fmri \ + value=pkg:/image/scanner/xsane/sane-frontend@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="SANE frontends" +set name=info.classification \ + value="org.opensolaris.category.2008:Applications/Graphics and Imaging" +set name=info.source_url value=$(COMPONENT_ARCHIVE_URL) +set name=info.upstream_url value=http://www.sane-project.org/ +set name=opensolaris.arc_url \ + value=http://arc.opensolaris.org/caselog/PSARC/2008/170 +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) +dir path=usr +dir path=usr/bin +dir path=usr/share +dir path=usr/share/man +dir path=usr/share/man/man1 +file path=usr/bin/xscanimage +file path=usr/share/man/man1/xscanimage.1 +legacy pkg=SUNWsane-frontend desc="SANE frontend (1.0.14)" \ + name="SANE frontends" vendor="Oracle Corporation" +license sane-frontend.license license=GPLv2