Bug#1024803: Has lintian warnings
Package: libcamera
Version: 0.0.1-4
The lintian warnings log is a bit noisy, would be nice to silent some of
those. The attached patch isn't perfect but improves the situation
debian/patches
- removes some entries for files which aren't in 0.0.1 anymore
- simplify the section for meson files, unsure if that's a lintian bug
though?
libcamera-dev.lintian-overrides
- unsure what that's needed but without the change lintian would still
list the repeated-path-segment warning
libcamera0.lintian-overrides
- silent the warnings due to v4l2-compat.so not being a proper shared
library (it's not meant to be)
- ignore package-name-doesnt-match-sonames due to extra files being
included in the library
Cheers,
Sebastien
diff --git a/debian/copyright b/debian/copyright
index f7233ba..be553d5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -18,8 +18,6 @@ Copyright:
License: GPL-2+
Files:
- meson.build
- */meson.build
*/*/meson.build
Copyright:
2018—2020 Libcamera contributors
@@ -83,7 +81,6 @@ Copyright:
License: BSD-3-Clause or GPL-2+
Files:
- include/linux/drm.h
include/linux/drm_fourcc.h
Copyright:
2011 Intel Corporation
@@ -91,26 +88,10 @@ Copyright:
2000 VA Linux Systems, Inc., Sunnyvale, California
License: Expat
-Files:
- include/linux/drm_mode.h
-Copyright:
- 2007 Dave Airlie <airlied@linux.ie>
- 2007 Jakob Bornecrantz <wallbraker@gmail.com>
- 2008 Red Hat Inc.
- 2007—2008 Tungsten Graphics, Inc., Cedar Park, TX., USA
- 2007—2008 Intel Corporation
-License: Expat
-
Files: include/linux/bcm2835-isp.h
Copyright: 2019—2020 Raspberry Pi Ltd
License: GPL-2+ with Linux-syscall-note or BSD-3-Clause
-Files: include/linux/vc_sm_cma_ioctl.h
-Copyright:
- 2012, Broadcom Europe Ltd
- 2019, Raspberry Pi Ltd
-License: BSD-3-Clause
-
Files:
include/linux/media-bus-format.h
include/linux/v4l2-mediabus.h
diff --git a/debian/libcamera-dev.lintian-overrides b/debian/libcamera-dev.lintian-overrides
index c22d393..e826f11 100644
--- a/debian/libcamera-dev.lintian-overrides
+++ b/debian/libcamera-dev.lintian-overrides
@@ -1 +1 @@
-libcamera-dev: repeated-path-segment libcamera usr/include/libcamera/libcamera/*
+libcamera-dev: repeated-path-segment libcamera [usr/include/libcamera/libcamera/]
diff --git a/debian/libcamera0.lintian-overrides b/debian/libcamera0.lintian-overrides
new file mode 100644
index 0000000..3ab84ce
--- /dev/null
+++ b/debian/libcamera0.lintian-overrides
@@ -0,0 +1,3 @@
+libcamera0: lacks-unversioned-link-to-shared-library example: usr/lib/x86_64-linux-gnu/v4l2-compat.so [usr/lib/x86_64-linux-gnu/v4l2-compat.so]
+package-name-doesnt-match-sonames libcamera-base0.0.1 libcamera0.0.1 v4l2-compat
+shared-library-lacks-version usr/lib/x86_64-linux-gnu/v4l2-compat.so v4l2-compat.so
Reply to: