Skip to content

Instantly share code, notes, and snippets.

@matoken

matoken/gist:9626831

Last active Aug 29, 2015
Embed
What would you like to do?
#!/bin/sh
sudo apt-get install g++ python libibus-1.0-dev libssl-dev libdbus-1-dev libglib2.0-dev subversion libqt4-dev libzinnia-dev tegaki-zinnia-japanese libgtk2.0-dev libxcb-xfixes0-dev ibus
mkdir -p ~/src
cd ~/src
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
export PATH="$PATH":`pwd`/depot_tools
mkdir -p ~/src/mozc
cd ~/src/mozc
gclient config http://mozc.googlecode.com/svn/trunk/src
gclient sync
cd ~/src/mozc/src
python build_mozc.py gyp
python build_mozc.py build_tools -c Release
python build_mozc.py build -c Release unix/ibus/ibus.gyp:ibus_mozc unix/emacs/emacs.gyp:mozc_emacs_helper server/server.gyp:mozc_server gui/gui.gyp:mozc_tool renderer/renderer.gyp:mozc_renderer
sudo install -o root -g root -m 755 -d /usr/lib/mozc /usr/lib/ibus-mozc /usr/share/ibus/component /usr/share/ibus-mozc
sudo install -o root -g root -m 755 out_linux/Release/ibus_mozc out_linux/Release/mozc_server out_linux/Release/mozc_tool /usr/lib/ibus-mozc/
sudo install -o root -g root -m 644 out_linux/Release/obj/gen/unix/ibus/mozc.xml /usr/share/ibus/component/mozc.xml
sudo install -o root -g root -m 644 data/images/product_icon_32bpp-128.png /usr/share/ibus-mozc/product_icon.png
@matoken

This comment has been minimized.

Copy link
Owner Author

@matoken matoken commented Mar 18, 2014

Mozc Build & install
Raspberry Pi の Rasbian で検証済み

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.