summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2012-01-28 02:51:26 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2012-01-28 02:51:26 +0000
commita2a4b3dd9f7103382cc7cad5238655573217437d (patch)
tree2b75d449b3ea22281b7e3733ee53f9117ba7b41a /app-i18n
parentUpdate failing test information, related bug 373215. (diff)
downloadhistorical-a2a4b3dd9f7103382cc7cad5238655573217437d.tar.gz
historical-a2a4b3dd9f7103382cc7cad5238655573217437d.tar.bz2
historical-a2a4b3dd9f7103382cc7cad5238655573217437d.zip
Version bumped.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/ibus-mozc/ChangeLog9
-rw-r--r--app-i18n/ibus-mozc/Manifest30
-rw-r--r--app-i18n/ibus-mozc/ibus-mozc-1.3.975.102.ebuild157
3 files changed, 180 insertions, 16 deletions
diff --git a/app-i18n/ibus-mozc/ChangeLog b/app-i18n/ibus-mozc/ChangeLog
index 15caa687316d..cf3c7a6019a6 100644
--- a/app-i18n/ibus-mozc/ChangeLog
+++ b/app-i18n/ibus-mozc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/ibus-mozc
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ChangeLog,v 1.25 2011/12/23 04:03:47 matsuu Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ChangeLog,v 1.26 2012/01/28 02:51:26 matsuu Exp $
+
+*ibus-mozc-1.3.975.102 (28 Jan 2012)
+
+ 28 Jan 2012; MATSUU Takuto <matsuu@gentoo.org> +ibus-mozc-1.3.975.102.ebuild:
+ Version bumped.
*ibus-mozc-1.3.931.102 (23 Dec 2011)
diff --git a/app-i18n/ibus-mozc/Manifest b/app-i18n/ibus-mozc/Manifest
index 35029e89f739..304ff3545a07 100644
--- a/app-i18n/ibus-mozc/Manifest
+++ b/app-i18n/ibus-mozc/Manifest
@@ -11,27 +11,29 @@ DIST mozc-1.1.773.102.tar.bz2 36818453 RMD160 9e8b24bbb551e3f3c252605f584af73dca
DIST mozc-1.2.855.102.tar.bz2 40681117 RMD160 fb15df25a56be174c0bc18acad1dd3bd8d1a5bf1 SHA1 c078e9cbc00d3c216aa0d739ae4f4405a2259e94 SHA256 d9d0a0e7fe00ad28a4e99776616157bae05b3d3cea327eac41e8f6a020a28227
DIST mozc-1.3.911.102.tar.bz2 39180652 RMD160 4cb286286107ee9ce4f3d6e37b0dad8742a8808b SHA1 d3b130001cebf560d2ce10e89eb55643fa056d93 SHA256 da27945d6732e4fc70c08534cc8d10cd23d6fba5ebc52e6b31cac5d04ba1588a
DIST mozc-1.3.931.102.tar.bz2 55891776 RMD160 762263c0c49ae849d22ca06f0ff659e694aeb844 SHA1 41f349b9b4ea87dda19d42653d5f4b584da16c37 SHA256 f56a899e1e445e01d0f28fec45a7b3cc3dd9c68e0d6507bca00a8c01ef68c7a0
+DIST mozc-1.3.975.102.tar.bz2 55961505 RMD160 b52eddc64a79a7a9f1579648f3ee878837355971 SHA1 ef3f23083152fa564eba98235e83d72d14a06404 SHA256 1ee57425c159bc0066645f086472f72aa16567fe5be272f35339c41e9a52d27a
EBUILD ibus-mozc-1.0.558.102.ebuild 3305 RMD160 532ce117f462352dc51ddb1996029ac7080c76c6 SHA1 61b9816730363dd902e5eee919cfab5e28c0c46e SHA256 5379dafe1abd944a1eb0a41a948ae768e4d0af75af56755782363aaedd30c589
EBUILD ibus-mozc-1.1.773.102.ebuild 3538 RMD160 671da895aaaf6691d0610365dd111009394c3084 SHA1 0e9c7ee104a649eebea7ee6ca027ccfbc030aa91 SHA256 facef113871166c0611f248c2a5425184f3a1fe8c246744a058ec91cd3774a43
EBUILD ibus-mozc-1.2.855.102.ebuild 3538 RMD160 5d9784f310569c060ef457b2bfa3721ff31af3f8 SHA1 a7e3bac9f66fa223e1ebb6e675c68c93e5a0b4f3 SHA256 4533ab2e77b8772c4583cdf2b3028ffa1d7786f3bd1f53354ae15b25cbe9af24
EBUILD ibus-mozc-1.3.911.102.ebuild 3539 RMD160 ced2c378efe372fcb4332bfc41bbae634bead8a5 SHA1 4765a03fbe78ab4f0916b6cefc0793773b170201 SHA256 3c01c9486f84f4e11273ca95443c97c5dd1af8f51b32cdb56af21eca50229ebb
EBUILD ibus-mozc-1.3.931.102.ebuild 3650 RMD160 2e40b7a21fdd02620a0ce884873870b93afb16d0 SHA1 8246e9ea90c91d3a8580b0948d541d4ed40bc8c3 SHA256 1dd1a8572a2cdf8e2ae48a2028c5467a37ebb31b5742e0608cbab20cecccda33
-MISC ChangeLog 4947 RMD160 8e2d24afaee761aeec78e5cbe035bc8a7be0a9fb SHA1 0f269c248895af01802daed724314d59f8c676ac SHA256 ce721c7f25b03b44b252b8897bca2534b9397ae208f832324299a7c132c38658
+EBUILD ibus-mozc-1.3.975.102.ebuild 4348 RMD160 110ddae68a341fad9ccf03cc2fb586df038da563 SHA1 146ca2fd847c55922fa04ee8a8961cba1c0fd5a4 SHA256 e2e038016ce129fb9f5667d84261fe9f8d6f947c433254a45c46a7fd2f2a294f
+MISC ChangeLog 5084 RMD160 2c13ae139af9cda792d3d538fc5ac11766528120 SHA1 3eddb27b7deeef195d680cfce01c7e339b2c5100 SHA256 6127dc3c2053de632e5d0bbb88fe63bcda78a0c52dc84e5eb2486f6b31bbf63e
MISC metadata.xml 540 RMD160 92098609fd6a4d8ec147c6bf675bb3626d5e1962 SHA1 6658b008a7f6a3143836901e576b556eecaf1fd9 SHA256 dbc77031a0e9b603d1a15f79367f86375719d4cace47f8c2cb35ef2be29cfe25
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBAgAGBQJO8/2uAAoJECaGw+YFKA1panAP/RDfdrtyEZxSbSd0/BTAm9HL
-XoaUstOmxj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sXAu8
+WgVUy7F9LNIU0lL4e0KdsRlsG7DPe7foXUXfSARq9jDOWZOJVUAchNV2WusBOtq0
+1/fkvPfcVCeE+LuIEEPJBVVyxr7Ca+39QiKaOLtufIyqSuSk5NR2udgZf5f9cPVA
+h8YEUqvbIRvNvTHC+vFNVhz1rLzch2NjAX8603/f5fz2JQgw1bnhgxzel+5VejZx
+jJ4fYkVKUmJS0IZjJGsiQbLVz9s0mXc8yuzJErh7ow0Gh+q8et4v9xu8j377F+tH
+i7tefqHsAv36zYkeec5BqrdC5yVgpPi3ZQqCH/J+ixABrLjFzCYlSwAhPs13oB1f
+mrQLgtMFB66NAIbY4opQ
+=K3ZW
-----END PGP SIGNATURE-----
diff --git a/app-i18n/ibus-mozc/ibus-mozc-1.3.975.102.ebuild b/app-i18n/ibus-mozc/ibus-mozc-1.3.975.102.ebuild
new file mode 100644
index 000000000000..17a318296d94
--- /dev/null
+++ b/app-i18n/ibus-mozc/ibus-mozc-1.3.975.102.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.3.975.102.ebuild,v 1.1 2012/01/28 02:51:26 matsuu Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+inherit elisp-common eutils multilib python toolchain-funcs
+
+MY_P="${P/ibus-}"
+DESCRIPTION="The Mozc engine for IBus Framework"
+HOMEPAGE="http://code.google.com/p/mozc/"
+SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+#IUSE="emacs +ibus scim skk +qt4"
+IUSE="emacs +ibus scim +qt4"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/protobuf
+ net-misc/curl
+ sys-libs/zlib
+ emacs? ( virtual/emacs )
+ ibus? ( >=app-i18n/ibus-1.2 )
+ scim? ( app-i18n/scim )
+ qt4? (
+ x11-libs/qt-gui:4
+ app-i18n/zinnia
+ )"
+# chewing? ( dev-libs/libchewing )
+DEPEND="${RDEPEND}
+ dev-cpp/gtest
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+BUILDTYPE="${BUILDTYPE:-Release}"
+
+RESTRICT="test"
+
+SITEFILE=50${PN}-gentoo.el
+
+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}/${PN}-1.2.809.102-gentoo.patch"
+}
+
+src_configure() {
+ local myconf="--channel_dev=0"
+ #use chewing && myconf="${myconf} --chewing"
+ if ! use qt4 ; then
+ myconf="${myconf} --noqt"
+ export GYP_DEFINES="use_libzinnia=0"
+ fi
+ "$(PYTHON)" build_mozc.py gyp ${myconf} || die "gyp failed"
+}
+
+src_compile() {
+ tc-export CC CXX AR AS RANLIB LD
+
+ local mytarget="server/server.gyp:mozc_server"
+ use emacs && mytarget="${mytarget} unix/emacs/emacs.gyp:mozc_emacs_helper"
+ use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc"
+ use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup"
+ #use skk && mytarget="${mytarget} chrome/skk/skk.gyp:skk"
+ if use qt4 ; then
+ export QTDIR="${EPREFIX}/usr"
+ mytarget="${mytarget} gui/gui.gyp:mozc_tool"
+ fi
+
+ "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" || die
+ "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} || die
+
+ if use emacs ; then
+ elisp-compile unix/emacs/*.el || die
+ fi
+}
+
+src_test() {
+ "$(PYTHON)" build_mozc.py runtests -c "${BUILDTYPE}" || die
+}
+
+src_install() {
+ if use emacs ; then
+ dobin "out_linux/${BUILDTYPE}/mozc_emacs_helper" || die
+ elisp-install ${PN} unix/emacs/*.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${PN} || die
+ fi
+
+ if use ibus ; then
+ exeinto /usr/libexec || die
+ newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die
+ insinto /usr/share/ibus/component || die
+ doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die
+ insinto /usr/share/ibus-mozc || die
+ (
+ cd data/images/unix
+ newins ime_product_icon_opensource-32.png product_icon.png || die
+ for f in ui-*
+ do
+ newins ${f} ${f/ui-} || die
+ done
+ )
+
+ fi
+
+ if use scim ; then
+ exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die
+ newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die
+ exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die
+ newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die
+ insinto "$(pkg-config --variable=icondir scim)" || die
+ (
+ cd data/images/unix
+ newins ime_product_icon_opensource-32.png scim-mozc.png || die
+ for f in ui-*
+ do
+ newins ${f} ${f/ui-/scim-mozc-} || die
+ done
+ )
+ fi
+
+ exeinto "/usr/$(get_libdir)/mozc" || die
+ doexe "out_linux/${BUILDTYPE}/mozc_server" || die
+
+ if use qt4 ; then
+ exeinto "/usr/$(get_libdir)/mozc" || die
+ doexe "out_linux/${BUILDTYPE}/mozc_tool" || die
+ fi
+}
+
+pkg_postinst() {
+ if use emacs ; then
+ elisp-site-regen
+ elog "You can use mozc-mode via LEIM (Library of Emacs Input Method)."
+ elog "Write the following settings into your init file (~/.emacs.d/init.el"
+ elog "or ~/.emacs) in order to use mozc-mode by default, or you can call"
+ elog "\`set-input-method' and set \"japanese-mozc\" anytime you have loaded"
+ elog "mozc.el"
+ elog
+ elog " (require 'mozc)"
+ elog " (set-language-environment \"Japanese\")"
+ elog " (setq default-input-method \"japanese-mozc\")"
+ elog
+ elog "Having the above settings, just type C-\\ which is bound to"
+ elog "\`toggle-input-method' by default."
+ fi
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}