61 Commits

Author SHA1 Message Date
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Marek Vasut
9e0a8642b1 v4l-utils: Update 1.23.0+9431e4b2 -> 1.24.1
Update V4L2 utils to actual release version 1.24.1 .

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Ross Burton
20d63965da v4l-utils: do out-of-tree builds
Don't override B to do in-tree builds, and run bootstrap from ${S} so
that it works correctly.

Also, remove redundant SRC_URI checksums, as this recipe now uses git.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-04 06:47:00 -07:00
Marek Vasut
8bb05209c6 v4l-utils: Update 1.23.0+fd544473 -> 1.23.0+9431e4b2
Update V4L2 utils to latest git HEAD and drop patches now upstream:
575e0a9f ("media-info: Include missing <cstdint> for uintptr_t")
96022d88 ("configure.ac, Makefile.am: Support building without NLS")

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-19 16:04:10 -08:00
Khem Raj
3210d3523f v4l-utils: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 21:52:26 -08:00
Khem Raj
43d5820af0 v4l-utils: Diable 64bit time_t on glibc targets
it overrides some of LFS64 functions in peculiar ways that it has to
undefine _FILE_OFFSET_BITS to silence the funtion definitions from glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-01 21:09:02 -08:00
Peter Kjellerstedt
442909de28 v4l-utils: Support building without NLS
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-15 18:24:49 -07:00
Daniel Gomez
ff7666cae8 v4l-utils: Update 1.22.1 -> 1.23.0+fd544473
Use git instead of release tarball to close the gap between the latest
1.22.1 and master.

Add 'bootstrap.sh' call to fix configuration issues:

Error:
config.status: error: cannot find input file:
`v4l-utils-po/Makefile.in.in

Adapt patch '0007-Do-not-use-getsubopt.patch': Upstream has replaced
the use of getsubopt with v4l_subopt which detects if getsubopt is
provided via glibc or not. Otherwise it uses a static
v4l_getsubopt copied from glibc.

(From v4l-utils: 6e19bb895a16a9a247524ac526ab47f576cc36f6)

Also rename patch number to '0004-Do-not-use-getsubopt.patch'.

Add qv4l2 and qvidcap packages support but keep them disabled as
they require meta-qt5.

Enable alsa support if alsa is part of the DISTRO_FEATURES.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-02 13:10:17 -07:00
Daniel Gomez
85e1902650 v4l-utils: Update 1.20.0 -> 1.22.1
- Drop patches already upstream.
- Update getsubopt [1] patch to the new 1.22.1 sources.

[1]: 0007-Do-not-use-getsubopt.patch

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:05 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Marek Vasut
d80652bd72 yavta: Upgrade to latest version and drop downstream patch
Upgrade yavta to latest version and drop downstream patch from 2014
which was never upstreamed and no longer applies to upstream either.
The patch had sufficient time to make it upstream.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Cc: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 09:50:38 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Ulrich Ölmann
1debafbfd0 v4l-utils: fix reproducibility
Add upstream patches [1] & [2] to automatically detect the availability of
systemd and (currently) never install '50-rc_keymap.conf' at all as the
prerequisite would be the ability to compile BPF programs which is not supported
in this recipe (at least not now).

Previously if your distro was not systemd based the existance of the host
system's path "/lib/systemd/system" decided if '50-rc_keymap.conf' was installed
or not.

[1] https://git.linuxtv.org/v4l-utils.git/commit/?id=3f61e353424fb9ea3dce742022b94dfd7ea1ed9f
[2] https://git.linuxtv.org/v4l-utils.git/commit/?id=01f2c6c58e6f4441df7df8e27eb7919f1f01e310

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-21 08:27:01 -07:00
Khem Raj
7bff4f547a v4l-utils: Package systemd fragment for systemd-udevd.service.d
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
2021-03-03 11:08:17 -08:00
Ulrich ?lmann
72ce59509e v4l-utils: update to 1.20.0
Add new buildtime configuration options, update context of two patches and
remove two patches as there are fixes [1]-[3] found upstream in the meantime.

[1] 38f4ce74275a ("keytable: use input_event properly")
[2] 8b7e6ce9367f ("keytable: add compatibility for input_event_sec")
[3] 976a2f681b4e ("keymap.h needs sys/types.h and argp.h with musl")

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-02 10:25:19 -08:00
Zheng Ruoqin
a23d4e0458 v4l-utils: upgrade 1.18.0 -> 1.18.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 12:33:42 -07:00
Khem Raj
94a8836eee v4l-utils: Update to 1.18.0
- Fix build on 32bit arches with 64bit time_t
- Forward port patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-01 11:24:26 -08:00
Denys Dmytriyenko
b4da295a67 v4l-utils: upgrade 1.16.0 -> 1.16.5
Includes about 6 months of bug fixes.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:57 -07:00
Ryan Harkin
334d73dc70 v4l-utils: update to 1.16.0
Also remove two patches that have been merged upstream into v4l-util
since 1.12.3 and update the diff for patch 0002-contrib-* to prevent a
build warning.

Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 10:05:06 -07:00
Hongxu Jia
7b5d344994 v4l-utils: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-18 20:17:02 -07:00
Armin Kuster
fc6530b935 v4l-utils: refresh patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file utils/cec-compliance/Makefile.am
checking file utils/cec-ctl/Makefile.am
Hunk #1 succeeded at 6 (offset -1 lines).
checking file utils/cec-follower/Makefile.am
Hunk #1 succeeded at 7 with fuzz 1.
checking file utils/qv4l2/Makefile.am
checking file utils/v4l2-compliance/Makefile.am
checking file utils/v4l2-ctl/Makefile.am

and more

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:41 -07:00
Athanasios Oikonomou
107966d03d v4l-utils: added missing dependency on udev
Upgrading to newer v4l-utils 1.12.3 on commit f84a551f2d419df88b85987855fec866d9e84b4a
Is causing issues because libdvbv5 now require libudev in order to work
(commit db42484881bf5e6a902de51fe42444ddf286d52a on v4l-utils).

First issue is missing dvb utils dvb-fe-tool, dvb-format-convert, dvbv5-daemon, dvbv5-scan, dvbv5-zap
because libdvbv5 requires now libudev.

Another issue was the failure of building dvb-apps (currently removed from master)
because the v4l-utils-native is missing dvb-format-convert.

This commit adds the missing udev dependency only on target and brings back the missing dvb utils.

Adding udev on native build is not possible because nothing provides udev-native.

Additionally add lib pthread to LDFLAGS in order to solve building with gold.

../../lib/libdvbv5/.libs/libdvbv5.so: error: undefined reference to 'pthread_cancel'
../../lib/libdvbv5/.libs/libdvbv5.so: error: undefined reference to 'pthread_create'

Issue with gold linking reported upstream and hopefully will be addressed soon.

Signed-off-by: Athanasios Oikonomou <athoik@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:16:24 +02:00
Khem Raj
0f55207ad2 v4l-utils: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:37 +02:00
Ismo Puustinen
f84a551f2d v4l-utils: update to 1.12.3.
Also add a patch which fixes building outside the source tree.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-06 13:00:31 +02:00
Khem Raj
61d1d45d2f v4l-utils: Depend on argp-standalone for musl
musl does not bundle libargp like glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:30:35 +02:00
Herve Jourdain
d0b44b7c77 v4l-utils: add support for "native" build
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-25 15:31:17 +02:00
Gary Thomas
e092a957b2 v4lutils: Update to latest upstream
Update to latest upstream version (1.10.1 2016-06-15).
Now builds with libjpeg-turbo so remove blacklist

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-22 17:12:37 +02:00
Martin Jansa
0561402920 libgphoto2, v4l-utils: blacklist, not compatible with libjpeg-turbo-1.5.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-15 12:13:17 +02:00
Ross Burton
21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Mike Crowe
f2a337432e yavta: Explicitly set EXTRA_OEMAKE as required
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e
MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:16:38 +01:00
Alexandre Belloni
f640eca1cc v4l-utils: properly package libv4l-dev
libv4l-dev is missing headers, .so links and packageconfig files.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:59:47 +02:00
Otavio Salvador
2333313d50 v4l-utils: Fix media-ctl support
The media-ctl package is generated with same name, but from a
different source. To offer an upgrade path the only change necessary
is to add 'media-ctl' in the PROVIDES so dependencies for build can be
satisfied.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:19:38 +01:00
Otavio Salvador
3ba7ed2bc8 v4l-utils: Split ir-keytable to a specific package
The ir-keytable is useful without the other utilities so this splits
the package out. For flexibility a virtual runtime for the keymap
package is also added so, if necessary, a custom one can be used in a
distro.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-10 14:19:38 +01:00
Khem Raj
6e3d209d1f v4l-utils: RPROVIDE media-ctl
media-ctl recipe was subsumed into v4l-utils
but there are apps which still have rdeps on media-ctl

Change-Id: I7c24fec3752e80f67730150504b7192ad4fea0c4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-03 08:36:00 +01:00
Nobuhiro Iwamatsu
66712383d6 media-ctl: Remove recipe
media-ctl was merged into v4l-utils.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-10 13:33:29 +01:00
Nobuhiro Iwamatsu
37024a33e1 v4l-utils: Update to 1.6.2
* Bump PV and hash of md5 and sha256
* Add ${libdir}/libdvbv5*${SOLIBS} to FILES_libv4l

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-10 13:33:29 +01:00
Otavio Salvador
6006202cde v4l-utils: Add virtual/libx11 dependency only if X11 is available
In case we are building in a X11-less distro we shouldn't depends on
virtual/libx11.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 15:02:28 +02:00
Richard Purdie
36d57b9234 recipes: add missing pkgconfig class inherits
* These recipes all use pkg-config in some way but were missing
  dependencies on the tool, this patch adds them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 13:06:13 +02:00
chase maupin
bbc32a09b2 yavta: Update to latest sources
* Update the yavta test utility to the latest sources in the
  git repository.
* Updated the patch by Koen Kooi that allows stdout mode to be
  used to work with the latest sources.
* Added a CFLAGS setting to use the include directory in the
  sources which are more up-to-date and intended to be used
  when building the application.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13 13:38:10 +02:00
Otavio Salvador
6d81b79fd1 v4l-utils: Update to 1.0.1
This updates to last stable release and, as a plus, fix an out of tree
build failure.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-09 14:57:58 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Nick D'Ademo
ac02c64e31 v4l-utils: use correct udev dir location when multilib is enabled
Explicitly set the path to the udev dir to ${base_libdir} in EXTRA_OECONF. Otherwise, the multilib build will fail as it will look for udev in the default location of /lib/udev/.

Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-05 19:48:07 +01:00
Martin Jansa
fa4d5d1fbd v4l-utils: Add libx11 dependency
* configure doesn't allow to explicitly disable it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 19:14:32 +02:00
Jackie Huang
b79176adb3 remove the unnecessary protocol parameters
It's not necessary to specify the protocol parameter when it's the
default protocol for the fetcher, e.g. the default protocol for
git fetcher it git, "protocol=git" isn't needed.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-03 16:59:13 +02:00
Martin Jansa
c1127efaa4 media-ctl: inherit pkgconfig
* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | media-ctl/0.0.1-r3/git/configure:
    line 11700: syntax error near unexpected token `libudev,'
  | media-ctl/0.0.1-r3/git/configure:
    line 11700: `  PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, have_libudev=no)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:02 +02:00
Stefan Herbrechtsmeier
0c47dcf1df media-ctl: Use linux-libc-headers instead of linux kernel sources
Use the headers from the linux-libc-headers instead of the headers
from the linux kernel sources because user space programs should
be built against the header files provided by the distribution.

In file included from .../usr/src/kernel/include/linux/media.h:27:0,
                 from conftest.c:56:
.../usr/src/kernel/include/linux/types.h:13:2: warning: #warning \
"Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" [-Wcpp]

On some platforms (qemu) intern kernel header (linux/types.h) redefines
some types from the system header (sys/types.h, timer.h, stdint.h)
and thereby breaks the checking of the linux media header.

ERROR: Kernel header file not found or not usable!

In file included from .../usr/include/linux/media.h:27:0,
                 from conftest.c:56:
In file included from .../usr/src/kernel/include/linux/types.h:14:26: error: conflicting types for 'fd_set'
In file included from .../sys/select.h:75:5: note: previous declaration of 'fd_set' was here

Similar errors for dev_t, mode_t, timer_t, uintptr_t and blkcnt_t.

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 18:59:01 +02:00
Marcin Juszkiewicz
c9d1b35916 v4l-utils: make it build for AArch64
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Koen Kooi
c40cedebf7 v4l-utils: fix build breakage
Update to a newer SRCREV for fixed and get autotools support as a bonus.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-05 12:52:05 +02:00