# ChangeLog for app-i18n/im-ja
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/ChangeLog,v 1.73 2014/06/22 19:54:25 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/ChangeLog,v 1.74 2014/11/13 12:53:23 pacho Exp $
+
+ 13 Nov 2014; Pacho Ramos <pacho@gentoo.org> -im-ja-1.5-r2.ebuild:
+ Drop old (#508854)
22 Jun 2014; Pacho Ramos <pacho@gentoo.org> im-ja-1.5-r3.ebuild:
x86/ppc stable, bug #512066
AUX im-ja-1.5-underlinking.patch 782 SHA256 991c47d6f27161ede8234394f458cd5495992bd2b89a7d6645393c290c998d6c SHA512 46e314fe937cff78fe05273acd52b906d620a2562dc83eb11b9f28ef3ea16295210c498958349062ff34fe5c85de6319f9c27340d63092de3c974673dcac1109 WHIRLPOOL de717b46020e06d158a88d54cfaf36935236641ecfc8194c949c2a93cab8bb2a7f1f67006e5d414d41439c83d765fa0070c36895575f97ad8ea55922f0763bfc
AUX xinput-im-ja 198 SHA256 8ba6698e33fe4cca0d214cf00e4a3442033cb314c771c1f8cb6fc7f85b86d090 SHA512 671d88e36a21ebbdea408a52ab77496d6f4ed97bb2a8ed09388a791185021e2b6c55c4708b5e07980c60063dbf6e83cbd960635178fc84cf48c948b3ea0bb07e WHIRLPOOL b3ed8255cca8ed32985dcadcb37ece934c5cefa7a42da935795cb30dabcec9cfe098ba7573a2324078fbae5ba462f23b04156dbac8c22fa25e219b37aa01fdb5
DIST im-ja-1.5.tar.gz 905539 SHA256 96f4ed82706a873bdade99a934a1a66431f146758837ed0f007e3c145649f780 SHA512 97c75aa5437b3f887d7004d87f4dd7e444fb2ad393af0117dab64fdef87c0a92b1a97c1934a8e1e67e6c1753ad78f1c9a67f5aca10710115a8b331aae4f17864 WHIRLPOOL c9d3cd722ce3b31cedfc75667d752a0df22fd3eda6e6f3421c5d381c86735e047c80db5c14b0b59a71d524b617276850fddc8b0378e18bbda825208381fa7700
-EBUILD im-ja-1.5-r2.ebuild 2597 SHA256 69896a5c9ed33b5a4e7537d1e7e62e4af31033d460a1dfa45db38d03c46b45c3 SHA512 56b9af26afe134256cae2a7fb06349464f69636a5a7ddc2230383fa41403df51514c10d8def709b79994a241e638dfad038e6a16a5f01b22c650714c89efbea3 WHIRLPOOL 50fe646f56fc8882e99e28ab72701e6111862aeea657270fd420aa3e9b949fcbe84374ff69292159374813d9c48ab34e73aae5324bec3a1521c200b84e56cde8
EBUILD im-ja-1.5-r3.ebuild 2504 SHA256 85fb0f653d527a54660e44c8a84fabb4828d6a616bf5e53ef0ab8cee3e4ecb22 SHA512 90bfe2a5019c42bd229cdc60dfaa8cb7a186fe0772830bea7ad7a2e5264a93fb07da66b5787d58e4e0479fa36b757a9d9ab0902be307e60f0e0f6305cbddd7d4 WHIRLPOOL 573a60a1f7e5241fb833e617d22c56891efe5923673c4251d517075f3bb72a2b11723728a02a436a2cb8ada4ecd01738ff7426cf54817be67767e7b8b6a5a17b
-MISC ChangeLog 10116 SHA256 b47b50532135af1494c6535e867d1f35d316f1a07e28c4214a3cffd8f3d7ec42 SHA512 7daea8b15cfc398147b9401e3f5f360ce9f20843f8579d7ef50b28630a8687af602912b9f2dc0551f29a2cf391a07bdb0aab63ee91e0022e285481f201d5801d WHIRLPOOL baa51a5b95bc462daab561cbe9fda76d399eff31fdc61ae9151bf458425020215c9743f6a322129b2f40c72c0b3ab026c190e45c8b0cc8c7bc3dc63c9ca559ff
+MISC ChangeLog 10206 SHA256 ccebd7923ac0ad10183111581fe139cd511d9fdf6d95ccc689436c58f3f76b4c SHA512 6971e291e8753e4a03ed67bcecf3013c039b1dc3fab71cbe2f089271e19a6cb7b202638475d182ada9e26a724035f9eed9ff932408c88507808a876660da625e WHIRLPOOL 44095dea5a374d03df457cc7994d3088d6fe2cf425e71172160062568c2657370e195db33246266e72725709989ca41cf21b761de863f3acf771195626fe33fb
MISC metadata.xml 649 SHA256 9d3e00503f95c8497d2cfcf4a35d7c332ec78eb8e9c71a46726839bee5c8a14b SHA512 3ee4c4b570a1cc3f39edf17c3b6444544f825eb8f3b5be442a785a5c652897990d6922f906e2f34a831f49816914ea493002e76e197c1475bbc5bf94c71b664f WHIRLPOOL e8d2552d596b8123e38082712ffc5e62b7beebbdb54ece869fdc01704e424823db659d3b429ea354aab7dcbe8f8cada1edc7e4e13d6a77d8a15bf78ee8a89efd
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlOnNHIACgkQCaWpQKGI+9TIPwCdEzYo+hoNbKT0uogmnzv14/md
-YscAn3iZt2vnmaIqdYKWPFp/pjSA3nCB
-=ZcD4
+iEYEAREIAAYFAlRkqcQACgkQCaWpQKGI+9RDDQCfeV6DUDvvDFGwIH3pq+mqluQ3
+BZMAn3IUQoEEZdDmuBo5lFb4+LsWU6az
+=lVtB
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/im-ja-1.5-r2.ebuild,v 1.10 2013/10/09 02:04:16 naota Exp $
-
-EAPI="3"
-inherit autotools gnome2 gnome2-utils eutils multilib
-
-DESCRIPTION="A Japanese input module for GTK2 and XIM"
-HOMEPAGE="http://im-ja.sourceforge.net/"
-SRC_URI="http://im-ja.sourceforge.net/${P}.tar.gz
- http://im-ja.sourceforge.net/old/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="gnome canna freewnn skk anthy"
-# --enable-debug causes build failure with gtk+-2.4
-#IUSE="${IUSE} debug"
-
-RDEPEND=">=dev-libs/glib-2.4:2
- >=dev-libs/atk-1.6
- >=x11-libs/gtk+-2.4:2
- >=x11-libs/pango-1.2.1
- >=gnome-base/gconf-2.4:2
- >=gnome-base/libglade-2.4:2.0
- >=gnome-base/libgnomeui-2.4
- gnome? (
- || (
- gnome-base/gnome-panel[bonobo]
- <gnome-base/gnome-panel-2.32
- )
- )
- freewnn? ( app-i18n/freewnn )
- canna? ( app-i18n/canna )
- skk? ( virtual/skkserv )
- anthy? ( app-i18n/anthy )"
-DEPEND="${RDEPEND}
- dev-lang/perl
- dev-util/intltool
- dev-perl/URI
- virtual/pkgconfig"
-
-DOCS="AUTHORS README ChangeLog TODO"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-gentoo.patch" \
- "${FILESDIR}"/${P}-pofiles.patch
- sed -ie 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in || die
- eautoreconf
-}
-
-src_configure() {
- local myconf
- # You cannot use `use_enable ...` here. im-ja's configure script
- # doesn't distinguish --enable-canna from --disable-canna, so
- # --enable-canna stands for --disable-canna in the script ;-(
- use gnome || myconf="$myconf --disable-gnome"
- use canna || myconf="$myconf --disable-canna"
- use freewnn || myconf="$myconf --disable-wnn"
- use anthy || myconf="$myconf --disable-anthy"
- use skk || myconf="$myconf --disable-skk"
- #use debug && myconf="$myconf --enable-debug"
-
- # gnome2_src_compile automatically sets debug IUSE flag
- econf $myconf || die "econf im-ja failed"
-}
-
-src_install() {
- gnome2_src_install
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/${PN}.conf" || die
-}
-
-pkg_postinst() {
- gnome2_query_immodules_gtk2
- gnome2_pkg_postinst
- elog
- elog "This version of im-ja comes with experimental XIM support."
- elog "If you'd like to try it out, run im-ja-xim-server and set"
- elog "environment variable XMODIFIERS to @im=im-ja-xim-server"
- elog "e.g.)"
- elog "\t$ export XMODIFIERS=@im=im-ja-xim-server (sh)"
- elog "\t> setenv XMODIFIERS @im=im-ja-xim-server (csh)"
- elog
-}
-
-pkg_postrm() {
- gnome2_query_immodules_gtk2
- gnome2_pkg_postrm
-}
# ChangeLog for app-i18n/uim
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.271 2014/06/22 12:39:57 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.272 2014/11/13 12:52:45 pacho Exp $
+
+ 13 Nov 2014; Pacho Ramos <pacho@gentoo.org> -files/50uim-gentoo.el,
+ -files/uim-1.7.3-glib-2.32.patch, -files/uim-1.7.3-linguas.patch,
+ -files/uim-1.8.0-glib2.32.patch, -uim-1.7.3-r1.ebuild, -uim-1.7.3.ebuild,
+ -uim-1.8.0-r1.ebuild, -uim-1.8.0.ebuild, -uim-1.8.2-r1.ebuild,
+ -uim-1.8.2.ebuild, -uim-1.8.3-r1.ebuild, -uim-1.8.3.ebuild,
+ -uim-1.8.4-r1.ebuild, -uim-1.8.4.ebuild, -uim-1.8.6.ebuild:
+ Drop old (#508854)
22 Jun 2014; Agostino Sarubbo <ago@gentoo.org> uim-1.8.6-r1.ebuild:
Stable for ppc64, wrt bug #510672
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX 50uim-gentoo.el 113 SHA256 58a536e5b7d0ffac6802e60d348b092623601d25c8917d64a51347efab9e4cb7 SHA512 5bdf2d6ea7203fa171e2183b272f9b1e7dfde990d14fdb13a4abc64a3eaaebb65d0325006451979cff00f6dde8c90d58e4905dbdabe0b5c4b4fa3eb721c01b7a WHIRLPOOL a4ad6ec76f4734cbde576d857dbba5b0f1b97e7df7aa131b05e508ec58f7f1c6d6d38c578b99e3418f50e80fc4860561063cfb9f8bd29eb5d249f36e57bd44b1
AUX uim-1.5.4-zhTW.patch 1034 SHA256 82afb0a1cc1c2e706ac02da71084fe16655bbcb9719710ae37057ab6c14b9196 SHA512 0fb31957a74b49bd2ca335357b8aa177dda4fb90687b8ee4ce86595940d7fd36b82ccaf12850d658dfbf0e7f2e5119dd26ecf9246806d854cf22bde633687aee WHIRLPOOL 77ac84c09f36888817b0763db3ce4f7ff356f15cc3dde44f7151ad55261dd9516088934ddff5aaf6646df2d28977d774cf9146f4f907e67929ea458aac895e3e
AUX uim-1.6.0-gentoo.patch 381 SHA256 c44e97d8c4d2125e17fe0d8107ce3d258c930b9dda3329eec170cfb291ae6c80 SHA512 c5445c74269aa51a07fc41e5ecc05bc6c4e73527dd6780e13070efa4f9074f5a3eddcd150c38981393cec5d883e73ba55e4b1f3d460aeaf40817ce60c268f417 WHIRLPOOL 2ab3952deb6d52a70870535f07269e104546d35a0cdfc23f92f01ee5be9dd8b9d10bf3bc320b802adf0b1ecd014825279b7dd12d9fa500428d45c6531c428dab
-AUX uim-1.7.3-glib-2.32.patch 582 SHA256 a65524077354ab2811ddd80347977de5070715a9ad002b3c284ffce74ab68553 SHA512 0339014da5346b2c7a9aefac139001218727ac2d053b5882f15e73fb1167c87843daf316cfff9d7c78e8ac655dd88299b1c96920be5e7d84529341c0e6b7550d WHIRLPOOL 5e9da23a4e511db4b6ae0414f8a38104f8c56f16384c2a4aa7c40feb8bf39d0a3eba0de1f732be7538be8436241d03c1830ff498f1d31ca767423e79c2100a15
-AUX uim-1.7.3-linguas.patch 137 SHA256 e213b04dbad4439af5382287dded96cf2747444f2e60a110d46a84e0d25e5994 SHA512 adfde364e566adc42eb2f2c5c9d2b5265cb6773c7ba70b79e5eba3898b8de21b50b1df082d299e75c00b1cc0efb38b9f254a8b38c2e70bc4f4a21c04a1b10c0e WHIRLPOOL 870f2181668bece9ea1817ca7673b414992c1ea04ce20e5e1ee539419b477ec7013b74c38104f2faa017c336a3a5cec3d700b761259bed3ffb5f1129c9b50ea8
-AUX uim-1.8.0-glib2.32.patch 365 SHA256 b237cdd32786026db77f44a814b50bbf1eef6d822a3e233309a000ae3996240b SHA512 6b5c6fa860935fd5175259178686c131fdc5ef3e5ae192ac197de7321715a326c5555fa04d30369d288882ba4ccb857f9645e3ce1e89c6d60a59cb411c23f288 WHIRLPOOL 4e5e9d9a754c8f6b87be43d6c69537f65823da658f8b1b70c3c67891333a6057195125fe8b8b0c6c144b5d52a43eaccf28ce41c5520c2dd206e5c9ba564fee56
AUX xinput-uim 108 SHA256 972c38f0c227cdf2ace54fa3cb0d0095864e88cf38c73759645151e3eae4b548 SHA512 b3ba31a87e19f589ac8051ece45b6b6c44b295dde76a5ce6164d1e435d791c4e7cafc7192177384f4052fd928caabb8574a9192cf783f4cb22e4ee16741343fc WHIRLPOOL 0ceb8889d4771f09588d9c53a73dc557aa09a00587df0982620615796d0530ef2c9604018f25dc50ece679ab55ea68b44edad96ba06f91950f0b9fd2200d32e2
-DIST uim-1.7.3.tar.bz2 6380469 SHA256 d2909d2d624a92677935461ce03413f33b7e5af6e19796410406628e59bd561c SHA512 4879595417c77c3c14e579b2fa6e393f87a056910f9eb126262eedfc39c8b45192e8647c45dfbcd57e0a8bc074694b9988c5d5bafdd99942d9d89e90a66fc14c WHIRLPOOL 27e0865ad63d5daa0047927b7dee89097e39efc6dc4d82915768b5cb3deabc93464cc7f9836d22a620d530834dc03af2fe0bd5ae4e1390e8164520579f26d6aa
-DIST uim-1.8.0.tar.bz2 6453678 SHA256 bf760f51b37e4d3a2c960357faea2ef52d1bb7ee06252284c47e431cde88ecc6 SHA512 4ec5897436fde50c1b79ea235c89d512cba0e88affcd340188341e7f7335c443dcd132c794e9711d4c8fe329c47dd3502cc9e9772f4f43f49d3864469ba69048 WHIRLPOOL 8aa5b1385e71b9b0d0570e052adcd091601a0f80f0698ef374f29b0337d569804678c9635a29d95e92a1a4f3eacb5ae6d895df85bac6a0e491815da212e94100
-DIST uim-1.8.2.tar.bz2 6480613 SHA256 44c2003179291b3279dae7f911d638418a54910f2b99e58418acc88e10067835 SHA512 4433db6913611c753c896e89c79880b87bc55cf0888eefbc76f04e72f8b4d0bf3a97e355e9beeeb51f6dabdbeafaf575399562585b44717a660b8efac9ae80ab WHIRLPOOL 0b089785a5e0b12abbeb6edf7cb5dce162e15e1fef8ea17475511d0a95f733be616bf00dc2cebc6833dc611c31655d1ef5c5c584325ecf0160cbaf4f48a871cc
-DIST uim-1.8.3.tar.bz2 6493892 SHA256 e701e01c3b75512de9ae5b451bdb0a5f49bb444186c31cd5a1ab4fbaed4b3b6e SHA512 28e7207ada6b12ee56017a620b6ebf03ce3eb02ebceec79f43236caf0bce4c3b6508c4d4c2cc3d1705b77d1033a3b47a0c9d0d0d78005217acb4b6ce8ee6bb99 WHIRLPOOL 33acf600f7f6126a04ac2cb1139e28cf1b3e47bc409822016b20f5dce8aa5ca04c8d44ac5985bf864f0fb451748df049077e221dd2d3456f520dbd4e4352a11a
-DIST uim-1.8.4.tar.bz2 6494902 SHA256 16541b9dfe7e5b0f6c06d9b07a19e6b03de2d1dcee4669f8525e48dc552d683f SHA512 b804757f07f44212c0fbb494c2591536cdafd223fd12cce21da68c1273d14eb7156d4186eb96a3969edfc76cfb448d96cf45a9f7d59bd1dbf4c5faac754d95b7 WHIRLPOOL 5bc6a5ed58a140585089c697a54d8bdb5be52888f5c54fe46314e039094d7706814c4e43f64ce373b280e7790c8d851e5b0946ba5dcbb255c248dbd5ec28e060
DIST uim-1.8.6.tar.bz2 6500739 SHA256 7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f SHA512 26a95d3b51ef7a99108234b9af30ee7b74141cb3af13d092d4cdbf0749f630934cfd67f74b09dacc3adcdce4a390104489d68a4e2419ec07418645a9b4e5715b WHIRLPOOL 77362b5ac6bea217b4373184eb19d79c0b19a8c3f9c27945abccfd414d0409a33438a3cd1d1d2370b6b2f7154a6c35688ae4b2e57f50dc29524bf71938a38a28
-EBUILD uim-1.7.3-r1.ebuild 6653 SHA256 619044e534dd7cd6f33c640db6a342a24a49c1c1004d6c07bd15516a15967c27 SHA512 5748d58b33b1cab95866cab3dfaeaa716a3cffbcea464100648d5f0848d6414b77c8ce7ffd419510c3ea6930cbb5ed9d54206e5169c0da9c99680980b677a29c WHIRLPOOL 0263ed501d0b71f5d191730e67944f51d8e02f96f8841beea655d2eb8c2ab7ebd9af420309405c1faf1be4210bfc4969ae01b81b41dbb386d340309d3a0c7faf
-EBUILD uim-1.7.3.ebuild 6469 SHA256 ff58fefe1c360cef268b3f1cae5692a6fc08f529c16b08232638089b282dc882 SHA512 2e76079cd42522a6c55c9440e590a45db7e0ac7c87377ea9d8f202cbe984f358cbd90875aa89b317692fb40c4dd131123a690b4dc2eb0c7d87a0067b7b4b4b16 WHIRLPOOL 23f2f64c9192ed10ae367d07062cff12de238b0585918fc8fc410d5626b1a2443e28b6632184605a4b40e2538c3bd72a020d36e9b2df14081a7ff2930619b667
-EBUILD uim-1.8.0-r1.ebuild 6562 SHA256 ce28e1d0ca9c3921f4a68dd5a4aaff9ae7d39f57816199034e7be17db9b9ade3 SHA512 c1a4b19bec0698b300fa44fb6f96fb2c4711b1f86fb0b915420892fa95cb2bdc599982adfb16f0aba40aa613eb996362ae1807996258e5a8159744f6b6d6d6a4 WHIRLPOOL 07517587f5bd3cbbe305c965e2ad41f0917edd2a710fae23a20591fd70d01dbe581e77d4fe61ddf940ac82c18009bdca46103e4c4cc79024ca57d11ac4d2e827
-EBUILD uim-1.8.0.ebuild 6378 SHA256 39bc94eed290c88c31ac3ea7f6e45cfd162767542be7e233087fee3695de2aac SHA512 cc15b3e716fb4b3c8eebe7ae30a89562d464d01510d3ae282c3ff6da7897048bb145499983f1f19e9bc3e9bdbef6ecfaaa944ea9423fb37e267b4b0e20ee7783 WHIRLPOOL c887aa3a1799a4eecf9b0f3b839e4f8877ea3ad2a0e40a189b54b985d8f72f10b0a0313572360e10557f0b336ce8c61f4a8421e4a72c58a25b24e605f247f065
-EBUILD uim-1.8.2-r1.ebuild 6517 SHA256 ef846ca3af1b725bc499eff722cc532f8d9738f3bbb16c0c6009e9e1a398af2d SHA512 a0eb2156fe05f76fee2342ba17f4ef96a39a27510f0e63bf52facc20aef81ca3a45ce97799510087b125d4376446b4cb5bbbb93bb626bb74f43c524ba2366218 WHIRLPOOL b1415e4bff8af5abba065fb96161252c0af09bab7d916ea980bb50c64c363cfa0920dc0282a388902320227bfd1b405cfb832f718853010124822292ee47dc7f
-EBUILD uim-1.8.2.ebuild 6337 SHA256 e57ee70e93361d4d59dccc622914cef145a8aa63c5b796cfb068991772638124 SHA512 88e510c47908fd74cb250e35cb67748415e2566249009a5ec58a49f92a9b2d204c0fb06ed79bf7b52908ac132e690dafffdbd4230fb61976757068615c9e271d WHIRLPOOL f5940724a54a852dc7a158676fb399745ba4832f899d05e7cc12d74c86ce00c0a860ea6bce10d6242aa2d00ef7b887a45a3df25958d5fdeaf82c5d7900136106
-EBUILD uim-1.8.3-r1.ebuild 6518 SHA256 78d1755b026e82f98cca756c12c1e8275c08ca386cb64eee6c663a9505c4adf2 SHA512 ccc94bafd2d97c6ba5b4edd7b015e7c591ef058821f01e32de4e4614c909b9492171997110cee6b532cb8567af67d12c87d2730c196ed8a7c1cb936c3f94bcfa WHIRLPOOL 6bf990206a7dfe4a334f47ac8dc894872687092eeb3425aef131c2c7e36ff713e987773b3d60b2051d749cc9cc3706f82c9410d1824ec49c3928d84d808ae363
-EBUILD uim-1.8.3.ebuild 6325 SHA256 e08c79c82d7a6077afaf190df1d8e9d805c425df401146eac46c61db628217da SHA512 80b7dd9d42f042d817639b20d5009c4bd9704f1c86f28aa3e55f86543868cfea8f4bb0cdc126b35e62ca6ca63dc48fc67524b12a9f4c85719f710fc4b60b32b1 WHIRLPOOL 77bdd41809b147e7716a717808d050c407d98620768bf7d8dac39faef7a552bef7ab94dafa8487b2237c21c9a024f9d9be643242d0c5fdd91e9cdf9b0a82c80b
-EBUILD uim-1.8.4-r1.ebuild 6518 SHA256 8e57d2c4c5a5aac596b8916b4cf5c2330163bb0834ac3b734714970387640e28 SHA512 3318b0dc4ddb4fdec394d7e80ffa88f628e0aa1043884de922e8a6250338e53b34edfa71ca1a262db277c1bfcffbeeb8a1a867a8971d1ccb150f1bbd92d5baa4 WHIRLPOOL 696d9c12135453835f385ea90d55f0269046b73fc9c98ed109e79db758129a1d5d791e77a2ffd8b5483943272fc5129cd80ddea92a64c19cedf1ba3eef70a599
-EBUILD uim-1.8.4.ebuild 6338 SHA256 ef0562bc3bbc7c2fe3e2be77bd49647349339f8159b5f0c89499fd4314a13201 SHA512 2a7bd266d21bcd3db9bee5e7e6d29e66e27fc02b366bcd315c8bee97186ca4cf971e65df8361fef6810121bc4bfb1a15c9d2722e5f6579cc07f2bd0ee716397f WHIRLPOOL 59f9b1833d08a17df5a8686d5accc9ae0458c0033f9eb6fb3f351acd28291fc40c79f9874ae91f45bcd728c260d0115382b8a69a24b022db1235c3d70398e26f
EBUILD uim-1.8.6-r1.ebuild 5998 SHA256 5b738d19031b4ec2e76a0234555e2daf159c67f4470b2aec166b51a61ebb4517 SHA512 86197129c79e429daca637d4e245e5455ef5beb3ccfd07144a24cc30aefd7b65c4e0c243d1eeff6e8ae1e5dff3da2156af7cc82411dd711954ec2a479caa8c12 WHIRLPOOL 095fdaeb499713ba6630e3efceef32f32fa6d08caa242b0f3225575624e3ef9c77460852059aa7d0e166395dd9529a79c39fdcfc1db496bb6594e6926333e645
-EBUILD uim-1.8.6.ebuild 6290 SHA256 d99163b2a8d4a5c15b9d90956177f0707a4ce766c18fd7bcd8f7cf7fb964a2ea SHA512 d49b1abd5dcbe38ee11f21f27133a349b2fd7c561475b3484c5ad18bfb9b2e85af5ed2fe62054f570652823d74b1bbd557c5425f62abff35dfeb7c559a71b824 WHIRLPOOL 1527e132145fce4c77e4ba7e543053468a37494d0dbe34205c081ae2331b4ad8d5d9b9fbf5edcbc4ae35598e1616fe992d5d6741672e1ede56104e2d4f22d8f4
-MISC ChangeLog 39112 SHA256 cc2e7625828a0b6a821c930e184985fb8b212047e697570d46940d6ba648a9f6 SHA512 d88248519882d7a0b19b71cba42f5e081bf1caca5a6966a7635c3f7775fa76b05ffaf7ce4b5a4b77e6c96f10e58f693520772a2a936879071f13dc0e6e9aea14 WHIRLPOOL cc06fe06d56b89edf1c6eb40c7cb7121dec7823f055341f14918b48805d6c84cc9c207ddc41b0b0c0628849872dcdc34ef21aa292d6111a6d13535ce47d09f10
+MISC ChangeLog 39539 SHA256 90f4898db7cef120eced8f49d5c4a8b969d6903ffa1a76590c9fd3bb42434259 SHA512 0fb43692499d0f1e1ce61940cf84d0dcb941bf7eadc87141f7413d1ec0771d16081fa9ce416a9bbdef95ac30437f12329efc12cec928406d8b2f59f1fefe4d0e WHIRLPOOL d563ff2681dc6b5fa065dab39ea54c77969cc53a790dad25d0c359b48502ca4f4eef92d54a46122c04396fefe2d809b21122cd35adfdcdabd810a7610957daa1
MISC metadata.xml 890 SHA256 a44487395787a97d2a90990faf68be0d2ce662ffe82d41bf6073db1958fc8af5 SHA512 d46123eefd36462de4305463425a616039398d95b64c7b8e77dbc7cd738152ea5b5a8efbd2591f539cb6b78264834eea306c4023879f3d51608a82c72de85763 WHIRLPOOL d579cbc429ec7db5455ae385e9fb06e88cb4de5edf5e9408bbe709c3ac2f5ea3f798a6f09eb68d8bd336bdb2502562edab4bb2fb7e76aa715ae81b3d5c817c6a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iQIcBAEBCAAGBQJTps6fAAoJELp701BxlEWfZywP+gLNR/LiFbi7Hcf3zvfmEiaW
-spMfidMB/aHxZfsMHJvYZGZeTzSp6S9IumOZwoJZVTqB4Q8MoCiZDvUCA0Age5PO
-TqZZcSJqwojkN6wqdgYABkTGa1ldA0sUESRXuE7oQXK/pf9HZLfEcut3/B+Ei9XC
-Y+eKyPOepGM8tUUd7dookuMgEf4+UgqAqnGQxmnQlHv966W4c2c5ijm7/RVa5jqQ
-5My6TWLs7N9+pL7EP7bxJk8x8EFIsEt2c5Y0H3M3D4mBje9/7ZM8IuYqDEyUtgwa
-0fNeDSxttlz7ANjh07Wj67OrjHR86vvUuFYKjxqUnNL9XV4iPPgeYA6BwhB/VyMo
-jYxZeWSOEjo4ciovacED4+flBRdLlcAMgVKVeno5HRuvvPNurRrg9RvA1IxAotJS
-1vxDwURZcylK8HxT26q//Vb25PqkxZF/UPMyenXPDpty/Fy/f6igKaeJ+pYhUWZP
-C7iGzELlAHcuQfJEi7bU+4MaS05pa6ErHuuR5eZ5bbgyCP5Qczhk92GFON2DZlZP
-0tas9hwGTcOKKnB95cAFRS38fPwV9+U59Yy2KKdrkhajnZOJL/UH0z7kIvw1Ocha
-yMn9RybfgxV6feBUapB3Zz8+/9oaL1d8U/6QwLrT6MnxWEhz5lCHhY6hlyrR2Bxv
-OXuD5znN25ypzP1q4KkH
-=nsdH
+iEYEAREIAAYFAlRkqZ4ACgkQCaWpQKGI+9TBOACghfFjDxifjW7JQ66aK+nVofA5
+TWcAn3lhqcp3GvoZxjcTz/8MOG2lw7UO
+=b/hE
-----END PGP SIGNATURE-----
+++ /dev/null
-;;; app-i18n/uim site-lisp configuration
-
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'uim-mode "uim" nil t)
+++ /dev/null
-commit d9c316e49a03dcd5736eb04396657cc369eb6215
-Author: Muneyuki Noguchi <nogu.dev@gmail.com>
-Date: Sat Apr 21 14:49:18 2012 +0900
-
- Fix compile error with glib 2.32.
-
- * notify/uim-libnotify.c
- - Don't include glib/gconvert.h directly.
-
-diff --git a/notify/uim-libnotify.c b/notify/uim-libnotify.c
-index 414e74c..a6578a1 100644
---- a/notify/uim-libnotify.c
-+++ b/notify/uim-libnotify.c
-@@ -37,7 +37,6 @@
- #include <stdarg.h>
- #include <string.h>
- #include <glib.h>
--#include <glib/gconvert.h>
- #include <libnotify/notify.h>
-
- #include "uim.h" /* for uim_bool */
+++ /dev/null
-diff --git a/po/LINGUAS b/po/LINGUAS
-index 4eb4f64..f85c7c7 100644
---- a/po/LINGUAS
-+++ b/po/LINGUAS
-@@ -1 +1,3 @@
--fr ja ko
-+fr
-+ja
-+ko
+++ /dev/null
-Index: uim-1.8.0/notify/uim-libnotify.c
-===================================================================
---- uim-1.8.0.orig/notify/uim-libnotify.c
-+++ uim-1.8.0/notify/uim-libnotify.c
-@@ -37,7 +37,6 @@
- #include <stdarg.h>
- #include <string.h>
- #include <glib.h>
--#include <glib/gconvert.h>
- #include <libnotify/notify.h>
-
- #include "uim.h" /* for uim_bool */
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.7.3-r1.ebuild,v 1.3 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- strip-linguas fr ja ko
- if [[ -z "${LINGUAS}" ]]; then
- # no linguas set, using the default one
- LINGUAS=" "
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
- "${FILESDIR}"/${PN}-1.7.3-linguas.patch
-
- if has_version ">=dev-libs/glib-2.32"; then
- epatch "${FILESDIR}"/${P}-glib-2.32.patch
- fi
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
- cp po/Makefile.in.in qt/chardict/po || die
- cp po/Makefile.in.in qt4/chardict/po || die
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.7.3.ebuild,v 1.13 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
-
- if has_version ">=dev-libs/glib-2.32"; then
- epatch "${FILESDIR}"/${P}-glib-2.32.patch
- fi
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
- cp po/Makefile.in.in qt/chardict/po || die
- cp po/Makefile.in.in qt4/chardict/po || die
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk2
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.0-r1.ebuild,v 1.3 2014/01/29 01:47:36 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- strip-linguas fr ja ko
- if [[ -z "${LINGUAS}" ]]; then
- # no linguas set, using the default one
- LINGUAS=" "
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
- "${FILESDIR}"/${PN}-1.8.0-glib2.32.patch \
- "${FILESDIR}"/${PN}-1.7.3-linguas.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.0.ebuild,v 1.12 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
- "${FILESDIR}"/${PN}-1.8.0-glib2.32.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.2-r1.ebuild,v 1.3 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- strip-linguas fr ja ko
- if [[ -z "${LINGUAS}" ]]; then
- # no linguas set, using the default one
- LINGUAS=" "
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
- "${FILESDIR}"/${PN}-1.7.3-linguas.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.2.ebuild,v 1.4 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.3-r1.ebuild,v 1.3 2014/01/29 01:47:36 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- strip-linguas fr ja ko
- if [[ -z "${LINGUAS}" ]]; then
- # no linguas set, using the default one
- LINGUAS=" "
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
- "${FILESDIR}"/${PN}-1.7.3-linguas.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- #rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.3.ebuild,v 1.4 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- #rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.4-r1.ebuild,v 1.3 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- strip-linguas fr ja ko
- if [[ -z "${LINGUAS}" ]]; then
- # no linguas set, using the default one
- LINGUAS=" "
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
- "${FILESDIR}"/${PN}-1.7.3-linguas.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- #rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.4.ebuild,v 1.4 2014/01/29 01:47:37 naota Exp $
-
-EAPI="4"
-inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme
- !app-i18n/uim-svn"
-# >=dev-scheme/sigscheme-0.8.5
-# mana? ( app-i18n/mana )
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# sj3? ( >=app-i18n/sj3-2.0.1.21 )
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
-
- echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
-
- #./autogen.sh
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- emake || die "emake failed"
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf" || die
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- #rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.6.ebuild,v 1.2 2014/04/14 14:27:44 jer Exp $
-
-EAPI="5"
-inherit autotools eutils multilib elisp-common gnome2-utils
-
-DESCRIPTION="Simple, secure and flexible input method library"
-HOMEPAGE="http://code.google.com/p/uim/"
-SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
-
-LICENSE="BSD GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 hppa ~ppc ~ppc64 ~x86"
-IUSE="+anthy canna curl eb emacs expat libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
-
-RESTRICT="test"
-
-REQUIRED_USE="gtk? ( X ) qt4? ( X )"
-
-RDEPEND="X? (
- x11-libs/libX11
- x11-libs/libXft
- x11-libs/libXt
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXext
- x11-libs/libXrender
- )
- anthy? (
- unicode? ( >=app-i18n/anthy-8622 )
- !unicode? ( app-i18n/anthy )
- )
- canna? ( app-i18n/canna )
- curl? ( >=net-misc/curl-7.16.4 )
- eb? ( dev-libs/eb )
- emacs? ( virtual/emacs )
- expat? ( dev-libs/expat )
- libffi? ( virtual/libffi )
- gnome? ( >=gnome-base/gnome-panel-2.14 )
- gtk? ( >=x11-libs/gtk+-2.4:2 )
- gtk3? ( x11-libs/gtk+:3 )
- kde? ( >=kde-base/kdelibs-4 )
- libedit? ( dev-libs/libedit )
- libnotify? ( >=x11-libs/libnotify-0.4 )
- m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
- ncurses? ( sys-libs/ncurses )
- nls? ( virtual/libintl )
- qt4? ( dev-qt/qtgui:4[qt3support] )
- skk? ( app-i18n/skk-jisyo )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- !dev-scheme/sigscheme"
-# scim? ( >=app-i18n/scim-1.3.0 ) # broken
-# wnn? ( app-i18n/wnn )
-# gnome? (
-# gtk? ( >=gnome-base/gnome-panel-2.14 )
-# gtk3? ( >=gnome-base/gnome-panel-3 )
-# )
-
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- >=sys-devel/gettext-0.15
- kde? ( dev-util/cmake )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-RDEPEND="${RDEPEND}
- X? (
- media-fonts/font-sony-misc
- linguas_zh_CN? (
- || ( media-fonts/font-isas-misc media-fonts/intlfonts )
- )
- linguas_zh_TW? (
- media-fonts/intlfonts
- )
- linguas_ja? (
- || ( media-fonts/font-jis-misc media-fonts/intlfonts )
- )
- linguas_ko? (
- || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
- )
- )"
-# test? ( dev-scheme/gauche )
-
-SITEFILE=50${PN}-gentoo.el
-
-pkg_setup() {
- strip-linguas fr ja ko
- if [[ -z "${LINGUAS}" ]]; then
- # no linguas set, using the default one
- LINGUAS=" "
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
- "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
-
- # bug 275420
- sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die "sed failed!"
-
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local myconf
-
- if (use gtk || use gtk3) && (use anthy || use canna) ; then
- myconf="${myconf} --enable-dict"
- else
- myconf="${myconf} --disable-dict"
- fi
-
- if use gtk || use gtk3 || use qt4 ; then
- myconf="${myconf} --enable-pref"
- else
- myconf="${myconf} --disable-pref"
- fi
-
- if use anthy ; then
- if use unicode ; then
- myconf="${myconf} --with-anthy-utf8"
- else
- myconf="${myconf} --with-anthy"
- fi
- else
- myconf="${myconf} --without-anthy"
- fi
-
- if use libnotify ; then
- myconf="${myconf} --enable-notify=libnotify"
- fi
-
- #if use gnome ; then
- # myconf="${myconf} $(use_enable gtk gnome-applet)"
- # myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
- #fi
-
- econf $(use_with X x) \
- $(use_with canna) \
- $(use_with curl) \
- $(use_with eb) \
- $(use_enable emacs) \
- $(use_with emacs lispdir "${SITELISP}") \
- $(use_with expat) \
- $(use_with libffi ffi) \
- $(use_enable gnome gnome-applet) \
- $(use_with gtk gtk2) \
- $(use_with gtk3) \
- $(use_with libedit) \
- --disable-kde-applet \
- $(use_enable kde kde4-applet) \
- $(use_with m17n-lib m17nlib) \
- $(use_enable ncurses fep) \
- $(use_enable nls) \
- --without-qt \
- --without-qt-immodule \
- $(use_with qt4 qt4) \
- $(use_with qt4 qt4-immodule) \
- $(use_enable qt4 qt4-qt3support) \
- $(use_with skk) \
- $(use_with sqlite sqlite3) \
- $(use_enable ssl openssl) \
- $(use_enable static-libs static) \
- $(use_with xft) \
- ${myconf}
-}
-
-src_compile() {
- default
-
- if use emacs; then
- cd emacs
- elisp-compile *.el || die "elisp-compile failed!"
- fi
-}
-
-src_install() {
- # parallel make install b0rked, bug #222677
- emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install
-
- dodoc AUTHORS ChangeLog* NEWS README RELNOTE
- if use emacs; then
- elisp-install uim-el emacs/*.elc || die "elisp-install failed!"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
- || die "elisp-site-file-install failed!"
- fi
-
- find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
-
- sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die "sed failed!"
- insinto /etc/X11/xinit/xinput.d
- doins "${T}/uim.conf"
-
- # collision with dev-scheme/sigscheme, bug #330975
- # find "${ED}" -name '*gcroots*' -delete || die
-
- #rmdir "${ED}"/usr/share/doc/sigscheme || die
-}
-
-pkg_postinst() {
- elog
- elog "New input method switcher has been introduced. You need to set"
- elog
- elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
- elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
- elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
- elog
- elog "If you would like to use uim-anthy as default input method, put"
- elog "(define default-im-name 'anthy)"
- elog "to your ~/.uim."
- elog
- elog "All input methods can be found by running uim-im-switcher-gtk, "
- elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
- elog
- elog "If you upgrade from a version of uim older than 1.4.0,"
- elog "you should run revdep-rebuild."
-
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- if use emacs; then
- elisp-site-regen
- echo
- elog "uim is autoloaded with Emacs with a minimal set of features:"
- elog "There is no keybinding defined to call it directly, so please"
- elog "create one yourself and choose an input method."
- elog "Integration with LEIM is not done with this ebuild, please have"
- elog "a look at the documentation how to achieve this."
- fi
-}
-
-pkg_postrm() {
- use gtk && gnome2_query_immodules_gtk2
- use gtk3 && gnome2_query_immodules_gtk3
- use emacs && elisp-site-regen
-}