Bug#688182: linphone: kFreeBSD support
Steven Chamberlain
steven at pyro.eu.org
Fri May 29 23:08:02 UTC 2015
Hi,
Jonas Smedegaard wrote:
> It seems upstream now probes for and gracefully handles lack of V4L
> support, but the packaging forcefully avoids any video capabilities on
> non-Linux targets.
>
> Please try simply drop that discrimination in debian/rules and see if
> package still succeeds building on non-Linux targets.
I've tested that on kfreebsd with some interesting results:
Without V4L, it will still FTBFS:
| checking for LIBV4L2... no
| No libv4l2 found.
| checking for LIBV4L1... no
| No libv4l1 found.
| configure: error:
| Missing libv4l2. It is highly recommended to build with
| libv4l2 headers and library. Many camera will won't work or will crash
| your application if libv4l2 is not installed.
| If you know what you are doing, you can use --disable-libv4l2 to disable
| this check.
|
| configure: error: ./configure failed for mediastreamer2
but on kfreebsd if you add libv4l-dev to Built-Depends, it will detect,
enable and build OK with it now. (Haven't tested it at runtime).
There is also a proper detection for ALSA now. Without libasound
headers, it will not be enabled.
However, *with* liboss4-salsa-dev it FTBFS on kfreebsd due to some
Linuxisms in that code. But there's no point trying to fix that as
it is just a wrapper around OSS, and linphone should just use that
directly on kfreebsd (assuming it can? as I said I didn't test).
Somehow I ran into bug #782366 trying to build this on kfreebsd:
--- /usr/lib/pkgconfig/cunit.pc.orig 2013-01-27 13:48:23.000000000 +0000
+++ /usr/lib/pkgconfig/cunit.pc 2015-05-29 23:49:28.841017548 +0100
@@ -1,6 +1,6 @@
prefix=/usr
exec_prefix=${prefix}
-libdir={exec_prefix}/lib
+libdir=${exec_prefix}/lib
includedir=${prefix}/include/CUnit
Name: CUnit
Please find attached a patch that would allow linphone to build with
V4L on kfreebsd. It still can't build yet on hurd without other porting
work.
Thanks,
Regards,
--
Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfreebsd-enable-v4l.diff
Type: text/x-diff
Size: 928 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20150530/dcbe741c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 493 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20150530/dcbe741c/attachment.sig>
More information about the Pkg-voip-maintainers
mailing list