Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 22:48:17 -0700 (MST)
From:      jjreynold@home.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25471: New port: s10sh - userland driver for Canon PowerShot S10 cameras
Message-ID:  <200103010548.f215mH344720@whale.home-net>

next in thread | raw e-mail | index | archive | help

>Number:         25471
>Category:       ports
>Synopsis:       New port: s10sh - userland driver for Canon Powershot S10 cameras
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 21:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Reynolds
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Four Guy's Plumbing, South Chandler
>Environment:

FreeBSD whale 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Jan 20 20:48:40 MST 2001
root@dolphin:/usr/obj/usr/src/sys/WHALE  i386 

>Description:

The included SHAR archive is a new port--s10sh. It's a userland driver
originally written for Linux which communicates to Canon S10/S20 and S100
cameras over RS-232 or USB. USB support is achieved from the recent "libusb"
port.

portlint(1) has been run successfully.

Much thanks to Mikhail Teterin <mi@aldan.algebra.com> for hints at creating a
"smoother" port!

>How-To-Repeat:

  N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	s10sh
#	s10sh/Makefile
#	s10sh/distinfo
#	s10sh/pkg-plist
#	s10sh/pkg-comment
#	s10sh/pkg-descr
#	s10sh/files
#	s10sh/files/Makefile.bsd
#
echo c - s10sh
mkdir -p s10sh > /dev/null 2>&1
echo x - s10sh/Makefile
sed 's/^X//' >s10sh/Makefile << 'END-of-s10sh/Makefile'
X# New ports collection makefile for:	s10sh
X# Date created:				Tue Feb 27 00:16:34 MST 2001
X# Whom:					John Reynolds <jjreynold@home.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	s10sh
XPORTVERSION=	0.1.91
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.kyuzz.org/antirez/s10sh-src/
X
XPATCH_SITES=http://www.reynoldsnet.org/s10sh/ \
X	    http://members.home.net/jjreynold/s10sh/
XPATCHFILES=${PORTNAME}-${PORTVERSION}.patches.gz
XPATCH_DIST_STRIP=-p1
X
XMAINTAINER=	jjreynold@home.com
X
X# Don't extract the libusb bundled with s10sh:
XEXTRACT_AFTER_ARGS=     | ${TAR} -xf - --exclude '*/libusb*'
X
XMAKEFILE=	${FILESDIR}/Makefile.bsd
X
X.if defined(NOUSB) || defined(WITHOUT_USB)
XMAKE_ENV+=	WITHOUT_USB=YES
X.else
XLIB_DEPENDS=    usb-0.1.3:${PORTSDIR}/devel/libusb
X.endif
X
X.if !defined(NOPORTDOCS)
XDOCDIR=	share/doc/s10sh
XPLIST_SUB+=	DOCDIR="${DOCDIR}"
Xpost-install:
X	${MKDIR} ${LOCALBASE}/${DOCDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${LOCALBASE}/${DOCDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-s10sh/Makefile
echo x - s10sh/distinfo
sed 's/^X//' >s10sh/distinfo << 'END-of-s10sh/distinfo'
XMD5 (s10sh-0.1.91.tar.gz) = fa4bd1793464309910f45ea59fc53cce
XMD5 (s10sh-0.1.91.patches.gz) = b427803d301cb8dc9da6dac40923b3ee
END-of-s10sh/distinfo
echo x - s10sh/pkg-plist
sed 's/^X//' >s10sh/pkg-plist << 'END-of-s10sh/pkg-plist'
Xbin/s10sh
X%%PORTDOCS%%%%DOCDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCDIR%%
END-of-s10sh/pkg-plist
echo x - s10sh/pkg-comment
sed 's/^X//' >s10sh/pkg-comment << 'END-of-s10sh/pkg-comment'
XUSB/serial userspace driver for the Canon PowerShot digital cameras
END-of-s10sh/pkg-comment
echo x - s10sh/pkg-descr
sed 's/^X//' >s10sh/pkg-descr << 'END-of-s10sh/pkg-descr'
XS10sh is a USB/serial userspace driver for the Canon PowerShot digital cameras.
XUsing S10sh you can download, upload and explore the images captured with your
XPowerShot camera. The interface is quite similar to DOS's command.com.
X
XS10sh supports the following PowerShot models: 
X
X      S10 (serial and USB) 
X      S20 (serial and USB) 
X      S100 aka Digital Ixus (USB only, since it lacks the serial interface) 
X      A50 (serial only, supported with problems) 
X      Pro70 (serial only, supported with problems) 
X
XWith the release of libusb 0.1.3b (http://sourceforge.net/projects/libusb/),
XS10sh gained USB support under FreeBSD.
X
XWWW: http://www.kyuzz.org/antirez/s10sh.html
END-of-s10sh/pkg-descr
echo c - s10sh/files
mkdir -p s10sh/files > /dev/null 2>&1
echo x - s10sh/files/Makefile.bsd
sed 's/^X//' >s10sh/files/Makefile.bsd << 'END-of-s10sh/files/Makefile.bsd'
XPROG	=	s10sh
XNOMAN	=	oh...
X
XSRCS	=	main.c crc.c serial.c common.c bar.c
X
XLDADD	+=	-lreadline -ltermcap
XCFLAGS	+=	-DHAVE_READLINE
X
X.if !defined(WITHOUT_USB)
XUSBLIB	!=	${LOCALBASE}/bin/libusb-config --libs
XLDADD	+=	${USBLIB}
XUSBCF   !=      ${LOCALBASE}/bin/libusb-config --cflags
XCFLAGS	+=	${USBCF} -DHAVE_USB_SUPPORT
XSRCS	+=	usb.c
X.endif
X
XBINDIR	=	${LOCALBASE}/bin
X
X.include <bsd.prog.mk>
END-of-s10sh/files/Makefile.bsd
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103010548.f215mH344720>