v4l-utils, v4l_compat and (k)FreeBSD

Hans Petter Selasky hselasky at c2i.net
Fri Jun 22 14:43:31 UTC 2012


On Friday 22 June 2012 09:50:37 Gregor Jasny wrote:
> Hello,
> 
> I'm the Debian Maintainer of v4l-utils and upstream contributor to
> v4l-utils. Some time ago I converted the hand crafted Makefile base
> build system to autotools which helped portability (iconv, argp, dl) a
> lot. I looked at the patches against the libv4l/v4l-utils port and
> changed the v4l-utils development version accordingly. One remaining
> issue was the dependency of (k)FreeBSD on processed v4l/dvb headers. The
> v4l_compat port gets synced from time to time but is always behind the
> latest version.
> 
> This makes it impossible to even cnmpile test v4l-utils on the BSDs. So
> I looked at the diffs between the original V4L headers and the one in
> v4l_compat and came up with some sed rules and a quilt patch series.
> 

Hi,

> You can find the bsdify.sh script here:
> http://git.linuxtv.org/v4l-utils.git/tree/HEAD:/contrib/freebsd
> 

Your script looks good!

> I also wired the sed and quilt rules into the sync-with-kernel target so
> the processed files become a part of v4l-utils. So they'll always be on
> par with the Linux ones.
> 
> Unfortunately I won't find time to test v4l-utils with webcamd during
> the next month. Maybe someone from the FreeBSD multimedia team could
> step in?

Webcamd does not use these header files as of newer releases. It uses the ones 
that ship with the Linux kernel sources without any modifications. However, 
other applications use this port and needs to be tested.

> 
> Note: currently you still need these two patches to compile on (k)FreeBSD:
> > http://anonscm.debian.org/gitweb/?p=collab-maint/libv4l.git;a=tree;f=debi
> > an/patches;h=90c8fa7f37eecc508db4b0151e35d5e736474b67;hb=refs/heads/debia
> > n-0.9.x
> 
> I'd love to release v4l-utils 0.10 with proper (k)FreeBSD support.

Thank you! V4L works great in FreeBSD userspace as far as I'm aware!

Koop: How do we go ahead with this one?

--HPS


More information about the freebsd-multimedia mailing list