Hello,
On 6/22/20 8:07 PM, Gregor Jasny wrote:
I'll try to adjust the Debian / Ubuntu packaging scripts to meson.
I tried to adjust the Ubuntu v4l-utils development scripts on top of the
ariel/mesonbuild-v4 git branch.
On Unbuntu 20.04 I did the following:
mkdir v4l-meson
cd v4l-meson
git clone https://gitlab.com/adalessandro/v4l-utils.git
git clone https://git.launchpad.net/\~libv4l/+git/v4l-utils-packaging
cd v4l-utils
git checkout ariel/mesonbuild-v4
ln -s ../v4l-utils-packaging debian
cd debian
git checkout meson-build
cd ..
dpkg-buildpackage -uc -b -rfakeroot # install build-essential + missing
I noticed the following:
* library symlinks are not in place
see https://packages.debian.org/sid/amd64/libv4l-0/filelist
* static libraries are missing
* bfd sources did not compile properly (now disabled in my repo):
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dlibv4lconvertsubdir=libv4lconvert0 -Dqvidcap=disabled
[122/274] /usr/bin/meson --internal exe --unpickle /home/gregorj/src/v4l-meson/v4l-utils/obj-x86_64-linux-gnu/meson-private/meson_exe_clang_8e74c7d634462a79ae20aa67cb5c690cf72447f7.dat
FAILED: utils/keytable/bpf_protocols/manchester.o
/usr/bin/meson --internal exe --unpickle /home/gregorj/src/v4l-meson/v4l-utils/obj-x86_64-linux-gnu/meson-private/meson_exe_clang_8e74c7d634462a79ae20aa67cb5c690cf72447f7.dat
In file included from ../utils/keytable/bpf_protocols/manchester.c:5:
In file included from /usr/include/linux/lirc.h:10:
/usr/include/linux/types.h:5:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^~~~~~~~~~~~~
1 error generated.
* doxygen targets are missing
see
https://gitlab.com/adalessandro/v4l-utils/-/blob/ariel/mesonbuild-v4/m4/ax_prog_doxygen.m4
Thanks,
Gregor