diff options
author | Akinori Hattori <hattya@gentoo.org> | 2006-12-14 11:35:06 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2006-12-14 11:35:06 +0000 |
commit | 17a032ae5b54fd7a611c876ac544fe607d84c38e (patch) | |
tree | ab1e988ad8bdb946a7b64ab260a85fed64f44e8d /app-i18n | |
download | hattya-17a032ae5b54fd7a611c876ac544fe607d84c38e.tar.gz hattya-17a032ae5b54fd7a611c876ac544fe607d84c38e.tar.bz2 hattya-17a032ae5b54fd7a611c876ac544fe607d84c38e.zip |
Initial revision.
svn path=/; revision=1
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/uim-svn/Manifest | 11 | ||||
-rw-r--r-- | app-i18n/uim-svn/files/50uim-gentoo.el | 6 | ||||
-rw-r--r-- | app-i18n/uim-svn/files/digest-uim-svn-20060320 | 1 | ||||
-rw-r--r-- | app-i18n/uim-svn/metadata.xml | 8 | ||||
-rw-r--r-- | app-i18n/uim-svn/uim-svn-20060320.ebuild | 148 |
5 files changed, 174 insertions, 0 deletions
diff --git a/app-i18n/uim-svn/Manifest b/app-i18n/uim-svn/Manifest new file mode 100644 index 0000000..af9080b --- /dev/null +++ b/app-i18n/uim-svn/Manifest @@ -0,0 +1,11 @@ +AUX 50uim-gentoo.el 120 RMD160 de7359e37bde67449be61e99e1a271088c99a785 SHA1 c22d5cacc74a6b4c0b0733cff693b03e90c9e2b8 SHA256 151b731d5940fc029fd5428275fe670f85d9af501adb8e2b0e5ee5277b301ee3 +MD5 bb1358d0c54a9f19ec23bd58b8b52ef3 files/50uim-gentoo.el 120 +RMD160 de7359e37bde67449be61e99e1a271088c99a785 files/50uim-gentoo.el 120 +SHA256 151b731d5940fc029fd5428275fe670f85d9af501adb8e2b0e5ee5277b301ee3 files/50uim-gentoo.el 120 +EBUILD uim-svn-20060320.ebuild 2913 RMD160 7db407f1ec8e6f937c485d24456be2854f70cce0 SHA1 2b87247bc8f0ba53cae08b8bcf9464139b4d6e4e SHA256 856408a26c09cf5b5fcf0618e8216debdfa558799a4b0faa2f2fc0462a0d0ff3 +MD5 6fc4894616eaa539c5d5df16e01171d2 uim-svn-20060320.ebuild 2913 +RMD160 7db407f1ec8e6f937c485d24456be2854f70cce0 uim-svn-20060320.ebuild 2913 +SHA256 856408a26c09cf5b5fcf0618e8216debdfa558799a4b0faa2f2fc0462a0d0ff3 uim-svn-20060320.ebuild 2913 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-uim-svn-20060320 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-uim-svn-20060320 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-uim-svn-20060320 1 diff --git a/app-i18n/uim-svn/files/50uim-gentoo.el b/app-i18n/uim-svn/files/50uim-gentoo.el new file mode 100644 index 0000000..a9c6484 --- /dev/null +++ b/app-i18n/uim-svn/files/50uim-gentoo.el @@ -0,0 +1,6 @@ + +;;; uim site-lisp configuration + +(require 'uim-leim) +(set-language-info "Japanese" 'input-method "japanese-@IM@-uim") + diff --git a/app-i18n/uim-svn/files/digest-uim-svn-20060320 b/app-i18n/uim-svn/files/digest-uim-svn-20060320 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/app-i18n/uim-svn/files/digest-uim-svn-20060320 @@ -0,0 +1 @@ + diff --git a/app-i18n/uim-svn/metadata.xml b/app-i18n/uim-svn/metadata.xml new file mode 100644 index 0000000..efd6b02 --- /dev/null +++ b/app-i18n/uim-svn/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> + <maintainer> + <email>hattya@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-i18n/uim-svn/uim-svn-20060320.ebuild b/app-i18n/uim-svn/uim-svn-20060320.ebuild new file mode 100644 index 0000000..d35a6a4 --- /dev/null +++ b/app-i18n/uim-svn/uim-svn-20060320.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit elisp-common flag-o-matic kde-functions multilib subversion + +IUSE="X anthy canna dict eb emacs fep gtk immqt libedit m17n-lib nls qt3" + +ESVN_REPO_URI="http://anonsvn.freedesktop.org/svn/uim/trunk" +ESVN_BOOTSTRAP="./autogen.sh" +#ESVN_PATCHES="*.diff" + +DESCRIPTION="a multilingual input method library" +HOMEPAGE="http://uim.freedesktop.org/" +SRC_URI="" + +LICENSE="BSD GPL-2 LGPL-2.1" +KEYWORDS="~x86" +SLOT="0" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.31 + gnome-base/librsvg + X? ( || ( ( + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 ) ) + nls? ( virtual/libintl )" +RDEPEND="!app-i18n/uim + X? ( || ( ( + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXrender + ) + virtual/x11 ) ) + anthy? ( || ( app-i18n/anthy app-i18n/anthy-ss ) ) + canna? ( app-i18n/canna ) + eb? ( dev-libs/eb ) + emacs? ( virtual/emacs ) + gtk? ( >=x11-libs/gtk+-2 ) + immqt? ( $(qt_min_version 3.3.4) ) + libedit? ( dev-libs/libedit ) + qt3? ( $(qt_min_version 3.3.4) ) + m17n-lib? ( dev-libs/m17n-lib )" + +src_compile() { + + local myconf="--enable-maintainer-mode" + + if use dict && (use anthy || use canna); then + myconf="${myconf} --enable-dict" + + else + ewarn "dict use flag should use with anthy or canna use flag. disabled." + myconf="${myconf} --disable-dict" + + fi + + if use qt3 || use immqt; then + set-qtdir 3 + fi + + econf \ + $(use_enable emacs) \ + $(use_enable fep) \ + $(use_enable nls) \ + $(use_with X x) \ + $(use_with anthy) \ + $(use_with canna) \ + $(use_with eb) \ + $(use_with immqt qt-immodule) \ + $(use_with libedit) \ + $(use_with qt3 qt) \ + $(use_with gtk gtk2) \ + $(use_with m17n-lib m17nlib) \ + ${myconf} \ + || die + emake || die + +} + +src_install() { + + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog* NEWS README* + + rm doc/Makefile* + docinto doc + dodoc doc/* + + local u + + for u in emacs fep; do + if use ${u}; then + cd ${u} + docinto ${u} + dodoc README* + cd - + fi + done + + if use emacs; then + local im + + if has_version app-i18n/anthy || has_version app-i18n/anthy-ss; then + im="anthy" + + elif has_version app-i18n/prime; then + im="prime" + + else + im="skk" + + fi + + elisp-site-file-install "${FILESDIR}"/50uim-gentoo.el + dosed "s:@IM@:${im}:" ${SITELISP}/50uim-gentoo.el + fi + +} + +pkg_postinst() { + + local chost + + has_multilib_profile && chost=${CHOST} + use gtk && gtk-query-immodules-2.0 > "${ROOT}"/etc/gtk-2.0/${chost}/gtk.immodules + use emacs && elisp-site-regen + +} + +pkg_postrm() { + + local chost + + has_multilib_profile && chost=${CHOST} + use gtk && gtk-query-immodules-2.0 > "${ROOT}"/etc/gtk-2.0/${chost}/gtk.immodules + has_version virtual/emacs && elisp-site-regen + +} + +# $Id$ |