Discussion:
Bug#1085173: mozc: New upstream release available: 2.30.5544.102
Add Reply
Kentaro HAYASHI
2024-10-15 18:10:02 UTC
Reply
Permalink
Source: mozc
Version: 2.28.4715.102+dfsg-2.3
Severity: normal
X-Debbugs-Cc: ***@xdump.org

Dear Maintainer,

The upstream repository has released 2.30.5544.102.

It would be nice to upgrade the Debian package to that release.

But currently, there are technical difficulty exists to following
upstream releases in some cases.

* GYP was deprecated
* Instead, newer Bazel is required to build it, but not exist on
Debian yet.
* Only old Bazel is available on Debian
* bazel-bootstrap stick to 4.x, need to update Bazel 7.x (maybe)
* Newer version of Abseil is required
* Mozc 2.30.5544.102 requires Abseil 20240116.1 or newer one.

As a practical approach, it is reasonable to update existing GYP patch
to refactor for newer mozc version which targets at max 2.29.5544.102.

Here is the brief review of current patches.

* 0001-Update-uim-mozc-to-c979f127acaeb7b35d3344e8b1e40848e.patch
* Required
* 0002-Support-fcitx.patch
* Required
* 0003-Change-compiler-from-clang-to-gcc.patch
* (maybe) Not needed anymore
* Related commits:
https://github.com/google/mozc/commit/ae169acdcc9f7c205a30d432486dcbf13dc3e316
https://github.com/google/mozc/commit/aba090da42a8366e72bc320dfafc3f9f93755edf
* 0004-Add-usage_dict.txt.patch
* Required. (maybe)
* 0005-Enable-verbose-build.patch
* Required.
* 0006-Update-gyp-using-absl.patch
* Required and need **massive** refactoring.
* 0007-common.gypi-Use-command-v-instead-of-which.patch
* (maybe) Not needed anymore
* 0009-protobuf.gyp-Add-latomic-to-link_settings.patch
* Required.
* 0010-Fix-the-compile-error-of-ParseCommandLineFlags-with.patch
* Required. Should be merged into 0006 patch.
* 0011-Fix-missing-abseil-gyp-link-settings.patch
* Required. Should be merged into 0006 patch.

FYI: Mozc's tags:

* 2.30.5544.102 Require abseil 20240116.1 or later
* 2.29.5544.102 GYP was deprecated
* 2.29.5374.102
* 2.29.5268.102 No gtk renderer anymore, need Qt.
* 2.29.5160.102 The last version that gtk renderer is available.
* 2.28.5029.102
* 2.28.4880.102
* 2.28.4715.102+dfsg Debian sid

Regards,
Kentaro HAYASHI
2024-10-17 13:40:01 UTC
Reply
Permalink
Post by Kentaro HAYASHI
* 2.30.5544.102 Require abseil 20240116.1 or later
* 2.29.5544.102 GYP was deprecated
* 2.29.5374.102
* 2.29.5268.102 No gtk renderer anymore, need Qt.
* 2.29.5160.102 The last version that gtk renderer is available.
Since 2.29.5160.102, --use_gyp_for_ibus_build option was removed.
Post by Kentaro HAYASHI
* 2.28.5029.102
* 2.28.4880.102
Loading...