From 3c185d9510669e9f154afdd78a95c471785d0d1c Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 20 May 1997 06:28:56 +0000 Subject: Camediaplay is a data downloading tool (via serial) for Sanyo digital camera engine. PR: 3520 Submitted by: itojun@itojun.org --- graphics/camediaplay/Makefile | 29 ++++++++++++++++ graphics/camediaplay/distinfo | 1 + graphics/camediaplay/pkg-comment | 1 + graphics/camediaplay/pkg-descr | 72 ++++++++++++++++++++++++++++++++++++++++ graphics/camediaplay/pkg-message | 2 ++ graphics/camediaplay/pkg-plist | 5 +++ 6 files changed, 110 insertions(+) create mode 100644 graphics/camediaplay/Makefile create mode 100644 graphics/camediaplay/distinfo create mode 100644 graphics/camediaplay/pkg-comment create mode 100644 graphics/camediaplay/pkg-descr create mode 100644 graphics/camediaplay/pkg-message create mode 100644 graphics/camediaplay/pkg-plist (limited to 'graphics') diff --git a/graphics/camediaplay/Makefile b/graphics/camediaplay/Makefile new file mode 100644 index 0000000..b2bdedb --- /dev/null +++ b/graphics/camediaplay/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: camediaplay +# Date created: 2 May 1997 +# Whom: Jun-ichiro itojun Itoh +# +# $Id$ +# + +DISTNAME= camediaplay-970418 +CATEGORIES= graphics +MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/C-400L/unix/ + +MAINTAINER= itojun@itojun.org + +WRKSRC= ${WRKDIR}/camediaplay/build +HAS_CONFIGURE= yes + +RESTRICTED= "Beta test period, redistribution prohibited" + +DOC= README.english README.japanese PROTOCOL + +post-install: + ${MKDIR} ${PREFIX}/share/doc/camediaplay + for i in ${DOC}; do \ + ${INSTALL_DATA} ${WRKSRC}/../$$i \ + ${PREFIX}/share/doc/camediaplay; \ + done + ${CAT} ${PKGDIR}/MESSAGE + +.include diff --git a/graphics/camediaplay/distinfo b/graphics/camediaplay/distinfo new file mode 100644 index 0000000..10765a7 --- /dev/null +++ b/graphics/camediaplay/distinfo @@ -0,0 +1 @@ +MD5 (camediaplay-970418.tar.gz) = 46f370c6cff7de9220f536dac6a46de2 diff --git a/graphics/camediaplay/pkg-comment b/graphics/camediaplay/pkg-comment new file mode 100644 index 0000000..72cad4a --- /dev/null +++ b/graphics/camediaplay/pkg-comment @@ -0,0 +1 @@ +digital camera downloading tool for Sanyo protocol (Epson/Sanyo/Olympus/Agfa) diff --git a/graphics/camediaplay/pkg-descr b/graphics/camediaplay/pkg-descr new file mode 100644 index 0000000..e1a3652 --- /dev/null +++ b/graphics/camediaplay/pkg-descr @@ -0,0 +1,72 @@ +camediaplay + Camediaplay is a data downloading tool (via serial) for Sanyo + digital camera engine. + It is known to work with: + - Olympus C-400/400L/800L/410L, D-200L/300L + - Epson CP-100 + - Sanyo VPC-G1 + It should work with: + - Sanyo DSC-V1 + - Agfa ePhoto307 + - Epson CP-200/500? + +USAGE + camediaplay [options] port query # of picts + camediaplay [options] -o port >foo.jpg extract jpg to stdout + camediaplay [options] -g port extract jpg to file + camediaplay [options] -S port get settings of camera + + common options: + -b# Baudrate. (default: 19200bps) + -d Dump mode. Transaction longer than 30 bytes + will be truncated. + -d# Dump mode. You can specify threshold for truncation. + -u Don't use uucp locking. (questionable option) + -v Verbose mode. + -D Debug mode. + port Serial port. Can be full path (/dev/tty00), + or just device name (tty00). + + options in -o/-g mode: + -a Specify that you would like to download all the picts. + -s# Specify picture # to start download. + -e# Specify picture # to finish download. + -n# Specify that you would like to download just 1 pict, + that is numbered with #. + -t Get thumbnail instead of full-sized picts. + + options in -g mode: + -Nxxx Specify the output filename, in sprintf() format. + Default is: "pic%05d.jpg". + (Be careful about escaping shell meta characters!) + -i Don't overwrite existing files. + If the file to be written is already there, + simply exit with error. + + NOTICE: -o mode won't work with multiple pictures specified. + +EXAMPLE USAGE + % camediaplay cuaa0 + get the number of picts. + % camediaplay -n10 -o cuaa0 > foo.jpg + get full-sized picture #10 to foo.jpg through stdout. + % camediaplay -n10 -t -o cuaa0 > foo.jpg + get thumbnail picture #10 to foo.jpg through stdout. + % camediaplay -a -g cuaa0 + get all full-sized pictures into "pic00001.jpg", "pic00002.jpg" + and so forth. + % camediaplay -s2 -e4 -g cuaa0 + get full-sized pictures from #2 to #4 into "pic00001.jpg", + "pic00002.jpg" and so forth. + % camediaplay -s2 -e4 -Npict%02d.jpg -g cuaa0 + get full-sized pictures from #2 to #4 into "pict01.jpg", + "pict02.jpg" and so forth. + +REPORTING BUGS + Please use one of the following methods: + - via http://www.itojun.org/cgi-bin/gnats-send-pr + - via e-mail to: itojun@itojun.org + +AUTHOR + Copyright(c) 1997 by Jun-ichiro Itoh. All rights reserved. + Jun-ichiro itojun Itoh diff --git a/graphics/camediaplay/pkg-message b/graphics/camediaplay/pkg-message new file mode 100644 index 0000000..96214d8 --- /dev/null +++ b/graphics/camediaplay/pkg-message @@ -0,0 +1,2 @@ +camediaplay has been installed. +Documents can be found at: /usr/local/share/doc/camediaplay diff --git a/graphics/camediaplay/pkg-plist b/graphics/camediaplay/pkg-plist new file mode 100644 index 0000000..ef673ab --- /dev/null +++ b/graphics/camediaplay/pkg-plist @@ -0,0 +1,5 @@ +bin/camediaplay +share/doc/camediaplay/README.english +share/doc/camediaplay/README.japanese +share/doc/camediaplay/PROTOCOL +@dirrm share/doc/camediaplay -- cgit v1.1