From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 8 12:50:03 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CB5716A4E3 for ; Sun, 8 May 2005 12:50:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4480843D49 for ; Sun, 8 May 2005 12:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j48Co31W097190 for ; Sun, 8 May 2005 12:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j48Co3mc097189; Sun, 8 May 2005 12:50:03 GMT (envelope-from gnats) Resent-Date: Sun, 8 May 2005 12:50:03 GMT Resent-Message-Id: <200505081250.j48Co3mc097189@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yoshihiko Sarumaru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D48516A4E2 for ; Sun, 8 May 2005 12:49:57 +0000 (GMT) Received: from shimako.yamayuri.org (yumi.yamayuri.org [218.45.22.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FBA143DAB for ; Sun, 8 May 2005 12:49:56 +0000 (GMT) (envelope-from mistral@imasy.or.jp) Received: from shimako.yamayuri.org (localhost [IPv6:3ffe:505:2020:0:203:47ff:fe14:7175])j48CnsGj005649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 8 May 2005 21:49:54 +0900 (JST) (envelope-from mistral@imasy.or.jp) Received: (from sarumaru@localhost) by shimako.yamayuri.org (8.13.1/8.13.1/Submit) id j48CnnLD005648; Sun, 8 May 2005 21:49:49 +0900 (JST) (envelope-from sarumaru) Message-Id: <200505081249.j48CnnLD005648@shimako.yamayuri.org> Date: Sun, 8 May 2005 21:49:49 +0900 (JST) From: Yoshihiko Sarumaru To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80762: New port: graphics/phpsview X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yoshihiko Sarumaru List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 12:50:03 -0000 >Number: 80762 >Category: ports >Synopsis: New port: graphics/phpsview >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 08 12:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yoshihiko Sarumaru >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD shimako.yamayuri.org 4.11-STABLE FreeBSD 4.11-STABLE #2: Thu Mar 31 00:07:22 JST 2005 sendpr@shimako.yamayuri.org:/backup/tmp/usr/obj/usr/src/sys/Z505VRK i386 >Description: This PR introduces phpsview and phpsshot that controls Logitech QuickCam (Notebook) Pro >How-To-Repeat: >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: # # graphics/phpsview/ # graphics/phpsview/Makefile # graphics/phpsview/distinfo # graphics/phpsview/pkg-descr # graphics/phpsview/pkg-messages # echo c - graphics/phpsview/ mkdir -p graphics/phpsview/ > /dev/null 2>&1 echo x - graphics/phpsview/Makefile sed 's/^X//' >graphics/phpsview/Makefile << 'END-of-graphics/phpsview/Makefile' X# New ports collection makefile for: phpsview X# Date created: 17 April 2005 X# Whom: Yoshihiko Sarumaru X# X# $FreeBSD$ X# X XPORTNAME= phpsview XPORTVERSION= 9.0.2 XCATEGORIES= graphics XMASTER_SITES= http://www.smcc.demon.nl/webcam/ XMASTER_SITE_SUBDIR= ${REALNAME} XDISTNAME= ${REALNAME}-${PORTVERSION} X XPATCH_SITES= http://www2.starcat.ne.jp/~takam/bsd/ XPATCHFILES= ${DISTNAME}-bsd-0.03.patch.gz XPATCH_DIST_STRIP= -p2 X XMAINTAINER= mistral@imasy.or.jp XCOMMENT= Philips USB Cameras Utilities for NetBSD/FreeBSD X XREALNAME= pwc XWRKSRC= ${WRKDIR}/${DISTNAME}/2.4 X X.if defined(WITHOUT_X11) XCOMPONENTS= phpsshot X.else XUSE_GNOME= imlib gtk12 XCOMPONENTS= phpsshot phpsview X.endif X XMAN1= ${COMPONENTS:S/$/.1/} XMANCOMPRESSED= yes XPLIST_FILES= ${COMPONENTS:S/^/bin\//} X XMAKE_ARGS+= MANDIR=${MANPREFIX}/man/man X Xdo-build: X.for component in ${COMPONENTS} X @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${ALL_TARGET}) X.endfor X Xdo-install: X.for component in ${COMPONENTS} X @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${INSTALL_TARGET}) X.endfor X X.include END-of-graphics/phpsview/Makefile echo x - graphics/phpsview/distinfo sed 's/^X//' >graphics/phpsview/distinfo << 'END-of-graphics/phpsview/distinfo' XMD5 (pwc-9.0.2.tar.gz) = c2febfc5ac59ed669cf99969f38976da XSIZE (pwc-9.0.2.tar.gz) = 230499 XMD5 (pwc-9.0.2-bsd-0.03.patch.gz) = 506996f9a527cc6c32b043b2ecda7bf5 XSIZE (pwc-9.0.2-bsd-0.03.patch.gz) = 19679 END-of-graphics/phpsview/distinfo echo x - graphics/phpsview/pkg-descr sed 's/^X//' >graphics/phpsview/pkg-descr << 'END-of-graphics/phpsview/pkg-descr' XPhilips USB Cameras Utilities for NetBSD/FreeBSD X----------------------------------------------- X X1. What is it? X phpsshot ... simple image capture program ( output stdout PPM file ) X phpsview ... sequential image viewer program ( about 3fps ) X X2. What is supported USB camera? X X Vendor Device Product Name(Sensor name) X ------ ------ ---------------------------------- X 0x046d 0x08b1 Logitech QuickCam Notebook Pro X 0x046d 0x08b2 Logitech QuickCam Pro 4000 X 0x041e 0x400c Creative Labs Webcam 5 X 0x0471 0x0311 Philips ToUCam Pro X X Maybe the camera that has a same CCD will work. X If cameras worked (or not worked) below, please report me. X X Same CCD cameras X - Philips PCVC740K (ToUCam Pro) X - Logitech QuickCam Pro 3000 X - Logitech QuickCam Zoom X - Logitech QuickCam Zoom(new model) X - Logitech QuickCam Orbit/Sphere X - Creative Labs Webcam Pro Ex X - Samsung MPC-C30 X - Visionite VCS-UC300 X XWWW: http://www2.starcat.ne.jp/~takam/bsd/NetBSD.html#qcamPro END-of-graphics/phpsview/pkg-descr echo x - graphics/phpsview/pkg-messages sed 's/^X//' >graphics/phpsview/pkg-messages << 'END-of-graphics/phpsview/pkg-messages' XWhen you have a problem with phpsview, please read following Q and A. X XQ. The capture program doesn't work with the message "Not found Philips Webcam", X or "Permission denied". X XA. 1) Check your dmesg and make sure the camera was attached as ugen device. X If your camera was attached as uaudio device, apply a patch that tells X to the kernel that these cameras are not audio devices (although it has X a microphone in it). X http://www2.starcat.ne.jp/~takam/bsd/phpsview-netbsd-sys-1.6.2.diff X X If your camera doesn't match with the entry in above patch, you have to X add your camera in the same manner, or disable uaudio driver. X X 2) Make sure you can write to the device file connected to your camera. X With default settings, regular user can't write to /dev/ugen*. X Run chmod a+w /dev/ugen0 (or other corresponding device file) X or setup /etc/devfs.rules to makes the device file will be created X with a suitable permission every time you plug your camera to the X devfs running system (such as 5.x or higher). X XQ. phpsview seems to be working with no errors, but I can't get the right image. X XA. Some people said that FreeBSD ohci USB driver had something troubles. X If you have problems with ohci system, please upgrade FreeBSD to 5.4 X and try again (I hear that FreeBSD 5.4-RC is free from the problem). END-of-graphics/phpsview/pkg-messages exit >Release-Note: >Audit-Trail: >Unformatted: