Compare commits

...
Sign in to create a new pull request.

84 commits

Author SHA1 Message Date
Fedora Release Engineering
40199e4eba Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:19:39 +00:00
Fedora Release Engineering
e37112d212 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:44:53 +00:00
Yaakov Selkowitz
e55b183883 Disable doxygen manpages
This creates and installs manpages with non-unique and bizarre names,
including (with recent doxygen versions) a 'noname' manpage with no
section.
2026-01-13 00:36:14 -05:00
Peter Robinson
2ba4949d12 Update to 1.32.0 2025-10-06 20:12:16 +01:00
Fedora Release Engineering
af62197d35 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:55:35 +00:00
Sean Young
183ab9888b Separate rc core tools into its own package
We're in the process of replacing ir-ctl and ir-keytable with new tools.
If we separate this out the we can make it easier to replace them in
future.
2025-06-23 21:56:00 +01:00
Peter Robinson
ecc0f82364 Fix obsolete of edid-decode 2025-05-02 16:50:37 +01:00
Yanko Kaneti
261042cb4d Update to 1.30.1
edid-decode is now part of v4l-utils
2025-05-01 18:20:55 +03:00
Fedora Release Engineering
2812f488fe Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:02:31 +00:00
14ef59b007 Rebuilt for the bin-sbin merge (2nd attempt)
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
2025-01-12 14:43:14 +01:00
Peter Robinson
e8f8d271d8 1.28.1, Build f41+ with QT6 2024-07-26 09:54:20 +01:00
Peter Robinson
7fc54abfaf update gitignore 2024-07-22 13:00:18 +01:00
Peter Robinson
6f99221fb8 Update to 1.28.0
Cleanup/fix qt5 build process/deps/gating, add DVB conditionals
and move them all together, drop bpf conditionals as they're always
built,  general cleanups/fixes/deps etc. Upstream crash fix.
2024-07-22 12:40:57 +01:00
Fedora Release Engineering
c1154cb3b2 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:30:26 +00:00
1c7c2a69d8 Fix build when %_bindir==%_sbindir
Preparation for https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.
2024-07-09 14:00:12 +02:00
Yaakov Selkowitz
d3309d7df0 Remove duplicate qvidcap.1 file entry
qvidcap and its manpage are in the qv4l2 subpackage.  For Fedora builds,
the manpage in the main package is a duplicate.  For ELN, this is now
failing because the manpage is no longer being installed when qvidcap is
disabled.
2024-05-03 11:48:47 -04:00
Peter Robinson
14af80ef1b Fix location of gconv conflicts 2024-04-24 15:24:44 +01:00
Peter Robinson
ffadabc174 Split dvb tools to it's own sub package 2024-04-24 08:14:49 +01:00
Fedora Release Engineering
5429cd4969 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:24:18 +00:00
Miroslav Suchý
11eba3b0eb Migrate to SPDX license (take two)
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
2023-12-26 23:52:26 +00:00
Peter Robinson
34a18ca80d Update to 1.26.1 2023-12-13 14:48:30 +00:00
Peter Robinson
a84293a4c1 1.26.0 2023-12-04 13:10:17 +00:00
Niels De Graef
d029009dbc SPDX Migration 2023-10-13 11:21:07 +00:00
Yaakov Selkowitz
1efce8897a Disable qv4l2 in RHEL 10 builds
Qt5 is being dropped from RHEL 10, and qv4l2 is not shipped in RHEL.
2023-08-16 10:50:43 -04:00
Fedora Release Engineering
b613b26134 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:21:33 +00:00
Mauro Carvalho Chehab
d5ebe3b627 Enable BPF
There was an issue upstream with the BPF detection logic.
Now that this is fixed, enable it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-03-20 21:08:17 +01:00
Mauro Carvalho Chehab
f200839056 Bump to git's version, based on meson
v4l-utils now uses meson. Add support for it on rawhide.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-03-20 14:27:27 +01:00
Fedora Release Engineering
e576072696 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:03:04 +00:00
Hans de Goede
a258507f9d Add BuildRequires: systemd for /usr/share/pkgconfig/udev.pc 2022-10-30 21:02:03 +01:00
Hans de Goede
8dbaa426a8 Fix libv4lconvert issues when stride > width (with some formats) 2022-10-23 21:32:42 +02:00
Fedora Release Engineering
3e88f30b32 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:37:23 +00:00
Fedora Release Engineering
a36da5846c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 03:44:07 +00:00
Peter Robinson
93263d905d 1.22.1 2021-12-27 15:46:43 +00:00
Fedora Release Engineering
01cc2402ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:14:56 +00:00
Fedora Release Engineering
c49a07a805 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 22:51:29 +00:00
Tom Stellard
6bb0c2b0cf Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 00:33:00 +00:00
Jeff Law
9c01b8a771 Force C++14 as this code is not C++17 ready 2020-08-18 14:31:22 -06:00
Peter Robinson
1d4dc31a62 add change log for 1.20.0 2020-08-12 18:24:33 +01:00
Peter Robinson
fdce55b4f3 1.20.0 2020-08-04 14:24:40 +01:00
Fedora Release Engineering
89567ec2e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:29:48 +00:00
Than Ngo
5f9b039c69 workaround for GUILE exceptions bz#1801144 2020-02-26 09:59:34 +01:00
Than Ngo
5e49d1c534 Fixed FTBFS 2020-02-25 17:13:32 +01:00
Fedora Release Engineering
e9721825e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 02:51:52 +00:00
Mauro Carvalho Chehab
690f7f1b93 Add rc_keymap.5 man page to the package
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-09-22 17:12:37 -03:00
Mauro Carvalho Chehab
5a641d5585 Fix version name at v4l-utils.spec
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-09-22 16:55:56 -03:00
Mauro Carvalho Chehab
f8b282d97d bump to version 1.18.0
Update to the latest stable release.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-09-22 16:52:51 -03:00
Mauro Carvalho Chehab
2de9ec6230 Update to version 1.16.7 with NIT table fixes
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-09-02 06:40:42 -03:00
Fedora Release Engineering
00a778bd0e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 02:43:26 +00:00
Peter Robinson
34f16e8bfd The actual fix for libdvbv5 (rhbz 1695023) 2019-05-01 09:12:35 +01:00
Peter Robinson
0a35920ada Upstream fix for libdvbv5 (rhbz 1695023) 2019-04-16 17:20:04 +01:00
Peter Robinson
eb046c2d69 1.16.5 2019-03-31 06:02:12 +01:00
Fedora Release Engineering
649f411473 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:01:04 +00:00
92f19c48cd
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:41:16 +01:00
Peter Robinson
b6e002a40b include qvidcap man page in it's sub package 2018-12-19 07:09:29 +00:00
Mauro Carvalho Chehab
470159b749 Allow building BPF on all archs
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-17 12:07:34 -02:00
Mauro Carvalho Chehab
1e76f70f4c Update to version 1.16.3
That should address https://bugzilla.redhat.com/show_bug.cgi?id=1659055,
as, on this version, BPF files are not marked as executable anymore,
with would cause an issue with Fedora RPM, as pointed at:
	https://bugzilla.redhat.com/show_bug.cgi?id=1659047

