Summary: | ov51x webcams (e.g. eyetoy) drivers (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Gaber <Michael.Gaber> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | kevin.fullerton |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page | ||
Whiteboard: | sunrise suggested | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild for 1.0.0
ov51x-jpeg-1.5.6.ebuild ov51x-jpeg-1.5.7 ebuild ov51x-jpeg-core.c patch |
Description
Michael Gaber
2007-03-11 22:30:16 UTC
Created attachment 115358 [details]
Ebuild for 1.0.0
Have created an ebuild for ov51x - I don't have a camera here but it builds and inserts into a 2.6.19 kernel with no problems - I've commited the ebuild to the Gentoo Sunrise Overlay at http://gentoo-sunrise.org/cgi-bin/trac.cgi/changeset/3320 Created attachment 143527 [details]
ov51x-jpeg-1.5.6.ebuild
Sunrise isn't up to date. There is no download for the 1.5.5 version.
There is a working ebuild in sunrise, which works also when bumped to 1.5.7 which is the current version of ov51x-jpeg. (In reply to comment #4) > There is a working ebuild in sunrise, which works also when bumped to 1.5.7 > which is the current version of ov51x-jpeg. > proc_root is no more exported please see attachments Created attachment 154831 [details]
ov51x-jpeg-1.5.7 ebuild
Created attachment 154833 [details, diff]
ov51x-jpeg-core.c patch
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq Does not compile in 2.6.30 /tmp/trunk/ov51x-jpeg-core.c: In function 'create_proc_ov511_cam': /tmp/trunk/ov51x-jpeg-core.c:681: error: 'struct proc_dir_entry' has no member named 'owner' /tmp/trunk/ov51x-jpeg-core.c:689: error: 'struct proc_dir_entry' has no member named 'owner' /tmp/trunk/ov51x-jpeg-core.c:700: error: 'struct proc_dir_entry' has no member named 'owner' /tmp/trunk/ov51x-jpeg-core.c:712: error: 'struct proc_dir_entry' has no member named 'owner' /tmp/trunk/ov51x-jpeg-core.c: In function 'proc_ov511_create': /tmp/trunk/ov51x-jpeg-core.c:766: error: 'struct proc_dir_entry' has no member named 'owner' /tmp/trunk/ov51x-jpeg-core.c: In function 'ov518_dump_regs': /tmp/trunk/ov51x-jpeg-core.c:1594: error: implicit declaration of function 'info' /tmp/trunk/ov51x-jpeg-core.c: In function 'ov51x_clear_snapshot': /tmp/trunk/ov51x-jpeg-core.c:1691: error: implicit declaration of function 'warn' Yeah I'm probably doing something bad here, i have no idea of the impact but it does work, for me. I comment out lines like this from ov51x-jpeg-core.c located between lines 681 to 766 ov->proc_info->owner = THIS_MODULE; ov->proc_devdir->owner = THIS_MODULE; ov->proc_button->owner = THIS_MODULE; ov->proc_control->owner = THIS_MODULE; ov51x_jpeg_proc_entry->owner = THIS_MODULE; From kernel 2.6.38 AFAIK Video4Linux version 1 is deprecated and removed.
I have kernel 3.0* and got this whet trying to build:
>>> Emerging (1 of 1) media-video/ov51x-jpeg-1.5.7 from Local-portage-overlay
* ov51x-jpeg-1.5.7.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.0.6-gentoo/build
* Found sources for kernel version:
* 3.0.6-gentoo
* Checking for suitable kernel configuration options...
* ov51x-jpeg-1.5.7 require support for the Video For Linux API 1 compatibility layer (CONFIG_VIDEO_V4L1_COMPAT).
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
* ERROR: media-video/ov51x-jpeg-1.5.7 failed (setup phase):
* Incorrect kernel configuration options
Does this mean it's time to take it upstream to the creator?
|