summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-06-04 16:07:25 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-06-04 16:07:25 +0000
commit824c431c5c493b4c2961ab30188db839ebc14f87 (patch)
tree7bf0b1aeb1aa8feb7f05fcf8ac49b5e060ef5a10 /app-i18n/atokx3
parentremoved guile-pg (diff)
downloadhistorical-824c431c5c493b4c2961ab30188db839ebc14f87.tar.gz
historical-824c431c5c493b4c2961ab30188db839ebc14f87.tar.bz2
historical-824c431c5c493b4c2961ab30188db839ebc14f87.zip
Added update module for GTK+-2.16.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/atokx3')
-rw-r--r--app-i18n/atokx3/ChangeLog9
-rw-r--r--app-i18n/atokx3/Manifest9
-rw-r--r--app-i18n/atokx3/atokx3-1.0.0.ebuild141
-rw-r--r--app-i18n/atokx3/atokx3-2.0.0.ebuild147
-rw-r--r--app-i18n/atokx3/atokx3-3.0.0-r3.ebuild (renamed from app-i18n/atokx3/atokx3-3.0.0-r1.ebuild)10
-rw-r--r--app-i18n/atokx3/atokx3-3.0.0.ebuild160
6 files changed, 18 insertions, 458 deletions
diff --git a/app-i18n/atokx3/ChangeLog b/app-i18n/atokx3/ChangeLog
index 32ee542b1b93..ab47dab62fdb 100644
--- a/app-i18n/atokx3/ChangeLog
+++ b/app-i18n/atokx3/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-i18n/atokx3
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/ChangeLog,v 1.6 2009/03/09 17:02:49 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/ChangeLog,v 1.7 2009/06/04 16:07:25 matsuu Exp $
+
+*atokx3-3.0.0-r3 (04 Jun 2009)
+
+ 04 Jun 2009; MATSUU Takuto <matsuu@gentoo.org> -atokx3-1.0.0.ebuild,
+ -atokx3-2.0.0.ebuild, -atokx3-3.0.0.ebuild, -atokx3-3.0.0-r1.ebuild,
+ +atokx3-3.0.0-r3.ebuild:
+ Added update module for GTK+-2.16. Removed old versions.
*atokx3-3.0.0-r2 (09 Mar 2009)
diff --git a/app-i18n/atokx3/Manifest b/app-i18n/atokx3/Manifest
index e1539c83529e..a4b6b8c754fa 100644
--- a/app-i18n/atokx3/Manifest
+++ b/app-i18n/atokx3/Manifest
@@ -1,9 +1,6 @@
-DIST atokx3up1.tar.gz 7482495 RMD160 89ccd3f34f52df143d9b0d20fc12ea28a53d13ae SHA1 0846f79ad72ef41c0d3d56a8ba054b0bcf88b4d9 SHA256 9f61ccdbd24ffd1a8a8dcc6a031acc09890a70a39e0a8c127dcf83bfdc35d7ce
+DIST atokx3gtk216.tar.gz 69246 RMD160 a40e50a7c4be478b2eab6dd3b286355fdf85cc12 SHA1 378514fc67fb4f74f0e4f8b46802f32b878f8d60 SHA256 cd81d0e85872274135d94511ee71eda3f29f00ed299c1dacbdf024b9d96c62e2
DIST atokx3up2.tar.gz 8427265 RMD160 9420645a25a53d9023a2350d2c5169a60c508209 SHA1 717a25d4829e934f710c907ebb2037bcdc7235cf SHA256 d9aae2b3917c3370bd40a3f0f767ad15a09a586986e906835952264cd5c1d28e
-EBUILD atokx3-1.0.0.ebuild 3588 RMD160 276a04fde8a486313cbe775f4fb73fd14889d8f7 SHA1 bdbd118e496f88ff1c847d63b24faffa5846b0c1 SHA256 60812216024d059ffa8194dc170a9ffa3e79dd719d7413d8e12f0954a56a1e58
-EBUILD atokx3-2.0.0.ebuild 3862 RMD160 82e188918c42c16f1bcc3bb29ae07b5d124fe441 SHA1 150f72ac33514ddc2b791598dc0ec52ff6aacc1b SHA256 e6635182548ae10124be7465534ea14a8f9c663a15f8fef9ec3d8f0265d25730
-EBUILD atokx3-3.0.0-r1.ebuild 4606 RMD160 3a03382c21f93bd4e5d16d93eacceb4908899850 SHA1 bae08ca10eb7b55e01b0f0eca561c5cb8e071243 SHA256 79f392369ef82846334c149a041bb1b9b40568fa6f82ea48c60560887c437502
EBUILD atokx3-3.0.0-r2.ebuild 4643 RMD160 39248f4ba988f2df7fccbc54c1710e10bee9c6e5 SHA1 7209e8050639dcb9b54c88ba2af14cf372ee77a9 SHA256 d22655a66e79e3f21ce22b5015c8aff9436778e2d436640bcca7914a3db0e4e6
-EBUILD atokx3-3.0.0.ebuild 4431 RMD160 91531f52daa5e18a441404a96804c03addbf9b27 SHA1 635e10328f60781d212e67572d4fba078691f963 SHA256 cd008ec071c55f002e80989bf8cfd1a4603a0950f8f00c4b919eb092b25c6c30
-MISC ChangeLog 999 RMD160 f2859169c7587ae12dabeda7a9421af3225b383f SHA1 560280f1c3250980fe3804ff7b8d24c6789bb2eb SHA256 a9f76fba37d7df7ed93cbb228696cea5ae953a9d0735147b0be1c8995e49955a
+EBUILD atokx3-3.0.0-r3.ebuild 4751 RMD160 30d5847d24791fde8335c30cd8869010fefe646e SHA1 522a0057ef0b4cb1331e58fd977999e60dddf6a6 SHA256 20e0d699979efa464885a506924415645fbbc087423328623f8e06f35d2fb24a
+MISC ChangeLog 1260 RMD160 dd4976dd16a96e98754141f5f25031eac3aac898 SHA1 b77f7b1ce762d831c501d5f45b2a6b6c506667ba SHA256 6b7b6c3cff17f4db2f9bf53deb6cb3987f890a9933a807fe5a5be0d9eb248471
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
diff --git a/app-i18n/atokx3/atokx3-1.0.0.ebuild b/app-i18n/atokx3/atokx3-1.0.0.ebuild
deleted file mode 100644
index 61711253e5d9..000000000000
--- a/app-i18n/atokx3/atokx3-1.0.0.ebuild
+++ /dev/null
@@ -1,141 +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/atokx3/atokx3-1.0.0.ebuild,v 1.2 2008/11/22 02:09:06 matsuu Exp $
-
-inherit eutils multilib
-
-MY_PV="20.0-${PV}"
-DESCRIPTION="ATOK X3 for Linux - The most famous Japanese Input Method Engine"
-HOMEPAGE="http://www.justsystems.com/jp/products/atok_linux/"
-SRC_URI=""
-
-LICENSE="ATOK X11"
-
-SLOT="0"
-# bug #202356
-#KEYWORDS="~amd64 ~x86"
-KEYWORDS="~x86"
-IUSE=""
-
-PROPERTIES="interactive"
-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
-
- 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"
-}
diff --git a/app-i18n/atokx3/atokx3-2.0.0.ebuild b/app-i18n/atokx3/atokx3-2.0.0.ebuild
deleted file mode 100644
index d30e264869e0..000000000000
--- a/app-i18n/atokx3/atokx3-2.0.0.ebuild
+++ /dev/null
@@ -1,147 +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/atokx3/atokx3-2.0.0.ebuild,v 1.2 2008/11/22 02:09:06 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=""
-
-PROPERTIES="interactive"
-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"
-}
diff --git a/app-i18n/atokx3/atokx3-3.0.0-r1.ebuild b/app-i18n/atokx3/atokx3-3.0.0-r3.ebuild
index d869245319ad..91febe712b59 100644
--- a/app-i18n/atokx3/atokx3-3.0.0-r1.ebuild
+++ b/app-i18n/atokx3/atokx3-3.0.0-r3.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/atokx3-3.0.0-r1.ebuild,v 1.1 2009/03/04 17:56:51 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/atokx3-3.0.0-r3.ebuild,v 1.1 2009/06/04 16:07:25 matsuu Exp $
inherit eutils multilib
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}up2.tar.gz"
+SRC_URI="http://www3.justsystem.co.jp/download/atok/up/lin/${PN}up2.tar.gz
+ http://www3.justsystem.co.jp/download/atok/up/lin/${PN}gtk216.tar.gz"
LICENSE="ATOK X11"
@@ -29,6 +30,8 @@ RDEPEND="!app-i18n/atokx2
dev-libs/libxml2
media-libs/fontconfig
media-libs/libpng
+ sys-apps/tcp-wrappers
+ sys-libs/pam
x11-libs/cairo
>=x11-libs/gtk+-2.4.13
x11-libs/libICE
@@ -92,7 +95,7 @@ src_unpack() {
targets="${targets} ATOK/atokxup-20.0-*.0.0.i386.tar.gz"
- unpack ${A}
+ unpack ${PN}up2.tar.gz
for i in ${targets}
do
@@ -107,6 +110,7 @@ src_unpack() {
die "${i} not found."
fi
done
+ unpack ${PN}gtk216.tar.gz
if use amd64 ; then
lib32="$(ABI=x86 get_libdir)"
diff --git a/app-i18n/atokx3/atokx3-3.0.0.ebuild b/app-i18n/atokx3/atokx3-3.0.0.ebuild
deleted file mode 100644
index 2427cc390ded..000000000000
--- a/app-i18n/atokx3/atokx3-3.0.0.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/atokx3/atokx3-3.0.0.ebuild,v 1.1 2009/03/04 17:01:43 matsuu Exp $
-
-inherit eutils multilib
-
-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}up2.tar.gz"
-
-LICENSE="ATOK X11"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-PROPERTIES="interactive"
-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
- if use amd64 && [ ! -f "/$(ABI=x86 get_libdir)/libwrap.so" ] ; then
- TCPD_PF="$(best_version sys-apps/tcp-wrappers)"
- eerror "${PN} requires /$(ABI=x86 get_libdir)/libwrap.so to work on amd64."
- eerror "# ABI=x86 emerge -B1 '=${TCPD_PF}'"
- eerror "# tar xpvf ${PKGDIR}/${TCPD_PF}.tbz2 -C / ./$(ABI=x86 get_libdir) ./usr/$(ABI=x86 get_libdir)"
- die
- fi
-}
-
-src_unpack() {
- local targets="
- IIIMF/iiimf-client-lib-trunk_r3104-js*.i386.tar.gz
- IIIMF/iiimf-gtk-trunk_r3104-js*.i386.tar.gz
- IIIMF/iiimf-protocol-lib-trunk_r3104-js*.i386.tar.gz
- IIIMF/iiimf-server-trunk_r3104-js*.i386.tar.gz
- IIIMF/iiimf-x-trunk_r3104-js*.i386.tar.gz
- ATOK/atokx-20.0-*.0.0.i386.tar.gz"
- # IIIMF/iiimf-client-lib-devel-trunk_r3104-js*.i386.tar.gz
- # IIIMF/iiimf-properties-trunk_r3104-js*.i386.tar.gz
- # IIIMF/iiimf-docs-trunk_r3104-js*.i386.tar.gz
- # IIIMF/iiimf-notuse-trunk_r3104-js*.i386.tar.gz
- # IIIMF/iiimf-protocol-lib-devel-trunk_r3104-js*.i386.tar.gz
-
- if use amd64 ; then
- targets="${targets}
- IIIMF/iiimf-client-lib-64-trunk_r3104-js*.x86_64.tar.gz
- IIIMF/iiimf-gtk-64-trunk_r3104-js*.x86_64.tar.gz
- IIIMF/iiimf-protocol-lib-64-trunk_r3104-js*.x86_64.tar.gz
- ATOK/atokx-64-20.0-*.0.0.x86_64.tar.gz"
- # IIIMF/iiimf-client-lib-devel-64-trunk_r3104-js*.x86_64.tar.gz
- # IIIMF/iiimf-protocol-lib-devel-64-trunk_r3104-js*.x86_64.tar.gz
- # IIIMF/iiimf-notuse-64-trunk_r3104-js*.x86_64.tar.gz
- fi
-
- targets="${targets} ATOK/atokxup-20.0-*.0.0.i386.tar.gz"
-
- unpack ${A}
-
- for i in ${targets}
- do
- if [ -f "${S}"/atokx3up2/bin/${i} ] ; then
- einfo "unpack" $(basename "${S}"/atokx3up2/bin/${i})
- tar xzf "${S}"/atokx3up2/bin/${i} || die "Failed to unpack ${i}"
- elif [ -f "${CDROM_ROOT}"/bin/tarball/${i} ] ; then
- einfo "unpack" $(basename "${CDROM_ROOT}"/bin/tarball/${i})
- tar xzf "${CDROM_ROOT}"/bin/tarball/${i} || die "Failed to unpack ${i}"
- else
- eerror "${i} not found."
- die "${i} not found."
- fi
- done
-
- 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() {
- dodoc atokx3up2/README_UP2.txt
- # atokx3up2
- rm -rf atokx3up2
-
- 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"
-}