Debian Patches

Status for deepin-image-viewer/6.1.4-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Make-the-live-text-OCR-analyzer-optional.patch Make the live text (OCR) analyzer optional
LiveTextAnalyzer is the only code that needs deepin-ocr-plugin-manager,
ncnn and opencv_mobile, none of which is available in Debian. Add an
ENABLE_LIVE_TEXT option (default ON, so the upstream build is unchanged)
that lets a distribution build without it. The D-Bus based OcrInterface
used by the "Extract text" action is unaffected. The QML loader for the
live text widget is already disabled upstream (ImageViewer.qml, delayInit).
Boyuan Yang <byang@debian.org> no 2026-09-11
0002-Only-run-lrelease-at-build-time.patch Only run lrelease at build time, not lupdate
qt_create_translation() runs lupdate on every build and rewrites the
shipped .ts files in the source tree. The translation sources in a
release tarball are final, so just compile them with lrelease via
qt_add_translation(); this keeps the source tree pristine after a build.
Boyuan Yang <byang@debian.org> not-needed 2026-09-11
0003-Build-the-libraw-QImage-plugin-as-a-plain-plugin.patch Build the libraw QImage plugin as a plain plugin
A Qt image format plugin is loaded by file name from the imageformats
plugin directory; it is not a public shared library and must not carry
a SONAME or versioned file names (otherwise libxraw.so, libxraw.so.1
and libxraw.so.1.0.0 all end up in the plugin directory). Build it as a
MODULE library without VERSION/SOVERSION.
Boyuan Yang <byang@debian.org> no 2026-09-11
0004-Link-the-image-editor-to-OpenCV-without-OCR.patch Link the image editor to OpenCV when OCR is disabled
The editor uses OpenCV for Gaussian blur independently of the live text
analyzer. With live text disabled, use the distribution's OpenCV core
and imgproc instead of the OpenCV Mobile bundled with the OCR stack.
Boyuan Yang <byang@debian.org> no 2026-11-06
0005-Handle-null-devices-in-the-RAW-image-plugin.patch Handle null devices in the RAW image plugin
Qt queries capabilities without a device when enumerating supported
formats. Report known RAW formats without probing a device, including
the ARW format advertised in the plugin metadata. Probe TIFF files only
when an actual device is available.
Boyuan Yang <byang@debian.org> no 2026-11-06

All known versions for source package 'deepin-image-viewer'

Links