diff options
author | osa <osa@FreeBSD.org> | 2003-08-13 22:07:46 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-08-13 22:07:46 +0800 |
commit | 9edb99ea2454f3336a5178681ccba07f87074e6a (patch) | |
tree | 7e089ff3ebea658627d27b6716ff1d1d50bad381 /graphics | |
parent | edd4aceab10b9ef2c9258929b324c390044c6c85 (diff) | |
download | freebsd-ports-gnome-9edb99ea2454f3336a5178681ccba07f87074e6a.tar.gz freebsd-ports-gnome-9edb99ea2454f3336a5178681ccba07f87074e6a.tar.zst freebsd-ports-gnome-9edb99ea2454f3336a5178681ccba07f87074e6a.zip |
Maintainer's update to 0.2.1
Also save 8 bytes in pkg-plist (use %%DOCSDIR%%) (by osa)
PR: 55520
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/s10sh/Makefile | 16 | ||||
-rw-r--r-- | graphics/s10sh/distinfo | 2 | ||||
-rw-r--r-- | graphics/s10sh/files/patch-usb.c | 36 | ||||
-rw-r--r-- | graphics/s10sh/files/patch-usb.h | 23 | ||||
-rw-r--r-- | graphics/s10sh/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/s10sh/pkg-plist | 4 |
6 files changed, 16 insertions, 72 deletions
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile index 42612d1cd76f..65c2de73993b 100644 --- a/graphics/s10sh/Makefile +++ b/graphics/s10sh/Makefile @@ -6,27 +6,25 @@ # PORTNAME= s10sh -PORTVERSION= 0.2.0 -PORTREVISION= 3 +PORTVERSION= 0.2.1 CATEGORIES= graphics MASTER_SITES= http://www.reynoldsnet.org/s10sh/ \ - http://www.edwinh.org/s10sh/ \ - http://www.kyuzz.org/antirez/s10sh-src/ + http://www.edwinh.org/s10sh/ MAINTAINER= johnjen@reynoldsnet.org COMMENT= USB/serial userspace driver for the Canon PowerShot digital cameras -# Don't extract the libusb bundled with s10sh: -EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude '*/libusb*' - -MAKEFILE= ${FILESDIR}/Makefile.bsd - .if defined(NOUSB) || defined(WITHOUT_USB) MAKE_ENV+= WITHOUT_USB=YES .else LIB_DEPENDS= usb-0.1.7:${PORTSDIR}/devel/libusb .endif +# Don't extract the libusb bundled with s10sh: +EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude '*/libusb*' + +MAKEFILE= ${FILESDIR}/Makefile.bsd + .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} diff --git a/graphics/s10sh/distinfo b/graphics/s10sh/distinfo index 4bab47cf246e..aeedf44fe774 100644 --- a/graphics/s10sh/distinfo +++ b/graphics/s10sh/distinfo @@ -1 +1 @@ -MD5 (s10sh-0.2.0.tar.gz) = 7792756ccb941baa87b3624d1a4bbe92 +MD5 (s10sh-0.2.1.tar.gz) = d16ae61c435890f64224745e5d023d32 diff --git a/graphics/s10sh/files/patch-usb.c b/graphics/s10sh/files/patch-usb.c deleted file mode 100644 index f496b2bf023a..000000000000 --- a/graphics/s10sh/files/patch-usb.c +++ /dev/null @@ -1,36 +0,0 @@ ---- usb.c.orig Tue Mar 13 06:46:18 2001 -+++ usb.c Sat Dec 7 06:16:19 2002 -@@ -84,6 +84,12 @@ - printf("Canon S20 found\n"); - return USB_INIT_S20; - break; -+ case PRODUCT_ID_A20: -+ *camera_dev = dev; -+ if (opt_debug) -+ printf("Canon A20 found\n"); -+ return USB_INIT_A20; -+ break; - case PRODUCT_ID_S100_EU: - case PRODUCT_ID_S100_US: - *camera_dev = dev; -@@ -97,6 +103,12 @@ - printf("Canon G1 found\n"); - return USB_INIT_G1; - break; -+ case PRODUCT_ID_G3: -+ *camera_dev = dev; -+ if (opt_debug) -+ printf("Canon G3 found\n"); -+ return USB_INIT_G3; -+ break; - case PRODUCT_ID_NEXTDIGICAM1: - case PRODUCT_ID_NEXTDIGICAM2: - case PRODUCT_ID_NEXTDIGICAM3: -@@ -118,6 +130,7 @@ - dev->descriptor.idProduct); - break; - } -+ break; - default: - if (opt_debug) - printf("Unknown vendor ID: %04X\n", diff --git a/graphics/s10sh/files/patch-usb.h b/graphics/s10sh/files/patch-usb.h deleted file mode 100644 index f2f0bc20e820..000000000000 --- a/graphics/s10sh/files/patch-usb.h +++ /dev/null @@ -1,23 +0,0 @@ ---- usb.h.orig Tue Mar 13 06:46:18 2001 -+++ usb.h Sat Dec 7 06:16:19 2002 -@@ -19,15 +19,20 @@ - #define USB_INIT_S20 2 /* S20 found */ - #define USB_INIT_S100 3 /* S100 (Digital Ixus) found */ - #define USB_INIT_G1 4 /* G1 found */ -+#define USB_INIT_A20 5 /* A20 found */ -+#define USB_INIT_G2 6 /* G2 found */ -+#define USB_INIT_G3 7 /* G3 found */ - #define USB_INIT_NEW 100 /* Unsupported PowerShot found! */ - #define USB_INIT_FAILED -1 /* Unable to initialize USB */ - - #define VENDOR_ID_CANON 0x04A9 - #define PRODUCT_ID_S10 0x3041 /* PowerShot S10 */ - #define PRODUCT_ID_S20 0x3043 /* PowerShot S20 */ -+#define PRODUCT_ID_A20 0x304E /* PowerShot A20 */ - #define PRODUCT_ID_S100_US 0x3045 /* S100, aka. Digital Ixus, Elph */ - #define PRODUCT_ID_S100_EU 0x3047 /* S100, aka. Digital Ixus, Elph */ - #define PRODUCT_ID_G1 0x3048 /* PowerShot G1 */ -+#define PRODUCT_ID_G3 0x306E - - /* The Canon USB protocol of the S10, S20, S100, G1 is the same. - * We can hope that the next cameras will adopt a compatible protocol diff --git a/graphics/s10sh/pkg-descr b/graphics/s10sh/pkg-descr index 50f08967d0ff..6d4771938a5d 100644 --- a/graphics/s10sh/pkg-descr +++ b/graphics/s10sh/pkg-descr @@ -13,7 +13,12 @@ S10sh supports the following PowerShot models: A50 (serial only, supported with problems) Pro70 (serial only, supported with problems) +Other models are reported to work as well: Elph S400, Digital Ixus V3, S30, +A60, EOS-10D. + With the release of libusb 0.1.3b (http://sourceforge.net/projects/libusb/), S10sh gained USB support under FreeBSD. -WWW: http://www.kyuzz.org/antirez/s10sh.html +The original author's web page is http://www.kyuzz.org/antirez/s10sh.html + +WWW: http://www.reynoldsnet.org/s10sh/ diff --git a/graphics/s10sh/pkg-plist b/graphics/s10sh/pkg-plist index e7f1ba659333..3d183d036e81 100644 --- a/graphics/s10sh/pkg-plist +++ b/graphics/s10sh/pkg-plist @@ -1,3 +1,3 @@ bin/s10sh -%%PORTDOCS%%share/doc/s10sh/README -%%PORTDOCS%%@dirrm share/doc/s10sh +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |