Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mozc for openSUSE:Factory checked in at 2025-05-26 18:36:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozc (Old) and /work/SRC/openSUSE:Factory/.mozc.new.2732 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozc" Mon May 26 18:36:56 2025 rev:49 rq:1279901 version:2.31.5810.102 Changes: -------- --- /work/SRC/openSUSE:Factory/mozc/mozc.changes 2024-03-03 20:20:03.255421393 +0100 +++ /work/SRC/openSUSE:Factory/.mozc.new.2732/mozc.changes 2025-05-26 18:38:30.822926200 +0200 @@ -1,0 +2,73 @@ +Wed May 21 10:19:36 UTC 2025 - Fuminobu TAKEYAMA <ft...@geeko.jp> - 2.31.5810.102 + +- Upstream update to 2.31.5810.102 + * Added 部首 annotation to the description (#1165) + * Added OOV words like インティマシー, PFAS + * Added romaji conversion rule from "tch" to "っ + ch". + * Updated the Zip code data as-of 2025-03-08. + * Added ".tsv" files to the default dictionary file types of the + dictionary tool GUI + * Linux: fix the preedit string state when it's empty (#1174) + * Linux: fix configuration example for enabling JIS layout (#1237) +- Upstream update to 2.31.5712.102 + * Updated the LM dictionary + * Updated symbols (#1074, #1100) + * Updated emoji data to CLDR 46 (Emoji 16.0) + * Fixed conversion errors +- Upstream update to 2.30.5618.102 + * Updated zip code entries (#1063). + * Updated word entries (#1068, #1069) + * Linux: Enabled switching to the DIRECT mode from the menu (#1061) + * Linux: Enabled switching modes with Super+Space in Wayland + (#853, #1059) +- Upstream update to 2.30.5595.102 + * Added words based on the reports from contributors + * Updated the collocation data based on the reports from contributors +- Upstream update to 2.30.5544.102 + * Updated the word dictionary + * Added words based on the GitHub issues +- Upstream update to 2.30.5520.102 + * Improved the AD to Era conversion: "2024ねん" → "令和6年" + * Increased word vocabulary + * Updated the reading correction rules +- Upstream update to 2.30.5490.102 + * Added more symbol characters (#933) + * Added words of 対象内 / 対象外 by fixing the format error (#928) + * Fixed the crash issue on saving the user dictionary + * Fixed the crash issue on the debug build caused by converting + negative numbers (#878) +- Upstream update to 2.30.5448.102 + * Updated the word dictionary + * Improved the usability of era-to-ad conversion + (れいわ6ねん→2024年) + * Linux: Prevent executing multiple candidate windows (#912) +- Upstream update to 2.30.5432.102 + * Supported the conversion from "なう" to date/time + (i.e. 2024/12/31 23:59) + * Supported loading user dictionary files exported from Gboard + * Fixed voiced Katakana conversion from ゑ (ヸ → ヹ) + * Improved the about dialog with the dark mode (#897) + * Linux: Improved the candidate UI with HiDPI displays (#823) + * Remove ibus-mozc-candidate-window-qt-virtual-coordinate.patch + merged by the upstream +- Upstream update to 2.29.5400.102 + * Updated Emoji entries +- Upstream update to 2.29.5346.102 + * Updated the year to 2024 + * Added 歲 (U+6B72) as a 旧字体 of 歳 (U+6B73) (#860) + * Updated the Emoji version to 15.1 +- Upstream update to 2.29.5288.102 + * Updated the word dictionary + * Adjusted the conversion with suffix numbers (e.g. 後に vs あと2). +- Change the default Fcitx version to 5 for building +- Update fcitx-mozc + * Refresh fcitx-mozc-bazel-build.patch +- Fix file names of Fcitx5 icons + * Remove fcitx5-mozc-fix.patch +- Migrate to Bazel Module + * Remove add-sha256sum-for-zipcode-archives.patch + * Remove support-python-3.6.patch + * Add use-system-python.patch + * Add use-system-python-3.12.patch + +------------------------------------------------------------------- Old: ---- abseil-cpp-20230125.3.tar.gz add-sha256sum-for-zipcode-archives.patch add-sha256sum-for-zipcode-archives.patch.in bazel-rules-ruby-8fca842a.zip fcitx-mozc-fdf25583.tar.xz fcitx5-mozc-fix.patch ibus-mozc-candidate-window-qt-virtual-coordinate.patch japanese_usage_dictionary-r10.tar.xz jigyosyo.zip ken_all.zip make_archive.sh material-design-icons.tar.xz mozc-2.29.5268.102.tar.xz protobuf-24.2.tar.gz support-python-3.6.patch upb-ea4e825d.zip utf8_range-de0b4a8f.zip New: ---- MODULE.bazel.lock dependencies.tar fcitx-mozc-cf70daeb.tar.xz mozc-2.31.5810.102.tar.xz use-system-python-3.12.patch use-system-python.patch BETA DEBUG BEGIN: Old:- Migrate to Bazel Module * Remove add-sha256sum-for-zipcode-archives.patch * Remove support-python-3.6.patch Old:- Fix file names of Fcitx5 icons * Remove fcitx5-mozc-fix.patch - Migrate to Bazel Module Old: * Linux: Improved the candidate UI with HiDPI displays (#823) * Remove ibus-mozc-candidate-window-qt-virtual-coordinate.patch merged by the upstream Old: * Remove add-sha256sum-for-zipcode-archives.patch * Remove support-python-3.6.patch * Add use-system-python.patch BETA DEBUG END: BETA DEBUG BEGIN: New: * Add use-system-python.patch * Add use-system-python-3.12.patch New: * Remove support-python-3.6.patch * Add use-system-python.patch * Add use-system-python-3.12.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozc.spec ++++++ --- /var/tmp/diff_new_pack.cO8vzd/_old 2025-05-26 18:38:34.031060876 +0200 +++ /var/tmp/diff_new_pack.cO8vzd/_new 2025-05-26 18:38:34.055061884 +0200 @@ -1,7 +1,7 @@ # # spec file for package mozc # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %global flavor @BUILD_FLAVOR@%{nil} -%if "%flavor" == "fcitx5" -%define with_fcitx4 0 -%define with_fcitx5 1 -%define install_mozc 0 -%else +%if "%flavor" == "fcitx" %define with_fcitx4 1 %define with_fcitx5 0 +%define install_mozc 0 +%else +%define with_fcitx4 0 +%define with_fcitx5 1 %define install_mozc 1 %endif @@ -45,102 +45,45 @@ %define ibus_mozc_path %{_libdir}/ibus-mozc/ibus-engine-mozc %define ibus_mozc_icon_path %{_datadir}/ibus-mozc/mozc.png %define document_dir %{_docdir}/ibus-mozc -%define use_libprotobuf 0 -%define bz_cachdir %{_sourcedir}/BAZEL_CACHE -%define makebazelcache() mkdir -p %{bz_cachdir}/content_addressable/sha256/%{?2:%2}%{?!2:$(sha256sum %1 | cut -f 1 -d ' ')}/; cp %1 %{bz_cachdir}/content_addressable/sha256/%{?2:%2}%{?!2:$(sha256sum %1 | cut -f 1 -d ' ')}/file ; Name: mozc -Version: 2.29.5268.102 +Version: 2.31.5810.102 Release: 0 Summary: Mozc - Japanese Input Method for Chromium OS, Mac and Linux -License: Apache-2.0 AND BSD-3-Clause AND SUSE-Public-Domain +License: Apache-2.0 AND BSD-3-Clause AND SUSE-Public-Domain AND Zlib Group: System/I18n/Japanese ExcludeArch: ppc ppc64 s390 s390x %{ix86} URL: https://github.com/google/mozc -# Run ./make_archive.sh to make tar.xz removing third party files Source0: %{name}-%{version}.tar.xz Source1: README.SUSE +# See dependencies.tar/sbom.json for license information +# License: Apache-2.0 AND BSD-3-Clause AND Zlib AND SUSE-Public-Domain +Source2: dependencies.tar +Source3: MODULE.bazel.lock Source4: ibus-setup-mozc-jp.desktop.in # -# svn export http://japanese-usage-dictionary.googlecode.com/svn/trunk/@r10 -# japanese-usage-dictionary -# License: BSD-2-Clause -Source5: japanese_usage_dictionary-r10.tar.xz -# protobuf (without third party code) -# License: BSD-3-Clause -# -# Bazel requires static protobuf -Source6: https://github.com/protocolbuffers/protobuf/releases/download/v24.2/protobuf-24.2.tar.gz -# abseil cpp -# License: Apache-2.0 -# https://github.com/abseil/abseil-cpp/archive/refs/tags/20230125.3.tar.gz -Source7: abseil-cpp-20230125.3.tar.gz -# -# jigyosyo.zip and ken_all.zip are zip-code--address data provided by -# Japan Post Co., Ltd. -# License: SUSE-Public-Domain -# Run ./make_archive.sh to download the latest files -Source10: jigyosyo.zip -Source11: ken_all.zip -# material design icons -# License: Apache-2.0 -Source12: material-design-icons.tar.xz # # add fcitx as mozc module # License: BSD-3-Clause # https://github.com/fcitx/mozc/tree/fcitx/src/unix/fcitx{,5} # Run ./make_archive.sh to make tar.xz %if %{with_fcitx4} || %{with_fcitx5} -Source20: fcitx-mozc-fdf25583.tar.xz +Source20: fcitx-mozc-cf70daeb.tar.xz Source21: fcitx-mozc-icons.tar.gz Patch20: fcitx-mozc-bazel-build.patch %endif -# -# Protobuf dependencies -# protocolbuffers/bazel-rules-ruby -# License: Apache-2.0 -# https://github.com/protocolbuffers/rules_ruby/archive/8fca842a3006c3d637114aba4f6bf9695bb3a432.zip -Source31: bazel-rules-ruby-8fca842a.zip -# License: BSD-3-Clause -# https://github.com/protocolbuffers/upb/archive/ea4e825d22c9ae0031d59ec5e86dc85bb50cbbcb.zip -Source32: upb-ea4e825d.zip -# License: MIT -# https://github.com/protocolbuffers/utf8_range/archive/de0b4a8ff9b5d4c98108bdfe723291a33c52c54f.zip -Source33: utf8_range-de0b4a8f.zip - -# A script for making a source tar.xz archive -Source100: make_archive.sh -Source101: add-sha256sum-for-zipcode-archives.patch.in # PATCH-FEATURE-OPENSUSE ft...@geeko.jp Patch1: ibus-provide-layout-variations.patch -# PATCH-FIX-OPENSUSE fcitx5-mozc-fix.patch ti...@suse.de -- Fix config of fcitx5-mozc -Patch9: fcitx5-mozc-fix.patch -# PATCH-FIX-OPENSUSE add-sha256sum-for-zipcode-archives.patch ft...@geeko.jp -- to avoid download -# generated by ./make_archive.sh -Patch10: add-sha256sum-for-zipcode-archives.patch -# PATCH-FIX-OPENSUSE support-python-3.6.patch ft...@geeko.jp -- Enable to build with Python 3.6 -Patch11: support-python-3.6.patch -# PATCH-FIX-UPSTREAM ibus-mozc-candidate-window-qt-virtual-coordinate.patch -- Fix Qt6 coordinate issue -Patch12: ibus-mozc-candidate-window-qt-virtual-coordinate.patch - -BuildRequires: bazel-apple-support-source -BuildRequires: bazel-rules-android-ndk-source -BuildRequires: bazel-rules-apple-0_32-source -BuildRequires: bazel-rules-cc-source -BuildRequires: bazel-rules-java-source -BuildRequires: bazel-rules-pkg-source -BuildRequires: bazel-rules-proto-source -BuildRequires: bazel-rules-python-source -BuildRequires: bazel-rules-swift-source -BuildRequires: bazel-skylib-source -BuildRequires: bazel-workspaces -BuildRequires: bazel6 +# PATCH-FEATURE-OPENSUSE ft...@geeko.jp -- Use system python while building +Patch2: use-system-python.patch +# PATCH-FEATURE-OPENSUSE ft...@geeko.jp -- Use system python while building (for Leap 15) +Patch3: use-system-python-3.12.patch + +BuildRequires: bazel8 %if 0%{?suse_version} == 1500 BuildRequires: gcc10-c++ -%endif -%if %{use_libprotobuf} -BuildRequires: protobuf-devel +BuildRequires: python312 %endif BuildRequires: unzip BuildRequires: update-desktop-files @@ -230,31 +173,16 @@ %patch -P 1 -p1 cp %{SOURCE1} . - -# install third_party files -cd src/third_party -# japanese_usage_dictionary -tar xvf %{SOURCE5} -# protobuf -%if ! %{use_libprotobuf} -mkdir protobuf -tar xvf %{SOURCE6} -C protobuf --strip-components 1 -%endif -# abseil -mkdir abseil-cpp -tar xvf %{SOURCE7} -C abseil-cpp --strip-components 1 -cd ../.. - -%if %{with_fcitx5} -%patch -P 9 -p1 -%endif -%patch -P 10 -p1 +cp %{SOURCE3} src %if 0%{?suse_version} == 1500 -%patch -P 11 -p1 +%patch -P 3 -p1 +%else +%patch -P 2 -p1 %endif -%patch -P 12 -p1 +# extract dependencies +tar xf %{SOURCE2} # fix installation, library and header path sed -e 's|@libdir@|%{_libdir}|g' %{SOURCE4} > ibus-setup-mozc-jp.desktop @@ -264,18 +192,6 @@ sed -i -e 's|^\(IBUS_MOZC_PATH = \).*|\1 "%{_libdir}/ibus-mozc/ibus-engine-mozc"|' src/config.bzl sed -i -e 's|^\(IBUS_MOZC_ICON_PATH = \).*|\1 "%{ibus_mozc_icon_path}"|' src/config.bzl -echo build --override_repository="rules_python=/usr/src/bazel-rules-python" >> src/.bazelrc -echo build --override_repository="rules_cc=/usr/src/bazel-rules-cc" >> src/.bazelrc -echo build --override_repository="rules_java=/usr/src/bazel-rules-java" >> src/.bazelrc -echo build --override_repository="rules_proto=/usr/src/bazel-rules-proto" >> src/.bazelrc -echo build --override_repository="build_bazel_rules_apple=/usr/src/bazel-rules-apple-0_32" >> src/.bazelrc -echo build --override_repository="build_bazel_apple_support=/usr/src/bazel-apple-support" >> src/.bazelrc -echo build --override_repository="build_bazel_rules_swift=/usr/src/bazel-rules-swift" >> src/.bazelrc -echo build --override_repository="bazel_skylib=/usr/src/bazel-skylib" >> src/.bazelrc -echo build --override_repository="zlib=/usr/share/bazel-workspaces/zlib" >> src/.bazelrc -echo build --override_repository="rules_android_ndk=/usr/src/bazel-rules-android-ndk" >> src/.bazelrc -echo build --override_repository="rules_pkg=/usr/src/bazel-rules-pkg" >> src/.bazelrc - # set compile options from distribution for f in %{optflags}; do case $f in @@ -284,22 +200,6 @@ esac done -# prepare zip code dictionary -%makebazelcache %{SOURCE10} -%makebazelcache %{SOURCE11} -%makebazelcache %{SOURCE31} -%makebazelcache %{SOURCE32} -%makebazelcache %{SOURCE33} - -# icons -tar xvf %{SOURCE12} -%makebazelcache material-design-icons/dictionary.png -%makebazelcache material-design-icons/dictionary.svg -%makebazelcache material-design-icons/properties.png -%makebazelcache material-design-icons/properties.svg -%makebazelcache material-design-icons/tool.png -%makebazelcache material-design-icons/tool.svg - %build cd src @@ -319,7 +219,7 @@ %if %{with_fcitx5} "//unix/fcitx5:fcitx5-mozc.so" \ %endif - --repository_cache=%{bz_cachdir} \ + --repository_cache=../dependencies \ --config oss_linux \ -c opt \ --force_pic \ @@ -410,37 +310,36 @@ install -m755 -d %{buildroot}%{fcitx5_addon_dir} install -m755 -d %{buildroot}%{fcitx5_inputmethod_dir} install -m755 -d %{buildroot}%{fcitx5_lib_dir} -install -m 755 %{output_dir}/unix/fcitx5/fcitx5-mozc.so %{buildroot}%{fcitx5_lib_dir}/mozc.so +install -m 755 %{output_dir}/unix/fcitx5/fcitx5-mozc.so %{buildroot}%{fcitx5_lib_dir}/fcitx5-mozc.so install -m 644 src/unix/fcitx5/mozc-addon.conf %{buildroot}%{fcitx5_addon_dir}/mozc.conf install -m 644 src/unix/fcitx5/mozc.conf %{buildroot}%{fcitx5_inputmethod_dir} unzip -d icons %{output_dir}/unix/icons.zip -install -D -m 644 src/data/images/product_icon_32bpp-128.png "%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/org.fcitx.Fcitx5.fcitx-mozc.png" -install -D -m 644 src/data/images/unix/ime_product_icon_opensource-32.png "%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/org.fcitx.Fcitx5.fcitx-mozc.png" -install -D -m 644 icons/mozc.svg "%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-mozc.svg" -install -D -m 644 icons/alpha_full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-alpha-full.png" -install -D -m 644 icons/alpha_half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-alpha-half.png" -install -D -m 644 icons/direct.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-direct.png" -install -D -m 644 icons/hiragana.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-hiragana.png" -install -D -m 644 icons/katakana_full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-katakana-full.png" -install -D -m 644 icons/katakana_half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-katakana-half.png" -install -D -m 644 icons/dictionary.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-dictionary.png" -install -D -m 644 icons/properties.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-properties.png" -install -D -m 644 icons/tool.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-mozc-tool.png" - -ln -sf org.fcitx.Fcitx5.fcitx-mozc.png "%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/fcitx-mozc.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc.png "%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/fcitx-mozc.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc.svg "%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/fcitx-mozc.svg" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-alpha-full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-alpha-full.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-alpha-half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-alpha-half.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-direct.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-direct.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-hiragana.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-hiragana.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-katakana-full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-katakana-full.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-katakana-half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-katakana-half.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-dictionary.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-dictionary.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-properties.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-properties.png" -ln -sf org.fcitx.Fcitx5.fcitx-mozc-tool.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx-mozc-tool.png" - +install -D -m 644 src/data/images/product_icon_32bpp-128.png "%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/org.fcitx.Fcitx5.fcitx_mozc.png" +install -D -m 644 src/data/images/unix/ime_product_icon_opensource-32.png "%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/org.fcitx.Fcitx5.fcitx_mozc.png" +install -D -m 644 icons/mozc.svg "%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx_mozc.svg" +install -D -m 644 icons/alpha_full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_alpha_full.png" +install -D -m 644 icons/alpha_half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_alpha_half.png" +install -D -m 644 icons/direct.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_direct.png" +install -D -m 644 icons/hiragana.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_hiragana.png" +install -D -m 644 icons/katakana_full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_katakana_full.png" +install -D -m 644 icons/katakana_half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_katakana_half.png" +install -D -m 644 icons/dictionary.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_dictionary.png" +install -D -m 644 icons/properties.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_properties.png" +install -D -m 644 icons/tool.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx_mozc_tool.png" + +ln -sf org.fcitx.Fcitx5.fcitx_mozc.png "%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/fcitx_mozc.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc.png "%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/fcitx_mozc.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc.svg "%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/fcitx_mozc.svg" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_alpha_full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_alpha_full.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_alpha_half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_alpha_half.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_direct.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_direct.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_hiragana.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_hiragana.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_katakana_full.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_katakana_full.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_katakana_half.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_katakana_half.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_dictionary.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_dictionary.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_properties.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_properties.png" +ln -sf org.fcitx.Fcitx5.fcitx_mozc_tool.png "%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/fcitx_mozc_tool.png" %endif %if %{install_mozc} @@ -483,7 +382,6 @@ %files -n ibus-mozc %defattr(-, root, root) -%license material-design-icons/LICENSE-material-design-icons %dir %{_libdir}/ibus-mozc/ %{_libdir}/ibus-mozc/ibus-engine-mozc %{_datadir}/applications/ibus-setup-mozc-jp.desktop @@ -525,7 +423,7 @@ %files -n fcitx5-mozc -f fcitx5-mozc.lang %defattr(-,root,root) -%{fcitx5_lib_dir}/mozc.so +%{fcitx5_lib_dir}/fcitx5-mozc.so %{fcitx5_addon_dir}/mozc.conf %dir %{fcitx5_inputmethod_dir} %{fcitx5_inputmethod_dir}/mozc.conf ++++++ MODULE.bazel.lock ++++++ { "lockFileVersion": 16, "registryFileHashes": { "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", "https://bcr.bazel.build/modules/abseil-cpp/20230125.1/MODULE.bazel": "89047429cb0207707b2dface14ba7f8df85273d484c2572755be4bab7ce9c3a0", "https://bcr.bazel.build/modules/abseil-cpp/20230802.0.bcr.1/MODULE.bazel": "1c8cec495288dccd14fdae6e3f95f772c1c91857047a098fad772034264cc8cb", "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/MODULE.bazel": "d253ae36a8bd9ee3c5955384096ccb6baf16a1b1e93e858370da0a3b94f77c16", "https://bcr.bazel.build/modules/abseil-cpp/20230802.1/MODULE.bazel": "fa92e2eb41a04df73cdabeec37107316f7e5272650f81d6cc096418fe647b915", "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", "https://bcr.bazel.build/modules/abseil-cpp/20240116.2/MODULE.bazel": "73939767a4686cd9a520d16af5ab440071ed75cec1a876bf2fcfaf1f71987a16", "https://bcr.bazel.build/modules/abseil-cpp/20250127.0/MODULE.bazel": "d1086e248cda6576862b4b3fe9ad76a214e08c189af5b42557a6e1888812c5d5", "https://bcr.bazel.build/modules/abseil-cpp/20250127.0/source.json": "1b996859f840d8efc7c720efc61dcf2a84b1261cb3974cbbe9b6666ebf567775", "https://bcr.bazel.build/modules/apple_support/1.11.1/MODULE.bazel": "1843d7cd8a58369a444fc6000e7304425fba600ff641592161d9f15b179fb896", "https://bcr.bazel.build/modules/apple_support/1.15.1/MODULE.bazel": "a0556fefca0b1bb2de8567b8827518f94db6a6e7e7d632b4c48dc5f865bc7c85", "https://bcr.bazel.build/modules/apple_support/1.16.0/MODULE.bazel": "e785295d21ccab339c3af131752bfbe50fc33dd8215b357492d05bfad0232400", "https://bcr.bazel.build/modules/apple_support/1.16.0/source.json": "c9b56c85f6f9136ceacaa248565fbfb86686ab37a097a7e32d93f6822f21083b", "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel": "27b8c79ef57efe08efccbd9dd6ef70d61b4798320b8d3c134fd571f78963dbcd", "https://bcr.bazel.build/modules/bazel_features/1.10.0/MODULE.bazel": "f75e8807570484a99be90abcd52b5e1f390362c258bcb73106f4544957a48101", "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", "https://bcr.bazel.build/modules/bazel_features/1.15.0/MODULE.bazel": "d38ff6e517149dc509406aca0db3ad1efdd890a85e049585b7234d04238e2a4d", "https://bcr.bazel.build/modules/bazel_features/1.17.0/MODULE.bazel": "039de32d21b816b47bd42c778e0454217e9c9caac4a3cf8e15c7231ee3ddee4d", "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", "https://bcr.bazel.build/modules/bazel_features/1.21.0/source.json": "3e8379efaaef53ce35b7b8ba419df829315a880cb0a030e5bb45c96d6d5ecb5f", "https://bcr.bazel.build/modules/bazel_features/1.3.0/MODULE.bazel": "cdcafe83ec318cda34e02948e81d790aab8df7a929cec6f6969f13a489ccecd9", "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", "https://bcr.bazel.build/modules/bazel_skylib/1.2.0/MODULE.bazel": "44fe84260e454ed94ad326352a698422dbe372b21a1ac9f3eab76eb531223686", "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", "https://bcr.bazel.build/modules/bazel_skylib/1.4.2/MODULE.bazel": "3bd40978e7a1fac911d5989e6b09d8f64921865a45822d8b09e815eaa726a651", "https://bcr.bazel.build/modules/bazel_skylib/1.5.0/MODULE.bazel": "32880f5e2945ce6a03d1fbd588e9198c0a959bb42297b2cfaf1685b7bc32e138", "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", "https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d", "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", "https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f", "https://bcr.bazel.build/modules/googletest/1.15.2/MODULE.bazel": "6de1edc1d26cafb0ea1a6ab3f4d4192d91a312fd2d360b63adaa213cd00b2108", "https://bcr.bazel.build/modules/googletest/1.15.2/source.json": "dbdda654dcb3a0d7a8bc5d0ac5fc7e150b58c2a986025ae5bc634bb2cb61f470", "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d", "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902", "https://bcr.bazel.build/modules/nlohmann_json/3.6.1/MODULE.bazel": "6f7b417dcc794d9add9e556673ad25cb3ba835224290f4f848f8e2db1e1fca74", "https://bcr.bazel.build/modules/nlohmann_json/3.6.1/source.json": "f448c6e8963fdfa7eb831457df83ad63d3d6355018f6574fb017e8169deb43a9", "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d", "https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df", "https://bcr.bazel.build/modules/protobuf/29.0-rc3/MODULE.bazel": "33c2dfa286578573afc55a7acaea3cada4122b9631007c594bf0729f41c8de92", "https://bcr.bazel.build/modules/protobuf/29.0/MODULE.bazel": "319dc8bf4c679ff87e71b1ccfb5a6e90a6dbc4693501d471f48662ac46d04e4e", "https://bcr.bazel.build/modules/protobuf/29.3/MODULE.bazel": "77480eea5fb5541903e49683f24dc3e09f4a79e0eea247414887bb9fc0066e94", "https://bcr.bazel.build/modules/protobuf/29.3/source.json": "c460e6550ddd24996232c7542ebf201f73c4e01d2183a31a041035fb50f19681", "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", "https://bcr.bazel.build/modules/pybind11_bazel/2.12.0/MODULE.bazel": "e6f4c20442eaa7c90d7190d8dc539d0ab422f95c65a57cc59562170c58ae3d34", "https://bcr.bazel.build/modules/pybind11_bazel/2.12.0/source.json": "6900fdc8a9e95866b8c0d4ad4aba4d4236317b5c1cd04c502df3f0d33afed680", "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel": "cb3d511531b16cfc78a225a9e2136007a48cf8a677e4264baeab57fe78a80206", "https://bcr.bazel.build/modules/re2/2024-07-02.bcr.1/MODULE.bazel": "b4963dda9b31080be1905ef085ecd7dd6cd47c05c79b9cdf83ade83ab2ab271a", "https://bcr.bazel.build/modules/re2/2024-07-02.bcr.1/source.json": "2ff292be6ef3340325ce8a045ecc326e92cbfab47c7cbab4bd85d28971b97ac4", "https://bcr.bazel.build/modules/re2/2024-07-02/MODULE.bazel": "0eadc4395959969297cbcf31a249ff457f2f1d456228c67719480205aa306daa", "https://bcr.bazel.build/modules/rules_android/0.1.1/MODULE.bazel": "48809ab0091b07ad0182defb787c4c5328bd3a278938415c00a7b69b50c4d3a8", "https://bcr.bazel.build/modules/rules_android/0.1.1/source.json": "e6986b41626ee10bdc864937ffb6d6bf275bb5b9c65120e6137d56e6331f089e", "https://bcr.bazel.build/modules/rules_android_ndk/0.1.3/MODULE.bazel": "3ca2a6bf93e33c696e0393ef86698d155f1b8c6f72e7418b782690a75bc1ab99", "https://bcr.bazel.build/modules/rules_android_ndk/0.1.3/source.json": "2cc34cc412da45b81c82168252b8d347e108a62607b98a80afdf5f3787bc7cc0", "https://bcr.bazel.build/modules/rules_apple/3.16.1/MODULE.bazel": "8294474defa70af2534a558ab905c083d69203344145e6f7d544d5098611ec7d", "https://bcr.bazel.build/modules/rules_apple/3.16.1/source.json": "9190fd9d34a5d048bfbba8a530a57f2c2bf3f61e5634a9ab0b6ab005458857f9", "https://bcr.bazel.build/modules/rules_cc/0.0.17/MODULE.bazel": "2ae1d8f4238ec67d7185d8861cb0a2cdf4bc608697c331b95bf990e69b62e64a", "https://bcr.bazel.build/modules/rules_cc/0.0.17/source.json": "4db99b3f55c90ab28d14552aa0632533e3e8e5e9aea0f5c24ac0014282c2a7c5", "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/source.json": "c8b1e2c717646f1702290959a3302a178fb639d987ab61d548105019f11e527e", "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", "https://bcr.bazel.build/modules/rules_java/5.3.5/MODULE.bazel": "a4ec4f2db570171e3e5eb753276ee4b389bae16b96207e9d3230895c99644b86", "https://bcr.bazel.build/modules/rules_java/6.0.0/MODULE.bazel": "8a43b7df601a7ec1af61d79345c17b31ea1fedc6711fd4abfd013ea612978e39", "https://bcr.bazel.build/modules/rules_java/6.4.0/MODULE.bazel": "e986a9fe25aeaa84ac17ca093ef13a4637f6107375f64667a15999f77db6c8f6", "https://bcr.bazel.build/modules/rules_java/6.5.2/MODULE.bazel": "1d440d262d0e08453fa0c4d8f699ba81609ed0e9a9a0f02cd10b3e7942e61e31", "https://bcr.bazel.build/modules/rules_java/7.10.0/MODULE.bazel": "530c3beb3067e870561739f1144329a21c851ff771cd752a49e06e3dc9c2e71a", "https://bcr.bazel.build/modules/rules_java/7.12.2/MODULE.bazel": "579c505165ee757a4280ef83cda0150eea193eed3bef50b1004ba88b99da6de6", "https://bcr.bazel.build/modules/rules_java/7.2.0/MODULE.bazel": "06c0334c9be61e6cef2c8c84a7800cef502063269a5af25ceb100b192453d4ab", "https://bcr.bazel.build/modules/rules_java/7.3.2/MODULE.bazel": "50dece891cfdf1741ea230d001aa9c14398062f2b7c066470accace78e412bc2", "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", "https://bcr.bazel.build/modules/rules_java/8.3.2/MODULE.bazel": "7336d5511ad5af0b8615fdc7477535a2e4e723a357b6713af439fe8cf0195017", "https://bcr.bazel.build/modules/rules_java/8.5.1/MODULE.bazel": "d8a9e38cc5228881f7055a6079f6f7821a073df3744d441978e7a43e20226939", "https://bcr.bazel.build/modules/rules_java/8.6.1/MODULE.bazel": "f4808e2ab5b0197f094cabce9f4b006a27766beb6a9975931da07099560ca9c2", "https://bcr.bazel.build/modules/rules_java/8.6.1/source.json": "f18d9ad3c4c54945bf422ad584fa6c5ca5b3116ff55a5b1bc77e5c1210be5960", "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7", "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel": "33f6f999e03183f7d088c9be518a63467dfd0be94a11d0055fe2d210f89aa909", "https://bcr.bazel.build/modules/rules_jvm_external/5.3/MODULE.bazel": "bf93870767689637164657731849fb887ad086739bd5d360d90007a581d5527d", "https://bcr.bazel.build/modules/rules_jvm_external/6.1/MODULE.bazel": "75b5fec090dbd46cf9b7d8ea08cf84a0472d92ba3585b476f44c326eda8059c4", "https://bcr.bazel.build/modules/rules_jvm_external/6.3/MODULE.bazel": "c998e060b85f71e00de5ec552019347c8bca255062c990ac02d051bb80a38df0", "https://bcr.bazel.build/modules/rules_jvm_external/6.3/source.json": "6f5f5a5a4419ae4e37c35a5bb0a6ae657ed40b7abc5a5189111b47fcebe43197", "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel": "ef85697305025e5a61f395d4eaede272a5393cee479ace6686dba707de804d59", "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/MODULE.bazel": "d269a01a18ee74d0335450b10f62c9ed81f2321d7958a2934e44272fe82dcef3", "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/source.json": "2faa4794364282db7c06600b7e5e34867a564ae91bda7cae7c29c64e9466b7d5", "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", "https://bcr.bazel.build/modules/rules_license/1.0.0/MODULE.bazel": "a7fda60eefdf3d8c827262ba499957e4df06f659330bbe6cdbdb975b768bb65c", "https://bcr.bazel.build/modules/rules_license/1.0.0/source.json": "a52c89e54cc311196e478f8382df91c15f7a2bfdf4c6cd0e2675cc2ff0b56efb", "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", "https://bcr.bazel.build/modules/rules_pkg/1.0.1/MODULE.bazel": "5b1df97dbc29623bccdf2b0dcd0f5cb08e2f2c9050aab1092fd39a41e82686ff", "https://bcr.bazel.build/modules/rules_pkg/1.0.1/source.json": "bd82e5d7b9ce2d31e380dd9f50c111d678c3bdaca190cb76b0e1c71b05e1ba8a", "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc1/MODULE.bazel": "1e5b502e2e1a9e825eef74476a5a1ee524a92297085015a052510b09a1a09483", "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", "https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2", "https://bcr.bazel.build/modules/rules_proto/7.0.2/source.json": "1e5e7260ae32ef4f2b52fd1d0de8d03b606a44c91b694d2f1afb1d3b28a48ce1", "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel": "49ffccf0511cb8414de28321f5fcf2a31312b47c40cc21577144b7447f2bf300", "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel": "72f1506841c920a1afec76975b35312410eea3aa7b63267436bfb1dd91d2d382", "https://bcr.bazel.build/modules/rules_python/0.28.0/MODULE.bazel": "cba2573d870babc976664a912539b320cbaa7114cd3e8f053c720171cde331ed", "https://bcr.bazel.build/modules/rules_python/0.31.0/MODULE.bazel": "93a43dc47ee570e6ec9f5779b2e64c1476a6ce921c48cc9a1678a91dd5f8fd58", "https://bcr.bazel.build/modules/rules_python/0.33.2/MODULE.bazel": "3e036c4ad8d804a4dad897d333d8dce200d943df4827cb849840055be8d2e937", "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", "https://bcr.bazel.build/modules/rules_python/0.40.0/MODULE.bazel": "9d1a3cd88ed7d8e39583d9ffe56ae8a244f67783ae89b60caafc9f5cf318ada7", "https://bcr.bazel.build/modules/rules_python/1.0.0/MODULE.bazel": "898a3d999c22caa585eb062b600f88654bf92efb204fa346fb55f6f8edffca43", "https://bcr.bazel.build/modules/rules_python/1.0.0/source.json": "b0162a65c6312e45e7912e39abd1a7f8856c2c7e41ecc9b6dc688a6f6400a917", "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", "https://bcr.bazel.build/modules/rules_shell/0.2.0/source.json": "7f27af3c28037d9701487c4744b5448d26537cc66cdef0d8df7ae85411f8de95", "https://bcr.bazel.build/modules/rules_swift/1.16.0/MODULE.bazel": "4a09f199545a60d09895e8281362b1ff3bb08bbde69c6fc87aff5b92fcc916ca", "https://bcr.bazel.build/modules/rules_swift/2.1.1/MODULE.bazel": "494900a80f944fc7aa61500c2073d9729dff0b764f0e89b824eb746959bc1046", "https://bcr.bazel.build/modules/rules_swift/2.1.1/source.json": "40fc69dfaac64deddbb75bd99cdac55f4427d9ca0afbe408576a65428427a186", "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", "https://bcr.bazel.build/modules/stardoc/0.5.6/MODULE.bazel": "c43dabc564990eeab55e25ed61c07a1aadafe9ece96a4efabb3f8bf9063b71ef", "https://bcr.bazel.build/modules/stardoc/0.7.1/MODULE.bazel": "3548faea4ee5dda5580f9af150e79d0f6aea934fc60c1cc50f4efdd9420759e7", "https://bcr.bazel.build/modules/stardoc/0.7.2/MODULE.bazel": "fc152419aa2ea0f51c29583fab1e8c99ddefd5b3778421845606ee628629e0e5", "https://bcr.bazel.build/modules/stardoc/0.7.2/source.json": "58b029e5e901d6802967754adf0a9056747e8176f017cfe3607c0851f4d42216", "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.1/MODULE.bazel": "5e463fbfba7b1701d957555ed45097d7f984211330106ccd1352c6e0af0dcf91", "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.1/source.json": "32bd87e5f4d7acc57c5b2ff7c325ae3061d5e242c0c4c214ae87e0f1c13e54cb", "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79", "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d", "https://bcr.bazel.build/modules/zlib/1.3.1/MODULE.bazel": "751c9940dcfe869f5f7274e1295422a34623555916eb98c174c1e945594bf198" }, "selectedYankedVersions": {}, "moduleExtensions": { "@@apple_support+//crosstool:setup.bzl%apple_cc_configure_extension": { "general": { "bzlTransitiveDigest": "E4KngCUoTza2g7gnlkI30MMzTRojTiN/ySRAp2rCAV8=", "usagesDigest": "/vT9v1b6kasobC3DQXwMugPQfxZbWy1Q/IdH1Xh8zMs=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { "local_config_apple_cc_toolchains": { "repoRuleId": "@@apple_support+//crosstool:setup.bzl%_apple_cc_autoconf_toolchains", "attributes": {} }, "local_config_apple_cc": { "repoRuleId": "@@apple_support+//crosstool:setup.bzl%_apple_cc_autoconf", "attributes": {} } }, "recordedRepoMappingEntries": [ [ "apple_support+", "bazel_tools", "bazel_tools" ], [ "bazel_tools", "rules_cc", "rules_cc+" ] ] } }, "@@platforms//host:extension.bzl%host_platform": { "general": { "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", "usagesDigest": "SeQiIN/f8/Qt9vYQk7qcXp4I4wJeEC0RnQDiaaJ4tb8=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { "host_platform": { "repoRuleId": "@@platforms//host:extension.bzl%host_platform_repo", "attributes": {} } }, "recordedRepoMappingEntries": [] } }, "@@rules_android_ndk+//:extension.bzl%android_ndk_repository_extension": { "general": { "bzlTransitiveDigest": "4K3NvWCwECHmC0Y1OR9iJwYmMvl6qI0W2Iz9PS9JMKU=", "usagesDigest": "yueH/fMLPj+xNgJzNPq9fFN+HkDCtGZu0WrBvrjMpPc=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { "androidndk": { "repoRuleId": "@@rules_android_ndk+//:rules.bzl%android_ndk_repository", "attributes": { "api_level": 0, "path": "$WORKSPACE_ROOT/third_party/ndk/android-ndk-r28" } } }, "recordedRepoMappingEntries": [] } }, "@@rules_java+//java:rules_java_deps.bzl%compatibility_proxy": { "general": { "bzlTransitiveDigest": "84xJEZ1jnXXwo8BXMprvBm++rRt4jsTu9liBxz0ivps=", "usagesDigest": "jTQDdLDxsS43zuRmg1faAjIEPWdLAbDAowI1pInQSoo=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { "compatibility_proxy": { "repoRuleId": "@@rules_java+//java:rules_java_deps.bzl%_compatibility_proxy_repo_rule", "attributes": {} } }, "recordedRepoMappingEntries": [ [ "rules_java+", "bazel_tools", "bazel_tools" ] ] } }, "@@rules_kotlin+//src/main/starlark/core/repositories:bzlmod_setup.bzl%rules_kotlin_extensions": { "general": { "bzlTransitiveDigest": "sFhcgPbDQehmbD1EOXzX4H1q/CD5df8zwG4kp4jbvr8=", "usagesDigest": "QI2z8ZUR+mqtbwsf2fLqYdJAkPOHdOV+tF2yVAUgRzw=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { "com_github_jetbrains_kotlin_git": { "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:compiler.bzl%kotlin_compiler_git_repository", "attributes": { "urls": [ "https://github.com/JetBrains/kotlin/releases/download/v1.9.23/kotlin-compiler-1.9.23.zip" ], "sha256": "93137d3aab9afa9b27cb06a824c2324195c6b6f6179d8a8653f440f5bd58be88" } }, "com_github_jetbrains_kotlin": { "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:compiler.bzl%kotlin_capabilities_repository", "attributes": { "git_repository_name": "com_github_jetbrains_kotlin_git", "compiler_version": "1.9.23" } }, "com_github_google_ksp": { "repoRuleId": "@@rules_kotlin+//src/main/starlark/core/repositories:ksp.bzl%ksp_compiler_plugin_repository", "attributes": { "urls": [ "https://github.com/google/ksp/releases/download/1.9.23-1.0.20/artifacts.zip" ], "sha256": "ee0618755913ef7fd6511288a232e8fad24838b9af6ea73972a76e81053c8c2d", "strip_version": "1.9.23-1.0.20" } }, "com_github_pinterest_ktlint": { "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_file", "attributes": { "sha256": "01b2e0ef893383a50dbeb13970fe7fa3be36ca3e83259e01649945b09d736985", "urls": [ "https://github.com/pinterest/ktlint/releases/download/1.3.0/ktlint" ], "executable": true } }, "rules_android": { "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive", "attributes": { "sha256": "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806", "strip_prefix": "rules_android-0.1.1", "urls": [ "https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip" ] } } }, "recordedRepoMappingEntries": [ [ "rules_kotlin+", "bazel_tools", "bazel_tools" ] ] } } } } ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.cO8vzd/_old 2025-05-26 18:38:34.447078341 +0200 +++ /var/tmp/diff_new_pack.cO8vzd/_new 2025-05-26 18:38:34.479079684 +0200 @@ -1,4 +1,4 @@ <multibuild> - <package>fcitx5</package> + <package>fcitx</package> </multibuild> ++++++ fcitx-mozc-bazel-build.patch ++++++ --- /var/tmp/diff_new_pack.cO8vzd/_old 2025-05-26 18:38:34.591084386 +0200 +++ /var/tmp/diff_new_pack.cO8vzd/_new 2025-05-26 18:38:34.615085394 +0200 @@ -1,59 +1,49 @@ -diff -ruN a/src/BUILD.fcitx.bazel b/src/BUILD.fcitx.bazel ---- a/src/BUILD.fcitx.bazel 1970-01-01 09:00:00.000000000 +0900 -+++ b/src/BUILD.fcitx.bazel 2023-04-13 23:45:01.175952717 +0900 -@@ -0,0 +1,29 @@ -+# revert 2154ebe -+ -+package( -+ default_visibility = ["//visibility:public"], -+) -+ -+# This rule is created from pkg-config -+# -+# packages="fcitx" -+# copts, hdrs, indludes: pkg-config --cflags $packages -+# linkopts: pkg-config --libs-only-l $packages -+ -+cc_library( -+ name = "fcitx", -+ hdrs = glob([ -+ "include/fcitx/**", -+ "include/fcitx-config/**", -+ "include/fcitx-utils/**", -+ ]), -+ copts = ["-pthread"], -+ includes = [ -+ "include", -+ ], -+ linkopts = [ -+ "-lfcitx-core", -+ "-lfcitx-config", -+ "-lfcitx-utils", -+ ], -+) -diff -ruN a/src/WORKSPACE.bazel b/src/WORKSPACE.bazel ---- a/src/WORKSPACE.bazel 2023-04-13 23:40:49.927487544 +0900 -+++ b/src/WORKSPACE.bazel 2023-04-13 23:41:42.676424993 +0900 -@@ -70,6 +70,21 @@ - packages = ["glib-2.0", "gobject-2.0", "ibus-1.0"], +diff --git a/src/MODULE.bazel b/src/MODULE.bazel +index e432cdd16..fa57692f8 100644 +--- a/src/MODULE.bazel ++++ b/src/MODULE.bazel +@@ -171,6 +171,23 @@ pkg_config_repository( + ], ) +# Fcitx -+# pkg_config_repository does not work because pkgconfig --cflags-only-I fcitx returns nothing +new_local_repository( -+ name = "fcitx", -+ # This path should be updated per the environment. -+ path = "/usr", # For Debian -+ build_file = "BUILD.fcitx.bazel", ++ name = "fcitx", ++ build_file = "BUILD.fcitx.bazel", ++ # This path should be updated per the environment. ++ path = "/usr", # For Debian +) + +# Fcitx 5 +pkg_config_repository( -+ name = "fcitx5", -+ packages = ["Fcitx5Module", "Fcitx5Core"], ++ name = "fcitx5", ++ packages = [ ++ "Fcitx5Core", ++ "Fcitx5Module", ++ ], +) + - # Japanese Usage Dictionary - new_local_repository( - name = "ja_usage_dict", + # Qt for Linux + pkg_config_repository( + name = "qt_linux", +diff --git a/src/session/BUILD.bazel b/src/session/BUILD.bazel +index b813385b8..9a4c1b0fe 100644 +--- a/src/session/BUILD.bazel ++++ b/src/session/BUILD.bazel +@@ -158,6 +158,7 @@ mozc_cc_library( + "//android/jni:__pkg__", + "//ios:__pkg__", + "//server:__pkg__", ++ "//unix/fcitx5:__pkg__", + ], + deps = [ + ":keymap", +@@ -355,6 +356,7 @@ mozc_cc_library( + hdrs = ["key_info_util.h"], + visibility = [ + "//client:__pkg__", ++ "//unix/fcitx5:__pkg__", + "//win32/base:__pkg__", + ], + deps = [ ++++++ fcitx-mozc-fdf25583.tar.xz -> fcitx-mozc-cf70daeb.tar.xz ++++++ ++++ 3656 lines of diff (skipped) ++++++ mozc-2.29.5268.102.tar.xz -> mozc-2.31.5810.102.tar.xz ++++++ /work/SRC/openSUSE:Factory/mozc/mozc-2.29.5268.102.tar.xz /work/SRC/openSUSE:Factory/.mozc.new.2732/mozc-2.31.5810.102.tar.xz differ: char 25, line 1 ++++++ use-system-python-3.12.patch ++++++ diff --git a/src/MODULE.bazel b/src/MODULE.bazel index e432cdd16..a2019fd48 100644 --- a/src/MODULE.bazel +++ b/src/MODULE.bazel @@ -314,3 +314,5 @@ http_archive( sha256 = "1c56e79ff4c7f709778e0bf4dfbffdf939efd170845feccae986d22cf4373988", url = "https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/6ece210081fb73d0ea4a5ea8e13ac9584d03fd76/jigyosyo.zip", ) + +register_toolchains("//python_toolchain:all") diff --git a/src/python_toolchain/BUILD.bazel b/src/python_toolchain/BUILD.bazel new file mode 100644 index 000000000..7e27670ea --- /dev/null +++ b/src/python_toolchain/BUILD.bazel @@ -0,0 +1,39 @@ +package(default_visibility = ["//visibility:public"]) + +load("@rules_python//python/cc:py_cc_toolchain.bzl", "py_cc_toolchain") +load("@rules_python//python:py_exec_tools_toolchain.bzl", "py_exec_tools_toolchain") +load("@rules_python//python:py_runtime.bzl", "py_runtime") +load("@rules_python//python:py_runtime_pair.bzl", "py_runtime_pair") + +py_runtime( + name = "runtime", + interpreter_path = "/usr/bin/python3.12", + python_version = "PY3", +) + +py_runtime_pair( + name = "runtime_pair", + py3_runtime = ":runtime", +) + +py_exec_tools_toolchain( + name = "exec_tools_toolchain_impl", + exec_interpreter = None, +) + +toolchain( + name = "runtime_toolchain", + toolchain = ":runtime_pair", + toolchain_type = "@rules_python//python:toolchain_type", +) +toolchain( + name = "py_cc_toolchain", + toolchain = "//toolchain_impl:py_cc_toolchain_impl", + toolchain_type = "@rules_python//python/cc:toolchain_type", +) + +toolchain( + name = "py_exec_tools_toolchain", + toolchain = ":exec_tools_toolchain_impl", + toolchain_type = "@rules_python//python:exec_tools_toolchain_type", +) ++++++ use-system-python.patch ++++++ diff --git a/src/MODULE.bazel b/src/MODULE.bazel index e432cdd16..a2019fd48 100644 --- a/src/MODULE.bazel +++ b/src/MODULE.bazel @@ -314,3 +314,5 @@ http_archive( sha256 = "1c56e79ff4c7f709778e0bf4dfbffdf939efd170845feccae986d22cf4373988", url = "https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/6ece210081fb73d0ea4a5ea8e13ac9584d03fd76/jigyosyo.zip", ) + +register_toolchains("//python_toolchain:all") diff --git a/src/python_toolchain/BUILD.bazel b/src/python_toolchain/BUILD.bazel new file mode 100644 index 000000000..7e27670ea --- /dev/null +++ b/src/python_toolchain/BUILD.bazel @@ -0,0 +1,39 @@ +package(default_visibility = ["//visibility:public"]) + +load("@rules_python//python/cc:py_cc_toolchain.bzl", "py_cc_toolchain") +load("@rules_python//python:py_exec_tools_toolchain.bzl", "py_exec_tools_toolchain") +load("@rules_python//python:py_runtime.bzl", "py_runtime") +load("@rules_python//python:py_runtime_pair.bzl", "py_runtime_pair") + +py_runtime( + name = "runtime", + interpreter_path = "/usr/bin/python3", + python_version = "PY3", +) + +py_runtime_pair( + name = "runtime_pair", + py3_runtime = ":runtime", +) + +py_exec_tools_toolchain( + name = "exec_tools_toolchain_impl", + exec_interpreter = None, +) + +toolchain( + name = "runtime_toolchain", + toolchain = ":runtime_pair", + toolchain_type = "@rules_python//python:toolchain_type", +) +toolchain( + name = "py_cc_toolchain", + toolchain = "//toolchain_impl:py_cc_toolchain_impl", + toolchain_type = "@rules_python//python/cc:toolchain_type", +) + +toolchain( + name = "py_exec_tools_toolchain", + toolchain = ":exec_tools_toolchain_impl", + toolchain_type = "@rules_python//python:exec_tools_toolchain_type", +)