With this, we should be able to build with BPF on all supported
archs.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-17 12:07:07 -02:00
Mauro Carvalho Chehab
f86cf18b6b Only build BPF code on x86_64 and i686
Currently (v4l-utils version 1.16.2), trying to build the BPF
decoders failed for non-x86 archs. While this is not solved,
only enable building it on x86, as this is an optional feature
anyway.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-22 14:13:03 -02:00
Mauro Carvalho Chehab
545bd55603 Add dependencies required for building BPF code
v4l-utils has now support for userspace BPF decoders, but that
require some new dependencies to be added.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-22 11:26:30 -02:00
Peter Robinson
eb33813b16 fix app icons includes 2018-11-19 19:33:50 +00:00
Peter Robinson
6d5f33d9c3 add qvidcap pieces to qv4l2 package 2018-11-19 19:12:35 +00:00
Peter Robinson
0a28fccd9d drop upstreamed patch 2018-11-19 18:56:23 +00:00
Peter Robinson
a4f83f50b4 1.16.2 2018-11-19 18:48:07 +00:00
Fedora Release Engineering
ec452d94d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:22:27 +00:00
Peter Robinson
4124f0600d Add sys/sysmacros.h include fix patch 2018-04-29 18:59:26 +01:00
Peter Robinson
d27c27d8fd 1.14.2 2018-04-29 18:13:16 +01:00
Fedora Release Engineering
6ee0030a74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:14:42 +00:00
c573f8c681 Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:43:52 +01:00
Hans de Goede
d090bfa25b Fix libv4lconvert failing on some hardware (rhbz#1508706) 2017-11-03 11:04:04 +01:00
Fedora Release Engineering
1dfe6af624 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 09:56:36 +00:00
Fedora Release Engineering
6233d4531f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:08:06 +00:00
Fedora Release Engineering
069c478a72 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 20:15:33 +00:00
Hans de Goede
e789438b10 New upstream bugfix release 1.12.5 2017-05-12 16:52:08 +02:00
Hans de Goede
6794b9c2c1 New upstream release 1.12.4 2017-05-08 12:33:38 +02:00
Peter Robinson
6e4e946d21 1.12.3 2017-03-12 13:24:04 +00:00
Peter Robinson
1f52330bf5 New upstream release 1.12.2, Add new CEC utils 2017-02-13 08:50:23 +00:00
Fedora Release Engineering
87711ab4ea - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 16:53:04 +00:00
Hans de Goede
7fb00df7db New upstream release 1.10.1
Fix FTBFS (rhbz#1402087)
2016-12-15 13:31:24 +01:00
Hans de Goede
fd96c57a73 Update upside down table to apply to PEGATRON laptops (rhbz#1311545) 2016-03-01 12:41:08 +01:00
Hans de Goede
66977ef9ba Upgrade to new upstream release 1.10.0
- Use qt5 instead of qt4 for qv4l2
2016-02-24 15:19:00 +01:00
Fedora Release Engineering
68d6a301ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:30:19 +00:00
Hans de Goede
12489f06cf Upgrade to version 1.8.1 2015-10-14 11:39:37 +02:00
Dennis Gilmore
c18f2b150e - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:46:19 +00:00
Kalev Lember
2d30fd5f85 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 18:23:13 +02:00
Mauro Carvalho Chehab
2081d3e317 Update to version 1.6.2
It contains several fixes:

Hans Verkuil (5):
      v4l2-ctl: fix sliced vbi mode parsing
      v4l2-compliance: when streaming used at least 2 buffers.
      v4l2-compliance: add initial checks for VIDIOC_QUERY_EXT_CTRL
      v4l2-ctl: add support for U32 control type.
      v4l2-ctl: fix array handling

Gregor Jasny (5):
      man: remove duplicate backslash from NAME section
      man: Use Unicode character for ellipsis and fall back to ...
      man: add generated files to .gitignore
      v4l2-compliance: Explicitely link against rt library
      v4l2-ctl: Explicitely link against rt library

Hans Verkuil (1):
      qv4l2/v4l2-ctl: fix buffer overrun in vivid-tpg.

Hans de Goede (2):
      rc_keymaps: allwinner: S/KEY_HOME/KEY_HOMEPAGE/
      v4lconvert: Fix decoding of jpeg data with no vertical sub-sampling

Mauro Carvalho Chehab (4):
      libdvbv5: properly represent Satellite frequencies
      README: better document the package
      ir-keytable: fix a regression introduced by fe2aa5f767eba
     rc: Update the protocol name at RC6 tables

Niels Ole Salscheider (1):
      qv4l2: Fix out-of-source build

Patch1 is not needed anymore, as the fix got merged on version 1.6.1.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-11-22 07:53:28 -02:00
5 changed files with 417 additions and 205 deletions

12
.gitignore vendored
View file

@ -1,10 +1,2 @@
/v4l-utils-0.8.3.tar.bz2
/v4l-utils-0.8.4.tar.bz2
/v4l-utils-0.8.5.tar.bz2
/v4l-utils-0.8.7.tar.bz2
/v4l-utils-0.8.8.tar.bz2
/v4l-utils-0.9.5.tar.bz2
/v4l-utils-1.0.0.tar.bz2
/v4l-utils-1.2.1.tar.bz2
/v4l-utils-1.4.0.tar.bz2
/v4l-utils-1.6.0.tar.bz2
/v4l-utils-*.tar.bz2
/v4l-utils-*.tar.xz

View file

@ -1,91 +0,0 @@
From 757d7910ddf43d9a9187dddae4f51a57fb723e8d Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Thu, 20 Nov 2014 13:03:35 +0100
Subject: [PATCH] v4lconvert: Fix decoding of jpeg data with no vertical
sub-sampling
Our YUV output is always 2x subsampled in both vertical and horizontal
direction, but some cameras generate JPEG data which is only subsampled in
the horizontal direction.
Since averaging the extra UV data these JPEGs contains is seomwhat slow,
and UV data is not all that important anyways, we simple take every other
line. Or at least that is the intent.
But before this commit the code was not doing this properly, for each 16
Y input lines 1 - 16 we also get 16 UV input lines 1 - 16, but we only need
8 output lines. so we should store input line 1 or 2 in output line 1, input
line 3 or 4 in output line 2, etc. Instead we were storing input lines
9 - 16 into output lines 1 - 8, which leads to some unwanted color bleeding.
More over this also leads for 1920x1080 JPEG to us writing (1080 / 8 + 1) / 2
* 8 = 544 UV output lines rather then 540, this means that the last 4 U output
lines overwrite the first 4 V output lines, and worse that the last 4 V output
lines overrun the output buffer.
So far this only lead to some wrong colors in various places, but since that
we dynamically allocate the output buffer to just the right size this actually
causes a crash.
This commit fixes both the crash, and the wrong colors.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
lib/libv4lconvert/jpeg.c | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
diff --git a/lib/libv4lconvert/jpeg.c b/lib/libv4lconvert/jpeg.c
index aa9cace..0142d44 100644
--- a/lib/libv4lconvert/jpeg.c
+++ b/lib/libv4lconvert/jpeg.c
@@ -242,23 +242,34 @@ static int decode_libjpeg_h_samp2(struct v4lconvert_data *data,
y_rows[y] = ydest;
ydest += width;
}
- for (y = 0; y < 8; y++) {
- u_rows[y] = udest;
- v_rows[y] = vdest;
- udest += width / 2;
- vdest += width / 2;
+ /*
+ * For v_samp == 1 were going to get 1 set of uv values per
+ * line, but we need only 1 set per 2 lines since our output
+ * has v_samp == 2. We store every 2 sets in 1 line,
+ * effectively using the second set for each output line.
+ */
+ if (v_samp == 1) {
+ for (y = 0; y < 8; y++) {
+ u_rows[y] = udest;
+ v_rows[y] = vdest;
+ y++;
+ u_rows[y] = udest;
+ v_rows[y] = vdest;
+ udest += width / 2;
+ vdest += width / 2;
+ }
+ } else { /* v_samp == 2 */
+ for (y = 0; y < 8; y++) {
+ u_rows[y] = udest;
+ v_rows[y] = vdest;
+ udest += width / 2;
+ vdest += width / 2;
+ }
}
+
y = jpeg_read_raw_data(cinfo, rows, 8 * v_samp);
if (y != 8 * v_samp)
return -1;
-
- /* For v_samp == 1 were going to get another set of uv values,
- but we need only 1 set since our output has v_samp == 2, so
- rewind u and vdest and overwrite the previous set. */
- if (cinfo->output_scanline % 16) {
- udest -= width * 8 / 2;
- vdest -= width * 8 / 2;
- }
}
return 0;
}
--
2.1.0

13
sbin-location.diff Normal file
View file

@ -0,0 +1,13 @@
diff --git v4l-utils-1.26.1/utils/v4l2-dbg/meson.build~ v4l-utils-1.26.1/utils/v4l2-dbg/meson.build
index c23bf8f351..bfbc10c616 100644
--- v4l-utils-1.26.1/utils/v4l2-dbg/meson.build~
+++ v4l-utils-1.26.1/utils/v4l2-dbg/meson.build
@@ -13,7 +13,7 @@ v4l2_dbg_sources = files(
v4l2_dbg = executable('v4l2-dbg',
v4l2_dbg_sources,
install : true,
- install_dir : 'sbin',
+ install_dir : get_option('sbindir'),
include_directories : [
v4l2_utils_incdir,
utils_common_incdir,

View file

@ -1 +1 @@
921dab41b8d950fb7d1412e39f48703e v4l-utils-1.6.0.tar.bz2
SHA512 (v4l-utils-1.32.0.tar.xz) = 5bf24c28ec66a7ac1a0c9ee976521d825d4c2f8abbbeb59c7ac55e89db10dde6ebb643d238d217d636d79fda363244558fee1effe8c5e8c573c1a3e957fe391f

View file

@ -1,50 +1,67 @@
%bcond qt %[%{undefined rhel} || 0%{?rhel} < 10]
# Currently broken without DVB due to a bunch of random bits
# being built/installed even though they're DVB specific
%define with_dvb 1
Name: v4l-utils
Version: 1.6.0
Release: 2%{?dist}
Version: 1.32.0
Release: 4%{?dist}
Summary: Utilities for video4linux and DVB devices
Group: Applications/System
# libdvbv5, dvbv5 utils, ir-keytable and v4l2-sysfs-path are GPLv2 only
License: GPLv2+ and GPLv2
# libdvbv5, dvbv5 utils, ir-keytable are GPL-2.0-only
# e.g. utils/cec-follower/cec-follower.cpp is (GPL-2.0-only OR BSD-3-Clause)
# utils/qvidcap/capture.cpp, paint.cpp are LicenseRef-Fedora-Public-Domain
# utils/v4l2-sysfs-path/v4l2-sysfs-path.c is HPND-sell-variant
License: GPL-2.0-or-later AND GPL-2.0-only AND (GPL-2.0-only OR BSD-3-Clause) AND LicenseRef-Fedora-Public-Domain AND HPND-sell-variant
URL: http://www.linuxtv.org/downloads/v4l-utils/
Source0: http://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2
Patch1: 0001-v4lconvert-Fix-decoding-of-jpeg-data-with-no-vertica.patch
BuildRequires: libjpeg-devel qt4-devel kernel-headers desktop-file-utils
BuildRequires: alsa-lib-devel doxygen
Source0: %{url}/v4l-utils-%{version}.tar.xz
# TODO: submit upstream
Patch0: sbin-location.diff
BuildRequires: alsa-lib-devel
BuildRequires: gettext
BuildRequires: json-c-devel
BuildRequires: kernel-headers
BuildRequires: libjpeg-devel
BuildRequires: meson >= 0.56
BuildRequires: perl-interpreter
%if %{with qt}
BuildRequires: desktop-file-utils
%if 0%{?fedora} < 41 || 0%{?rhel}
BuildRequires: qt5-qtbase-devel
%else
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qt5compat-devel
%endif
%endif
BuildRequires: systemd-devel
# For /usr/share/pkgconfig/udev.pc
BuildRequires: systemd
# BPF decoder dependencies
BuildRequires: clang
BuildRequires: elfutils-libelf-devel
BuildRequires: libbpf-devel
# For /lib/udev/rules.d ownership
Requires: udev
Requires: systemd-udev
Requires: libv4l%{?_isa} = %{version}-%{release}
Provides: edid-decode = %{version}-%{release}
Obsoletes: edid-decode < 1
%description
v4l-utils is a collection of various video4linux (V4L) and DVB utilities. The
main v4l-utils package contains cx18-ctl, ir-keytable, ivtv-ctl, v4l2-ctl and
v4l2-sysfs-path.
%package devel-tools
Summary: Utilities for v4l2 / DVB driver development and debugging
# decode_tm6000 is GPLv2 only
License: GPLv2+ and GPLv2
Requires: libv4l%{?_isa} = %{version}-%{release}
%description devel-tools
Utilities for v4l2 / DVB driver authors: decode_tm6000, v4l2-compliance and
v4l2-dbg.
%package -n qv4l2
Summary: QT v4l2 test control and streaming test application
License: GPLv2+
Requires: libv4l%{?_isa} = %{version}-%{release}
%description -n qv4l2
QT v4l2 test control and streaming test application.
v4l-utils is a collection of various video4linux (V4L), RC core and DVB
utilities. The main v4l-utils package contains cx18-ctl, ivtv-ctl, v4l2-ctl
and v4l2-sysfs-path.
%package -n libv4l
Summary: Collection of video4linux support libraries
Group: System Environment/Libraries
# Some of the decompression helpers are GPLv2, the rest is LGPLv2+
License: LGPLv2+ and GPLv2
# Some of the decompression helpers are GPL-2.0-or-later, the rest is LGPL-2.1-or-later
# lib/libv4lconvert/jidctflt.c and jpeg_memsrcdest.c are IJG-short
# lib/libv4lconvert/helper-funcs.h and libv4lsyscall-priv.h are BSD-2-Clause
License: LGPL-2.1-or-later AND GPL-2.0-or-later AND IJG-short AND BSD-2-Clause
URL: http://hansdegoede.livejournal.com/3636.html
%description -n libv4l
@ -65,18 +82,9 @@ libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
application transparent libv4lconvert conversion where necessary.
%package -n libdvbv5
Summary: Libraries to control, scan and zap on Digital TV channels
Group: Development/Libraries
License: GPLv2
%description -n libdvbv5
Libraries to control, scan and zap on Digital TV channels
%package -n libv4l-devel
Summary: Development files for libv4l
Group: Development/Libraries
License: LGPLv2+
License: LGPL-2.1-or-later AND GPL-2.0-or-later AND IJG-short AND BSD-2-Clause
URL: http://hansdegoede.livejournal.com/3636.html
Requires: libv4l%{?_isa} = %{version}-%{release}
@ -85,10 +93,50 @@ The libv4l-devel package contains libraries and header files for
developing applications that use libv4l.
%package devel-tools
Summary: Utilities for v4l2 / DVB driver development and debugging
License: GPL-2.0-or-later AND GPL-2.0-only
Requires: libv4l%{?_isa} = %{version}-%{release}
%description devel-tools
Utilities for v4l2 driver authors: v4l2-compliance and
v4l2-dbg.
%if %{with qt}
%package -n qv4l2
Summary: QT v4l2 test control and streaming test application
# utils/qv4l2/qv4l2.svg is CC-BY-SA-3.0
License: GPL-2.0-or-later AND CC-BY-SA-3.0
Requires: libv4l%{?_isa} = %{version}-%{release}
%description -n qv4l2
QT v4l2 test control and streaming test application.
%endif
%if %{with dvb}
%package -n libdvbv5
Summary: Libraries to control, scan and zap on Digital TV channels
# /lib/include/libdvbv5/dvb-frontend.h is LGPL-2.1-or-later WITH Linux-syscall-note
License: LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
%description -n libdvbv5
Libraries to control, scan and zap on Digital TV channels
%package -n libdvbv5-gconv
Summary: Gconv files with the charsets For Digital TV.
License: LGPL-2.1-or-later
%description -n libdvbv5-gconv
Some digital TV standards define their own charsets. Add library
support for them: EN 300 468 and ARIB STD-B24
%package -n libdvbv5-devel
Summary: Development files for libdvbv5
Group: Development/Libraries
License: GPLv2
License: LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
Requires: libdvbv5%{?_isa} = %{version}-%{release}
%description -n libdvbv5-devel
@ -96,102 +144,352 @@ The libdvbv5-devel package contains libraries and header
files for developing applications that use libdvbv5.
%prep
%setup -q
%patch1 -p1
%package -n dvb-tools
Summary: Utilities for DVB driver
License: GPL-2.0-or-later AND GPL-2.0-only
Requires: libdvbv5%{?_isa} = %{version}-%{release}
Requires: libv4l%{?_isa} = %{version}-%{release}
Requires: v4l-utils%{?_isa} = %{version}-%{release}
%description -n dvb-tools
Utilities and tools for DVB receivers.
%endif
%package -n rc-tools
Summary: Utilities for RC core
License: GPL-2.0-or-later AND GPL-2.0-only
Requires: v4l-utils%{?_isa} = %{version}-%{release}
%description -n rc-tools
Utilities for Infrared receivers and transmitters using RC core.
%prep
%autosetup -p1
%build
%configure --disable-static --enable-libdvbv5 --enable-doxygen-man
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
make doxygen-run
%meson -Dbpf=auto \
-Ddoxygen-doc=disabled -Ddoxygen-man=false -Ddoxygen-html=false \
%{!?with_dvb:-Dlibdvbv5=disabled} \
%{!?with_qt:-Dqv4l2=disabled -Dqvidcap=disabled}
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
cp -arv %{_builddir}/%{name}-%{version}/doxygen-doc/man/man3 $RPM_BUILD_ROOT%{_mandir}/
rm $RPM_BUILD_ROOT%{_mandir}/man3/_*3
%meson_install
find $RPM_BUILD_ROOT -name '*.la' -delete
# Driver removed from upstream
rm -f $RPM_BUILD_ROOT%{_bindir}/decode_tm6000
rm -f $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so}
mkdir $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.d
mv $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules $RPM_BUILD_ROOT%{_libdir}/gconv/gconv-modules.d/libdvbv5.conf
%if %{with qt}
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qv4l2.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qvidcap.desktop
%endif
%find_lang %{name}
%find_lang libdvbv5
%post -n libv4l -p /sbin/ldconfig
%ldconfig_scriptlets -n libv4l
%postun -n libv4l -p /sbin/ldconfig
%ldconfig_scriptlets -n libdvbv5
%post -n libdvbv5 -p /sbin/ldconfig
%postun -n libdvbv5 -p /sbin/ldconfig
%post -n qv4l2
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun -n qv4l2
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans -n qv4l2
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%doc README
%dir %{_sysconfdir}/rc_keymaps
%config(noreplace) %{_sysconfdir}/rc_maps.cfg
%{_udevrulesdir}/70-infrared.rules
%{_prefix}/lib/udev/rc_keymaps/*
%{_bindir}/cx18-ctl
%{_bindir}/dvb*
%{_bindir}/ir-keytable
%{_bindir}/ivtv-ctl
%files -f %{name}.lang
%doc README.md
%{_bindir}/cec-ctl
%{_bindir}/cec-follower
%{_bindir}/edid-decode
%{_bindir}/media-ctl
%{_bindir}/rds-ctl
%{_bindir}/v4l2-ctl
%{_bindir}/v4l2-sysfs-path
%{_mandir}/man1/*.1*
%{_bindir}/v4l2-tracer
%{_mandir}/man1/cec-ctl*.1*
%{_mandir}/man1/cec-follower*.1*
%{_mandir}/man1/edid-decode*.1*
%{_mandir}/man1/v4l*.1*
%exclude %{_mandir}/man1/v4l2-compliance.1*
%files devel-tools
%doc README
%{_bindir}/decode_tm6000
%doc README.md
%{_bindir}/cec-compliance
%{_bindir}/v4l2-compliance
%{_mandir}/man1/cec-compliance.1*
%{_mandir}/man1/v4l2-compliance.1*
%{_sbindir}/v4l2-dbg
%files -n qv4l2
%doc README
%{_bindir}/qv4l2
%{_datadir}/applications/qv4l2.desktop
%{_datadir}/icons/hicolor/*/apps/qv4l2.*
%files -n libv4l
%doc COPYING.libv4l COPYING ChangeLog README.libv4l TODO
%{_libdir}/libv4l
%license COPYING.libv4l COPYING
%doc README.libv4l
%dir %{_libdir}/libv4l
%{_libdir}/libv4l/v4l*
%{_libdir}/libv4l/plugins
%{_libdir}/libv4l*.so.*
%files -n libv4l-devel
%doc README.lib-multi-threading
%doc README.lib-multi-threading ChangeLog TODO
%{_includedir}/libv4l*.h
%{_libdir}/libv4l*.so
%{_libdir}/libv4l/ov*
%{_libdir}/libv4l/libv4l2tracer.so
%{_libdir}/pkgconfig/libv4l*.pc
%files -n libdvbv5
%doc COPYING ChangeLog lib/libdvbv5/README
%if %{with qt}
%files -n qv4l2
%doc README.md
%{_bindir}/qv4l2
%{_bindir}/qvidcap
%{_datadir}/applications/qv4l2.desktop
%{_datadir}/applications/qvidcap.desktop
%{_datadir}/icons/hicolor/*/apps/qv4l2.*
%{_datadir}/icons/hicolor/*/apps/qvidcap.*
%{_mandir}/man1/qv4l2.1*
%{_mandir}/man1/qvidcap.1*
%endif
%if %{with dvb}
%files -n libdvbv5 -f libdvbv5.lang
%license COPYING.libdvbv5 COPYING
%doc lib/libdvbv5/README
%{_libdir}/libdvbv5*.so.*
%files -n libdvbv5-gconv
%{_libdir}/gconv/*.so
%{_libdir}/gconv/gconv-modules.d/libdvbv5.conf
%files -n libdvbv5-devel
%{_includedir}/libdvbv5/*.h
%{_libdir}/libdvbv5*.so
%{_libdir}/pkgconfig/libdvbv5*.pc
%{_mandir}/man3/*.3*
%files -n dvb-tools
%{_bindir}/cx18-ctl
%{_bindir}/dvb*
%{_bindir}/ivtv-ctl
%{_mandir}/man1/dvb*.1*
%files -n rc-tools
%dir %{_sysconfdir}/rc_keymaps
%config(noreplace) %{_sysconfdir}/rc_maps.cfg
%{_udevrulesdir}/70-infrared.rules
%{_udevrulesdir}/../rc_keymaps/*
%{_bindir}/ir-ctl
%{_bindir}/ir-keytable
%{_mandir}/man1/ir*.1*
%{_mandir}/man5/rc_keymap*.5*
%endif
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.32.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.32.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Tue Jan 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.32.0-2
- Disable doxygen manpages
* Mon Oct 06 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 1.32.0-1
- Update to 1.32.0
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.30.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jun 7 2025 Sean Young <sean@mes.org> - 1.30.1-3
- Move rc-tools into separate package so they can be replaced with new tools in the future.
* Fri May 02 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 1.30.1-2
- Fix obsolete of edid-decode
* Thu May 1 2025 Yanko Kaneti <yaneti@decelra.com> - 1.30.1-1
- Update to 1.30.1
- Provides and obsoletes edid-decode which has moved to v4l-utils upstream
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.28.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Jan 12 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.28.1-2
- Rebuilt for the bin-sbin merge (2nd attempt)
* Thu Jul 25 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 1.28.1-1
- Update to 1.28.1
- Build f41+ with QT6
* Mon Jul 22 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 1.28.0-1
- Update to 1.28.0
- spec file cleanups, fixes, minor reorg
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.26.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jul 09 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.26.1-5
- Rebuilt for the bin-sbin merge
* Wed Apr 24 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 1.26.1-4
- Fix location of gconv conflicts
* Tue Apr 23 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 1.26.1-3
- Split dvb tools to it's own sub package
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.26.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Dec 13 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.26.1-1
- Update to 1.26.1
* Mon Dec 04 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.26.0-1
- Update to 1.26.0
* Wed Aug 16 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.25.0-4
- Disable qv4l2 in RHEL 10 builds
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.25.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Mar 20 2023 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.25.0-1
- Updated to latest development branch
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Oct 23 2022 Hans de Goede <hdegoede@redhat.com> - 1.22.1-4
- Fix libv4lconvert issues when stride > width (with some formats)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Dec 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.22.1-1
- Update to 1.22.1
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Aug 18 2020 Jeff Law <law@redhat.com> - 1.20.0-2
- Force C++14 as this code is not C++17 ready
* Wed Aug 12 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.20.0-1
- Update to 1.20.0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Feb 25 2020 Than Ngo <than@redhat.com> - 1.18.0-4
- Fixed FTBFS
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Sep 22 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.18.0-1
- Updated to latest stable release
* Mon Sep 02 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.16.7-1
- Updated to new fix release with NIT parsing fix
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 1 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.5-3
- The actual fix for libdvbv5 (rhbz 1695023)
* Tue Apr 16 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.5-2
- Upstream fix for libdvbv5 (rhbz 1695023)
* Sun Mar 31 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.5-1
- New upstream release 1.16.5
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Dec 17 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.6.3-1
- Updated to new fix release, with should solve BPF protocol packaging issues
* Thu Nov 22 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.6.2-2
- Add dependencies needed to build BPF code
* Mon Nov 19 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.2-1
- New upstream release 1.16.2
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Apr 29 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.14.2-2
- Add sys/sysmacros.h include fix patch
* Sun Apr 29 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.14.2-1
- New upstream release 1.14.2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.12.5-6
- Remove obsolete scriptlets
* Thu Nov 02 2017 Hans de Goede <hdegoede@redhat.com> - 1.12.5-5
- Fix libv4lconvert failing on some hardware (rhbz#1508706)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
* Fri May 12 2017 Hans de Goede <hdegoede@redhat.com> - 1.12.5-1
- New upstream bugfix release 1.12.5
* Mon May 8 2017 Hans de Goede <hdegoede@redhat.com> - 1.12.4-1
- New upstream release 1.12.4
* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.12.3-1
- New upstream release 1.12.3
* Sun Feb 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.12.2-1
- New upstream release 1.12.2
- Add new CEC utils
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Dec 15 2016 Hans de Goede <hdegoede@redhat.com> - 1.10.1-1
- New upstream release 1.10.1
- Fix FTBFS (rhbz#1402087)
* Tue Mar 1 2016 Hans de Goede <hdegoede@redhat.com> - 1.10.0-2
- Update upside down table to apply to PEGATRON laptops (rhbz#1311545)
* Wed Feb 24 2016 Hans de Goede <hdegoede@redhat.com> - 1.10.0-1
- Upgrade to new upstream release 1.10.0
- Use qt5 instead of qt4 for qv4l2
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Oct 12 2015 Gregor Jasny <gjasny@googlemail.com> - 1.8.1-1
- Upgrade to version 1.8.1
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.6.2-2
- Rebuilt for GCC 5 C++11 ABI change
* Sat Nov 22 2014 Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 1.6.2-1
- Update to version 1.6.2 with contains several bugfixes
* Thu Nov 20 2014 Hans de Goede <hdegoede@redhat.com> - 1.6.0-2
- Fix crash when decoding 1920x1080 jpeg to YUV420