Debian Patches

Status for opencc/1.4.2+ds1-1

Patch Description Author Forwarded Bugs Origin Last update
0003-no-remote-images-when-reading-docs-on-disk.patch Don't fetch remote images when reading docs on disk
This fixes a privacy breach previously reported as Lintian warnings
Gunnar Hjalmarsson <gunnarhj@ubuntu.com> not-needed 2026-04-25
0004-Use-system-googletest.patch Use system googletest Shengjing Zhu <zhsj@debian.org> not-needed 2024-07-28
0005-Disable-build-in-setup.py.patch Disable build in setup.py Shengjing Zhu <zhsj@debian.org> no 2024-08-02
0009-setup.py-Handle-python-binding-instead-of-cmake.patch setup.py: Handle python binding instead of cmake
Link the extension against the libopencc.so built by the cmake pass in
$OPENCC_BUILD_DIR/src. Only -L (library_dirs) is set on purpose: adding
runtime_library_dirs would bake the (build-time-only) build directory into
DT_RUNPATH, and even deleting that entry afterwards leaves the build path
behind in .dynstr (lintian: file-references-package-build-path). The
installed extension resolves libopencc.so.1.4 through the regular linker
search path instead; debian/rules sets LD_LIBRARY_PATH for the test run.
Boyuan Yang <byang@debian.org> not-needed 2026-01-13
0011-drop-python-cli-entry-point.patch Drop the python console_scripts opencc entry point
Since 1.4.x, setup.py registers a "opencc" console_scripts entry
point (opencc.cli:main). debian/rules runs the pybuild install step
after the cmake install step, so this Python wrapper script
overwrites the compiled C++ /usr/bin/opencc CLI tool installed by
the opencc binary package, and it lacks a corresponding python3
dependency. Drop the entry point; the compiled CLI tool remains the
one and only /usr/bin/opencc, and the python3-opencc bindings
(import opencc) are unaffected.

===================================================================
Frank Lin <debian@linshuang.info> no 2026-07-15

All known versions for source package 'opencc'

Links