diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-04-20 19:38:20 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-04-20 19:38:20 +0000 |
commit | 19874ee028c582aafce363793f2f1aed1fc2e234 (patch) | |
tree | c6e8411d1bd18181eb8d320b5c35939880b61278 /app-i18n/mozc | |
parent | old (diff) | |
download | historical-19874ee028c582aafce363793f2f1aed1fc2e234.tar.gz historical-19874ee028c582aafce363793f2f1aed1fc2e234.tar.bz2 historical-19874ee028c582aafce363793f2f1aed1fc2e234.zip |
Remove old.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/mozc')
-rw-r--r-- | app-i18n/mozc/ChangeLog | 6 | ||||
-rw-r--r-- | app-i18n/mozc/Manifest | 31 | ||||
-rw-r--r-- | app-i18n/mozc/mozc-1.3.975.102.ebuild | 156 | ||||
-rw-r--r-- | app-i18n/mozc/mozc-1.5.1090.102.ebuild | 174 | ||||
-rw-r--r-- | app-i18n/mozc/mozc-1.6.1187.102.ebuild | 156 |
5 files changed, 6 insertions, 517 deletions
diff --git a/app-i18n/mozc/ChangeLog b/app-i18n/mozc/ChangeLog index d3c93c190d77..6daa39f992f0 100644 --- a/app-i18n/mozc/ChangeLog +++ b/app-i18n/mozc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/mozc # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/mozc/ChangeLog,v 1.17 2015/04/08 07:30:31 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/mozc/ChangeLog,v 1.18 2015/04/20 19:27:09 mrueg Exp $ + + 20 Apr 2015; Manuel Rüger <mrueg@gentoo.org> -mozc-1.3.975.102.ebuild, + -mozc-1.5.1090.102.ebuild, -mozc-1.6.1187.102.ebuild: + Remove old. 08 Apr 2015; Michał Górny <mgorny@gentoo.org> mozc-1.10.1390.102-r1.ebuild, mozc-1.13.1651.102.ebuild, mozc-2.16.2037.102.ebuild: diff --git a/app-i18n/mozc/Manifest b/app-i18n/mozc/Manifest index 8d754d79ad6a..f79d840b6ff9 100644 --- a/app-i18n/mozc/Manifest +++ b/app-i18n/mozc/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX 50mozc-gentoo.el 121 SHA256 833039439dea484a430e832df869b3af0b8d42bae63c4d6999e72c97d55d897b SHA512 2d67a6723374872717ab7132f02f4030f00ddecabb8a1fc20c9d69d64406dc2ba2a1109734378fae7b4718a8ae9601beff4b6f27cb43a280fa2e0f946da70685 WHIRLPOOL b9e5235177ee432509c9428b632a1148e8788c1bf9b6fe57bbc4f3f747a038008ef4752a1dfacb86a5be9a018504405e6a68053dd54d381af1fd9170ba9c6ed7 AUX mozc-1.10.1390.102-drop-Werror.patch 353 SHA256 894411a2dc704157661cc7386abf32b62abea9dc5621bc30474ce3161c54adf7 SHA512 203066f08a5094306d09c3c58f81bfb7a4069bb1eacd31f0d257701a4560adee5452a516351cd9bc5ea7227e40d31bbc6eb177422d3c37514f7573398b389bc2 WHIRLPOOL 0a3cdabbc653c42403fa60d9486927a8b4d9c2003262b973a4f4264424331a02a8fb3c413a736e797525e57f25b12a7ba2fb328ff7a7684b4bb2533f35b2ba96 AUX mozc-1.13.1651.102-gtk-renderer.patch 547 SHA256 6daa6d077dffbcc133f49745bce5b2503b6097d8280c52a602a99b24eaac7b40 SHA512 7b4a4910a8a0a821fd8130e77ecd0b4f846f7fc2b573607e2ce0280889d625f4e374c60e35995dd5cbc2e8ccaf3443652b60764f538584e0a9d351ca67a28af4 WHIRLPOOL f4dabc1a7a4d29f5830bc641019b939405abc6c36d6acc384ed74a06995dfc31d5993653965acf60f8208969e9643ba97c1d4aca3bb7eac19ee73b4bccbd22e3 @@ -15,36 +12,10 @@ DIST japanese-usage-dictionary-10.tar.bz2 56142 SHA256 8c22284c97fdfad854790517f DIST jsoncpp-src-0.6.0-rc2.tar.gz 117661 SHA256 d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283 SHA512 5d44e766aa2d7657bc68cf16173130febaa6744d5fca0c6df5465617a3f306023a17cbeb07a62ad1a34c2d183d916401b4be48f37c2416c895db4ad5d9481b3d WHIRLPOOL bfa7e70e14f3ed0911c5127da0d2099ca8b9159a900a5bc5147d1e50b5a9f9d5be69a8d46a761d277ca1edabaab8d0d3b9f81417572e4664ed8239fd83c953e6 DIST mozc-1.10.1390.102.tar.bz2 57879881 SHA256 72a8ed6657daa1c03b1efe50c262a69be2ab66d45747a47df6e54996b6d5ee39 SHA512 4482e822f8a14bffd02cb1eaa5d14ba0a213266b2f0dd6402c42b9b357bf0d8c4dd572cef79f1d400bd68b7bd6cb4367933574f8f5967f68738249a300e3cfb9 WHIRLPOOL 90518e621ef784b438fcf677e211fdb6753719f3d78d14ce866ccea22d6d87f8d64e334bc568eebe93cb2850d3d545eb0b73d6f6de820eaf1d43f16bfdef4100 DIST mozc-1.13.1651.102.tar.bz2 31635636 SHA256 a275accc726d55d696adf235fa40822ae099f0a02d3dc9f8d0257ba191a1bc49 SHA512 caa75e60704e904a72fd06e315a219ff304a54adaeee70a8ab75d413f7801960add103b9aae1c19ee92f6d10c4c408fd840cf78c5dde0cc21c605feac59deaf4 WHIRLPOOL 72a870cc1bc5bc63227bba61c73183f69160aa5c58c9b89e75fa65bf16bbdc2c2b873b7407d0543b3847bc046866392d9bbe6d771d7b4b7eb3f6be759f1a63b4 -DIST mozc-1.3.975.102.tar.bz2 55961505 SHA256 1ee57425c159bc0066645f086472f72aa16567fe5be272f35339c41e9a52d27a SHA512 dd26382f69820fd7a662c02a157dfcb382020cf15d0bcd613e9015d6142241c46c73755f28cdd23e2c07740dbddad65714474e84759c1313d6a1ffe84f3dc176 WHIRLPOOL b786924fa2c7ad5381ce35f565b320fb63cda4d03f35ce5b6878a4193adf52c22aebe06c953de8ba8f281a08ec2bf7583c26a684f94fa5c4ba73b5bec3a7f577 -DIST mozc-1.5.1090.102.tar.bz2 54911799 SHA256 b52c1879c4749041032578ec6c591d9741f521d54993070c050d09ae35bd2107 SHA512 9901e58af10c67025dd030bd70c3b7d6be34b1e868aefcc0705a18f1b3e76394e4a4b36811df2e598ee1647ecd1f24ddcfe87db889863a5095c31a5680833fec WHIRLPOOL d503fd0c7c2871288d887d834996a53952591eb25ed57a5ef789347a8bf8e39ecc54fb408d53daa3a9018848d52b28bc77c964e202a3479d582529ffc021b598 -DIST mozc-1.6.1187.102.tar.bz2 54828375 SHA256 2a9b54275400c768e14156e7654e9b9a4ca27353573627607c70d221c0e2db65 SHA512 0f182316e80baa8c3d268a266398bd2abad4db9ed54bba351b275681d17ef6fd5348d3b66fd95201028c38f29de293f124b9c4f45a5818f20faf17b1eea495ff WHIRLPOOL fb064dd78471d2060871f905cb1c81fd9c52cc15741493aad26df49db4259709860593b65586a6c44893a6454fd7f2d27815739e1525f1c8fd0cf9eb0efff92a DIST mozc-2.16.2037.102.tar.bz2 41172838 SHA256 4b78769b36366f056282267935a859e587f77e9aaf17132687d0e4d0c4da5cd0 SHA512 ff114a93054b43109407c44bc7c75de79fa2b028f9dba5c2ecc1776c5cbb032f184a91155b6b31bc17f0183dd70b0150ce13e80f59e26810daf4b65ba7e52be1 WHIRLPOOL 625c5a28da164ee96cdf523af32a7101357254cea1d57cd7f272bdf86ba8344d3e39bf2b2bfb0a79640d7961fd46c183eabc4002c8d86215ecffe183e4e0d193 -DIST protobuf-2.4.1.tar.bz2 1440188 SHA256 cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf SHA512 52b0208c685e44126cb3915a74bde692ef91430f0407144b6c30b72a9f143b1ee4f1eea47a550184c689a1758b92582e7f26f0683c2d387205b957a69830f2f3 WHIRLPOOL e5462ff35f63413aff58640c24b9b561ac55749c489803ae009de21bf5d954a77516714361353ef02cfeb3c2d762620c89dc08a5fdee571e3a33b6f5c20edf6e DIST protobuf-2.5.0.tar.bz2 1866763 SHA256 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 SHA512 5994b3669808b82fef5c860ecad36358c0767f84acac877e7bfcf722e59d972835a955714149bdd4158fbd1328a51d01397a563991d26475351ee72be48142ee WHIRLPOOL 7e6786e1f20bf253d0e386a95c2bbfe1b443f484d492f97552cadcea62c24461436aa88130e3ff20b4dc9f352c101458cb8c03686f1cc4e6e2133b6e78f5b70d EBUILD mozc-1.10.1390.102-r1.ebuild 4928 SHA256 e76b49689e9f904266b75a4dc69ca9b004f09c98271a8ba9ac430dc8d035c2d5 SHA512 99eb75fb48403262df27c75fdec9a24b9dd856572c464761abb772089a72dc5def1c4b046da6e156786b08b24df1c7e9f3dab9168af929bee210e90eac54f717 WHIRLPOOL f931c9b5cac24c2bbdfc208ffb388680138b72aacb9281f781ceddebb1bf71efd75d8c7d234e9feecc8097d25633fecb85903ade2587b92d5785c32b74de8401 EBUILD mozc-1.13.1651.102.ebuild 5106 SHA256 74f123cb9dd46227f8a7e99e6a175ac7647526de1a0a6201fce728623913100b SHA512 c3e1a2b78977167f8ab921655bf35044939603a86f7fe4f5b6a56c09fdd196b323c051107a3db91cc476b76b0940b58bcd125718381c3b30219d877257826e07 WHIRLPOOL e53940162cadff3eb097d9cf297299ef1cfa822ed5f6429cd827399cc6b7ff78797a35bc7fd0f71468708985d31931d0ce612b29bd684f3e6e812b9eb946156d -EBUILD mozc-1.3.975.102.ebuild 4383 SHA256 281dca5a4704df212a07e616db4779f9f241c600c4c026d8092a6604a5388d09 SHA512 34e6be151e59f79232b7bd352081f87b061841d26238a5e737c1b4be96d0206fd9d73c2dfd0623eb4efcff4610da604faa00dced14d21e6a4cc84e52110f1022 WHIRLPOOL cbf87dc98060bf4a86112ab1aff0c1571d3acd478f84d83b8e5885100833a8ec963e5c0c95eaa4218c141824d11b6c773a5a2b78acaaa304763e1557930710d2 -EBUILD mozc-1.5.1090.102.ebuild 4833 SHA256 de99a5e45ecc8bc3b4d279495cd7befa08367660a71f36bf8fc34e5548b1197b SHA512 b420913dafd09e3b7cfea4d10d9a8c89fade2928e36c1fb072089d7f1ddc833634e72ef1b22e845a0f280d8def928982756119b32fd97a14b073f2d0a7a867cc WHIRLPOOL 7549a42e848ed58b343c5c6491e62addb505d75a2bfe8e06a0afde235c2151ffe0d0883de9d8046b3f2abfbb5981a33ec36b765d2baa875f9206a1040a605fcd -EBUILD mozc-1.6.1187.102.ebuild 4151 SHA256 8a3dcb043725bc7d4289f2649e14f20196bc6ed00ccf5af648d308ec81bb97e4 SHA512 7d72dd7fe3520df151187bfcda42edf184671975fdb8188f80188b6cd3b370882787a36adeaedf33a6d6c2973f0b4addcb28edcfda69f32c5d1cab14417728b6 WHIRLPOOL e94eceeb63de930740f72ebae3abc25fab6cfce2303a7d22f4ec5d5e0c9cca3fc50796d035d1b5ede822e07f757c36ff084d5c3ee9630062e66e31a686d948ca EBUILD mozc-2.16.2037.102.ebuild 6798 SHA256 d6822f79070bf72e6aa1bc814d3bec8d1a3e7c453cc5ce723abeeeef04ee2377 SHA512 df4b5dcd081315a848d66900d0da737812ad1aba5d3a3dd4a3571ec78c2c8e5f979fef9c0717beb6fb86ceeb3b8cabf917cf7ecdd1b29056446ef5e0fce296c0 WHIRLPOOL 7fd0daa2ec9c8405b0433fbd05b80459690dd1d051d0fd08c068ec21437778e34f214a115b17233408fa3784b6589b84495b1e2ab6ec631fe568883a6f5db7f6 -MISC ChangeLog 8561 SHA256 afd057c24bf176dc44fdd27c9801f76f29bc36fdc1788635cb3948dfcf436cb9 SHA512 fbed535d1d06d8cb38b0da3ad0ce398d2a849a850ebec6645940cc4ec78502e3cd4908e329f9c13bda2f3f9f2089f5645c593d33b1df3ae8770babb17a694b7f WHIRLPOOL 33785dd42985927f78179d29ae683b28f4b7356c270e28453d0394050d0d4fe93f90fb70538a6be53650ad92e66f5642229e7c1fd86a16ee3e3b7ea1abc26dcc +MISC ChangeLog 8705 SHA256 c8e5f37c157cc3afc6401871b43cfe3be5f2499120c8adb51f6ab6758be48a53 SHA512 7e7519f30e3107a4a33554cca09eb5fea3028b53cfdb8f617c055a5a9015839a881340ee0a14820827abfccadf6146258cea54456824074b1c619aac74d34ba7 WHIRLPOOL 808eb050beaaa3ff9869e192d244966892f0096aaddbf96ec92283e8794110baeb4b8ef8dc2a2278e584781711cc3e9ef46c3522c42f125b74d8bcbe0abcbc80 MISC metadata.xml 676 SHA256 b72d337a5e00ee021b207a6fa17b215094422af2ce3402c16a1abbc00c87d223 SHA512 12c689ccf138bd7ff787b1875a71c243e8a2fd64101ef3b201a8ad8916625a91e67ce9dd53eae4b3121c6227ed9acd9193eeda56222c82ae3a7d4e4698fe33cc WHIRLPOOL a0ab8bc587b0303867acd08a56ccc31df391593cfc8a3709c73568784e0617ecf57cb076773e98a841e35198ad5624e04a6a5f79dc53e590148a9c3c0e2f8f80 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQJ8BAEBCABmBQJVJNl6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOkFQQAKiow6PjA1LwfzDiBoSN9qXl -FYjaIt/RSKVCmfMpHANZw94j78IT5C+YxbDdCuX8c8vwXwklE6idldlFSTomIIno -pj9Dz09tECYDJPCBI0p7Ohf96uskEN0BSMYRikrwqPq8oZdXNP1patC0/sRBCfxZ -eZj/aHLz00OfCd/0s3LHsGvVbkAUD4Ga5TsKAe+DICnPDtxjMlSeaKUuvF9vjvVd -PUItnlJm/TpFmk56gMq/GbnVtG7WtNwa1uFNb5MGGKcWdFFDBeywozj243qDzhRM -fPWg7xGRDsB49J+UgNkDlNb5ejmEBv6RPFAXuNwrlwMslRZ5MVWeIhYWHAYgApHs -6qo6nv9o41xm6vawzI5M1VgJxAdDqQwWoAnYdVBXI7+3/CFn5y1qiaecaeSHoVNh -x8AH7IY6ulP8RcTfUbz/Ta5MRdRLPoiYh9VN6uZ/f3ito/rbZmzPL5iJfsQZQcfp -tRKVA0MuynEro5FC2vQxh9qfNhtIBgHxrqFflGzcHmB9/2Ckr/JBbdq2RpAY9+BK -EuYJ3xkAPCJ2P5iTEIWJnQPb5TxzSTK1KOmWlXJUYQLWFkgn/qA7c8MF9fMrf8o5 -nhZX/iCl/wlEoImtPIU7H31U+nMV2fTOU3cURf6Te9MofHPv7HnocXEdZLIb5Rrt -/U6PRyRiRd2CmL8yIKs2 -=xBBc ------END PGP SIGNATURE----- diff --git a/app-i18n/mozc/mozc-1.3.975.102.ebuild b/app-i18n/mozc/mozc-1.3.975.102.ebuild deleted file mode 100644 index 1fe53a890fe4..000000000000 --- a/app-i18n/mozc/mozc-1.3.975.102.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/mozc/mozc-1.3.975.102.ebuild,v 1.3 2013/03/02 19:28:02 hwoarang Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit elisp-common eutils multilib python toolchain-funcs - -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" -SRC_URI="http://mozc.googlecode.com/files/${P}.tar.bz2" - -LICENSE="Apache-2.0 BSD Boost-1.0 ipadic public-domain unicode" -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? ( - dev-qt/qtgui:4 - app-i18n/zinnia - )" -# chewing? ( dev-libs/libchewing ) -DEPEND="${RDEPEND} - dev-cpp/gtest - virtual/pkgconfig" - -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 \ - "${FILESDIR}"/${P}-ibus-1.4.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 -} diff --git a/app-i18n/mozc/mozc-1.5.1090.102.ebuild b/app-i18n/mozc/mozc-1.5.1090.102.ebuild deleted file mode 100644 index c6b870694184..000000000000 --- a/app-i18n/mozc/mozc-1.5.1090.102.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/mozc/mozc-1.5.1090.102.ebuild,v 1.3 2013/03/02 19:28:02 hwoarang Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit elisp-common eutils multilib multiprocessing python toolchain-funcs - -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" - -PROTOBUF_VER="2.4.1" -GMOCK_VER="403" -MOZC_URL="http://mozc.googlecode.com/files/${P}.tar.bz2" -PROTOBUF_URL="http://protobuf.googlecode.com/files/protobuf-${PROTOBUF_VER}.tar.bz2" -SRC_URI="${MOZC_URL} ${PROTOBUF_URL}" - -LICENSE="Apache-2.0 BSD Boost-1.0 ipadic public-domain unicode" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="emacs +ibus scim +qt4 renderer" - -RDEPEND="dev-libs/glib:2 - dev-libs/openssl - emacs? ( virtual/emacs ) - ibus? ( >=app-i18n/ibus-1.4 ) - renderer? ( x11-libs/gtk+:2 ) - scim? ( app-i18n/scim ) - qt4? ( - dev-qt/qtgui:4 - app-i18n/zinnia - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -BUILDTYPE="${BUILDTYPE:-Release}" - -RESTRICT="test" - -SITEFILE=50${PN}-gentoo.el - -pkg_setup() { - python_set_active_version 2 -} - -src_unpack() { - unpack $(basename ${MOZC_URL}) - - cd "${S}"/protobuf - unpack $(basename ${PROTOBUF_URL}) - mv protobuf-${PROTOBUF_VER} files -} - -src_configure() { - local myconf="--channel_dev=0" - myconf+=" --server_dir=/usr/$(get_libdir)/mozc" - - if ! use qt4 ; then - myconf+=" --noqt" - export GYP_DEFINES="use_libzinnia=0" - fi - - if ! use renderer ; then - export GYP_DEFINES="${GYP_DEFINES} enable_gtk_renderer=0" - fi - - "$(PYTHON)" build_mozc.py gyp ${myconf} || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - - local my_makeopts=$(makeopts_jobs) - # This is for a safety. -j without a number, makeopts_jobs returns 999. - local myjobs=-j${my_makeopts/999/1} - - 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 renderer && mytarget="${mytarget} renderer/renderer.gyp:mozc_renderer" - if use qt4 ; then - export QTDIR="${EPREFIX}/usr" - mytarget="${mytarget} gui/gui.gyp:mozc_tool" - fi - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" ${myjobs} || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} ${myjobs} || 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 - - if use renderer ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_renderer" || 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 -} diff --git a/app-i18n/mozc/mozc-1.6.1187.102.ebuild b/app-i18n/mozc/mozc-1.6.1187.102.ebuild deleted file mode 100644 index 8f93facb4890..000000000000 --- a/app-i18n/mozc/mozc-1.6.1187.102.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/mozc/mozc-1.6.1187.102.ebuild,v 1.3 2013/07/20 07:15:49 naota Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -inherit elisp-common eutils multilib multiprocessing python toolchain-funcs - -DESCRIPTION="The Mozc engine for IBus Framework" -HOMEPAGE="http://code.google.com/p/mozc/" - -PROTOBUF_VER="2.4.1" -GMOCK_VER="403" -MOZC_URL="http://mozc.googlecode.com/files/${P}.tar.bz2" -PROTOBUF_URL="http://protobuf.googlecode.com/files/protobuf-${PROTOBUF_VER}.tar.bz2" -SRC_URI="${MOZC_URL} ${PROTOBUF_URL}" - -LICENSE="Apache-2.0 BSD ipadic public-domain unicode" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="emacs +ibus +qt4 renderer" - -RDEPEND="dev-libs/glib:2 - dev-libs/openssl - x11-libs/libxcb - emacs? ( virtual/emacs ) - ibus? ( >=app-i18n/ibus-1.4.1 ) - renderer? ( x11-libs/gtk+:2 ) - qt4? ( - dev-qt/qtgui:4 - app-i18n/zinnia - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -BUILDTYPE="${BUILDTYPE:-Release}" - -RESTRICT="test" - -SITEFILE=50${PN}-gentoo.el - -pkg_setup() { - python_set_active_version 2 -} - -src_unpack() { - unpack $(basename ${MOZC_URL}) - - cd "${S}"/protobuf - unpack $(basename ${PROTOBUF_URL}) - mv protobuf-${PROTOBUF_VER} files -} - -src_configure() { - local myconf="--channel_dev=0" - myconf+=" --server_dir=/usr/$(get_libdir)/mozc" - - if ! use qt4 ; then - myconf+=" --noqt" - export GYP_DEFINES="use_libzinnia=0" - fi - - if ! use renderer ; then - export GYP_DEFINES="${GYP_DEFINES} enable_gtk_renderer=0" - fi - - "$(PYTHON)" build_mozc.py gyp ${myconf} || die "gyp failed" -} - -src_compile() { - tc-export CC CXX AR AS RANLIB LD - - local my_makeopts=$(makeopts_jobs) - # This is for a safety. -j without a number, makeopts_jobs returns 999. - local myjobs=-j${my_makeopts/999/1} - - 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 renderer && mytarget="${mytarget} renderer/renderer.gyp:mozc_renderer" - if use qt4 ; then - export QTDIR="${EPREFIX}/usr" - mytarget="${mytarget} gui/gui.gyp:mozc_tool" - fi - - "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" ${myjobs} || die - "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} ${myjobs} || 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 - - 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 - - if use renderer ; then - exeinto "/usr/$(get_libdir)/mozc" || die - doexe "out_linux/${BUILDTYPE}/mozc_renderer" || 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 -} |