Debian Patches

Status for yuview/2.15-2

Patch Description Author Forwarded Bugs Origin Last update
02-Better-support-for-nv21-format.patch Better support for nv21 format
Improve nv21 format by two ways:
- Prefer nv21 than nv12, because nv21 is Android's default format.
Roger Shimizu <rosh@debian.org> not-needed 2020-06-12
03-Avoid-calling-git-command-when-building.patch Avoid calling git command when building Roger Shimizu <rosh@debian.org> no 2022-05-21
04-Fix-Qt6-package-lookup.patch Remove the duplicate Qt 6 package lookup
Qt6 has already been found with the requested components. Appending the
Qt major version to Qt6 makes CMake look for a nonexistent Qt66 package.
Boyuan Yang <byang@debian.org> no 2026-11-09
05-Generate-uic-headers-before-AUTOMOC.patch Generate uic headers before AUTOMOC runs
AUTOMOC and AUTOUIC run in parallel inside YUViewLib_autogen. When moc
processes a header such as UpdateHandler.h before uic has written the
ui_*.h it includes, moc silently skips the missing header and drops the
Q_MOC_INCLUDE(<QtGui/qtextcursor.h>) that QLabel pulls in. The generated
moc file then differs by one line between builds, which makes the build
unreproducible.

Generate the ui headers with qt_wrap_ui() in a separate target and make
the autogen target depend on it, so moc always sees complete headers.
Boyuan Yang <byang@debian.org> no 2026-11-10
06-Fix-pixel-byte-order-on-big-endian-machines.patch Fix pixel byte order on big-endian machines
YUView writes converted pixels into 32-bit QImage buffers byte by byte in
B, G, R, A order, and reads samples wider than 8 bits as native integers
that it swaps only for big-endian input. Both only hold on little-endian
machines. On s390x the colour channels came out in the wrong order and
1483 of the 1896 unit tests failed.

Write each pixel as a QRgb value in host byte order, swap input samples
whose byte order differs from the host, and mark the planar buffers that
the V210 and packed 10-bit unpackers write as host byte order. The 10-bit
4:2:0 fast path reads samples as native integers without checking the
byte order of the input, so use it only for input in host byte order.
Update the RGB conversion test to read the output as QRgb values.
Boyuan Yang <byang@debian.org> no 2026-11-10

All known versions for source package 'yuview'

Links