61.patch has been updated. Please delete 61.patch before building. This will ensure that the new 61.patch is re-downloaded.
Search Criteria
Package Details: fcitx5-mozc-with-jp-dict 2.30.5618.102-17
Package Actions
Git Clone URL: | https://aur.archlinux.org/mozc-with-jp-dict.git (read-only, click to copy) |
---|---|
Package Base: | mozc-with-jp-dict |
Description: | Fcitx5 Module for Mozc(the Open Source Edition of Google Japanese Input) with SudachiDict and MeCab UniDic Neologd and MeCab IpaDic Neologd |
Upstream URL: | https://github.com/fcitx/mozc |
Keywords: | dictionary emacs fcitx5 ibus japanese mozc |
Licenses: | Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND NAIST-2003 AND Unicode-3.0 AND LicenseRef-Okinawa-Dictionary |
Conflicts: | fcitx, fcitx-mozc, fcitx-qt5, fcitx-qt6, fcitx5-mozc, ibus-mozc |
Provides: | fcitx5-mozc |
Replaces: | fcitx5-mozc |
Submitter: | phoepsilonix |
Maintainer: | phoepsilonix |
Last Packager: | phoepsilonix |
Votes: | 6 |
Popularity: | 1.03 |
First Submitted: | 2023-03-14 08:19 (UTC) |
Last Updated: | 2024-11-20 20:18 (UTC) |
Dependencies (14)
- fcitx5 (fcitx5-gitAUR)
- fcitx5-qt (fcitx5-qt6-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- bazel (bazel-gitAUR, bazel024-binAUR, bazel3AUR, bazel3-binAUR, bazel5AUR, bazelisk-gitAUR, bazeliskAUR, bazelisk-binAUR) (make)
- fcitx5 (fcitx5-gitAUR) (make)
- fcitx5-qt (fcitx5-qt6-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libibus (libibus-gitAUR) (make)
- mold (mold-gitAUR) (make)
- pkg-config (pkgconf-gitAUR, pkg-config-gitAUR, pkgconf) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- qt6-base (qt6-base-headlessAUR, qt6-base-gitAUR) (make)
- rustup (rustup-gitAUR) (make)
- fcitx5-configtool (fcitx5-configtool-gitAUR) (optional)
Required by (0)
Sources (18)
- bcr
- git+https://github.com/abseil/abseil-cpp.git#commit=4447c756
- git+https://github.com/chromium/gyp.git#commit=9ecf45e3
- git+https://github.com/fcitx/mozc.git#commit=00c2d0156d0bb253b2d3755cd7fde78431eaea61
- git+https://github.com/google/breakpad.git#commit=216cea7b
- git+https://github.com/google/googletest.git#commit=b514bdc8
- git+https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git#commit=e5b3425
- git+https://github.com/microsoft/wil.git#commit=fc5dbf5
- git+https://github.com/phoepsilonix/dict-to-mozc.git#commit=96271c07749f040dbf64f16f4b4ad65e00841ace
- git+https://github.com/protocolbuffers/protobuf.git#commit=7cc670c18
- http://sudachi.s3-website-ap-northeast-1.amazonaws.com/sudachidict-raw/20241021/core_lex.zip
- http://sudachi.s3-website-ap-northeast-1.amazonaws.com/sudachidict-raw/20241021/notcore_lex.zip
- http://sudachi.s3-website-ap-northeast-1.amazonaws.com/sudachidict-raw/20241021/small_lex.zip
- https://github.com/phoepsilonix/mecab-ipadic-neologd/raw/refs/heads/master/seed/mecab-user-dict-seed.20200910.csv.xz
- https://github.com/phoepsilonix/mecab-unidic-neologd/raw/refs/heads/master/seed/mecab-unidic-user-dict-seed.20200910.csv.xz
- LICENSE-MeCab-ipadic-Neologd
- LICENSE-MeCab-unidic-Neologd
- LICENSE-SudachiDict
Latest Comments
phoepsilonix commented on 2024-08-27 00:46 (UTC)
phoepsilonix commented on 2024-08-26 00:02 (UTC) (edited on 2024-10-05 21:42 (UTC) by phoepsilonix)
If you're encountering errors during the build process, try deleting your Bazel cache (located at ~/.cache/bazel by default).
sudo rm -rf ~/.cache/bazel/*
or
makepkg -osC
cd src/mozc/src
bazel clean --expunge
cd ../../..
sudo pacman -Rs fcitx-qt6 fcitx
makepkg -p PKGBUILD
The development of Fcitx has transitioned to Fcitx5, and Fcitx-Mozc is no longer maintained. The PR (pull request) 61.patch is a patch for building this unmaintained Fcitx-Mozc. Please try the following command.
sudo pacman -Rs fcitx5-qt fcitx5
makepkg -p PKGBUILD.fcitx
phoepsilonix commented on 2024-01-25 04:31 (UTC) (edited on 2024-01-25 06:59 (UTC) by phoepsilonix)
@eagleflo
What are the CFLAGS and CXXFLAGS settings in makepkg.conf?
In my environment, -U_FORTIFY_SOURCE is included, but I am able to build without any problem.
I am able to build with either gcc or clang.
-D_FORTIFY_SOURCE=1 and U_FORTIFY_SOURCE are set at the same time, which may be causing the error.
Should I ignore CFLAGS etc in makepkg.conf?
I have adjusted the _FORTIFY_SOURCE so that it is not set more than once. Adjusted to not use CFLAGS in makepkg.conf when using gcc.
eagleflo commented on 2024-01-24 18:12 (UTC)
This doesn't seem to build due to redefining _FORTIFY_SOURCE
, somehow:
[...]
==> 6. Finally add UT dictionary to mozc source
Starting local Bazel server and connecting to it...
INFO: Analyzed 2 targets (172 packages loaded, 8262 targets configured).
ERROR: /home/aku/.cache/bazel/_bazel_aku/d29b003fe2642b307a65eadf17216668/external/com_google_protobuf/src/google/protobuf/stubs/BUILD.bazel:12:11: Compiling src/google/protobuf/stubs/common.cc failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@com_google_protobuf//src/google/protobuf/stubs:lite) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 61 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 7.011s, Critical Path: 3.52s
INFO: 32 processes: 18 internal, 14 linux-sandbox.
ERROR: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
phoepsilonix commented on 2024-01-23 02:03 (UTC) (edited on 2024-01-24 15:00 (UTC) by phoepsilonix)
@hypnagogic
The Ruby script used to generate the dictionary was rewritten in Rust. An awk script to remove duplicate entries from the dictionary was also provided. The dependency on Ruby was completely removed. Instead, it relies on rustup.
hypnagogic commented on 2023-12-14 01:25 (UTC)
these specific ruby hard dependencies suck... I already have ruby and a ruby version manager installed. this package makes me install them again.
phoepsilonix commented on 2023-08-29 12:59 (UTC)
@Fandekasp fix
Fandekasp commented on 2023-05-30 07:13 (UTC)
==> Validating source files with sha512sums... mozc ... Skipped x-ken-all-202110.zip ... Passed jigyosyo-202110.zip ... Passed mozcdict-ext ... Skipped mecab-naist-jdic-0.6.3b-20111013.tar.gz ... Passed core_lex.zip ... Passed notcore_lex.zip ... Passed mozcdic-ut-alt-cannadic.txt.tar.bz2 ... Passed mozcdic-ut-edict2.txt.tar.bz2 ... FAILED mozcdic-ut-jawiki.txt.tar.bz2 ... FAILED mozcdic-ut-personal-names.txt.tar.bz2 ... FAILED mozcdic-ut-place-names.txt.tar.bz2 ... FAILED mozcdic-ut-skk-jisyo.txt.tar.bz2 ... Passed ==> ERROR: One or more files did not pass the validity check!
also, emacs really shouldn't be a dependency...
Pinned Comments
phoepsilonix commented on 2024-08-26 00:02 (UTC) (edited on 2024-10-05 21:42 (UTC) by phoepsilonix)
If you're encountering errors during the build process, try deleting your Bazel cache (located at ~/.cache/bazel by default).
or
The development of Fcitx has transitioned to Fcitx5, and Fcitx-Mozc is no longer maintained. The PR (pull request) 61.patch is a patch for building this unmaintained Fcitx-Mozc. Please try the following command.