Summary: | net-im/skype: /usr/bin/skype script could have LD_PRELOAD support for $libdir/libv4l/v4l2convert.so (media-libs/libv4l) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Enrico 'nekrad' Weigelt <weigelt> |
Component: | Current packages | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | martin.kolleck, redneb, spideybr |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild that patches the skype wrapper script for LD_PRELOAD.
Actual patch file used by the ebuild. |
Description
Enrico 'nekrad' Weigelt
2011-03-27 18:07:59 UTC
How does that work with v4l1 removal in 2.6.38 ? (In reply to comment #1) > How does that work with v4l1 removal in 2.6.38 ? hmm, IMHO this library maps the v1 (userland) API to the v2 one. but if it makes trouble, the script could check before setting that variable. LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype works too. From http://en.gentoo-wiki.com/wiki/Webcam Created attachment 284537 [details]
Ebuild that patches the skype wrapper script for LD_PRELOAD.
Updated ebuild that will patch the skype wrapper. The method is probably considered ugly, but it works for me on x86 with kernel 2.6.29-gentoo-r3.
Created attachment 284539 [details, diff]
Actual patch file used by the ebuild.
*** Bug 396023 has been marked as a duplicate of this bug. *** All the necessary information is in the README.lib file provided by libv4l so I'm not going to duplicate the same information here. However, I've added a postinst message *pointing to the documentation file* Is there any reason why the same workaround isn't applied in the new ebuild for 4.0? It works nicely with 2.2, the camara works right out of the box. |