summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-i18n/atokx3
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-i18n/atokx3')
-rw-r--r--app-i18n/atokx3/Manifest3
-rw-r--r--app-i18n/atokx3/atokx3-3.0.0-r11.ebuild221
-rw-r--r--app-i18n/atokx3/files/xinput-iiimf11
-rw-r--r--app-i18n/atokx3/metadata.xml5
4 files changed, 240 insertions, 0 deletions
diff --git a/app-i18n/atokx3/Manifest b/app-i18n/atokx3/Manifest
new file mode 100644
index 000000000000..53fa0ce7c9be
--- /dev/null
+++ b/app-i18n/atokx3/Manifest
@@ -0,0 +1,3 @@
+DIST a20y1311lx.tgz 8463681 SHA256 6f63b0402c01f29fb9a508a022945fc8ed26bfc4101f3613ea2814063dc1ed9f SHA512 e295ba03a3ef8266f07e9feb1b208accf76923ab215dd022836550cc93c5e8eed70c21dd4ad264e9be25b906ac8996f3d1f90d1865daf2790ddf268e7797c39d WHIRLPOOL 11cfc180d07b15cc32eb156b0b7b12ed50f7487da38a1728ff714ebfa687461339bd242ee5d7329bb36055682062b38570dd5f8a901aaaf567137f7292fd58e1
+DIST atokx3gtk216.tar.gz 69246 SHA256 cd81d0e85872274135d94511ee71eda3f29f00ed299c1dacbdf024b9d96c62e2 SHA512 39c0ff01807626f417f34ef02e4be2fe07c52edc931775299e90fd8725d9c870c3473005fc87be5023d089e94fb4700f9ad36a10ad3373be22ec35e2a418eddd WHIRLPOOL 9bdad5de28564d0c7e3e1b3d67bc0fea09e2b1e9af5fb301ebbb90bc41e58fee405468020a06c84b0d97e3bbab28d7e421a0d9d293d9b957230fa476f823302d
+DIST atokx3up2.tar.gz 8427265 SHA256 d9aae2b3917c3370bd40a3f0f767ad15a09a586986e906835952264cd5c1d28e SHA512 b4ce05882418a18e6a0ab58d805a1edeca69187bfa16a98b8f79d749ec0cfdc1b838de30f3049d3b8b0929214164c4c2054dbe283dce0f18a1ab2daa181e306d WHIRLPOOL 43b5e32e62cba0122e918f497a5c5d1da1b303721af8eb00b70a840431cc2aa0ffa7a7009cb4253caab690445a9921741aa6a6394044c4907e1acd1376c6c76e
diff --git a/app-i18n/atokx3/atokx3-3.0.0-r11.ebuild b/app-i18n/atokx3/atokx3-3.0.0-r11.ebuild
new file mode 100644
index 000000000000..9a90690e7db1
--- /dev/null
+++ b/app-i18n/atokx3/atokx3-3.0.0-r11.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cdrom eutils gnome2-utils multilib
+
+MY_UPDATE_P="${PN}up2"
+MY_UPDATE_GTK="${PN}gtk216"
+MY_ZIPCODE_P="a20y1311lx"
+
+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/${MY_UPDATE_P}.tar.gz
+ http://www3.justsystem.co.jp/download/atok/up/lin/${MY_UPDATE_GTK}.tar.gz
+ http://www3.justsystem.co.jp/download/zipcode/up/lin/${MY_ZIPCODE_P}.tgz"
+
+LICENSE="ATOK MIT"
+
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="multilib"
+
+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:2
+ dev-libs/libxml2:2
+ media-libs/fontconfig
+ media-libs/libpng
+ sys-apps/tcp-wrappers
+ virtual/pam
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.4.13:2
+ 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/pangox-compat
+ multilib? (
+ >=dev-libs/atk-2.10.0[abi_x86_32]
+ >=dev-libs/glib-2.34.3:2[abi_x86_32(-)]
+ >=dev-libs/libxml2-2.9.1-r4:2[abi_x86_32(-)]
+ >=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
+ >=media-libs/libpng-1.2.51[abi_x86_32(-)]
+ >=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
+ >=virtual/pam-0-r1[abi_x86_32(-)]
+ >=x11-libs/cairo-1.12.14-r4[abi_x86_32]
+ >=x11-libs/gtk+-2.24.23:2[abi_x86_32]
+ >=x11-libs/libICE-1.0.8-r1[abi_x86_32(-)]
+ >=x11-libs/libSM-1.2.1-r1[abi_x86_32(-)]
+ >=x11-libs/libXcomposite-0.4.4-r1[abi_x86_32(-)]
+ >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
+ >=x11-libs/libXdamage-1.1.4-r1[abi_x86_32(-)]
+ >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
+ >=x11-libs/libXfixes-5.0.1[abi_x86_32(-)]
+ >=x11-libs/libXft-2.3.1-r1[abi_x86_32(-)]
+ >=x11-libs/libXi-1.7.2[abi_x86_32(-)]
+ >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
+ >=x11-libs/libXrender-0.9.8[abi_x86_32(-)]
+ >=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
+ >=x11-libs/libdrm-2.4.46[abi_x86_32(-)]
+ >=x11-libs/pangox-compat-0.0.2[abi_x86_32]
+ )"
+
+QA_PREBUILT="opt/atokx3/lib/server/*
+ opt/atokx3/lib/client/xaux/*
+ opt/atokx3/lib/client/*
+ opt/atokx3/bin/*
+ usr/libexec/*
+ usr/bin/*
+ usr/$(get_libdir)/*
+ usr/$(get_libdir)/gtk-2.0/immodules/*
+ usr/$(get_libdir)/iiim/le/atokx3/64/*
+ usr/$(ABI=x86 get_libdir)/*
+ usr/$(ABI=x86 get_libdir)/gtk-2.0/immodules/*
+ usr/$(ABI=x86 get_libdir)/iiim/*
+ usr/$(ABI=x86 get_libdir)/iiim/le/atokx3/*"
+
+EMULTILIB_PKG="true"
+
+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-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
+ IIIMF/iiimf-client-lib-devel-trunk_r3104-js*.i386.tar.gz
+ IIIMF/iiimf-protocol-lib-devel-trunk_r3104-js*.i386.tar.gz
+ ATOK/atokx-20.0-*.0.0.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
+
+ 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 ${MY_UPDATE_P}.tar.gz
+
+ for i in ${targets} ; do
+ if [ -f "${S}"/${MY_UPDATE_P}/bin/${i} ] ; then
+ einfo "unpack" $(basename "${S}"/${MY_UPDATE_P}/bin/${i})
+ tar xzf "${S}"/${MY_UPDATE_P}/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
+ unpack ${MY_UPDATE_GTK}.tar.gz
+ unpack ${MY_ZIPCODE_P}.tgz
+}
+
+src_prepare() {
+ if use amd64 ; then
+ local lib32="$(ABI=x86 get_libdir)"
+ local 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
+ mkdir -p "usr/${lib64}/iiim/le/atokx3" || die
+ mv "usr/${lib32}/iiim/le/atokx3/64" "usr/${lib64}/iiim/le/atokx3/64" || die
+ rm "usr/${lib32}/iiim/le/atokx3/amd64" || die
+ sed -e "s:/usr/lib:/usr/${lib64}:" \
+ "usr/${lib32}/libiiimcf.la" > "usr/${lib64}/libiiimcf.la" || die
+ sed -e "s:/usr/lib:/usr/${lib64}:" \
+ "usr/${lib32}/libiiimp.la" > "usr/${lib64}/libiiimp.la" || die
+ sed -i -e "s:/usr/lib:/usr/${lib32}:" "usr/${lib32}/libiiimcf.la" || die
+ sed -i -e "s:/usr/lib:/usr/${lib32}:" "usr/${lib32}/libiiimp.la" || die
+ fi
+}
+
+src_install() {
+ dodoc "${MY_UPDATE_P}/README_UP2.txt"
+ rm -rf "${MY_UPDATE_P}"
+
+ cp -dpR * "${ED}" || die
+
+ # amd64 hack
+ if use amd64 ; then
+ local lib32="$(ABI=x86 get_libdir)"
+ local lib64="$(get_libdir)"
+ if [ "${lib32}" != "${lib64}" ] ; then
+ for f in xiiimp.so xiiimp.a iiim-xbe xiiimp.so.2 xiiimp.so.2.0.0 iiimd-watchdog xiiimp.la ; do
+ dosym "${EPREFIX}/usr/${lib32}/iiim/${f}" "/usr/${lib64}/iiim/${f}"
+ done
+ for f in atokx3aux.so atokx3.so ; do
+ dosym "${EPREFIX}/usr/${lib32}/iiim/le/atokx3/${f}" "/usr/${lib64}/iiim/le/atokx3/${f}"
+ done
+ dosym "${EPREFIX}/usr/${lib64}/iiim/le/atokx3/64" /usr/"${lib32}"/iiim/le/atokx3/64
+ dosym "${EPREFIX}/usr/${lib64}/iiim/le/atokx3/64" /usr/"${lib32}"/iiim/le/atokx3/amd64
+ fi
+ fi
+
+ sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-iiimf" > "${T}/iiimf.conf" || die
+ insinto /etc/X11/xinit/xinput.d
+ doins "${T}/iiimf.conf"
+
+ dodoc "${CDROM_ROOT}"/doc/atok.pdf
+ dohtml "${CDROM_ROOT}"/readme.html
+}
+
+pkg_preinst() {
+ # bug #343325
+ if use amd64 && has_multilib_profile && [ -L "${EPREFIX}/usr/$(get_libdir)/iiim" ] ; then
+ rm -f "${EPREFIX}/usr/$(get_libdir)/iiim"
+ 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
+ gnome2_query_immodules_gtk2
+}
+
+pkg_postrm() {
+ gnome2_query_immodules_gtk2
+}
diff --git a/app-i18n/atokx3/files/xinput-iiimf b/app-i18n/atokx3/files/xinput-iiimf
new file mode 100644
index 000000000000..2131b29b9533
--- /dev/null
+++ b/app-i18n/atokx3/files/xinput-iiimf
@@ -0,0 +1,11 @@
+XIM=iiimx
+XIM_PROGRAM=@EPREFIX@/usr/bin/iiimx
+XIM_ARGS=-iiimd
+GTK_IM_MODULE=iiim
+QT_IM_MODULE=xim
+
+export HTT_DISABLE_STATUS_WINDOW=t
+export HTT_GENERATES_KANAKEY=t
+export HTT_USES_LINUX_XKEYSYM=t
+export HTT_IGNORES_LOCK_MASK=t
+export JS_FEEDBACK_CONVERT=t
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>