You are not logged in.
Logitech quickcam webcam drivers.
pkgname=qc-usb
pkgver=20040616
pkgrel=a4
pkgdesc="Logitech quickcam webcam drivers"
url="http://qce-ga.sourceforge.net"
license=""
depends=()
makedepends=(cvs)
install=
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/qce-ga"
cvsmod="qc-usb"
kernelver="2.6.7"
build() {
cd $startdir/src/
msg "Press enter."
cvs -Q -d $cvsroot login
msg "Fetching sources from CVS..."
cvs -Q -z3 -d $cvsroot co $cvsmod
cd $cvsmod
make all
mkdir -p $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc
cp quickcam.ko $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc/
# For 2.4.x kernels, comment the line above, and uncomment the line below
#cp quickcam.o $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc
mkdir -p $startdir/pkg/usr/bin
cp qcset $startdir/pkg/usr/bin/
}
That works a lot better then the PKGBUILD in the Wiki, I'll fix that.
EDIT: I fixed the PKGBUILD yet again. Now it will work with both 2.6.x and 2.4.x. If you have 24 just comment the lines I specified.
EDIT: I fixed the PKGBUILD... for the fourth time.. It's cleaner now, and adds better support for both kernel lines.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
I fixed the Wiki, and the patched Makefile is no longer needed, the CVS will compile fine.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
I fixed the PKGBUILD, everything works fine again.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
don't work with the kernel 2.4.26
/lib/modules/2.4.26/kernel/drivers/usb/misc/quickcam.o: couldn't find the kernel version the module was compiled for
/lib/modules/2.4.26/kernel/drivers/usb/misc/quickcam.o: insmod /lib/modules/2.4.26/kernel/drivers/usb/misc/quickcam.o failed
/lib/modules/2.4.26/misc/quickcam.o: couldn't find the kernel version the module was compiled for
/lib/modules/2.4.26/misc/quickcam.o: insmod /lib/modules/2.4.26/misc/quickcam.o failed
/lib/modules/2.4.26/misc/quickcam.o: insmod quickcam failed
Offline
grr, yeah, my package is having issues, I'll work with it later.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
I fix the error with this line
sed -i 's|-pipe|-pipe -fno-unit-at-a-time|g' Makefile
the PKGBUILD
pkgname=qc-usb
pkgver=20040620
pkgrel=a4
pkgdesc="Logitech quickcam webcam drivers"
url="http://qce-ga.sourceforge.net"
license=""
depends=()
makedepends=(cvs)
install=
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/qce-ga"
cvsmod="qc-usb"
kernelver="2.4.26"
build() {
cd $startdir/src/
msg "Press enter."
cvs -Q -d $cvsroot login
msg "Fetching sources from CVS..."
cvs -Q -z3 -d $cvsroot co $cvsmod
cd $cvsmod
sed -i 's|-pipe|-pipe -fno-unit-at-a-time|g' Makefile
make all
mkdir -p $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc
#cp quickcam.ko $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc/
# For 2.4.x kernels, comment the line above, and uncomment the line below
cp quickcam.o $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc
mkdir -p $startdir/pkg/usr/bin
cp qcset $startdir/pkg/usr/bin/
}
Offline
Hmm, I'll try it out. I'll tell you how it turns out for the 2.6.x kernel.
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
Yes! You rock! I need to read the sed man pages... I'm making two seperate PKGBUILDs, one for 2.4, and one for 2.6.
Here's the 2.4 one:
pkgname=qc-usb24
pkgver=20040620
pkgrel=p1
pkgdesc="Logitech quickcam webcam drivers"
url="http://qce-ga.sourceforge.net"
license=""
depends=()
makedepends=(cvs)
install=
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/qce-ga"
cvsmod="qc-usb"
kernelver=$(uname -r)
build() {
cd $startdir/src/
msg "Press enter."
cvs -Q -d $cvsroot login
msg "Fetching sources from CVS..."
cvs -Q -z3 -d $cvsroot co $cvsmod
cd $cvsmod
sed -i 's|-pipe|-pipe -fno-unit-at-a-time|g' Makefile
make all
mkdir -p $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc
cp quickcam.o $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc/
mkdir -p $startdir/pkg/usr/bin
cp qcset $startdir/pkg/usr/bin/
}
And for 2.6:
pkgname=qc-usb26
pkgver=20040620
pkgrel=p1
pkgdesc="Logitech quickcam webcam drivers"
url="http://qce-ga.sourceforge.net"
license=""
depends=()
makedepends=(cvs)
install=
cvsroot=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/qce-ga"
cvsmod="qc-usb"
kernelver=$(uname -r)
build() {
cd $startdir/src/
msg "Press enter."
cvs -Q -d $cvsroot login
msg "Fetching sources from CVS..."
cvs -Q -z3 -d $cvsroot co $cvsmod
cd $cvsmod
sed -i 's|-pipe|-pipe -fno-unit-at-a-time|g' Makefile
make all
mkdir -p $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc
cp quickcam.ko $startdir/pkg/lib/modules/$kernelver/kernel/drivers/usb/misc/
mkdir -p $startdir/pkg/usr/bin
cp qcset $startdir/pkg/usr/bin/
}
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
strange strange
I tried your PKGBUILD but it didn't really work for me! I am using kernel 2.6.12 atm, and by the look of your PKGBUILD it should detect the current kernel version! Well let me show you what the result of uname -r on my machine is!
# uname -r
2.6.12-ARCH
but the script puts the .ko file quickcam.ko file to be exact into /lib/modules/2.6.9-ARCH/kernel/drivers/usb
Any idea what I am doing wrong?
Offline