summaryrefslogtreecommitdiff
path: root/graphics/s10sh
diff options
context:
space:
mode:
authordrochner <drochner>2002-10-22 16:09:15 +0000
committerdrochner <drochner>2002-10-22 16:09:15 +0000
commit633068bbc1a915339338e74e8e7d2475367ee8ca (patch)
tree5ac8c7683a3b0f2d139820affd558e00059cd0f0 /graphics/s10sh
parenteaaa13e1208b88a0ac491d87c1b4681b1869c8b2 (diff)
downloadpkgsrc-633068bbc1a915339338e74e8e7d2475367ee8ca.tar.gz
hack in support for Powershot A20 and S330 Digital Elph; the latter
is from John Kohl per PR pkg/18742, the former result of a google search
Diffstat (limited to 'graphics/s10sh')
-rw-r--r--graphics/s10sh/distinfo4
-rw-r--r--graphics/s10sh/patches/patch-ad13
-rw-r--r--graphics/s10sh/patches/patch-ae13
3 files changed, 29 insertions, 1 deletions
diff --git a/graphics/s10sh/distinfo b/graphics/s10sh/distinfo
index c0c64a7786b..5c94d3f7f28 100644
--- a/graphics/s10sh/distinfo
+++ b/graphics/s10sh/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.3 2002/03/05 04:24:59 jmc Exp $
+$NetBSD: distinfo,v 1.4 2002/10/22 16:09:15 drochner Exp $
SHA1 (s10sh-0.2.0.tar.gz) = a8ada7c84ff64be98a1195612d48e2042f293eba
Size (s10sh-0.2.0.tar.gz) = 172203 bytes
SHA1 (patch-aa) = 1708337ee44567e66e227903e0ae15101670ed31
SHA1 (patch-ab) = 83e20d2bbda9de83a3db5a5990f6cc7f1fb1a18c
SHA1 (patch-ac) = e41f7769729ae35ee412287a3bffc045f54079ae
+SHA1 (patch-ad) = 691819ca731ce6181deb4a2ded4ac81f575ce2cb
+SHA1 (patch-ae) = dd896e869507e9b50728f2d25c2bb23cb2195fb2
diff --git a/graphics/s10sh/patches/patch-ad b/graphics/s10sh/patches/patch-ad
new file mode 100644
index 00000000000..199cd5892e5
--- /dev/null
+++ b/graphics/s10sh/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2002/10/22 16:09:16 drochner Exp $
+
+--- usb.h.orig Tue Oct 22 18:01:50 2002
++++ usb.h Tue Oct 22 18:03:37 2002
+@@ -28,6 +28,8 @@
+ #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_A20 0x304e /* PowerShot A20 */
++#define PRODUCT_ID_S330_US 0x3066 /* PowerShot S330, Digital Elph */
+
+ /* 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/patches/patch-ae b/graphics/s10sh/patches/patch-ae
new file mode 100644
index 00000000000..b601887da14
--- /dev/null
+++ b/graphics/s10sh/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2002/10/22 16:09:16 drochner Exp $
+
+--- usb.c.orig Tue Oct 22 18:01:45 2002
++++ usb.c Tue Oct 22 18:04:23 2002
+@@ -103,6 +103,8 @@
+ case PRODUCT_ID_NEXTDIGICAM4:
+ case PRODUCT_ID_NEXTDIGICAM5:
+ case PRODUCT_ID_NEXTDIGICAM6:
++ case PRODUCT_ID_A20:
++ case PRODUCT_ID_S330_US:
+ *camera_dev = dev;
+ printf("Unsupported Canon digicam "
+ "found, S10sh will try to use "