diff options
-rw-r--r-- | app-i18n/atokx3/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/atokx3/Manifest | 4 | ||||
-rw-r--r-- | app-i18n/atokx3/atokx3-2.0.0.ebuild | 146 |
3 files changed, 156 insertions, 3 deletions
diff --git a/app-i18n/atokx3/ChangeLog b/app-i18n/atokx3/ChangeLog index 3f2a0802f3d2..5330bb5f2ed1 100644 --- a/app-i18n/atokx3/ChangeLog +++ b/app-i18n/atokx3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/atokx3 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/ChangeLog,v 1.1 2007/12/31 16:21:52 matsuu Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/ChangeLog,v 1.2 2008/03/21 16:11:29 matsuu Exp $ + +*atokx3-2.0.0 (21 Mar 2008) + + 21 Mar 2008; MATSUU Takuto <matsuu@gentoo.org> +atokx3-2.0.0.ebuild: + Version bumped. *atokx3-1.0.0 (31 Dec 2007) diff --git a/app-i18n/atokx3/Manifest b/app-i18n/atokx3/Manifest index 60b365da0fb2..f4a733d52841 100644 --- a/app-i18n/atokx3/Manifest +++ b/app-i18n/atokx3/Manifest @@ -1,3 +1,5 @@ +DIST atokx3up1.tar.gz 7482495 RMD160 89ccd3f34f52df143d9b0d20fc12ea28a53d13ae SHA1 0846f79ad72ef41c0d3d56a8ba054b0bcf88b4d9 SHA256 9f61ccdbd24ffd1a8a8dcc6a031acc09890a70a39e0a8c127dcf83bfdc35d7ce EBUILD atokx3-1.0.0.ebuild 3563 RMD160 f1da734787cd813b0c9af58d1098e04743a3020c SHA1 fec78f54f880dedb407f2dc46adf55cc8c44d3d5 SHA256 c823cda25d8250a2a484de07c57a78e6268a7f3ddd272026ea607be3d35736ac -MISC ChangeLog 339 RMD160 dd0421ee6e51096efb2b576c415f0c1e4f153d44 SHA1 4872c93ccc98ef6c6b8237f9066466eb17888bd3 SHA256 29271839cb9eca3b7d25abbdd886ef5f058d769b14ffb213d8316ec723e35633 +EBUILD atokx3-2.0.0.ebuild 3837 RMD160 7b0f113c152fa80198bd4df89e9f7ea3c54ffe5c SHA1 7479abf27167bb7ef5ba30e8775d23097b158ab4 SHA256 33c75b6515c7cfe10e102ea94474f70a71e7efc90991867ccb50ca35e873ad2e +MISC ChangeLog 458 RMD160 37ae3e82dca1e40e725ec27f1fd0b95cb85cb79a SHA1 c9ea7c8490511a45e6aa7b5e64df9e532cfdb91b SHA256 0290b83f5af1ab038e437790304a49772fdb65600f0222672e30cb611e6a3a87 MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 diff --git a/app-i18n/atokx3/atokx3-2.0.0.ebuild b/app-i18n/atokx3/atokx3-2.0.0.ebuild new file mode 100644 index 000000000000..567f89943213 --- /dev/null +++ b/app-i18n/atokx3/atokx3-2.0.0.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/atokx3-2.0.0.ebuild,v 1.1 2008/03/21 16:11:29 matsuu Exp $ + +inherit eutils multilib + +MY_PV="20.0-1.0.0" +DESCRIPTION="ATOK X3 for Linux - The most famous Japanese Input Method Engine" +HOMEPAGE="http://www.justsystems.com/jp/products/atok_linux/" +SRC_URI="http://www3.justsystem.co.jp/download/atok/up/lin/${PN}up1.tar.gz" + +LICENSE="ATOK X11" + +SLOT="0" +# bug #202356 +#KEYWORDS="~amd64 ~x86" +KEYWORDS="~x86" +IUSE="" + +RESTRICT="strip mirror" + +RDEPEND="!app-i18n/atokx2 + !dev-libs/libiiimcf + !dev-libs/csconv + !app-i18n/iiimgcf + !dev-libs/libiiimp + !app-i18n/iiimsf + !app-i18n/iiimxcf + dev-libs/atk + dev-libs/glib + dev-libs/libxml2 + media-libs/fontconfig + media-libs/libpng + x11-libs/cairo + >=x11-libs/gtk+-2.4.13 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXxf86vm + x11-libs/libdrm + x11-libs/pango + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-gtklibs + app-emulation/emul-linux-x86-xlibs + )" + +S="${WORKDIR}" + +pkg_setup() { + if ! cdrom_get_cds atokx3index ; then + die "Please mount ATOK for Linux CD-ROM or set CD_ROOT variable to the directory containing ATOK X3 for Linux." + fi +} + +src_unpack() { + local targets=" + IIIMF/iiimf-client-lib-trunk_r3104-js1.i386.tar.gz + IIIMF/iiimf-gtk-trunk_r3104-js1.i386.tar.gz + IIIMF/iiimf-protocol-lib-trunk_r3104-js1.i386.tar.gz + IIIMF/iiimf-server-trunk_r3104-js1.i386.tar.gz + IIIMF/iiimf-x-trunk_r3104-js1.i386.tar.gz + ATOK/atokx-${MY_PV}.i386.tar.gz" + # IIIMF/iiimf-client-lib-devel-trunk_r3104-js1.i386.tar.gz + # IIIMF/iiimf-properties-trunk_r3104-js1.i386.tar.gz + # IIIMF/iiimf-docs-trunk_r3104-js1.i386.tar.gz + # IIIMF/iiimf-notuse-trunk_r3104-js1.i386.tar.gz + # IIIMF/iiimf-protocol-lib-devel-trunk_r3104-js1.i386.tar.gz + + if use amd64 ; then + targets="${targets} + IIIMF/iiimf-client-lib-64-trunk_r3104-js1.x86_64.tar.gz + IIIMF/iiimf-gtk-64-trunk_r3104-js1.x86_64.tar.gz + IIIMF/iiimf-protocol-lib-64-trunk_r3104-js1.x86_64.tar.gz + ATOK/atokx-64-${MY_PV}.x86_64.tar.gz" + # IIIMF/iiimf-client-lib-devel-64-trunk_r3104-js1.x86_64.tar.gz + # IIIMF/iiimf-protocol-lib-devel-64-trunk_r3104-js1.x86_64.tar.gz + # IIIMF/iiimf-notuse-64-trunk_r3104-js1.x86_64.tar.gz + fi + + for i in ${targets} + do + einfo "unpack ${i}" + tar xzf "${CDROM_ROOT}"/bin/tarball/${i} || die "Failed to unpack ${i}" + done + + # atokx3up1 + unpack ${A} + tar xzf "${S}"/atokx3up1/bin/IIIMF/iiimf-server-trunk_r3104-js2.i386.tar.gz || die + tar xzf "${S}"/atokx3up1/bin/ATOK/atokxup-20.0-2.0.0.i386.tar.gz || die + rm -rf "${S}"/atokx3up1 + + if use amd64 ; then + lib32="$(ABI=x86 get_libdir)" + lib64="$(get_libdir)" + if [ "lib" != "${lib32}" ] ; then + mv usr/lib usr/${lib32} || die + fi + if [ "lib64" != "${lib64}" ] ; then + mv usr/lib64 usr/${lib64} || die + fi + fi +} + +src_install() { + + cp -dpR * "${D}" || die + + # amd64 hack + if use amd64 ; then + if [ "$(ABI=x86 get_libdir)" != "$(get_libdir)" ] ; then + dosym /usr/$(ABI=x86 get_libdir)/iiim /usr/$(get_libdir)/iiim || die + fi + fi + + dodoc "${CDROM_ROOT}"/doc/atok.pdf || die + dohtml "${CDROM_ROOT}"/readme.html || die +} + +get_gtk_confdir() { + if useq amd64 || ( [ "${CONF_LIBDIR}" == "lib32" ] && useq x86 ) ; then + echo "/etc/gtk-2.0/${CHOST}" + else + echo "/etc/gtk-2.0" + fi +} + +pkg_postinst() { + elog + elog "To use ATOK for Linux, you need to add following to .xinitrc or .xprofile:" + elog + elog ". /opt/atokx3/bin/atokx3start.sh" + elog + gtk-query-immodules-2.0 > "${ROOT}/$(get_gtk_confdir)/gtk.immodules" +} + +pkg_postrm() { + gtk-query-immodules-2.0 > "${ROOT}/$(get_gtk_confdir)/gtk.immodules" +} |