Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100410 - zc030x webcams are not supported
Summary: zc030x webcams are not supported
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 14:36 UTC by Andreas Rueckert
Modified: 2005-08-06 02:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
I used the CVS from 26 Jul 05 of http://zc0302.sourceforge.net/zc0302.php?page=download to create a dummy 0.1 version. (zc030x.zip,69.65 KB, patch)
2005-07-26 14:41 UTC, Andreas Rueckert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Rueckert 2005-07-26 14:36:05 UTC
It seems, that zc030x webcams are currently not supported by Gentoo.

Reproducible: Always
Steps to Reproduce:
Plug cam in. Nothing happens.
Actual Results:  
Nothing.

Expected Results:  
Load a driver for the USB device.
Comment 1 Andreas Rueckert 2005-07-26 14:41:43 UTC
Created attachment 64386 [details, diff]
I used the CVS from 26 Jul 05 of http://zc0302.sourceforge.net/zc0302.php?page=download to create a dummy 0.1 version.

I'd like to create something like a zc030x-26072005 version, but ebuild won't
unpack this here due to naming errors. I'm a newbie to ebuild writing, so I
don't have much clue how to fix this at the moment.
Since I consider this a hack, I don't want to add this to portage, before
any experienced Gentoo developer has reviewed it. TIA
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 15:11:51 UTC
The ebuild is totally unreadable, please attach something useful and reopen then.
Comment 3 Andreas Rueckert 2005-07-27 04:05:56 UTC
(In reply to comment #2)
> The ebuild is totally unreadable, please attach something useful and reopen then.

I just looked over the ebuild and I'm not sure what your problem is?
===============================================
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit linux-mod

DESCRIPTION="driver for webcams with zc030x chip"
HOMEPAGE="http://zc0302.sourceforge.net"
SRC_URI="http://zc0302.sourceforge.net/release/zc030x-driver-0.1.tar.bz2"
S="${WORKDIR}/zc030x"
LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""
MODULE_NAMES="zc030x(kernel/drivers/usb/media/:)"

pkg_setup() {
	linux-mod_pkg_setup
	BUILD_PARAMS="KSRC=${KV_DIR} KDIR=${KV_DIR}"
}

src_compile() {
	linux-mod_src_compile
}

src_install() {
	linux-mod_src_install
	dodoc CHANGELOG
}
===============================================
What part of the ebuild caused you problems?
The faked source URI?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-27 04:21:35 UTC
(In reply to comment #3)
> I just looked over the ebuild and I'm not sure what your problem is?
> What part of the ebuild caused you problems?
> The faked source URI?

My problem is that I see just some unreadable binary mess. If that is a tarball,
then you have set incorrect mime type for the attachment, and also we don't want
any tarballs, just plaintext ebuilds. 

Re-attach a *plaintext* ebuild; if there is no homepage, attach the driver
tarball as a separate attachment and be sure to set correct mime types for both.
Comment 5 Andreas Rueckert 2005-07-27 07:57:58 UTC
> My problem is that I see just some unreadable binary mess. If that is a tarball,
> then you have set incorrect mime type for the attachment, and also we don't want
> any tarballs, just plaintext ebuilds. 

Uh...ok. The original attachment was a zipfile containing the ebuild, the
tar.bz2 of the driver, the metadata, digest etc.

> Re-attach a *plaintext* ebuild; if there is no homepage, attach the driver
> tarball as a separate attachment and be sure to set correct mime types for both.

Sorry, I thought I had set the correct mimetype, so I was somewhat irritated 
about your comment.
Should I attach all the files separately? Wouldn't it be easier to mail you 
the zipfile?
The problem is, that there's no release of the driver at the homepage, so I had
to make my own release. The ebuild won't help you that much, because of the
faked SRC_URI. You'll download a release., but not the current version, that
was in my attachment.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-06 02:02:14 UTC
No, we don't want zipfiles nor tarballs, we want a plaintext ebuild. We don't
need digest and metadata. And I definitely don't want anything mailed to me.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2