From anders@totem.fix.no  Tue May 22 04:50:03 2001
Return-Path: <anders@totem.fix.no>
Received: from totem.fix.no (totem.fix.no [213.142.66.130])
	by hub.freebsd.org (Postfix) with ESMTP id 9006837B424
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 May 2001 04:50:00 -0700 (PDT)
	(envelope-from anders@totem.fix.no)
Received: by totem.fix.no (Postfix, from userid 1000)
	id C61E03C9C; Tue, 22 May 2001 13:49:58 +0200 (CEST)
Message-Id: <20010522114958.C61E03C9C@totem.fix.no>
Date: Tue, 22 May 2001 13:49:58 +0200 (CEST)
From: Anders Nordby <anders@fix.no>
Reply-To: Anders Nordby <anders@fix.no>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: graphics/opendis
X-Send-Pr-Version: 3.2

>Number:         27537
>Category:       ports
>Synopsis:       New port: graphics/opendis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    will
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 22 05:00:01 PDT 2001
>Closed-Date:    Fri Jun 8 09:54:52 PDT 2001
>Last-Modified:  Fri Jun 08 09:55:20 PDT 2001
>Originator:     Anders Nordby
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

4.2-STABLE from january (kern.osreldate: 420001).

>Description:

New port of opendis. I can download images from this handy Kodak DC 290 camera
with this. Ah!

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>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:
#
#	opendis
#	opendis/Makefile
#	opendis/distinfo
#	opendis/pkg-comment
#	opendis/pkg-descr
#	opendis/pkg-plist
#	opendis/files
#	opendis/files/patch-configure.in
#	opendis/files/patch-ods.c
#
echo c - opendis
mkdir -p opendis > /dev/null 2>&1
echo x - opendis/Makefile
sed 's/^X//' >opendis/Makefile << 'END-of-opendis/Makefile'
X# New ports collection makefile for: 	opendis
X# Date created:		22 May 2001
X# Whom:			Anders Nordby <anders@fix.no>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	opendis
XPORTVERSION=	0.0.3
XCATEGORIES=	graphics
XMASTER_SITES=	http://ods.sourceforge.net/dl/ \
X		ftp://ftp.nuug.no/pub/anders/distfiles/
X
XMAINTAINER=	anders@fix.no
X
XUSE_AUTOCONF=	yes
XGNU_CONFIGURE=	yes
XCPPFLAGS+=	-I${LOCALBASE}/include
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"
X
XDOCS=	NEWS AUTHORS doc/ERRATA doc/PHILOSOPHY doc/THUMB
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/${PORTNAME}
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-opendis/Makefile
echo x - opendis/distinfo
sed 's/^X//' >opendis/distinfo << 'END-of-opendis/distinfo'
XMD5 (opendis-0.0.3.tar.gz) = 150bbf038ccb6220d7aff43d712224ed
END-of-opendis/distinfo
echo x - opendis/pkg-comment
sed 's/^X//' >opendis/pkg-comment << 'END-of-opendis/pkg-comment'
XAccess Flashpoint Digita-based cameras, download images and more
END-of-opendis/pkg-comment
echo x - opendis/pkg-descr
sed 's/^X//' >opendis/pkg-descr << 'END-of-opendis/pkg-descr'
XODS, the Open Digita Services project, is an effort to write Open Source tools
Xfor accessing Digita cameras from Linux and other unix operating systems.
X
XODS has been tested with and is known to work with the following cameras:
X
XKodak DC-220
XKodak DC-260
XKodak DC-265
XKodak DC-290
X
XThe Minolta EX-1500 has been reported to work with ODS, but the interface needs
Xsome debugging.
X
XODS will not support cameras that don't use Digita; this includes the Kodak
XDC-200, DC-210, DC-240, DC-280, and earlier cameras.
X
XWWW: http://ods.sourceforge.net/
END-of-opendis/pkg-descr
echo x - opendis/pkg-plist
sed 's/^X//' >opendis/pkg-plist << 'END-of-opendis/pkg-plist'
Xbin/ks
Xlib/libods.a
X%%PORTDOCS%%share/doc/opendis/NEWS
X%%PORTDOCS%%share/doc/opendis/AUTHORS
X%%PORTDOCS%%share/doc/opendis/ERRATA
X%%PORTDOCS%%share/doc/opendis/PHILOSOPHY
X%%PORTDOCS%%share/doc/opendis/THUMB
X%%PORTDOCS%%@dirrm share/doc/opendis
END-of-opendis/pkg-plist
echo c - opendis/files
mkdir -p opendis/files > /dev/null 2>&1
echo x - opendis/files/patch-configure.in
sed 's/^X//' >opendis/files/patch-configure.in << 'END-of-opendis/files/patch-configure.in'
X--- configure.in.old	Tue May 22 13:16:35 2001
X+++ configure.in	Tue May 22 13:16:58 2001
X@@ -10,7 +10,7 @@
X 
X if test "$GCC" = yes; then
X   dnl Add some extra flags when compiling with gcc.
X-  gcc_extra_cflags="-D_GNU_SOURCE -Wall -ansi -pedantic -W"
X+  gcc_extra_cflags="-D_GNU_SOURCE -ansi -pedantic"
X   AC_SUBST(gcc_extra_cflags)
X fi
X 
END-of-opendis/files/patch-configure.in
echo x - opendis/files/patch-ods.c
sed 's/^X//' >opendis/files/patch-ods.c << 'END-of-opendis/files/patch-ods.c'
X--- src/ods.c.orig	Tue May 22 13:32:19 2001
X+++ src/ods.c	Tue May 22 13:32:38 2001
X@@ -199,7 +199,7 @@
X   printf("OPTIONS are now supported.\n\n");
X 
X   printf("  -d DEV, --device=DEV       Look for camera at device DEV.  Defaults\n");
X-  printf("                             to /dev/ttyS0.\n");
X+  printf("                             to /dev/cuaa0.\n");
X   printf("  -r RATE, --rate=RATE       Use bit-rate RATE for serial device.  Defaults\n");
X   printf("                             to 9600.  Not applicable to USB or IrDA.\n");
X   printf("  -t TYPE, --type=TYPE       Specifies device type, one of: \"serial\"\n");
END-of-opendis/files/patch-ods.c
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->will 
Responsible-Changed-By: will 
Responsible-Changed-When: Thu May 24 03:39:50 PDT 2001 
Responsible-Changed-Why:  
I'm reviewing this program's functionality in USB and have 
initiated a discussion with the authors/maintainers.  Please 
be patient; I'll commit this by June 2 if nothing happens. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27537 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Fri Jun 8 09:54:52 PDT 2001 
State-Changed-Why:  
Committed (finally), thanks!  :-) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27537 
>Unformatted:
