Sync from SUSE:SLFO:Main v4l-utils revision ec90d63f719c86e16b4c1a5475feebd8

This commit is contained in:
2025-06-18 21:33:06 +02:00
parent acbea1b7e3
commit 3e9ba59801
7 changed files with 597 additions and 75 deletions

View File

@@ -1,24 +1,94 @@
Index: v4l-utils-1.22.1/utils/qv4l2/Makefile.am
Index: v4l-utils-1.28.1/meson.build
===================================================================
--- v4l-utils-1.22.1.orig/utils/qv4l2/Makefile.am
+++ v4l-utils-1.22.1/utils/qv4l2/Makefile.am
@@ -6,8 +6,8 @@ qv4l2_SOURCES = qv4l2.cpp general-tab.cp
raw2sliced.cpp qv4l2.h capture-win.h general-tab.h vbi-tab.h raw2sliced.h \
v4l2-tpg-core.c v4l2-tpg-colors.c
nodist_qv4l2_SOURCES = moc_qv4l2.cpp moc_general-tab.cpp moc_capture-win.cpp moc_vbi-tab.cpp qrc_qv4l2.cpp
-qv4l2_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la \
- ../libv4l2util/libv4l2util.la ../libmedia_dev/libmedia_dev.la
+qv4l2_LDADD = ../libmedia_dev/libmedia_dev.la
+qv4l2_SOURCES +=- ../libv4l2util/frequencies.c
qv4l2_CPPFLAGS = -I$(top_srcdir)/utils/common
--- v4l-utils-1.28.1.orig/meson.build
+++ v4l-utils-1.28.1/meson.build
@@ -386,13 +386,17 @@ man_pages = []
if WITH_QTGL
@@ -21,6 +21,8 @@ endif
qv4l2_CPPFLAGS += $(ALSA_CFLAGS) -Wno-psabi
qv4l2_LDFLAGS += $(ALSA_LIBS) -pthread
i18n_gettext_arguments = ['--directory=' + source_root,
'--keyword=_', '--keyword=N_', '--keyword=P_:1,2']
+if get_option('qv4l2').disabled()
subdir('libdvbv5-po')
subdir('v4l-utils-po')
+qv4l2_LDFLAGS += -lv4l2 -lv4lconvert
subdir('lib')
+else
+ ir_bpf_enabled = false
+endif
+subdir('utils')
if get_option('v4l-utils')
- subdir('utils')
subdir('contrib')
else
ir_bpf_enabled = false
Index: v4l-utils-1.28.1/utils/qv4l2/meson.build
===================================================================
--- v4l-utils-1.28.1.orig/utils/qv4l2/meson.build
+++ v4l-utils-1.28.1/utils/qv4l2/meson.build
@@ -23,14 +23,17 @@ qv4l2_sources = files(
'v4l2-tpg-core.c',
'vbi-tab.cpp',
'vbi-tab.h',
+ '../libv4l2util/frequencies.c',
)
+dep_libv4l2 = dependency('libv4l2')
+dep_libv4lconvert = dependency('libv4lconvert')
+
EXTRA_DIST = enterbutt.png exit.png fileopen.png qv4l2_24x24.png qv4l2_64x64.png qv4l2.png qv4l2.svg \
snapshot.png video-television.png fileclose.png qv4l2_16x16.png qv4l2_32x32.png qv4l2.desktop \
qv4l2.qrc saveraw.png qv4l2.pro qv4l2.1 fullscreenexit.png fullscreen.png start.png step.png
qv4l2_deps = [
dep_alsa,
dep_gl,
dep_libmedia_dev,
dep_libv4l2,
- dep_libv4l2util,
dep_libv4lconvert,
dep_qt,
dep_qt_opengl,
Index: v4l-utils-1.28.1/utils/meson.build
===================================================================
--- v4l-utils-1.28.1.orig/utils/meson.build
+++ v4l-utils-1.28.1/utils/meson.build
@@ -19,6 +19,7 @@ endforeach
# Libraries
subdir('libcecutil')
subdir('libmedia_dev')
+if get_option('qv4l2').disabled()
subdir('libv4l2util')
# Utils
@@ -30,8 +31,10 @@ subdir('ir-ctl')
subdir('ivtv-ctl')
subdir('keytable')
subdir('media-ctl')
+endif
subdir('qv4l2')
subdir('qvidcap')
+if get_option('qv4l2').disabled()
subdir('rds-ctl')
subdir('v4l2-ctl')
subdir('v4l2-dbg')
@@ -41,3 +44,4 @@ subdir('v4l2-tracer')
# Compliance tools
subdir('cec-compliance')
subdir('v4l2-compliance')
+endif
Index: v4l-utils-1.28.1/utils/qvidcap/meson.build
===================================================================
--- v4l-utils-1.28.1.orig/utils/qvidcap/meson.build
+++ v4l-utils-1.28.1/utils/qvidcap/meson.build
@@ -20,6 +20,7 @@ qvidcap_sources = files(
'v4l2-info.cpp',
'v4l2-tpg-colors.c',
'v4l2-tpg-core.c',
+ '../libv4l2util/frequencies.c',
)
qvidcap_deps = [
@@ -27,7 +28,6 @@ qvidcap_deps = [
dep_gl,
dep_libmedia_dev,
dep_libv4l2,
- dep_libv4l2util,
dep_libv4lconvert,
dep_qt,
dep_qt_opengl,

BIN
v4l-utils-1.24.1.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEBdAWnCbkFZNBgSnfGZpk+t+1AP8FAmP47hkACgkQGZpk+t+1
AP8hhA/9Hkg3y58XRW4OqL1AsS156nBgYretYdESVTt0bCAuB/k6bdMCzk8cIdYG
drXpbMqKSNoaZgKmHJ0+rpNySw2aJscdWPlROUNqpnCmCyFB1I5oKLZUNMzxbmlK
M+MGtNiQrJmWZvwyIqfYQNGL1KncXA1oUaIQYFsWQvWbqY5GSDcSoPLhLLm1kS8E
HgkqJISvP8n9VbtENnr8Fdtt3tHja/B4l67o7wvFCjsFWw7e7pzzMfuhoH16etga
xArhCMy4vE6sdNGBjK7Jz6kdwCTNcyP/H/INxJ5c878OjBe8KZJiGYq4H4yCxCp4
fHlRtcHTD7jBaYUgoS7GYQlguz3SBM8g1FIxyekueclCYgIcV8ojm7LnfE9WIYgN
icK20RgX18IToB5ms3fph9TBCYdxkOmJ9Cn3hgM5p7Hsz6m9gGba7sYlHTn2TURD
YO47MJ583lJ+lYRSb9fqhDUu4J2mmw04j0A7n67iolYyYD9CiXH5VQuizjufTMtx
vVB8WgRvv5wuoGrwkBesT5xSf/lhOu1iEFaxs4MmqeCixWZUSq2/leW/Drp3oLWP
BkUbzmeTQ437bVwudw+keL1I6PpBN+YIiguQe6p8QDfJYAZN3dDZ5LCUwxkc8FxH
yg5ofWW9lWyVAM+xREsYUjVx78iDvtkzTTMnKvvmi/pN6apBVMM=
=D6V8
-----END PGP SIGNATURE-----

BIN
v4l-utils-1.30.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEBdAWnCbkFZNBgSnfGZpk+t+1AP8FAmgTZy8ACgkQGZpk+t+1
AP//Rg//bYWnir7jfpJX50VWS5QiBb5FYtU7Jdd7NHmkLB7Hd+YbmQxX33rxMhTA
szHwOnpUZGpYnZW957TlWwi0V0a8TaoXzTYJCB5P+KjblWjFly2eQK5L7VsUsTms
3LVpzFARAgegbb9/E5EmeaBfjnIaeytYdrDoBEKgMd0iEcNAJt6WM+yXs98aWYo/
44OQ7xsfcBOZxcEGefbP17Cf+CqWdj6qbWetjt5aFSsFMUxugZbE0F6cw3J7Ycpq
4zzk77dFd5dziKULSATh1F40Q0t3/fNSSJ9rruasgw53p2t/CabKYujwMzed9coN
+03fHHW1g3Qc5m64p/ZxWETePqReY7UD2+CfT9qT+wxWFH/lP5ygmUQKrIOIQriT
bb5395A7hk+zQv9zJLf3197AwFugk/IzL/JomtwiO0atEePFLxCFarkcOHcwjZx4
T9qddcgWdeiIKBUUUs/T4tapaTB9mDRmJXs7toaC9iiCXBksqMtDaPMZ4pOMjSC6
3BoT9yXfB7DaMAmzZgEpFwqKj7BD+I5sSGlLTh8arPgr+9lNDCJH7Llm0f090rfQ
Dn7zrR8+mU/Xk7PSlhhS/yHrgWyGnORe+eM5UvrKfIRbihWpGkcjU2dTyQ85Ixf/
LbY7CFJHewHZk3OzBv4MTJhAHt9irhclw9jZmLuLV5XUWjEXz8M=
=3PqQ
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,401 @@
-------------------------------------------------------------------
Wed May 28 15:18:11 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to 1.30.1
* licenses: update copyright files to remove fsf address
* v4l2-compliance: run testBlockingWait when streaming
- Update to 1.30.0
* media-ctl: libv4l2subdev: Add Y16 format
* v4l2-ctl: process events before queues in stateful_m2m()
* v4l2-compliance: Add test for V4L2_FMTDESC_FLAG_ENUM_ALL flag
* v4l2-ctl-vidcap: Add options to enumerate all pixel formats
* edid-decode: support parsing EDID-Like Data
* buildsystem: Start v4l-utils 1.29.0 development cycle
* qvidcap: fix core dump
* qv4l2: fix crash when disabling openGL
* qv4l2: always set m_haveFramebufferSRGB to false
* v4l-utils: sync with latest kernel
* cec-ctl: add support for CEC_MSG_FL_REPLY_VENDOR_ID
* cec-compliance: add tests for CEC_MSG_FL_REPLY_VENDOR_ID
* contrib/test/test-media: re-add cec-compliance -A tests
* v4l-utils: sync with latest kernel
* v4l2-compliance: testRequests(): drop V4L2_BUF_FLAG_QUEUED
check
* contrib/test/test-media: set log level to info at end
* v4l2-compliance: only do request-queued checks while streaming
is off
* v4l2-compliance: always test blocking wait
* v4l-utils: sync with latest kernel
* utils/common: add V4L2_CAP_EDID support
* v4l2-compliance: add support for V4L2_CAP_EDID
* test-media: move visl out of the vivid test sequence
* contrib/test/test-media: test unbind in DQBUF
* v4l2-ctl/compliance: add -32-time64 variants
* test-media: add -32-time64 option
* cec-ctl: add --test-reliability option
* v4l-utils: sync with latest kernel
* cec-ctl: always return in list_devices
* cec-ctl: use -A shortcut for --list-devices
* v4l2-ctl: list_media_devices() should show the in/out name
* v4l2-ctl: add --list-devices-input/output options
* v4l2-ctl: add -A as shortcut for --list-devices
* v4l2-ctl: move s_trace back to where it was before
* cec-follower: the short_options array was potentially too
small
* cec-compliance: the short_options array was potentially too
small
* cec-ctl: missing support for optional arguments
* v4l2-ctl: fix --stream-out-buf-caps option
* qv4l2/qvidcap: bind shader program in paintGL()
* v4l2-ctl: support V4L2_CID_MIN_BUFFERS_FOR_CAPTURE/OUTPUT
* v4l2-compliance: improve stateful codec tests
* v4l2-compliance: improve CREATE_BUFS tests
* cec-compliance: add fflush(stdout) in several places
* cec-ctl: don't show legend for
--stress-test-random-standby-wakeup-cycle
* cec-ctl: clearly report PASS if a test passes
* cec-ctl: add --physical-address (-x) option
* v4l2-ctl: support toggling Cable Status in EDID
* v4l-utils: update README.md
* cec-compliance: change long timeout to 30s
* v4l2-ctl: also report the SHA if available in --version
* media-ctl: also report the SHA if available in --version
* edid-decode: move edid-decode into v4l-utils
* edid-decode: don't show parse errors if -P is given
* test-display.py: test display CEC and EDID compliance
* cec-ctl/edid-decode: use seconds for the reliability test
* test-display: add cec-ddc-reliability test
* edid-decode: suppress two more errors if -P is used
* test_display.py: add log options, checked with linter
* test_display.py: fix cec-stress-sleep test
* edid-decode: hide error when using -P and -a
* test_display.py: various fixes
* contrib/test/test-media: add more 'date' commands
* contrib/test/test_display.py: various improvements
* edid-decode: support HF-EEODB when reading EDID over DDC
* edid-decode: show timestamp for --i2c-hdcp-ri
* edid-decode: show the delta in ms since last Ri' change
* edid-decode: ignore failed Ri' reads
* Revert "cec-compliance: change long timeout to 30s"
* edid-decode: add eld.test example
* qvidcap: add --no-loop option
* qvidcap: add --from-frame option
* qvidcap: update the man page
* edid-decode: transfer characteristics improvements
* qvidcap: allow Q to close the window with option --no-loop
* qvidcap: 'Space' will pause, 'Backspace' will go back one frame
* edid-decode: fix incorrect message
* cec-compliance: add two new tests
* v4l2-ctl: add new hdmi-4k-600mhz-with-displayid-eeodb EDID
* edid-decode: fix DisplayID checksum regression
* edid-decode: fix infoframe DB parsing regression
* edid-decode: fix incorrect warning for DisplayID v1
* edid-decode: search for 'edid-decode (hex)' first
* cec-compliance: use CEC_MSG_FL_RAW with Unregistered
* v4l2-tpg.patch: add define for WARN_ON_ONCE
* v4l-utils: sync with latest media-committers git repo
* v4l2-tracer: add V4L2_CTRL_WHICH_MIN/MAX_VAL support
* v4l-utils: clean up printf formatting for top, left, width and
height
* v4l-utils: sync with latest media-committers git repo
* v4l2-compliance: use geteuid instead of getuid
* cec-compliance: use geteuid instead of getuid
* cec-compliance: don't check UID, instead test with a <Poll>
* edid-decode: fix wrong CTA warning if more than 1 CTA block
* edid-decode: more warnings that only apply for the first CTA
* cec-ctl: improve usage message
* cec-ctl: actually parse the hpd-may-be-low suboption argument
* cec-ctl: fail if HPD goes high unexpectedly
* edid-decode: preparse the HDMI VSDB Image_Size
* cec-ctl/edid-decode: fix arm architecture warnings
* cec-follower: add support for 5V events
* edid-decode: fail if there are no SVDs in the Data Block
* meson.build: add -Wno-psabi to suppress arm ABI warning
* meson.build: fix arm _TIME_BITS=64 error
* meson.build: fix location of gconv library
* edid-decode: improve handling of preferred/native timings
* edid-decode: improved diagonal handling
* test-media: add vim2m multiplanar tests
* dvbv5-scan: color was set to white instead of resetting
* edid-decode: more native resolution/diagonal improvements
* edid-decode: check if NVRDB needs the size as well
* meson: Bump minimum meson version
* utils: media-ctl: Set V4L2_MBUS_FRAMEFMT_SET_CSC flag to set
colorspace
* v4l2-compliance: Don't perform blocking DQBUF test on MC_IO
devices
* edid-decode: fix transfer characteristics buffer overread
* edid-decode: avoid infinite loop in transfer characteristics
* edid-decode: fix a transfer characteristics buffer overread
* edid-decode: fix buffer overread in infoframe parsing
* edid-decode: fix buffer overread on CTA block parsing
* edid-decode: fix buffer overread on displayid block parsing
* edid-decode: fix buffer overread on product identification
parsing
* edid-decode: fix buffer overread while parsing Stereo Display
Interface DB
* edid-decode: size colorspace_eotf_combinations array correctly
* edid-decode: fix divide by zero in type17 timings parsing
* edid-decode: fix divide by zero in type3 timings parsing
* edid-decode: fix heap overread on early EOF
* libv4l2: Guard the v4l2_ioctl function with HAVE_POSIX_IOCTL
* v4l-utils: Ignore comma in bracket when getting subopt
* libv4lconvert: fix jpeg-v9x/gcc-14.x compile (jpeg_mem_dest
argument mismatch)
* meson: remove two pre-0.60 workarounds
* media-ctl: Remove duplicated include
* Android.mk: Remove obsolete build files
* v4l2-compliance: Do not run test requiring pthread_cancel in
Android
* v4l2-compliance: Fix build error clang TOT
* android: Remove unused file
* contrib/test/test-media: Increase modprobe time
* v4l-utils: fix compilation with external intl
* edid-decode: use override_find_program() to ease subproject use
* v4l2-ctl: Support V4L2_CTRL_TYPE_RECT
* v4l2-utils: Support V4L2_CTRL_WHICH_MIN/MAX_VAL
-------------------------------------------------------------------
Sat Apr 12 22:31:55 UTC 2025 - Asterios Dramis <asterios.dramis@gmail.com>
- Install gconv module file to /usr/lib64/gconv/gconv-modules.d/
(resolves also conflict with /usr/lib64/gconv/gconv-modules file
from glibc).
-------------------------------------------------------------------
Mon Mar 31 14:07:02 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Update to 1.28.1
* qv4l2: always set m_haveFramebufferSRGB to false
* qv4l2: fix crash when disabling openGL
* qvidcap: fix core dump
- Update to 1.28.0
* buildsystem: Start v4l-utils 1.27.0 development cycle
* cec-compliance: add --show-timestamp option
* cec-ctl: avoid confusing error message
* cec-ctl: exit after reporting all cec devices with --list-devices
* cec-ctl: fix random cec stress test: check if msg status is OK
* cec-follower: change type of struct Timer duration field to int
* cv4l-helpers.h: add missing helper functions
* Fixed qv4l2 crash with drivers that implement VIDIOC_ENUM_FRAMESIZES for outputs
* ir-ctl: add optional header to manchester encoding
* ir-ctl: clear errno before strtol
* ir-ctl: correct max_size for rc5 and rc5_sz
* ir-ctl: encode rc6 mode 0 can have 43 edges
* ir-ctl: fix encoding pulse_length bpf encoder
* ir-ctl: remove line length limits
* keytable: fix command line processing
* keytable: fix segfault when reading legacy keymaps
* keytable: fix stdout/stderr inconsistency
* keytable: meson not passing rc_keymaps system directory
* keytable: meson: Restrict the installation of 50-rc_keymap.conf
* keytable: remove line length limits
* libv4l2rds: fix TMC location parsing
* libv4l2subdev: Extend API with 'which' argument where missing
* media-ctl: Re-order setting format and routes
* media-info: add missing sys/stat.h include (for dev_t)
* meson: add optional Qt6 support
* meson: Allow documentation directory to be specified with -Ddocdir
* meson: Fix building with -Dv4l-utils=false
* meson: fix has_function fork detection (needs suitable include)
* meson: libv4lconvert helpers need fork support
* meson: v4l2grab needs libv4lconvert with fork support enabled
* meson.build: dep_systemd was not set in one case
* qv4l2: add support for /dev/v4l-touchX devices
* qv4l2: fix crash when used with metadata output devices
* qv4l2: support menu controls in updateCtrlRange()
* Revert "meson: v4l2grab needs libv4lconvert with fork support enabled"
* sync-with-kernel.sh: add v4l2-dv-timings.h
* sync-with-kernel.sh: create v4l2-tracer patches
* sync-with-kernel.sh: filter V4L2_META_FMT_GENERIC_ defines
* test-media: Add basic tests for visl
* utils: media-ctl: Prepare for TRY state support
* utils: media-ctl: Print the MUST_CONNECT pad flag
* utils: media-ctl: Support accessing the subdev TRY state
* utils: media-ctl: Support changed routing API
* utils/keytable: forgot to add mygica_utv3.toml
* v4l2-compliance: Add a test for REMOVE_BUFS ioctl
* v4l2-compliance: add new CREATE_BUFS tests
* v4l2-compliance: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH
* v4l2-compliance: Add tests for V4L2_FMT_FLAG_META_LINE_BASED flag
* v4l2-compliance: clarify a create_bufs test
* v4l2-compliance: Constify pointers and references in formats tests
* v4l2-compliance: do not warn for unexpected vivid_ro_ctrl values
* v4l2-compliance: Fix building against libc++
* v4l2-compliance: Fix streams use in testSubDevEnumFrameSize()
* v4l2-compliance: Fix use of routing on 32-bit platforms
* v4l2-compliance: matchFormats(): add multiplane logging
* v4l2-compliance: Support the changed routing API
* v4l2-ctl: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH
* v4l2-ctl: Add --try-routing option
* v4l2-ctl: --list-devices --verbose will list current input/output
* v4l2-ctl: replace --fix-edid-checksums by --keep-edid-checksums
* v4l2-ctl: report max_num_buffers
* v4l2-ctl/compliance: read and show the subdev client capabilities
* v4l2gl: Add missing dependency on argp
* v4l2-info: add support for V4L2_BUF_CAP_SUPPORTS_REMOVE_BUFS
* v4l2-info: support V4L2_FMT_FLAG_META_LINE_BASED
* v4l2-tracer: add auto-generated files to git repo
* v4l2-tracer: add re/tracing for AV1 controls
* v4l2-tracer: add re/tracing for MAX_NUM_BUFFERS
* v4l2-tracer: autogenerate files that can be added to git
* v4l2-tracer: ignore single line comments when parsing headers
* v4l2-tracer: look in more places for libv4l2tracer
* v4l2-tracer: Rewrite libv4l2tracer.so lookup
* v4l2-tracer: stop auto-generating files with meson
* v4l2-tracer: stop waiting to handle a signal
* v4l2-tracer: use stat to verify that retrace file exists
* v4l-helpers: support V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH
* v4l-helpers: v4l_format_s_sizeimage: add support for other buftypes
* v4l-utils: clang-tidy: convert to for range loop
* v4l-utils: clang-tidy: use auto with iterators
* v4l-utils: (c)v4l-helpers.h: support more than 32 buffers
* v4l-utils: fix formats under alpha/ppc64/mips64
* v4l-utils: fix @PACKAGE_VERSION@ use
* v4l-utils: fix potential crashing with 32-bit musl
* v4l-utils: sync with latest kernel
* v4l-utils: sync-with-kernel
* v4l-utils: sync-with-kernel
* v4l-utils: sync-with-kernel
* v4l-utils: test-media: add dmesg -n info before modprobes
* v4l-utils: test-media: connect the hdmi input to the output
* v4l-utils: use 64-bit formats for time
* v4l-utils: use 64-bit off_t format
* v4l-utils: v4l-utils: sync with latest kernel headers
* v4l-utils: v4l-utils: sync with latest kernel headers
* v4l-utils/contrib/gconv: fix conversion errors on ARIB-STD-B24 strings
* v4l-utils/contrib/gconv: translation table fix for ARIB-STD-B24
- Update to 1.26.0
* Add support for meson building
* build: conditionally retrieve Git repo information
* build: do not fall back to libbpf header lookup
* buildsystem: Start v4l-utils 1.25.0 development cycle
* cec-compliance: get_power_status(): check cec_msg_status_is_abort
* cec-compliance: get_power_status(): fix valid RX test
* cec-ctl: add hpd-may-be-low suboption for the CEC tests
* cec-ctl: add --test-random-power-states stress test
* cec-ctl: always log timestamp in show_msg if not-OK
* cec-ctl: rename power-cycle to standby-wakeup-cycle
* cec-ctl: store state changes in pin file
* cec-ctl.1.in: clarify that you configure *your* device
* cec-ctl.1.in: for hpd-may-be-low option: <0,1> -> <0/1>
* cec-follower: add --exclusive option
* cec/v4l2-compliance, cec-follower: use __FILE_NAME__ if available
* common/media-info: add MEDIA_ENT_F_PROC_VIDEO_ISP
* common/media-info: fail for unknown entity function values
* configure.ac: fix gconv directory search
* Copy Doxygen configuration file to doc/
* Drop autoconf/automake support
* gen_dvb_structs.pl: drop copy of dvb-frontend.h
* .gitignore: add back '*.pc' pattern
* ir-ctl: fix sharp encoding
* keytable: fix repeat formatting
* keytable: open lirc for read/write for attaching/detaching bpf programs
* libcecutil: fix performance inefficiencies
* libdvbv5: dvb-scan: fix DVB-S2 checks for DVB-S tuning
* lib/libdvbv5/dvb-file.c: check for valid entry pointer
* libv4l1/libv4l2/v4l2-tracer: use common meson c_args/cpp_args to disable transparent large file support
* manpages: fix groff warnings
* media-ctl: 1 -> 1ULL
* media-ctl: Add support for routes and streams
* media-ctl: Check for Streams API support
* meson: Add support for doxygen documentation
* meson: Fix install location of doxygen's man pages
* meson: Fix libbpf detection
* meson: make it backward-compatible with version 0.54
* meson: re-enable qv4l2 without Qt OpenGL support
* meson: Use -include to include config.h instead of -I.
* meson.build: backport it to version 0.56
* qv4l2: enable Qt6 compile with Qt OpenGL support
* qv4l2: fix qmake project file
* qv4l2: fix Qt6 compile (ambiguous overload for operator!=)
* qv4l2: fix Qt6 compile (missing QActionGroup header)
* qv4l2: fix Qt6 compile (no matching function for call to QString::split(QRegExp))
* qv4l2: fix Qt6 compile (QDesktopWidget: No such file or directory)
* qv4l2: fix Qt6 compile (QHBoxLayout/QVBoxLayout has no member setMargin)
* qv4l2: fix Qt6 warning (QMenu::addAction() is deprecated)
* qv4l2: fix Qt6 warnings (QKeyCombination operator+ is deprecated)
* qv4l2: fix SDR format error message
* qv4l2: remove leagcy alsa_stream.h include (ENABLE_ALSA protected)
* qv4l2: remove unused local variables 'QString what'
* qv4l2: update qmake project file for Qt6 (core5compat module)
* qvidcap: enable Qt6 compile with Qt OpenGL support
* qvidcap: fix qmake project file
* qvidcap: fix v4l2_convert_hook (add PRE_TARGETDEPS)
* README.md: drop qt5-default, add libsdl2-dev libbpf-dev llvm clang
* sync-with-kernel.sh: don't filter V4L2_PIX_FMT_HEVC_SLICE
* sync-with-kernel.sh: regenerate utils/keytable/rc_keymaps/meson.build
* test-media: cec-pwr enables cec variable as well
* test-media: log utils versions
* test-media: 'mc' argument didn't select vidtv
* test-media: use -m instead of -M for vicodec and vidtv
* Update old email address
* utils: libv4l2subdev: Set stream for g_selection
* utils/common: Set V4L2_SUBDEV_CLIENT_CAP_STREAMS for subdevs
* utils/libcecutil: drop spurious dep_libv4lconvert
* v4l2-compliance: Add gadget. as bus_info prefix
* v4l2-compliance: Add handling for QC08C and QC10C format
* v4l2-compliance: call select before dequeuing event
* v4l2-compliance: codecs: Add stateless (TRY_)DECODER_CMD tests
* v4l2-compliance: improve error message
* v4l2-compliance: pass media_fd when walking topology
* v4l2-compliance: support V4L2_PIX_FMT_AV1_FRAME
* v4l2-compliance: Test queue maximum buffers allocation
* v4l2-ctl: Add --get/--set-ctrl support for INTEGER and INTEGER64 arrays
* v4l2-ctl: add missing > in aspect option usage message
* v4l2-ctl: Add routing and streams support
* v4l2-ctl: add support for AV1 stateless control types
* v4l2-ctl: Check for Streams API support
* v4l2-ctl: fix alignment meta formats usage message
* v4l2-ctl: fix handling the premul-alpha sub-option
* v4l2-ctl: improve --silent support
* v4l2-ctl: improve --stream-sleep
* v4l2-ctl: improve --stream-sleep functionality
* v4l2-ctl: Improve sub-device options help text
* v4l2-ctl: reset fps counter when using --stream-sleep with streamoff/on
* v4l2-ctl: show field value in print_concise_buffer()
* v4l2-ctl: support random sleep times
* v4l2-ctl.1.in: add missing --help-meta
* v4l2-ctl/compliance: add include cstdint
* v4l2-ctl/compliance: Add routing and streams multiplexed streams
* v4l2-ctl/compliance: Add simple routing test
* v4l2-info.cpp: fix _SUPPORTS_MAX_NUM_BUFFERS description
* v4l2-info/v4l2-tracer: add macro to mark the trace
* v4l2-tracer: add event tracing/retracing
* v4l2-tracer: add G/S TUNER ioctls
* v4l2-tracer: add macros to print debug info
* v4l2-tracer: add quotes to -DLIBTRACER_PATH="@0@"
* v4l2-tracer: add VIDIOC_ENUM_FRAMEINTERVALS
* v4l2-tracer: add VIDIOC_ENUM_FRAMESIZES
* v4l2-tracer: auto generate flags for DECODER_CMD
* v4l2-tracer: create an option to trace userspace args
* v4l2-tracer: fix autogen script for AV1
* v4l2-tracer: Fix libv4l2tracer.so loader
* v4l2-tracer: fix trace path name creation
* v4l2-tracer: get decoded bytesused from DQBUF
* v4l2-tracer: print only if debugging option is set
* v4l2-tracer: remove buffers by type and index
* v4l2-tracer: remove compress_frame_count
* v4l2-tracer: replace buftype2s with val2s
* v4l2-tracer: stop retracing failed ioctls
* v4l2-tracer: stop stringifying v4l2_input "tuner"
* v4l2-tracer: stringify target in v4l2_selection
* v4l2-tracer: use __s64 instead of long
* v4l2-tracer: wrap open64/mmap64 functions only if linux && __GLIBC__
* v4l-utils: libdvbv5: fix doxygen warnings
* v4l-utils: sync with latest kernel headers
* v4l-utils: sync with latest kernel headers
* v4l-utils: sync with latest kernel headers
* v4l-utils: sync with latest kernel headers
* v4l-utils: sync with latest media staging tree
* v4l-utils: sync with upstream media staging kernel.
* v4l-utils.spec.in: update it to work with meson
- Use Qt6 instead of Qt5 when building the qv4l2 flavor
- Drop usage of deprecated %suse_update_desktop_file
- Redo patch since v4l-utils now uses meson:
* use_system_v4l_for_qv4l.patch
-------------------------------------------------------------------
Wed Mar 1 21:30:29 UTC 2023 - Asterios Dramis <asterios.dramis@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package v4l-utils
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,30 +19,47 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "qv4l2"
%global psuffix -%{flavor}
%ifarch armv7l armv7hl aarch64
# Qt6 doesn't have gl support in these archs
%bcond_with qvidcap
%else
%if 0%{?suse_version} == 1500
# Neither does Qt in SLE15
%bcond_with qvidcap
%else
%bcond_without qvidcap
%endif
%endif
%endif
%define _udevdir %(pkg-config --variable udevdir udev)
%define so_ver 0
%define sname v4l-utils
Name: v4l-utils%{?psuffix}
Version: 1.24.1
Version: 1.30.1
Release: 0
Summary: Utilities for video4linux
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
URL: https://linuxtv.org/downloads/v4l-utils/
Source0: https://linuxtv.org/downloads/v4l-utils/%{sname}-%{version}.tar.bz2
Source1: https://linuxtv.org/downloads/v4l-utils/%{sname}-%{version}.tar.bz2.asc
Source0: https://linuxtv.org/downloads/v4l-utils/%{sname}-%{version}.tar.xz
Source1: https://linuxtv.org/downloads/v4l-utils/%{sname}-%{version}.tar.xz.asc
Source2: %{sname}.keyring
Source100: baselibs.conf
Patch0: use_system_v4l_for_qv4l.patch
Patch1: v4l-utils-32bitfix.patch
BuildRequires: alsa-devel
BuildRequires: autoconf
BuildRequires: automake
%if 0%{?suse_version} == 1500
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: libjpeg-devel
BuildRequires: libtool
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
Requires: libv4l = %{version}
%if "%{flavor}" == ""
@@ -50,12 +67,15 @@ BuildRequires: doxygen
BuildRequires: kernel-headers
%endif
%if "%{flavor}" == "qv4l2"
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Core5Compat)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6OpenGL)
BuildRequires: pkgconfig(Qt6OpenGLWidgets)
BuildRequires: pkgconfig(Qt6Platform)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libv4lconvert)
%endif
@@ -100,6 +120,15 @@ Requires: libdvbv5-%{so_ver} = %{version}
The libdvbv5-devel package contains libraries and header files for
developing applications that use libdvbv5.
%package -n libdvbv5-gconv
Summary: Gconv files with the charsets For Digital TV
License: GPL-2.0-only
Requires: libdvbv5-%{so_ver} = %{version}
%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 libv4l
Summary: Collection of video4linux support libraries
License: GPL-2.0-only AND LGPL-2.1-or-later
@@ -179,38 +208,46 @@ qv4l2 is a test control and streaming test application for video4linux.
%autosetup -p1 -n %{sname}-%{version}
%build
autoreconf -vfi
%configure \
--disable-static \
--disable-silent-rules \
%if "%{flavor}" == "qv4l2"
--disable-libdvbv5 \
%else
--disable-qv4l2 \
%if 0%{?suse_version} == 1500
export CC=gcc-13
export CXX=g++-13
%endif
--with-udevdir=%{_udevdir}
%meson \
-Dudevdir=%{_udevdir} \
-Ddoxygen-doc=disabled \
-Ddoxygen-man=false \
-Ddoxygen-html=false \
-Dbpf=disabled \
%if "%{flavor}" == "qv4l2"
export CXXFLAGS="-std=c++14 %{optflags}"
%make_build -C utils/libmedia_dev
%make_build -C utils/libv4l2util
%make_build -C utils/qv4l2
-Dqv4l2=enabled \
%if %{with qvidcap}
-Dqvidcap=enabled \
%else
%make_build
-Dqvidcap=disabled \
%endif
-Dlibdvbv5=disabled \
-Dv4l-plugins=false \
-Dv4l-utils=false \
-Dv4l-wrappers=false \
-Dv4l2-compliance-libv4l=false \
-Dv4l2-ctl-libv4l=false \
-Dv4l2-ctl-stream-to=false \
%else
-Dqv4l2=disabled \
-Dqvidcap=disabled \
-Dlibdvbv5=enabled \
%endif
%{nil}
%meson_build
%install
%if "%{flavor}" == "qv4l2"
%make_install -C utils/qv4l2
%suse_update_desktop_file -N "QV4l2" -G "V4L2 Test Utility" -r qv4l2 Qt AudioVideo Video TV
%else
%make_install
%meson_install
%if "%{flavor}" == ""
install -dm 0755 %{buildroot}%{_libdir}/gconv/gconv-modules.d
mv %{buildroot}%{_libdir}/gconv/gconv-modules %{buildroot}%{_libdir}/gconv/gconv-modules.d/libdvbv5.conf
%find_lang "%{name}"
%find_lang libdvbv5
# Not needed (links to plugins in libv4l subdir)
rm %{buildroot}%{_libdir}/{v4l1compat.so,v4l2convert.so}
%endif
find %{buildroot} -type f -name "*.la" -delete -print
@@ -218,6 +255,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%if "%{flavor}" == ""
%post -n libdvbv5-%{so_ver} -p /sbin/ldconfig
%postun -n libdvbv5-%{so_ver} -p /sbin/ldconfig
%post -n libdvbv5-gconv -p %{_sbindir}/iconvconfig
%postun -n libdvbv5-gconv -p %{_sbindir}/iconvconfig
%post -n libv4l1-%{so_ver} -p /sbin/ldconfig
%postun -n libv4l1-%{so_ver} -p /sbin/ldconfig
%post -n libv4l2-%{so_ver} -p /sbin/ldconfig
@@ -240,6 +279,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_bindir}/cec-compliance
%{_bindir}/cec-ctl
%{_bindir}/cec-follower
%{_bindir}/edid-decode
%{_bindir}/ir-ctl
%{_bindir}/ir-keytable
%{_bindir}/ivtv-ctl
@@ -254,6 +294,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_mandir}/man1/cec-ctl.1%{?ext_man}
%{_mandir}/man1/cec-follower.1%{?ext_man}
%{_mandir}/man1/ir-ctl.1%{?ext_man}
%{_mandir}/man1/edid-decode.1%{?ext_man}
%files lang -f "%{name}.lang"
@@ -262,8 +303,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%doc ChangeLog README.md TODO
%{_bindir}/decode_tm6000
%{_bindir}/v4l2-compliance
%{_bindir}/v4l2-tracer
%{_sbindir}/v4l2-dbg
%{_mandir}/man1/v4l2-compliance.1%{?ext_man}
%{_mandir}/man1/v4l2-tracer.1%{?ext_man}
%files -n dvb-utils
%license COPYING
@@ -283,6 +326,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libdvbv5.so
%{_libdir}/pkgconfig/libdvbv5*.pc
%files -n libdvbv5-gconv
%{_libdir}/gconv/*.so
%{_libdir}/gconv/gconv-modules.d/libdvbv5.conf
%files -n libv4l
%license COPYING.libv4l
%doc ChangeLog README.md README.libv4l TODO
@@ -321,6 +368,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/*/apps/qv4l2.*
%{_mandir}/man1/qv4l2.1%{?ext_man}
%if %{with qvidcap}
%{_bindir}/qvidcap
%{_datadir}/applications/qvidcap.desktop
%{_datadir}/icons/hicolor/*/apps/qvidcap.*
%{_mandir}/man1/qvidcap.1%{?ext_man}
%endif
%endif
%changelog