diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-08-06 07:43:17 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-08-06 07:43:17 +0000 |
commit | fa41e5e169517251760bbce89f571622bd3a9e90 (patch) | |
tree | 0e9987d687e5752710f77db1670aacc2e0c6cef5 /app-i18n/atokx2 | |
parent | 10.0 releng (diff) | |
download | gentoo-2-fa41e5e169517251760bbce89f571622bd3a9e90.tar.gz gentoo-2-fa41e5e169517251760bbce89f571622bd3a9e90.tar.bz2 gentoo-2-fa41e5e169517251760bbce89f571622bd3a9e90.zip |
Remove old version that uses external iiimf.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/atokx2')
-rw-r--r-- | app-i18n/atokx2/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/atokx2/atokx2-17.0-r1.ebuild | 103 |
2 files changed, 6 insertions, 105 deletions
diff --git a/app-i18n/atokx2/ChangeLog b/app-i18n/atokx2/ChangeLog index eda50ce16541..5e366c2baac7 100644 --- a/app-i18n/atokx2/ChangeLog +++ b/app-i18n/atokx2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/atokx2 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/ChangeLog,v 1.8 2008/09/26 17:47:59 zmedico Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx2/ChangeLog,v 1.9 2009/08/06 07:43:17 flameeyes Exp $ + + 06 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org> + -atokx2-17.0-r1.ebuild: + Remove old version that uses external iiimf. 26 Sep 2008; Zac Medico <zmedico@gentoo.org> atokx2-17.0.ebuild, atokx2-17.0-r1.ebuild, atokx2-17.0-r2.ebuild: diff --git a/app-i18n/atokx2/atokx2-17.0-r1.ebuild b/app-i18n/atokx2/atokx2-17.0-r1.ebuild deleted file mode 100644 index 4a04aa1c9491..000000000000 --- a/app-i18n/atokx2/atokx2-17.0-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2008 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.5 2008/09/26 17:47:59 zmedico 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" -SRC_URI="" - -LICENSE="ATOK X11" - -SLOT="0" -KEYWORDS="-* x86" -IUSE="ext-iiimf" -PROPERTIES="interactive" -RESTRICT="strip" - -DEPEND=">=x11-libs/gtk+-2.2 - ext-iiimf? - ( - >=dev-libs/libiiimcf-12.1 - >=dev-libs/csconv-12.1 - >=app-i18n/iiimgcf-12.1 - >=dev-libs/libiiimp-12.1 - >=app-i18n/iiimsf-12.1 - >=app-i18n/iiimxcf-12.1 - ) - !ext-iiimf? - ( - !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." -} - -src_install() { - cd ${D} - - if ! use ext-iiimf ; then - local iiimgcf - if has_version '>=x11-libs/gtk+-2.4' ; then - iiimgcf=iiimf-gtk24-${IIIMF_V}.i386.tar.gz - else - iiimgcf=iiimf-gtk22-${IIIMF_V}.i386.tar.gz - fi - - for i in ${iiimgcf} \ - 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 - - # /etc files - newinitd ${FILESDIR}/iiim.initd iiim || die - newconfd ${FILESDIR}/iiim.confd iiim || die - fi - - tar xzf ${CDROM_ROOT}/bin/ATOK/atokx-${PV}-2.0.i386.tar.gz || die "Failed to unpack atokx-${PV}-2.0.i386.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() { - elog - elog "To use ATOK for Linux, you need to add atokx2 and iiim to" - elog "the default runlevel:" - elog "# /sbin/rc-update add atokx2 default" - elog "# /sbin/rc-update add iiim default" - elog "Also, call /opt/atokx2/bin/atokx2_client.sh from appropriate file." - 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 -} |