summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-12-31 16:21:52 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-12-31 16:21:52 +0000
commit57c5a3be8edac5c094ff54f9c837b1a869182894 (patch)
treeb18b7f88407547bb73d8851a45db3ddc5e87513d /app-i18n
parentmake sure to punt eselect-compiler env.d entry if need be (diff)
downloadgentoo-2-57c5a3be8edac5c094ff54f9c837b1a869182894.tar.gz
gentoo-2-57c5a3be8edac5c094ff54f9c837b1a869182894.tar.bz2
gentoo-2-57c5a3be8edac5c094ff54f9c837b1a869182894.zip
Initial import.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/atokx3/ChangeLog10
-rw-r--r--app-i18n/atokx3/Manifest15
-rw-r--r--app-i18n/atokx3/atokx3-1.0.0.ebuild140
-rw-r--r--app-i18n/atokx3/files/digest-atokx3-1.0.00
-rw-r--r--app-i18n/atokx3/metadata.xml5
5 files changed, 170 insertions, 0 deletions
diff --git a/app-i18n/atokx3/ChangeLog b/app-i18n/atokx3/ChangeLog
new file mode 100644
index 000000000000..3f2a0802f3d2
--- /dev/null
+++ b/app-i18n/atokx3/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*atokx3-1.0.0 (31 Dec 2007)
+
+ 31 Dec 2007; MATSUU Takuto <matsuu@gentoo.org> +metadata.xml,
+ +atokx3-1.0.0.ebuild:
+ Initial import.
+
diff --git a/app-i18n/atokx3/Manifest b/app-i18n/atokx3/Manifest
new file mode 100644
index 000000000000..6d6a4cfab167
--- /dev/null
+++ b/app-i18n/atokx3/Manifest
@@ -0,0 +1,15 @@
+EBUILD atokx3-1.0.0.ebuild 3466 RMD160 cbfdd1181952c2cd1a7663a0f96c9dfe68c8d21e SHA1 459f227d42ac05930bf4f72f1169636e1896db7a SHA256 5da926f23d26cc072c35b55a407595e4665cffb77b136e725781b362da4128ad
+MD5 5cc2acba37c8e4876291b4ee4be9d1c0 atokx3-1.0.0.ebuild 3466
+RMD160 cbfdd1181952c2cd1a7663a0f96c9dfe68c8d21e atokx3-1.0.0.ebuild 3466
+SHA256 5da926f23d26cc072c35b55a407595e4665cffb77b136e725781b362da4128ad atokx3-1.0.0.ebuild 3466
+MISC ChangeLog 252 RMD160 27e1a5e57bcb02023aac270b6ac6b3275c3c53b5 SHA1 c6c0928ba58a8f054977b931d9d2fe3d6c7f64e7 SHA256 536a42acd306c455de89fe8fb3cf757746556c36b05569c75bb500d1fdad37cb
+MD5 d14475f442e9296ea61980e7cf8fd297 ChangeLog 252
+RMD160 27e1a5e57bcb02023aac270b6ac6b3275c3c53b5 ChangeLog 252
+SHA256 536a42acd306c455de89fe8fb3cf757746556c36b05569c75bb500d1fdad37cb ChangeLog 252
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad metadata.xml 156
+SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 metadata.xml 156
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-atokx3-1.0.0 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-atokx3-1.0.0 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-atokx3-1.0.0 0
diff --git a/app-i18n/atokx3/atokx3-1.0.0.ebuild b/app-i18n/atokx3/atokx3-1.0.0.ebuild
new file mode 100644
index 000000000000..243f185c093c
--- /dev/null
+++ b/app-i18n/atokx3/atokx3-1.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2007 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.1 2007/12/31 16:21:52 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=""
+
+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/files/digest-atokx3-1.0.0 b/app-i18n/atokx3/files/digest-atokx3-1.0.0
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-i18n/atokx3/files/digest-atokx3-1.0.0
diff --git a/app-i18n/atokx3/metadata.xml b/app-i18n/atokx3/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/app-i18n/atokx3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>