Mozc source package information

- About patch system 

  The source package uses "gbp pq" to manage all modifications to the upstream
  source. Changes are stored in the source package as diffs in debian/patches
  and applied during the build.

  See /usr/share/doc/git-buildpackage/manual-html/index.html for a detailed explanation.

- Since Mozc 3.33.6133+ds1, Mozc package on debian has switched build
  system from GYP to Bazel.

  This has been a long-standing issue because there was no newer Bazel on unstable.
  With Bazel 7.7.1 on debian, finally migrated from GYP to Bazel.

  On the other hand, it took a considerable amount of effort to make offline builds possible.
  See debian/rules and debian/third_party/* in details.

- About src/third_party substitutions

  Mozc doesn't bundle src/third_party for released archive.
  Instead, designed to fetch via network dynamically.
  This is incompatible with Debian's packaging policy.
  Thus we need use system library or patch for Mozc.
  Uim Mozc, Fcitx5 Mozc, Material Icons, Usage dictionary and Zip code data are such things.

  The patch files for Usage dictionary and Zip code data should be updated periodically.

- About patch files:

  - uim-mozc

    Upstream of uim seems not active anymore, so maintaining with two patch:
    One is patch from upstream, you can re-generate with:

      git diff 8f031d688434..7beac7ba000e Mozc/uim Mozc/scm

    The others are for debian, they are aimed to fix FTBFS only and enable Bazel.

  - fcitx5-mozc

    Upstream of fcitx mozc is active, you can re-generate with:

      git diff --binary 96877d9b7a840a6d8c843bef04231dc46de17b4f..a8ddb92b3617f869b88fb6185b6c95cb0b8787ae \
        scripts src/unix/fcitx5 > 0002-Support-fcitx.patch

 -- Kentaro Hayashi <kenhys@xdump.org>, Sat, 18 Jul 2026 16:11:51 +0900
