2016-03-05 12:27:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2016/03/05 11:28:42 jperkin Exp $
|
2013-01-18 12:36:39 +01:00
|
|
|
|
|
|
|
PKGNAME= ibus-${DISTNAME}
|
2016-03-05 12:27:40 +01:00
|
|
|
PKGREVISION= 2
|
2013-01-18 12:36:39 +01:00
|
|
|
|
2014-01-20 11:40:36 +01:00
|
|
|
INSTALLATION_DIRS+= libexec share/ibus share/ibus/component \
|
2013-01-18 12:36:39 +01:00
|
|
|
share/ibus-mozc
|
|
|
|
|
|
|
|
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
|
2014-01-20 11:40:36 +01:00
|
|
|
DEPENDS+= mozc-renderer-[0-9]*:../../inputmethod/mozc-renderer
|
2013-07-20 06:34:53 +02:00
|
|
|
DEPENDS+= mozc-server-[0-9]*:../../inputmethod/mozc-server
|
|
|
|
DEPENDS+= mozc-tool-[0-9]*:../../inputmethod/mozc-tool
|
2013-01-18 12:36:39 +01:00
|
|
|
|
|
|
|
do-build:
|
2014-08-07 05:03:32 +02:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
2013-04-29 11:21:24 +02:00
|
|
|
${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} ${_MAKE_JOBS} \
|
2015-07-31 15:07:05 +02:00
|
|
|
unix/ibus/ibus.gyp:ibus_mozc_lib \
|
2014-01-20 11:40:36 +01:00
|
|
|
unix/ibus/ibus.gyp:ibus_mozc
|
2013-01-18 12:36:39 +01:00
|
|
|
|
|
|
|
do-install:
|
2013-04-29 11:21:24 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/ibus_mozc \
|
2013-01-18 12:36:39 +01:00
|
|
|
${DESTDIR}${PREFIX}/libexec/ibus-engine-mozc
|
Update to 1.15.1785.102
* devel/ninja is required to build.
Changelog:
r271 2014-07-13 1.15.1834.102 - r265 2014-07-06 1.15.1828.102
You can check out Mozc r271 as follows.
gclient sync --revision=271
Summary of changes between 1.15.1834.102 (r271) and 1.15.1828.102 (r265).
Build related changes:
Ninja and GYP r1948 are now required to build Mozc for Android, NaCl, or Linux desktop. Note that you don't need to install Ninja manually, since depot_tools maintains pre-built Ninja binaries.
A sample Dockerfile is now available at mozc/docker/ubuntu12.04/Dockerfile. It provides a reference build environment of Mozc for Android, NaCl, and Linux desktop. See BuildInDocker for details.
Fixed issues:
FIX: Use ninja on Linux ( Issue 222 )
FIX: Inconsistency between visible candidate and actual commit in suggestion ( Issue 239 )
FIX: Provide a Dockerfile to set up build environment for Android, NaCl, and Linux desktop ( Issue 240 )
Commit summary:
r271: Add an all-in-one Dockerfile to build Mozc for Android, NaCl, and Linux desktop (Ubuntu 12.04 edition)
r270: Minor clean up in gyp file
r269: Zero query suggestion shouldn't be triggered when committing with key event
r268: Use Ninja to build Android, NaCl, and Linux Desktop binaries part 3
r267: Use Ninja to build Android, NaCl, and Linux Desktop binaries part 2
r266: Use Ninja to build Android, NaCl, and Linux Desktop binaries
r265: Pull GYP r1948
r253 2014-07-06 1.15.1827.102 - r241 2014-06-28 1.15.1815.102
You can check out Mozc r253 as follows.
gclient sync --revision=253
Summary of changes between 1.15.1827.102 (r253) and 1.15.1815.102 (r241).
Fixed issues:
FIX: Menu item for MozcTool lacks text label in ibus-mozc ( Issue 233 )
FIX: Explorer crashes when tsf-mozc is enabled on Windows 8.1 update1 ( Issue 236 )
Commit summary:
r253: Specify the absolute path of the project root directory for include directories
r252: Disable ITfFnGetLinguisticAlternates until the root cause of Explorer crashes is addressed
r251: Specify text label for the menu item of MozcTool in ibus-mozc
r250: Do not pass incomplete types to STL containers
r249: Explicitly include <unistd.h> for OSX
r248: Stop using template to implement BasicCodeGenByteArrayStreamBuf
r247: Explicity invoke bash for make-standalone-toolchain.sh
r246: Make config_file_stream_test.cc more robust
r245: Replace NULL with nullptr in mozc::NumberUtil
r244: Enable Unicode 6 Emoji conversion by default for desktop (part 4)
r243: Unify nested preprocessor conditions into one line (part 3)
r242: Minor style fixes
r241: Unify nested preprocessor conditions into one line (part 2)
r234 2014-06-22 1.15.1814.102 - r206 2014-05-24 1.15.1786.102
You can check out Mozc r234 as follows.
gclient sync --revision=234
Summary of changes between 1.15.1814.102 (r234) and 1.15.1786.102 (r206).
Build related changes:
'build_mozc.py build_tools' is deprecated. Mozc no longer requires 2-pass build. ( Issue 223 )
Fixed issues:
FIX: Wrong key mapping for Numpad-End in mozc.el ( Issue 170 )
FIX: mozc::converter::CandidateFilter drops candidates unexpectedly ( Issue 220 )
FIX: Preceding text is not correctly extracted in ibus-mozc ( Issue 226 )
FIX: Undo-Commit is not functional in ibus-mozc ( Issue 227 )
FIX: NaCl-Mozc uses wrong version for downloadable dictionary
Commit summary:
r234: Ensure that the IPC client is configured before it is used in ibus-mozc
r233: Teach ibus-mozc about the correct substring position when extracting surrounding text (part 2)
r232: Teach ibus-mozc about the correct substring position when extracting surrounding text (part 1)
r231: Enable Unicode 6 Emoji conversion by default for desktop (part 3)
r230: Enable Unicode 6 Emoji conversion by default for desktop (part 2)
r229: Enable Unicode 6 Emoji conversion by default for desktop
r228: Unify nested preprocessor conditions into one line
r227: Strictly check the range of the operands for integer operations performed in NumberUtil
r226: Simplify test cases for SafeStrToDouble/SafeStrToFloat
r225: Remove a redundant constant definition
r224: UtilTest::StripWhiteSpaces should work with a single letter text.
r223: Use different internal namespace for gflags
r222: Fix the version check logic of the downloadable dictionary for NaCl-Mozc.
r221: Do not use shell syntax in gyp (part 2)
r220: Do not use shell syntax in gyp (part 1)
r219: Use absolute path to teach the linker about a file location
r218: Add a missing build dependency
r217: Fix wrong reading for U+1F3C4
r216: Fix key mapping for Numpad-End in mozc.el
r215: Remove a redundant NULL initialization of unique_ptr
r214: Stop using 2-pass build on OS X
r213: Minor style fixes
r212: Manage the root directory of protobuf for Java source in gyp rather than ant
r211: Stop using 2-pass build except for OS X
r210: Remove execute bit from files that shouldn't have it
r209: Remove platform-dependent mozc::Encryptor part 2
r208: Remove platform-dependent mozc::Encryptor
r207: Fix the bug that Top_cost + cost_offset exceeds INT_MAX when lid is first/last name
r206: Remove an obsolete directory that is no longer used
2014-07-19 11:03:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/gen/unix/ibus/mozc.xml \
|
2013-01-18 12:36:39 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/ibus/component
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/images/unix/ime_product_icon_opensource-32.png \
|
|
|
|
${DESTDIR}${PREFIX}/share/ibus-mozc/product_icon.png
|
|
|
|
|
2014-01-20 11:40:36 +01:00
|
|
|
.include "../../inputmethod/ibus/buildlink3.mk"
|
2013-04-29 11:52:15 +02:00
|
|
|
.include "../../inputmethod/mozc-server/Makefile.common"
|