summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-06-11 23:50:09 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-06-11 23:50:09 +0000
commit8394fb27ebee0925c220565d5b6a18bc6f2b7802 (patch)
tree159ca6b4325a33533540c1e67bdde7a2ed51443d /app-i18n
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-8394fb27ebee0925c220565d5b6a18bc6f2b7802.tar.gz
historical-8394fb27ebee0925c220565d5b6a18bc6f2b7802.tar.bz2
historical-8394fb27ebee0925c220565d5b6a18bc6f2b7802.zip
Initial import.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-mozc/ChangeLog11
-rw-r--r--app-i18n/ibus-mozc/Manifest25
-rw-r--r--app-i18n/ibus-mozc/files/ibus-mozc-0.11.365.102-gentoo.patch20
-rw-r--r--app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild73
-rw-r--r--app-i18n/ibus-mozc/metadata.xml11
5 files changed, 140 insertions, 0 deletions
diff --git a/app-i18n/ibus-mozc/ChangeLog b/app-i18n/ibus-mozc/ChangeLog
new file mode 100644
index 000000000000..4bd534d08643
--- /dev/null
+++ b/app-i18n/ibus-mozc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-i18n/ibus-mozc
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ChangeLog,v 1.1 2010/06/11 23:50:08 matsuu Exp $
+
+*ibus-mozc-0.11.365.102 (11 Jun 2010)
+
+ 11 Jun 2010; MATSUU Takuto <matsuu@gentoo.org>
+ +ibus-mozc-0.11.365.102.ebuild,
+ +files/ibus-mozc-0.11.365.102-gentoo.patch, +metadata.xml:
+ Initial import.
+
diff --git a/app-i18n/ibus-mozc/Manifest b/app-i18n/ibus-mozc/Manifest
new file mode 100644
index 000000000000..267c2d78cfaf
--- /dev/null
+++ b/app-i18n/ibus-mozc/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ibus-mozc-0.11.365.102-gentoo.patch 768 RMD160 bc8160076eba1aae383f672a2c19845e89cf6ea1 SHA1 ba64ca1d4ee100342163f76704c0350ee9d426ee SHA256 eb18673f2d544e652868cbe00e7976715d31d3e9815f51b9edba8d3d0cab70e6
+DIST mozc-0.11.365.102.tar.gz 47786830 RMD160 07abd42e8f3f30160104d7e73109b27021139ed4 SHA1 c21836a6d7e9f149db6e9c7a50482caa35174c9f SHA256 91f8d2081a705452012f4e94bc4215872e1465deaa46bad38814668c50511eb7
+EBUILD ibus-mozc-0.11.365.102.ebuild 1871 RMD160 4c1aaedcbb97031abeeda7004e13429426839b99 SHA1 c4bee596619620dfc2549206e52d5fb343374c6e SHA256 b195112ff8eca2b822de9c8c231712f5c703170d7d27066ee7dd1bc1ab13907f
+MISC ChangeLog 411 RMD160 793b89ad995cb70062a9c7c1bd1cde8282dcf29c SHA1 57819a674712e00c5af1eeb4e0a4c83242344d31 SHA256 0e553b1c3959406606f733f2d5ad0a0bfc48e4eb285423a20b1235a92a25e87d
+MISC metadata.xml 469 RMD160 dd6eaa8dccf9af337a9c196ad1f1962afe5cddba SHA1 40f2e8cfb62dd1efc87ea8e4de77e45e844b9207 SHA256 1ee5ebbd254868797a7736c28e58f162c6de3a5950cd5954e1b204ea743c5742
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iQIcBAEBAgAGBQJMEsvHAAoJECaGw+YFKA1p9iIP/jzj2DMKGoBFuspuQ0EtrLkm
+mFPKEJayjosLHjSXxmYK9XdemH4LB2IEsQHPxqMfjhgJSL3O2dfnwBlmdQfayhy9
+0KCPa/tiNRJZ8wliq3ZblF5ULmbxeiLD0D2fUjIie7lygKqUu8KRYNLtnK/a2l4f
+1gPXtjrerjPi7dy6I1iqwHFrFOSWf+A4vFiN2Fb4zZ2snq5zhDp6gr3Cvr+nm+Y4
+Akj9TIbFcZd3SaUAibvwbvOaR5oJFstZxmMlLdB3x+TZmVHXYZ10QYOiuj/lhcEz
+oQrVU194WC5FEKLlASo3nasb2nNrSORxLq2OozchtDdKQ3iJdtRL36U5jBm1fJ1E
+PzBarVVcgHfOkUtyMBZjVq/FtRd3jbcbxFh/9w8jRMjxIo7XC41NNVRv4hGaSWO2
+A4ulDw6M2MLHhb3/QGIoXYlNzeyojK4jbX3QYYiHuoefTWnxcJXXSKz2jaKWLjho
+TKyPumSkB9PTy/0znRKLx9nUU7QkASC7FBy0Q7SPyYl2Hyo5ieeovkGVZm81gmlW
+FpZjXoO1/7kUxblGnWD95zGA2emQrP+z5rUVAO+JyLKvNm6DQGr8XVrQ3CvmyT4n
+HmEyEWg3xy54KRWc4H8Ytasq+zwZhPRiBZLsVPnEB0clulWjej8aP3TGPjfiVxYZ
+I9L/L6Hl2ogpa/l4ziXf
+=IvN2
+-----END PGP SIGNATURE-----
diff --git a/app-i18n/ibus-mozc/files/ibus-mozc-0.11.365.102-gentoo.patch b/app-i18n/ibus-mozc/files/ibus-mozc-0.11.365.102-gentoo.patch
new file mode 100644
index 000000000000..7e52ab33155f
--- /dev/null
+++ b/app-i18n/ibus-mozc/files/ibus-mozc-0.11.365.102-gentoo.patch
@@ -0,0 +1,20 @@
+--- mozc.orig/build_mozc.py 2010-06-10 16:02:08.000000000 +0900
++++ mozc/build_mozc.py 2010-06-10 19:59:26.000000000 +0900
+@@ -387,7 +387,7 @@
+ (unused_gyp_file_name, target_name) = ParseTarget(target)
+ target_names.append(target_name)
+
+- make_command = os.getenv('BUILD_COMMAND', 'make')
++ make_command = os.getenv('BUILD_COMMAND', 'emake')
+ # flags for building in Chrome OS chroot environment
+ envvars = [
+ 'CFLAGS',
+@@ -403,7 +403,7 @@
+ if envvar in os.environ:
+ os.environ[envvar] = os.getenv(envvar)
+
+- build_args = ['-j%s' % options.jobs, 'BUILDTYPE=%s' % options.configuration]
++ build_args = ['BUILDTYPE=%s' % options.configuration]
+ if options.build_base:
+ build_args.append('builddir_name=%s' % options.build_base)
+
diff --git a/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild
new file mode 100644
index 000000000000..42fb0a356b9a
--- /dev/null
+++ b/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-0.11.365.102.ebuild,v 1.1 2010/06/11 23:50:08 matsuu Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+inherit eutils multilib python toolchain-funcs
+
+MY_P="mozc-${PV}"
+DESCRIPTION="The Mozc engine for IBus Framework"
+HOMEPAGE="http://code.google.com/p/mozc/"
+SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ibus qt4"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/protobuf
+ net-misc/curl
+ sys-libs/zlib
+ ibus? ( >=app-i18n/ibus-1.2 )
+ qt4? ( x11-libs/qt-gui:4 )"
+DEPEND="${RDEPEND}
+ dev-util/gtest
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/mozc"
+
+BUILDTYPE="${BUILDTYPE:-Release}"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_configure() {
+ "$(PYTHON)" build_mozc.py gyp --gypdir=third_party/gyp || die "gyp failed"
+}
+
+src_compile() {
+ tc-export CC CXX AR AS RANLIB LD
+ export QTDIR="${EPREFIX}/usr"
+
+ local mytarget="server/server.gyp:mozc_server"
+ use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc"
+ use qt4 && mytarget="${mytarget} gui/gui.gyp:mozc_tool"
+
+ "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die
+ "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die
+}
+
+src_install() {
+ if use ibus ; then
+ exeinto /usr/libexec || die
+ newexe "out/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die
+ insinto /usr/share/ibus/component || die
+ doins unix/ibus/mozc.xml || die
+ fi
+
+ exeinto "/usr/$(get_libdir)/mozc" || die
+ doexe "out/${BUILDTYPE}/mozc_server" || die
+
+ if use qt4 ; then
+ exeinto "/usr/$(get_libdir)/mozc" || die
+ doexe "out/${BUILDTYPE}/mozc_tool" || die
+ fi
+}
diff --git a/app-i18n/ibus-mozc/metadata.xml b/app-i18n/ibus-mozc/metadata.xml
new file mode 100644
index 000000000000..3e0892bf12c2
--- /dev/null
+++ b/app-i18n/ibus-mozc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<longdescription lang="en">
+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.
+</longdescription>
+<use>
+ <flag name='ibus'>Enable support for <pkg>app-i18n/ibus</pkg></flag>
+</use>
+</pkgmetadata>