@nash:
Specifying version is based on Release History.
https://github.com/google/mozc/blob/master/docs/release_history.md
Latest version on it is still using qt4.
Search Criteria
Package Details: mozc 2.30.5618.102-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mozc.git (read-only, click to copy) |
---|---|
Package Base: | mozc |
Description: | The Open Source edition of Google Japanese Input |
Upstream URL: | https://github.com/google/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: | mozc-ut |
Submitter: | ponsfoot |
Maintainer: | Nocifer |
Last Packager: | Nocifer |
Votes: | 80 |
Popularity: | 0.42 |
First Submitted: | 2010-08-09 04:27 (UTC) |
Last Updated: | 2024-10-10 12:38 (UTC) |
Dependencies (8)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- bazel (bazel-gitAUR, bazel024-binAUR, bazel3-binAUR, bazelisk-gitAUR, bazeliskAUR, bazelisk-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR) (make)
- emacs-mozcAUR (emacs-mozc-with-jp-dictAUR) (optional) – Emacs integration
- fcitx5-mozc-utAUR (optional) – Fcitx5 integration
- ibus-mozcAUR (ibus-mozc-with-jp-dictAUR) (optional) – IBus integration
Required by (5)
Sources (8)
- git+https://github.com/abseil/abseil-cpp.git#commit=4447c7562e3bc702ade25105912dce503f0c4010
- git+https://github.com/chromium/gyp.git#commit=9ecf45e37677743503342ee4c6a76eaee80e4a7f
- git+https://github.com/google/breakpad.git#commit=216cea7bca53fa441a3ee0d0f5fd339a3a894224
- git+https://github.com/google/googletest.git#commit=b514bdc898e2951020cbdca1304b75f5950d1f59
- git+https://github.com/google/mozc.git#commit=1d74ac4a0f569aaa99838df861997f3e882add3c
- git+https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git#commit=e5b3425575734c323e1d947009dd74709437b684
- git+https://github.com/microsoft/wil.git#commit=fc5dbf55989fe20351c71d038a8d12de4b397a6d
- git+https://github.com/protocolbuffers/protobuf.git#commit=7cc670c1809e704ebeba90fb430d50e009f36727
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 16 Next › Last »
ponsfoot commented on 2016-10-29 08:30 (UTC) (edited on 2016-10-29 08:32 (UTC) by ponsfoot)
nash commented on 2016-10-28 22:54 (UTC)
Hi,
Is there any reason to use QT4 still? The upstream default is QT5 now and it works well on Arch.
--- PKGBUILD.orig 2016-10-28 18:17:19.068887450 +0900
+++ PKGBUILD 2016-10-28 18:19:58.193104521 +0900
@@ -38,7 +38,7 @@
arch=('i686' 'x86_64')
url="http://code.google.com/p/mozc/"
license=('BSD' 'custom')
-makedepends=('python2' 'git' 'ninja' 'clang' 'qt4')
+makedepends=('python2' 'git' 'ninja' 'clang' 'qt5-base')
#source=("${_svndir}/${_svnmod}::svn+${_svntrunk}"
source=(
mozc::git+https://github.com/google/mozc.git#commit=${_mozcrev}
@@ -105,13 +105,6 @@
done
msg2 '====================================================='
- # Use Qt4
- _rcc_loc=`pkg-config QtCore --variable=rcc_location`
- _qt4dir=${_rcc_loc%%/bin/rcc}
- _qt4i=`pkg-config --cflags-only-I QtGui`
- CFLAGS+=" $_qt4i"
- CXXFLAGS+=" $_qt4i"
-
cd "${srcdir}/${pkgbase}/src"
msg "Starting make..."
@@ -122,8 +115,8 @@
unset CC CC_host CC_target CXX CXX_host CXX_target LINK AR AR_host AR_target \
NM NM_host NM_target READELF READELF_host READELF_target
- QTDIR=$_qt4dir GYP_DEFINES="document_dir=/usr/share/licenses/${pkgbase}" \
- python2 build_mozc.py gyp --target_platform=Linux
+ GYP_DEFINES="document_dir=/usr/share/licenses/${pkgbase}" \
+ python2 build_mozc.py gyp --target_platform=Linux --qtver=5
python2 build_mozc.py build -c $_bldtype $_targets
if [[ "$_ibus_mozc" == "yes" ]]; then
@@ -137,7 +130,7 @@
pkgdesc="A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)"
arch=('i686' 'x86_64')
groups=('mozc-im')
- depends=('qt4' 'zinnia')
+ depends=('qt5-base' 'zinnia')
replaces=('mozc-server' 'mozc-utils-gui')
conflicts=('mozc-server' 'mozc-utils-gui')
optdepends=('tegaki-models-zinnia-japanese: hand-writing recognition support')
@@ -190,4 +183,4 @@
# Global pkgdesc and depends are here so that they will be picked up by AUR
pkgdesc="A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)"
-depends=('qt4' 'ibus>=1.4.1' 'zinnia')
+depends=('qt5-base' 'ibus>=1.4.1' 'zinnia')
ponsfoot commented on 2016-10-27 12:24 (UTC)
@ploop:
It should be fixed now. Thank you for the feedback.
FYI, unofficial user repository is available, please see pinned comment (I pinned just now).
ploop commented on 2016-10-26 22:12 (UTC)
When attempting to build mozc, I get this:
==> Starting make...
INFO: Generating version definition file...
INFO: Version string is 2.18.2612.102
INFO: Running: /usr/bin/python2 /tmp/packerbuild-1000/mozc/mozc/src/mozc/src/build_tools/ensure_gyp_module_path.py --expected=/tmp/packerbuild-1000/mozc/mozc/src/mozc/src/third_party/gyp/pylib/gyp
INFO: Running: pkg-config --exists ibus-1.0 >= 1.4.1
INFO: Building GYP command line...
INFO: Running: pkg-config --exists QtCore >= 4.0 QtCore < 5.0 QtGui >= 4.0 QtGui < 5.0
INFO: Running GYP...
INFO: Running: /usr/bin/python2 /tmp/packerbuild-1000/mozc/mozc/src/mozc/src/third_party/gyp/gyp_main.py --depth=. --include=./gyp/common.gypi -D abs_depth=/tmp/packerbuild-1000/mozc/mozc/src/mozc/src -D ext_third_party_dir=/tmp/packerbuild-1000/mozc/mozc/src/mozc/src/third_party -D python_executable=/usr/bin/python2 ./base/base.gyp ./base/base_test.gyp ./client/client.gyp ./client/client_test.gyp ./composer/composer.gyp ./composer/composer_test.gyp ./config/config.gyp ./config/config_test.gyp ./converter/converter.gyp ./converter/converter_base.gyp ./converter/converter_main.gyp ./converter/converter_test.gyp ./data/test/session/scenario/scenario.gyp ./data/test/session/scenario/usage_stats/usage_stats.gyp ./data_manager/chromeos/chromeos_data_manager.gyp ./data_manager/chromeos/chromeos_data_manager_base.gyp ./data_manager/chromeos/chromeos_data_manager_test.gyp ./data_manager/data_manager.gyp ./data_manager/data_manager_base.gyp ./data_manager/data_manager_test.gyp ./data_manager/oss/oss_data_manager.gyp ./data_manager/oss/oss_data_manager_base.gyp ./data_manager/oss/oss_data_manager_test.gyp ./data_manager/testing/mock_data_manager.gyp ./data_manager/testing/mock_data_manager_base.gyp ./data_manager/testing/mock_data_manager_test.gyp ./dictionary/dictionary.gyp ./dictionary/dictionary_base.gyp ./dictionary/dictionary_test.gyp ./dictionary/file/dictionary_file.gyp ./dictionary/file/dictionary_file_test.gyp ./dictionary/system/system_dictionary.gyp ./dictionary/system/system_dictionary_test.gyp ./engine/engine.gyp ./engine/engine_test.gyp ./gui/gui.gyp ./gyp/tests.gyp ./handwriting/handwriting.gyp ./handwriting/handwriting_test.gyp ./handwriting/zinnia.gyp ./ipc/ipc.gyp ./mac/mac.gyp ./net/jsoncpp.gyp ./net/net.gyp ./net/net_test.gyp ./prediction/prediction.gyp ./prediction/prediction_base.gyp ./prediction/prediction_test.gyp ./protobuf/protobuf.gyp ./protocol/protocol.gyp ./renderer/renderer.gyp ./request/request.gyp ./rewriter/calculator/calculator.gyp ./rewriter/rewriter.gyp ./rewriter/rewriter_base.gyp ./rewriter/rewriter_test.gyp ./server/server.gyp ./session/session.gyp ./session/session_base.gyp ./session/session_test.gyp ./storage/storage.gyp ./storage/storage_test.gyp ./testing/testing.gyp ./transliteration/transliteration.gyp ./transliteration/transliteration_test.gyp ./unix/emacs/emacs.gyp ./unix/ibus/ibus.gyp ./usage_stats/usage_stats.gyp ./usage_stats/usage_stats_base.gyp ./usage_stats/usage_stats_test.gyp -D branding=Mozc -D use_qt=YES -D qt_dir= -D qt_ver=4 -D use_wix=NO -D enable_gtk_renderer=1 -D build_base=/tmp/packerbuild-1000/mozc/mozc/src/mozc/src/out_linux -D build_short_base=out_linux -D warn_as_error=0 -D channel_dev=1 -D enable_cloud_handwriting=0 -D target_platform=Linux -D use_libibus=1 --generator-output=. -G output_dir=out_linux
INFO: Done
INFO: Running: ninja -C out_linux/Release mozc_server mozc_tool ibus_mozc mozc_renderer
ninja: Entering directory `out_linux/Release'
[70/801] ACTION Generating Resource file from word_register_dialog.qrc
FAILED: gen/gui/word_register_dialog/qrc_word_register_dialog.cc
cd ../../gui; /usr/bin/rcc -o ../out_linux/Release/gen/gui/word_register_dialog/qrc_word_register_dialog.cc -name qrc_word_register_dialog word_register_dialog/word_register_dialog.qrc
/bin/sh: /usr/bin/rcc: No such file or directory
[72/801] CXX obj.host/data_manager/gen/proto_out/data_manager/dataset_proto.dataset.pb.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "build_mozc.py", line 1235, in <module>
main()
File "build_mozc.py", line 1222, in main
BuildMain(cmd_opts, cmd_args)
File "build_mozc.py", line 852, in BuildMain
BuildWithNinja(options, targets)
File "build_mozc.py", line 826, in BuildWithNinja
RunOrDie([ninja, '-C', build_arg] + ninja_targets)
File "/tmp/packerbuild-1000/mozc/mozc/src/mozc/src/build_tools/util.py", line 99, in RunOrDie
'==========']))
build_tools.util.RunOrDieError:
==========
ERROR: ninja -C out_linux/Release mozc_server mozc_tool ibus_mozc mozc_renderer
==========
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
ponsfoot commented on 2015-07-18 03:39 (UTC)
@k2_8191:
It's not reproduced on my system.
Recently, sf.net was under maintenance mode for some hours.
Please try again.
k2_8191 commented on 2015-07-17 22:56 (UTC)
During makepkg I got these sha1 errors for now:
==> Validating source files with sha1sums...
mozc ... Skipped
jsoncpp ... Skipped
gyp ... Skipped
protobuf ... Skipped
japanese_usage_dictionary ... Skipped
x-ken-all-201504.zip ... FAILED
jigyosyo-201504.zip ... FAILED
I'm not sure if it is safely bypassed.
ponsfoot commented on 2015-05-18 15:05 (UTC)
All,
Remove $SRCDEST/mozc if it existent (again). The upstream force-updated existing commit hashes.
NOTE: pkgrel is not changed because this change doesn't affect the existing 2.17.2095.102 users.
@nash:
Thank you for the info.
ishitatsuyuki commented on 2015-05-18 09:01 (UTC)
Pacaur:
==> Extracting sources...
-> Creating working copy of mozc git repo...
fatal: reference is not a tree: 40f67e035d32365dab823d292c173a0d67ad23c7
nash commented on 2015-05-18 02:07 (UTC)
We need to revise the commit id (_mozcrev) in PKGBUILD.
https://github.com/google/mozc/issues/290
ponsfoot commented on 2015-05-16 08:25 (UTC)
If you use mozc 2.16.2072.102-1 or earlier and build mozc yourself, remove $SRCDEST/{mozc,gyp} before building 2.17.2095.102-1.
Pinned Comments
Nocifer commented on 2022-05-29 21:53 (UTC) (edited on 2023-08-22 09:33 (UTC) by Nocifer)
If you're getting compilation errors, please delete your Bazel cache (
~/.cache/bazel
by default).