Debian Patches
Status for opencv/5.0.0+dfsg-1~exp2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| change_jquery.js_path | [PATCH 2/2] use system-installed jquery | Nobuhiro Iwamatsu <iwamatsu@debian.org> | no | 2018-08-04 | ||
| cmake-dont-install-inexistent-files.patch | =================================================================== | no | ||||
| 0006-Fix-LAPACK-finding-CMake-code.patch | Fix LAPACK finding CMake code On Debian cblas.h and lapacke.h are not installed in the same include directory. This does not matter when compiling, but the custom header check in OpenCV fails on it. Force OpenCV to use the standard CMake check_include_file function to do the check so it succeeds. |
Victor Westerhuis <VJ.Westerhuis@student.han.nl> | no | 2022-09-09 | ||
| 0008-Do-not-embed-build-directory-in-binaries.patch | Do not embed build directory in binaries This makes the opencv core module build reproducibly. |
Victor Westerhuis <victor@westerhu.is> | no | 2022-11-19 | ||
| 0009-Do-not-embed-build-directory-in-documentation.patch | Do not embed build directory in documentation This makes the documentation build reproducibly. |
Victor Westerhuis <victor@westerhu.is> | no | 2022-11-19 | ||
| cmake-no-download.patch | =================================================================== | no | ||||
| setup-py-for-egg.patch | =================================================================== | no | ||||
| dnn-skip-vendored-mlas.patch | dnn: skip vendored MLAS when its sources are absent OpenCV 5.0 vendors MLAS (Microsoft Linear Algebra Subprograms, from ONNX Runtime) in 3rdparty/mlas and adds it unconditionally. Debian strips the whole 3rdparty/ tree (Files-Excluded in d/copyright), so the directory is missing and the add_subdirectory() call aborts cmake configuration. Guard it on the vendored sources being present; when absent, opencv_dnn builds with its own GEMM kernels (HAVE_MLAS stays 0). =================================================================== |
Aron Xu <aron@debian.org> | not-needed | 2026-07-07 | ||
| dnn-restore-caffe-proto.patch | dnn: restore caffe protobuf schema and regenerate it OpenCV 5.0 removed modules/dnn/src/caffe/opencv-caffe.proto but still ships a pre-generated opencv-caffe.pb.{cc,h} produced with protoc 3.19, which does not compile against protobuf >= 3.21 (it includes the removed generated_message_table_driven.h). Debian builds with PROTOBUF_UPDATE_FILES=ON to regenerate the protobuf bindings against the system protobuf, but caffe had no .proto left to regenerate from. Restore the schema (unchanged since 4.10: same opencv_caffe package, 71 messages) and add it to the regeneration glob so the caffe bindings are generated against the system protobuf, like tensorflow and onnx. =================================================================== |
Aron Xu <aron@debian.org> | no | 2026-07-07 | ||
| missing-header-for-std-cerr.patch | compiler cannot find std::cout and std::cerr without this=================================================================== | no | ||||
| fix-markdown-include-path.patch | they are in a different directory for our case.=================================================================== | no | ||||
| ffmpeg-9.0-compat.patch | videoio: fix build with FFmpeg 9 after AVCodec::pix_fmts and supported_framerates removal FFmpeg 9 removes AVCodec::pix_fmts and AVCodec::supported_framerates, which were deprecated in FFmpeg 7.1 (libavcodec 61.13.100) in favour of avcodec_get_supported_config(). Query both lists through avcodec_get_supported_config() when building against libavcodec 61.13.100 or newer; that call also reports the number of entries, so the loops iterate by count instead of relying on the old sentinel terminator. FFmpeg older than 7.1 keeps the previous direct field access. The ffmpeg 7.1 in trixie and 8.x in unstable already take the new code path. . Backport of the three commits of upstream PR #29533, merged into the 4.x branch on 2026-08-11 but in no release tag yet and not ported to the upstream 5.x branch as of 2026-09-19: . https://github.com/opencv/opencv/commit/700cd32ffd59ed3c6f6aec1919867653d8b125ea https://github.com/opencv/opencv/commit/83ed22ca2800267050a4a9a94afab605c990c0e0 https://github.com/opencv/opencv/commit/c0166c617d765ac707dde6b9acd8cfcd49751049 |
Alexander Smorkalov <alexander.smorkalov@opencv.ai> | not-needed | debian upstream | backport, https://github.com/opencv/opencv/pull/29533 | 2026-09-19 |
All known versions for source package 'opencv'
- 5.0.0+dfsg-1~exp2 (experimental)
- 4.10.0+dfsg-9 (forky, sid)
- 4.10.0+dfsg-5 (trixie)
- 4.6.0+dfsg-12 (bookworm)
