diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-06-19 05:08:28 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-06-19 05:08:28 +0000 |
commit | 59f407d1b8834ece9ca26983774794e0ba1b79f8 (patch) | |
tree | 231ba8c57c01ccc63a5e9672a4aec4d8986b59a1 /app-i18n/atokx2 | |
parent | version bump (diff) | |
download | gentoo-2-59f407d1b8834ece9ca26983774794e0ba1b79f8.tar.gz gentoo-2-59f407d1b8834ece9ca26983774794e0ba1b79f8.tar.bz2 gentoo-2-59f407d1b8834ece9ca26983774794e0ba1b79f8.zip |
Added updated modules. Removed ext-iiimf IUSE for the time being.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-i18n/atokx2')
-rw-r--r-- | app-i18n/atokx2/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/atokx2/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/atokx2/atokx2-17.0-r1.ebuild | 4 | ||||
-rw-r--r-- | app-i18n/atokx2/atokx2-17.0-r2.ebuild | 100 | ||||
-rw-r--r-- | app-i18n/atokx2/files/digest-atokx2-17.0-r2 | 1 |
5 files changed, 112 insertions, 3 deletions
diff --git a/app-i18n/atokx2/ChangeLog b/app-i18n/atokx2/ChangeLog index 0ecc646ae3f7..5878753d34c7 100644 --- a/app-i18n/atokx2/ChangeLog +++ b/app-i18n/atokx2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/atokx2 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/ChangeLog,v 1.2 2005/04/05 14:00:58 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/ChangeLog,v 1.3 2005/06/19 05:08:28 usata Exp $ + +*atokx2-17.0-r2 (19 Jun 2005) + + 19 Jun 2005; Mamoru KOMACHI <usata@gentoo.org> atokx2-17.0-r1.ebuild, + +atokx2-17.0-r2.ebuild: + Added updated modules. Removed ext-iiimf IUSE for the time being. *atokx2-17.0-r1 (05 Apr 2005) diff --git a/app-i18n/atokx2/Manifest b/app-i18n/atokx2/Manifest index 897b0731ed05..178044245329 100644 --- a/app-i18n/atokx2/Manifest +++ b/app-i18n/atokx2/Manifest @@ -2,8 +2,10 @@ MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 MD5 5c2c77799149cb87a78c3b3c0c029873 ChangeLog 625 MD5 dcf1a68d5951270300e165941d2f8025 atokx2-17.0-r1.ebuild 2621 MD5 39bd54bb15c3f9329dccac3617ae86f9 atokx2-17.0.ebuild 2337 +MD5 9e8d398628d2ce2167625415ad3905c7 atokx2-17.0-r2.ebuild 2781 MD5 54e6bb5d7cd0c16a3d3b8de59a4d1bd1 files/atokx2.initd 504 MD5 df456cffb84006bf140b6b3ddd71aa75 files/iiim.initd 471 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-atokx2-17.0 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-atokx2-17.0-r1 0 MD5 4bef8b03876dc0db3946de6c73aa755e files/iiim.confd 353 +MD5 f379ecaccc47e554461b82e93cbdacbf files/digest-atokx2-17.0-r2 82 diff --git a/app-i18n/atokx2/atokx2-17.0-r1.ebuild b/app-i18n/atokx2/atokx2-17.0-r1.ebuild index 4dda6f676578..d913d7a54c58 100644 --- a/app-i18n/atokx2/atokx2-17.0-r1.ebuild +++ b/app-i18n/atokx2/atokx2-17.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/atokx2-17.0-r1.ebuild,v 1.1 2005/04/05 14:00:58 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/atokx2-17.0-r1.ebuild,v 1.2 2005/06/19 05:08:28 usata Exp $ inherit eutils @@ -12,7 +12,7 @@ SRC_URI="" LICENSE="ATOK X11" SLOT="0" -KEYWORDS="-* ~x86" +KEYWORDS="-* x86" IUSE="ext-iiimf" RESTRICT="nostrip" diff --git a/app-i18n/atokx2/atokx2-17.0-r2.ebuild b/app-i18n/atokx2/atokx2-17.0-r2.ebuild new file mode 100644 index 000000000000..b51d6fd70e1a --- /dev/null +++ b/app-i18n/atokx2/atokx2-17.0-r2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/atokx2-17.0-r2.ebuild,v 1.1 2005/06/19 05:08:28 usata Exp $ + +inherit eutils + +DESCRIPTION="ATOK for Linux - The most famous Japanese Input Method Engine" +HOMEPAGE="http://www.justsystem.co.jp/linux/atok.html" +IIIMF_V="trunk_r2059-js1" +UPDATE_P="atokforlinux_update_17_0_2_1" +SRC_URI="http://www3.justsystem.co.jp/download/atok/up/lin/${UPDATE_P}.tar.gz" + +LICENSE="ATOK X11" + +SLOT="0" +KEYWORDS="-* ~x86" +IUSE="" + +RESTRICT="nostrip nomirror" + +DEPEND=">=x11-libs/gtk+-2.2 + !dev-libs/libiiimcf + !dev-libs/csconv + !app-i18n/iiimgcf + !dev-libs/libiiimp + !app-i18n/iiimsf + !app-i18n/iiimxcf" + +src_unpack() { + cdrom_get_cds doc/license.html || die "Please mount ATOK for Linux CD-ROM or set CD_ROOT variable to the directory containing ATOK for Linux." + unpack ${A} +} + +src_install() { + cd ${D} + + local iiimgcf + if has_version '>=x11-libs/gtk+-2.4' ; then + iiimgcf="iiimf-gtk24-${IIIMF_V/js1/js2}.i386.tar.gz + iiimf-gtkopt24-${IIIMF_V/js1/js2}.i386.tar.gz" + else + iiimgcf=iiimf-gtk22-${IIIMF_V/js1/js2}.i386.tar.gz + fi + + for i in \ + iiimf-client-lib-${IIIMF_V}.i386.tar.gz \ + iiimf-csconv-${IIIMF_V}.i386.tar.gz \ + iiimf-protocol-lib-${IIIMF_V}.i386.tar.gz \ + iiimf-rc-${IIIMF_V}.i386.tar.gz \ + iiimf-server-${IIIMF_V}.i386.tar.gz \ + iiimf-x-${IIIMF_V}.i386.tar.gz + do + echo ${CDROM_ROOT} + tar xzf ${CDROM_ROOT}/bin/IIIMF/${i} \ + || die "Failed to unpack ${i}" + done + + for i in ${iiimgcf} + do + tar xzf ${WORKDIR}/${UPDATE_P}/bin/IIIMF/$i || die + done + + # /etc files + newinitd ${FILESDIR}/iiim.initd iiim || die + newconfd ${FILESDIR}/iiim.confd iiim || die + + tar xzf ${CDROM_ROOT}/bin/ATOK/atokx-${PV}-2.0.i386.tar.gz \ + || die "Failed to unpack atokx-${PV}-2.0.i386.tar.gz" + tar xzf ${WORKDIR}/${UPDATE_P}/bin/ATOK/atokx-${PV}-2.1.i386.patch.tar.gz \ + || die "Failed to unpack atokx-${PV}-2.1.i386.patch.tar.gz" + + newinitd ${FILESDIR}/atokx2.initd atokx2 || die + + dohtml -r ${CDROM_ROOT}/doc/* || die + insinto /usr/share/doc/${PF} + doins ${CDROM_ROOT}/{install_guide.pdf,doc/ATOK/atok.pdf} || 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() { + einfo + einfo "To use ATOK for Linux, you need to add atokx2 and iiim to" + einfo "the default runlevel:" + einfo "# /sbin/rc-update add atokx2 default" + einfo "# /sbin/rc-update add iiim default" + einfo "Also, call /opt/atokx2/bin/atokx2_client.sh from appropriate file." + einfo + gtk-query-immodules-2.0 > ${ROOT}/$(get_gtk_confdir)/gtk.immodules +} + +pkg_postrm() { + gtk-query-immodules-2.0 > ${ROOT}/$(get_gtk_confdir)/gtk.immodules +} diff --git a/app-i18n/atokx2/files/digest-atokx2-17.0-r2 b/app-i18n/atokx2/files/digest-atokx2-17.0-r2 new file mode 100644 index 000000000000..27f7a805b404 --- /dev/null +++ b/app-i18n/atokx2/files/digest-atokx2-17.0-r2 @@ -0,0 +1 @@ +MD5 5abaf8e95d8d49347191aa9160459a3a atokforlinux_update_17_0_2_1.tar.gz 41387655 |