head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2013.04.29.09.52.16; author ryoon; state dead; branches; next 1.2; 1.2 date 2013.04.29.09.21.24; author ryoon; state Exp; branches; next 1.1; 1.1 date 2013.01.18.11.36.40; author ryoon; state Exp; branches; next ; desc @@ 1.3 log @Change base package to mozc-server from ibus-mozc. This change encourages uim-mozc, fcitx-mozc and so on. @ text @$NetBSD: patch-gyp_common.gypi,v 1.2 2013/04/29 09:21:24 ryoon Exp $ --- gyp/common.gypi.orig 2013-03-29 04:33:42.000000000 +0000 +++ gyp/common.gypi @@@@ -132,7 +132,7 @@@@ 'conditions': [ # enable_gtk_renderer represents if mozc_renderer is supported on Linux # or not. - ['target_platform=="Linux" and language=="japanese"', { + ['(target_platform=="Linux" or target_platform=="NetBSD") and language=="japanese"', { 'enable_gtk_renderer%': 1, }, { # else 'enable_gtk_renderer%': 0, @@@@ -283,12 +283,12 @@@@ # additional suffix except for Japanese so that multiple # converter processes can coexist. Note that Mozc on ChromeOS does # not use IPC so this kind of special treatment is not required. - ['language!="japanese" and target_platform=="Linux"', { + ['language!="japanese" and (target_platform=="Linux" or target_platform=="NetBSD")', { 'defines': [ 'MOZC_LANGUAGE_SUFFIX_FOR_LINUX="_<(language)"', ], }], - ['OS=="linux"', { + ['OS=="linux" or OS=="netbsd"', { 'ldflags': [ '<@@(linux_ldflags)', ], @@@@ -447,7 +447,7 @@@@ }, }, 'conditions': [ - ['OS=="linux"', { + ['OS=="linux" or OS=="netbsd"', { 'cflags': [ '<@@(debug_extra_cflags)', ], @@@@ -485,7 +485,7 @@@@ }, }, 'conditions': [ - ['OS=="linux"', { + ['OS=="linux" or OS=="netbsd"', { 'cflags': [ '<@@(release_extra_cflags)', ], @@@@ -785,6 +785,22 @@@@ }], ], }], + ['OS=="netbsd"', { + 'defines': [ + 'OS_NETBSD', + 'MOZC_SERVER_DIRECTORY="<@@(server_dir)"', + ], + 'cflags': [ + '<@@(gcc_cflags)', + '-fPIC', + '-fno-exceptions', + ], + 'cflags_cc': [ + # We use deprecated and instead of upcoming + # and . + '-Wno-deprecated', + ], + }], ['OS=="mac"', { 'defines': [ 'OS_MACOSX', @ 1.2 log @Update to 1.10.1390.102 Changelog: r147 2012-03-29 1.10.1390.102 Check Qt version in GNU/Linux build ( Issue 183 ) Add missing semicolon for ibus-mozc ( Issue 184 ) Remove unnecessary dependency on libzinnia from Android build. r131 2012-03-28 1.10.1389.102 Support IBus 1.5 ( Issue 161 ) Support Mac OS X 10.8 as a build environment ( Issue 166 , Issue 176 ) Fix build failure on Windows ( Issue 173 ) Increase opaque buffer size for x32 ( Issue 177 ) Check physycal monitor area in mozc_renderer ( Issue 180 ) Add missing properties for gnome-shell ( Issue 182 ) Switch to Protocol Buffers 2.5 Switch to Ninja from msbuild to build Mozc for Windows Support Android build Unsupport Visual C++ 2008 Remove RX from the repository @ text @d1 1 a1 1 $NetBSD: patch-gyp_common.gypi,v 1.1 2013/01/18 11:36:40 ryoon Exp $ @ 1.1 log @Import ibus-mozc-1.6.1187.102 as inputmethod/ibus-mozc. Mozc is a Japanese Input Method Editor (IME) designed for multi-platform such as Chromium OS, Windows, Mac and Linux. This open-source project originates from Google Japanese Input. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- gyp/common.gypi.orig 2012-08-31 05:36:43.000000000 +0000 d5 9 d19 1 a19 1 + ['language!="japanese" and target_platform=="Linux" or target_platform=="NetBSD"', { d29 1 a29 1 @@@@ -438,7 +438,7 @@@@ d38 1 a38 1 @@@@ -476,7 +476,7 @@@@ d47 1 a47 1 @@@@ -789,6 +789,16 @@@@ d54 1 d61 5 @