Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 07:44:29 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        ports@freebsd.org
Subject:   please check if your port may use v4l_compat
Message-ID:  <20070209074429.B99372@xorpc.icir.org>

next in thread | raw e-mail | index | archive | help
dear ports maintainers,

after hitting a couple of them myself (net/ekiga and mbone/vic),
i believe that there is a number of ports, especially in the
multimedia/ graphics/ net/ mbone/ categories which might
make good use of a

BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat

line in their Makefile, to enable support of video4linux devices.

The above port will just add a single header to the system,

	/usr/local/include/linux/videodev.h

But this in turn might trigger the video4linux detection in
the individual configure files, and finally support such devices
for which we start having drivers (multimedia/pwcbsd,
multimedia/linux-gspca-kmod and multimedia/linux-ov511-kmod
among others).

A good way to check if your port could be interested is to

	grep videodev.h configure

If you have a match, check the path where the file is looked up,
and possibly correct it (some only try /usr/include/linux/videodev.h
because that is the linux location).

After that you _might_ have various build errors,
but generally trivial to fix (and not setting the BUILD_DEPENDS
is not a solution because the port could be already there
for other reasons).

I can help handling some of them as long as you email me
if your grep for 'videodev.h' returns a match

	thanks
	luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070209074429.B99372>