diff options
author | ume <ume@FreeBSD.org> | 2005-05-09 01:09:41 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-05-09 01:09:41 +0800 |
commit | 23215e517c06cdd1d61c3f75825eae47f4576e7b (patch) | |
tree | dc9fb1b706d91a8d3a395efcd00ff2107ab74184 /graphics/phpsview | |
parent | 014396f493a927450dc058de1aae3d2709011786 (diff) | |
download | freebsd-ports-gnome-23215e517c06cdd1d61c3f75825eae47f4576e7b.tar.gz freebsd-ports-gnome-23215e517c06cdd1d61c3f75825eae47f4576e7b.tar.zst freebsd-ports-gnome-23215e517c06cdd1d61c3f75825eae47f4576e7b.zip |
New port -- Philips USB Cameras Utilities for NetBSD/FreeBSD.
PR: ports/80762
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
Diffstat (limited to 'graphics/phpsview')
-rw-r--r-- | graphics/phpsview/Makefile | 48 | ||||
-rw-r--r-- | graphics/phpsview/distinfo | 4 | ||||
-rw-r--r-- | graphics/phpsview/pkg-descr | 30 | ||||
-rw-r--r-- | graphics/phpsview/pkg-messages | 26 |
4 files changed, 108 insertions, 0 deletions
diff --git a/graphics/phpsview/Makefile b/graphics/phpsview/Makefile new file mode 100644 index 000000000000..6afd1fc2940f --- /dev/null +++ b/graphics/phpsview/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: phpsview +# Date created: 17 April 2005 +# Whom: Yoshihiko Sarumaru <mistral@imasy.or.jp> +# +# $FreeBSD$ +# + +PORTNAME= phpsview +PORTVERSION= 9.0.2 +CATEGORIES= graphics +MASTER_SITES= http://www.smcc.demon.nl/webcam/ +MASTER_SITE_SUBDIR= ${REALNAME} +DISTNAME= ${REALNAME}-${PORTVERSION} + +PATCH_SITES= http://www2.starcat.ne.jp/~takam/bsd/ +PATCHFILES= ${DISTNAME}-bsd-0.03.patch.gz +PATCH_DIST_STRIP= -p2 + +MAINTAINER= mistral@imasy.or.jp +COMMENT= Philips USB Cameras Utilities for NetBSD/FreeBSD + +REALNAME= pwc +WRKSRC= ${WRKDIR}/${DISTNAME}/2.4 + +.if defined(WITHOUT_X11) +COMPONENTS= phpsshot +.else +USE_GNOME= imlib gtk12 +COMPONENTS= phpsshot phpsview +.endif + +MAN1= ${COMPONENTS:S/$/.1/} +MANCOMPRESSED= yes +PLIST_FILES= ${COMPONENTS:S/^/bin\//} + +MAKE_ARGS+= MANDIR=${MANPREFIX}/man/man + +do-build: +.for component in ${COMPONENTS} + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${ALL_TARGET}) +.endfor + +do-install: +.for component in ${COMPONENTS} + @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${INSTALL_TARGET}) +.endfor + +.include <bsd.port.mk> diff --git a/graphics/phpsview/distinfo b/graphics/phpsview/distinfo new file mode 100644 index 000000000000..830e39f53b8e --- /dev/null +++ b/graphics/phpsview/distinfo @@ -0,0 +1,4 @@ +MD5 (pwc-9.0.2.tar.gz) = c2febfc5ac59ed669cf99969f38976da +SIZE (pwc-9.0.2.tar.gz) = 230499 +MD5 (pwc-9.0.2-bsd-0.03.patch.gz) = 506996f9a527cc6c32b043b2ecda7bf5 +SIZE (pwc-9.0.2-bsd-0.03.patch.gz) = 19679 diff --git a/graphics/phpsview/pkg-descr b/graphics/phpsview/pkg-descr new file mode 100644 index 000000000000..aec3aff01f06 --- /dev/null +++ b/graphics/phpsview/pkg-descr @@ -0,0 +1,30 @@ +Philips USB Cameras Utilities for NetBSD/FreeBSD +----------------------------------------------- + +1. What is it? + phpsshot ... simple image capture program ( output stdout PPM file ) + phpsview ... sequential image viewer program ( about 3fps ) + +2. What is supported USB camera? + + Vendor Device Product Name(Sensor name) + ------ ------ ---------------------------------- + 0x046d 0x08b1 Logitech QuickCam Notebook Pro + 0x046d 0x08b2 Logitech QuickCam Pro 4000 + 0x041e 0x400c Creative Labs Webcam 5 + 0x0471 0x0311 Philips ToUCam Pro + + Maybe the camera that has a same CCD will work. + If cameras worked (or not worked) below, please report me. + + Same CCD cameras + - Philips PCVC740K (ToUCam Pro) + - Logitech QuickCam Pro 3000 + - Logitech QuickCam Zoom + - Logitech QuickCam Zoom(new model) + - Logitech QuickCam Orbit/Sphere + - Creative Labs Webcam Pro Ex + - Samsung MPC-C30 + - Visionite VCS-UC300 + +WWW: http://www2.starcat.ne.jp/~takam/bsd/NetBSD.html#qcamPro diff --git a/graphics/phpsview/pkg-messages b/graphics/phpsview/pkg-messages new file mode 100644 index 000000000000..4fab4d933cf3 --- /dev/null +++ b/graphics/phpsview/pkg-messages @@ -0,0 +1,26 @@ +When you have a problem with phpsview, please read following Q and A. + +Q. The capture program doesn't work with the message "Not found Philips Webcam", + or "Permission denied". + +A. 1) Check your dmesg and make sure the camera was attached as ugen device. + If your camera was attached as uaudio device, apply a patch that tells + to the kernel that these cameras are not audio devices (although it has + a microphone in it). + http://www2.starcat.ne.jp/~takam/bsd/phpsview-netbsd-sys-1.6.2.diff + + If your camera doesn't match with the entry in above patch, you have to + add your camera in the same manner, or disable uaudio driver. + + 2) Make sure you can write to the device file connected to your camera. + With default settings, regular user can't write to /dev/ugen*. + Run chmod a+w /dev/ugen0 (or other corresponding device file) + or setup /etc/devfs.rules to makes the device file will be created + with a suitable permission every time you plug your camera to the + devfs running system (such as 5.x or higher). + +Q. phpsview seems to be working with no errors, but I can't get the right image. + +A. Some people said that FreeBSD ohci USB driver had something troubles. + If you have problems with ohci system, please upgrade FreeBSD to 5.4 + and try again (I hear that FreeBSD 5.4-RC is free from the problem). |