Debian Patches

Status for opencv/5.0.0+dfsg-1~exp1

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

All known versions for source package 'opencv'

Links