pkgsrc/inputmethod/ibus-mozc/Makefile

33 lines
1.1 KiB
Makefile
Raw Normal View History

2021-04-21 15:24:06 +02:00
# $NetBSD: Makefile,v 1.68 2021/04/21 13:24:53 adam Exp $
PKGNAME= ibus-${DISTNAME}
2021-04-21 15:24:06 +02:00
PKGREVISION= 3
INSTALLATION_DIRS+= libexec share/ibus share/ibus/component \
share/ibus-mozc
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
DEPENDS+= mozc-renderer-[0-9]*:../../inputmethod/mozc-renderer
DEPENDS+= mozc-server-[0-9]*:../../inputmethod/mozc-server
DEPENDS+= mozc-tool-[0-9]*:../../inputmethod/mozc-tool
pre-configure:
${RM} ${WRKSRC}/unix/uim/uim.gyp
do-build:
2014-08-07 05:03:32 +02:00
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
Update to 2.17.2313.102 Changelog: 2.17.2288.102 - 2.17.2313.102 / 2016-01-03 - 2016-01-10 Summary of changes between 2.17.2288.102 and 2.17.2313.102 as follows. Third party libraries: None. Build related changes: None. Major changes: Update system dictionary. Status icons for OS X are updated with Noto font. Fixed issues: #344: Support icon_prop_key entry in ibus-mozc #345: Mozc for Android keeps crashing #347: Software keyboard is not rendered correctly on Android 6 if non-material theme is selected #350: Status icon is not updated when using Windows Store Apps in desktop mode on Windows 10 #351: Mozc cannot be activated in the search box on the task bar when configured to be the default IME on Windows 10 Following issues are not completely fixed yet, but at least worked around. #348: DirectWrite may fail to render text in certain enviromnents #349: Word suggestion can be unexpectedly suppressed on Chromium Total commits: 29 commits. 2.17.2285.102 - 2.17.2287.102 / 2016-01-01 - 2016-01-02 Summary of changes between 2.17.2285.102 and 2.17.2287.102 as follows. Third party libraries: None. Build related changes: None. Major changes: None. Fixed issues: None. Total commits: 4 commits. 2.17.2241.102 - 2.17.2284.102 / 2015-11-15 - 2015-12-31 Summary of changes between 2.17.2241.102 and 2.17.2284.102 as follows. Third party libraries: fontTools: 5ba7d98 -> 8724513 Build related changes: Reference Dockerfile for Fedora now uses Fedora 23 base image. Default SDKROOT for OS X build is switched from macosx10.8 to macosx10.9. Major changes: CalculatorRewriter is now triggered not only by inputs end with = but also by inputs start with =. For instance, now =1+1 triggers CalculatorRewriter. See the commit message of 5d423b0b and its unittests as for how it works. Performance improvements in LOUDS. See commits 3591f5e7 and cac14650 for details. Fixed issues: #317: session_handler_scenario_test is flaky in Linux build on Travis-CI #341: 1d*= should not trigger language-aware rewriter Total commits: 48 commits.
2016-05-16 13:51:49 +02:00
${PYTHONBIN} build_mozc.py build -c ${MOZC_BUILD_MODE} \
unix/ibus/ibus.gyp:ibus_mozc_lib \
unix/ibus/ibus.gyp:ibus_mozc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out_${OSDEST}/${MOZC_BUILD_MODE}/ibus_mozc \
${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 \
${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
.include "../../inputmethod/ibus/buildlink3.mk"
.include "../../inputmethod/mozc-server/Makefile.common"