summaryrefslogtreecommitdiff
path: root/graphics/opendis
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opendis')
-rw-r--r--graphics/opendis/Makefile15
-rw-r--r--graphics/opendis/files/md53
-rw-r--r--graphics/opendis/files/patch-sum3
-rw-r--r--graphics/opendis/patches/patch-aa49
-rw-r--r--graphics/opendis/pkg/COMMENT1
-rw-r--r--graphics/opendis/pkg/DESCR15
-rw-r--r--graphics/opendis/pkg/PLIST2
7 files changed, 88 insertions, 0 deletions
diff --git a/graphics/opendis/Makefile b/graphics/opendis/Makefile
new file mode 100644
index 00000000000..9ac0250f35e
--- /dev/null
+++ b/graphics/opendis/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/12 03:07:40 sommerfeld Exp $
+
+DISTNAME= opendis-0.0.3
+CATEGORIES= graphics
+MASTER_SITES= http://ods.sourceforge.net/dl/
+
+MAINTAINER= sommerfeld@netbsd.org
+HOMEPAGE= http://ods.sourceforge.net/
+
+#USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/opendis/files/md5 b/graphics/opendis/files/md5
new file mode 100644
index 00000000000..823014bfe22
--- /dev/null
+++ b/graphics/opendis/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/12 03:07:41 sommerfeld Exp $
+
+MD5 (opendis-0.0.3.tar.gz) = 150bbf038ccb6220d7aff43d712224ed
diff --git a/graphics/opendis/files/patch-sum b/graphics/opendis/files/patch-sum
new file mode 100644
index 00000000000..4e6c616821a
--- /dev/null
+++ b/graphics/opendis/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/12 03:07:41 sommerfeld Exp $
+
+MD5 (patch-aa) = 7612d82619f0016a108c44ee01d1b0db
diff --git a/graphics/opendis/patches/patch-aa b/graphics/opendis/patches/patch-aa
new file mode 100644
index 00000000000..4ece25f4d62
--- /dev/null
+++ b/graphics/opendis/patches/patch-aa
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/12 03:07:40 sommerfeld Exp $
+
+--- src/nss.c.orig Sat Jan 8 16:09:52 2000
++++ src/nss.c Thu May 11 22:58:35 2000
+@@ -37,6 +37,10 @@
+ #include <stdlib.h>
+ #include <termios.h>
+
++#ifdef __NetBSD__
++#include <sys/ioctl.h>
++#endif
++
+ /*--------------------------------------------------------------------------
+ Local include files */
+
+@@ -110,6 +114,9 @@
+
+ /* Put it in raw mode */
+ memset(&tty, 0, sizeof(tty));
++#ifdef __NetBSD__
++ memcpy(&tty, &camera->tty_original, sizeof(tty));
++#endif
+ cfmakeraw(&tty);
+
+ /* A respondent reports that his camera won't begin talking until
+@@ -135,8 +142,12 @@
+ will initiate beacon phase from the camera. */
+
+ /* off... */
++#ifdef __NetBSD__
++ (void) ioctl(camera->fd, TIOCCDTR, 0);
++#else
+ cfsetospeed(&tty, B0);
+ cfsetispeed(&tty, B0);
++#endif
+
+ if (tcsetattr(camera->fd, TCSANOW, &tty) == -1)
+ {
+@@ -157,6 +168,10 @@
+ /* ...on. */
+ cfsetospeed(&tty, B9600);
+ cfsetispeed(&tty, B9600);
++
++#ifdef __NetBSD__
++ (void) ioctl(camera->fd, TIOCSDTR, 0);
++#endif
+
+ if (tcsetattr(camera->fd, TCSANOW, &tty) == -1)
+ {
diff --git a/graphics/opendis/pkg/COMMENT b/graphics/opendis/pkg/COMMENT
new file mode 100644
index 00000000000..8b70af9ae00
--- /dev/null
+++ b/graphics/opendis/pkg/COMMENT
@@ -0,0 +1 @@
+Download images from Flashpoint Digita-based cameras
diff --git a/graphics/opendis/pkg/DESCR b/graphics/opendis/pkg/DESCR
new file mode 100644
index 00000000000..408b25080a8
--- /dev/null
+++ b/graphics/opendis/pkg/DESCR
@@ -0,0 +1,15 @@
+ODS, the Open Digita Services project, is an effort to write open
+source tools for accessing Digita cameras from unix operating systems.
+
+ODS has been tested with and is known to work with the following cameras:
+
+ Kodak DC-220
+ Kodak DC-260
+ Kodak DC-265
+ Kodak DC-290
+
+The Minolta EX-1500 has been reported to work with ODS, but the
+interface needs some debugging.
+
+ODS will not support cameras that don't use Digita; this includes the
+Kodak DC-200, DC-210, DC-240, DC-280, and earlier cameras.
diff --git a/graphics/opendis/pkg/PLIST b/graphics/opendis/pkg/PLIST
new file mode 100644
index 00000000000..a00b7b9e9ea
--- /dev/null
+++ b/graphics/opendis/pkg/PLIST
@@ -0,0 +1,2 @@
+bin/ks
+lib/libods.a