* 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
86 lines
2.5 KiB
Text
86 lines
2.5 KiB
Text
# $NetBSD: Makefile.common,v 1.11 2014/07/19 09:03:04 ryoon Exp $
|
|
# used by inputmethod/ibus-mozc/Makefile
|
|
# used by inputmethod/mozc-elisp/Makefile
|
|
# used by inputmethod/mozc-server/Makefile
|
|
# used by inputmethod/mozc-tool/Makefile
|
|
# used by inputmethod/mozc-renderer/Makefile
|
|
# used by inputmethod/uim-mozc/Makefile
|
|
#
|
|
|
|
DISTNAME= mozc-1.15.1834.102
|
|
CATEGORIES= inputmethod
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pnsft-aur/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= http://code.google.com/p/mozc/
|
|
COMMENT= Japanese inputmethod Mozc engine for IBus
|
|
LICENSE= modified-bsd
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../inputmethod/mozc-server/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../inputmethod/mozc-server/patches
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-gyp-[0-9]*:../../devel/gyp
|
|
BUILD_DEPENDS+= ninja-[0-9]*:../../devel/ninja
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gyp
|
|
|
|
USE_LANGUAGES= c c++
|
|
# nullptr requires -std=c++11, and -std=c++11 requires gcc 4.7 or later
|
|
GCC_REQD+= 4.7
|
|
CXXFLAGS+= -std=c++11
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
FIND_PREFIX:= GYPDIR=${PYPKGPREFIX}-gyp
|
|
#FIND_PREFIX:= NINJADIR=ninja
|
|
.include "../../mk/find-prefix.mk"
|
|
|
|
OPENSSL_CFLAGS= -I${BUILDLINK_PREFIX.openssl}/include
|
|
OPENSSL_INC= -I${BUILDLINK_PREFIX.openssl}/include
|
|
OPENSSL_LDFLAGS= -L${BUILDLINK_PREFIX.openssl}/lib -lssl -lcrypto
|
|
OPENSSL_LIBS= -lssl -lcrypto
|
|
|
|
SUBST_CLASSES+= gyp
|
|
SUBST_STAGE.gyp= pre-configure
|
|
SUBST_MESSAGE.gyp= Fix gyp defaults
|
|
SUBST_FILES.gyp+= base/base.gyp
|
|
SUBST_FILES.gyp+= base/process.cc
|
|
SUBST_FILES.gyp+= base/system_util.cc
|
|
SUBST_FILES.gyp+= handwriting/zinnia_handwriting.cc
|
|
SUBST_FILES.gyp+= unix/ibus/gen_mozc_xml.py
|
|
SUBST_FILES.gyp+= unix/ibus/ibus.gyp
|
|
SUBST_FILES.gyp+= gyp/common.gypi
|
|
SUBST_VARS.gyp+= OPENSSL_CFLAGS OPENSSL_INC OPENSSL_LDFLAGS OPENSSL_LIBS
|
|
SUBST_VARS.gyp+= PREFIX QTDIR
|
|
|
|
# To disable flock(1) in link stage.
|
|
ALL_ENV+= LINK=${CXX}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "NetBSD"
|
|
OSDEST= bsd
|
|
.elif ${OPSYS} == "Linux"
|
|
OSDEST= linux
|
|
.endif
|
|
|
|
MOZC_BUILD_MODE= Release # or Debug
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && env ${MAKE_ENV} \
|
|
GYP_DEFINES="use_libprotobuf=1" \
|
|
${PYTHONBIN} build_mozc.py \
|
|
gyp \
|
|
--gypdir=${GYPDIR}/bin
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
# gmock is not used yet...
|
|
#.include "../../devel/gmock/buildlink3.mk"
|
|
.include "../../inputmethod/zinnia/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
|
|
.include "../../lang/python/tool.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|