ports/japanese/mozc-server/files/patch-unix_ibus_gen_mozc_xml.py
Daichi GOTO 83ac3caa91 Update Mozc (Japanese Input Method Editor)
relative ports to 0.12.434.102 and fix build error on
recent 9-CURRENT.
2010-09-04 02:44:13 +00:00

20 lines
809 B
Python

--- unix/ibus/gen_mozc_xml.py.org 2010-09-03 21:07:35.757153220 +0900
+++ unix/ibus/gen_mozc_xml.py 2010-09-03 21:11:23.381492067 +0900
@@ -47,7 +47,7 @@
'description': '%s Component',
# TODO(yusukes): Support Linux distributions other than Gentoo/ChromeOS.
# For example, Ubuntu uses /usr/lib/ibus-mozc/.
- 'exec': '/usr/libexec/ibus-engine-mozc --ibus',
+ 'exec': '@@LOCALBASE@@/libexec/ibus-engine-mozc --ibus',
# TODO(mazda): Generate the version number.
'version': '0.0.0.0',
'author': 'Google Inc.',
@@ -60,7 +60,7 @@
IBUS_ENGINE_COMMON_PROPS = {
'description': '%s (Japanese Input Method)',
'language': 'ja',
- 'icon': '/usr/share/ibus-mozc/product_icon.png',
+ 'icon': '@@LOCALBASE@@/share/ibus-mozc/icons/product_logo.png',
'rank': '0',
}