Package: opencc Version: 1.3.1+ds1-3 Severity: wishlist X-Debbugs-Cc: [email protected]
Dear Maintainer, I am one of the upstream maintainers of OpenCC. This report proposes packaging improvements for OpenCC 1.4.0 and provides a Debian packaging mirror for review. ## Summary A complete Debian packaging proposal for OpenCC 1.4.0 has been prepared and can be reviewed here: https://github.com/BYVoid/OpenCC/tree/master/packaging/debian This includes: - updated Debian packaging for OpenCC 1.4.0 - reworked patch set (4 patches total: 0003, 0004, 0005, 0009) - adjusted install layout - support for a proposed multi-binary package split (including opencc-jieba) The packaging has been tested locally and successfully builds 6 binary packages. ## Debian packaging mirror A patch mirror is maintained for upstream review: https://github.com/BYVoid/OpenCC/tree/master/packaging/debian This mirror: - tracks Debian-specific packaging deltas against OpenCC 1.4.0 - is rebased from Debian source package opencc 1.3.1+ds1-3 - is aligned with Debian Salsa packaging repository: https://salsa.debian.org/debian/opencc - reflects the current quilt patch set (0003, 0004, 0005, 0009) All patches have been re-based against upstream 1.4.0 and verified to apply cleanly. ## Proposed changes ### 1. OpenCC 1.4.0 packaging update - update packaging to match upstream 1.4.0 structure - adjust CMake and install layout for current upstream configuration ### 2. Data package separation Move all *.ocd2 dictionary files from libopencc runtime package into libopencc-data. Rationale: - *.ocd2 files are not meaningful without corresponding configuration files - configuration and dictionary data are always used as a coupled pair - separating data improves packaging clarity and update flexibility This change enables independent updates of dictionary data without affecting ABI-stable runtime library components. ### 3. New binary package: opencc-jieba Introduce a new optional binary package: - opencc-jieba This package contains jieba-related integration resources and plugin data, allowing users to install OpenCC core without jieba components. ## Testing status - built successfully on Ubuntu system - all 6 binary packages generated correctly - runtime conversion functionality verified ## Request If this packaging structure is acceptable, it can be adopted or adapted for Debian packaging. Patches and full packaging diff can be provided in patch series form if preferred. Frank -- System Information: Debian Release: trixie/sid APT prefers noble-updates APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports') Architecture: amd64 (x86_64) Foreign Architectures: arm64 Kernel: Linux 6.8.0-110-generic (SMP w/4 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled

