From 3d1be3cae0cb224b7966ea7c0c6da9a69ecdcd5d Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Mon, 25 Jul 2005 09:02:11 +0000 Subject: Added /dev/video to openslug device_table.txt --- .../initscripts-1.0/openslug/device_table.txt | 1 + packages/pwc/pwc-10.0.7a/.mtn2git_empty | 0 packages/pwc/pwc-10.0.7a/Makefile | 13 ++++++++++ packages/pwc/pwc_10.0.7a.bb | 30 ++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 packages/pwc/pwc-10.0.7a/.mtn2git_empty create mode 100644 packages/pwc/pwc-10.0.7a/Makefile create mode 100644 packages/pwc/pwc_10.0.7a.bb (limited to 'packages') diff --git a/packages/initscripts/initscripts-1.0/openslug/device_table.txt b/packages/initscripts/initscripts-1.0/openslug/device_table.txt index e01396ecd6..287319c162 100644 --- a/packages/initscripts/initscripts-1.0/openslug/device_table.txt +++ b/packages/initscripts/initscripts-1.0/openslug/device_table.txt @@ -164,5 +164,6 @@ /dev/ttyUSB c 660 0 5 188 0 0 1 2 /dev/urandom c 644 0 0 1 9 - - - /dev/usbmouse c 640 0 45 10 32 - - - +/dev/video c 644 0 0 81 0 - - - /dev/zero c 644 0 0 1 5 - - - /dev/input/mice c 660 0 0 13 63 - - - diff --git a/packages/pwc/pwc-10.0.7a/.mtn2git_empty b/packages/pwc/pwc-10.0.7a/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/pwc/pwc-10.0.7a/Makefile b/packages/pwc/pwc-10.0.7a/Makefile new file mode 100644 index 0000000000..d941f1a6f2 --- /dev/null +++ b/packages/pwc/pwc-10.0.7a/Makefile @@ -0,0 +1,13 @@ +ifneq ($(KERNELRELEASE),) +pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-v4l.o pwc-uncompress.o \ + pwc-dec1.o pwc-dec23.o pwc-kiara.o pwc-timon.o + +obj-m += pwc.o + +else +KDIR := /lib/modules/$(shell uname -r)/build +PWD := $(shell pwd) + +default modules: + $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules +endif diff --git a/packages/pwc/pwc_10.0.7a.bb b/packages/pwc/pwc_10.0.7a.bb new file mode 100644 index 0000000000..f6af027f56 --- /dev/null +++ b/packages/pwc/pwc_10.0.7a.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Philips USB Webcam driver for Linux that supports VGA resolution" +PRIORITY = "optional" +SECTION = "kernel/modules" +MAINTAINER = "dyoung " +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "http://www.saillard.org/linux/pwc/files/pwc-${PV}.tar.bz2 \ + file://Makefile" + +S = "${WORKDIR}/pwc-${PV}" + +inherit module + +do_compile_prepend() { + cp -f ${WORKDIR}/Makefile ${S}/ +} + +do_compile () { + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake 'KDIR=${STAGING_KERNEL_DIR}' \ + 'CC=${KERNEL_CC}' \ + 'LD=${KERNEL_LD}' +} + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media + install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/media +} + -- cgit v1.2.3 From 330e55046a29c4d95318dd34e9a0be2d563e5b74 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Mon, 25 Jul 2005 09:05:59 +0000 Subject: Bumped the initscripts-openslug PR --- packages/initscripts/initscripts-openslug_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/initscripts/initscripts-openslug_1.0.bb b/packages/initscripts/initscripts-openslug_1.0.bb index 475e273f3d..b5252bfdeb 100644 --- a/packages/initscripts/initscripts-openslug_1.0.bb +++ b/packages/initscripts/initscripts-openslug_1.0.bb @@ -11,7 +11,7 @@ RCONFLICTS = "initscripts" # All other standard definitions inherited from initscripts # Except the PR which is hacked here. The format used is # a suffix -PR := "${PR}.1" +PR := "${PR}.2" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${P}', '${FILE_DIRNAME}/initscripts-${PV}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" -- cgit v1.2.3 From 632ffda86e0a2d87d71cd8cbf2438af5645c4d1d Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Mon, 25 Jul 2005 23:57:58 +0000 Subject: Added setpwc for controlling Philips webcams. --- packages/atftp/atftp_0.7.bb | 0 packages/libmpeg2/libmpeg2_0.4.0b.bb | 0 packages/miau/miau_0.5.3.bb | 0 packages/puppy/puppy_1.8.bb | 0 packages/puppy/puppy_1.9.bb | 0 packages/setpwc/.mtn2git_empty | 0 packages/setpwc/files/.mtn2git_empty | 0 packages/setpwc/files/Makefile.patch | 14 ++++++++++++++ packages/setpwc/setpwc_0.9.bb | 17 +++++++++++++++++ packages/thc/thcrut_1.2.5.bb | 0 10 files changed, 31 insertions(+) mode change 100755 => 100644 packages/atftp/atftp_0.7.bb mode change 100755 => 100644 packages/libmpeg2/libmpeg2_0.4.0b.bb mode change 100755 => 100644 packages/miau/miau_0.5.3.bb mode change 100755 => 100644 packages/puppy/puppy_1.8.bb mode change 100755 => 100644 packages/puppy/puppy_1.9.bb create mode 100644 packages/setpwc/.mtn2git_empty create mode 100644 packages/setpwc/files/.mtn2git_empty create mode 100644 packages/setpwc/files/Makefile.patch create mode 100644 packages/setpwc/setpwc_0.9.bb mode change 100755 => 100644 packages/thc/thcrut_1.2.5.bb (limited to 'packages') diff --git a/packages/atftp/atftp_0.7.bb b/packages/atftp/atftp_0.7.bb old mode 100755 new mode 100644 diff --git a/packages/libmpeg2/libmpeg2_0.4.0b.bb b/packages/libmpeg2/libmpeg2_0.4.0b.bb old mode 100755 new mode 100644 diff --git a/packages/miau/miau_0.5.3.bb b/packages/miau/miau_0.5.3.bb old mode 100755 new mode 100644 diff --git a/packages/puppy/puppy_1.8.bb b/packages/puppy/puppy_1.8.bb old mode 100755 new mode 100644 diff --git a/packages/puppy/puppy_1.9.bb b/packages/puppy/puppy_1.9.bb old mode 100755 new mode 100644 diff --git a/packages/setpwc/.mtn2git_empty b/packages/setpwc/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/setpwc/files/.mtn2git_empty b/packages/setpwc/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/setpwc/files/Makefile.patch b/packages/setpwc/files/Makefile.patch new file mode 100644 index 0000000000..257f90a1ac --- /dev/null +++ b/packages/setpwc/files/Makefile.patch @@ -0,0 +1,14 @@ +*** setpwc-0.9/Makefile.orig 2005-07-26 09:16:09.000000000 +0930 +--- setpwc-0.9/Makefile 2005-07-26 09:16:18.000000000 +0930 +*************** +*** 22,30 **** + + setpwc: $(OBJS) + $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o setpwc +- strip setpwc +- echo +- echo Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html + + install: setpwc + cp setpwc /usr/bin +--- 22,27 ---- diff --git a/packages/setpwc/setpwc_0.9.bb b/packages/setpwc/setpwc_0.9.bb new file mode 100644 index 0000000000..595e2ab764 --- /dev/null +++ b/packages/setpwc/setpwc_0.9.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Set various aspects of Philips (and compatible) WebCams." +SECTION = "console" +PRIORITY = "optional" +MAINTAINER = "NSLU2 Linux " +HOMEPAGE = "http://www.vanheusden.com/setpwc/" +LICENSE = "GPL" +PR = "r0" + +SRC_URI = "http://www.vanheusden.com/setpwc/setpwc-${PV}.tgz \ + file://Makefile.patch;patch=1" + +inherit autotools + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/setpwc ${D}${bindir}/setpwc +} diff --git a/packages/thc/thcrut_1.2.5.bb b/packages/thc/thcrut_1.2.5.bb old mode 100755 new mode 100644 -- cgit v1.2.3 From db70a2a0b0b79f3da80a30c604642cec27bc9264 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Mon, 25 Jul 2005 23:59:56 +0000 Subject: Changed /dev/video to /dev/video[0-4] for openslug --- packages/initscripts/initscripts-1.0/openslug/device_table.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/initscripts/initscripts-1.0/openslug/device_table.txt b/packages/initscripts/initscripts-1.0/openslug/device_table.txt index 287319c162..ae3cb79913 100644 --- a/packages/initscripts/initscripts-1.0/openslug/device_table.txt +++ b/packages/initscripts/initscripts-1.0/openslug/device_table.txt @@ -164,6 +164,6 @@ /dev/ttyUSB c 660 0 5 188 0 0 1 2 /dev/urandom c 644 0 0 1 9 - - - /dev/usbmouse c 640 0 45 10 32 - - - -/dev/video c 644 0 0 81 0 - - - +/dev/video c 644 0 0 81 0 0 1 4 /dev/zero c 644 0 0 1 5 - - - /dev/input/mice c 660 0 0 13 63 - - - -- cgit v1.2.3