diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-09-05 00:03:47 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-09-05 00:03:47 +0000 |
commit | 89f9760c6930630c9de3cfd9fe31b98637ad5e4a (patch) | |
tree | 52293d5a827134da6b0fba0027fa3ee4729f48cf | |
parent | Version bumped. Cleaned USE flags. Added metadata.xml. (diff) | |
download | historical-89f9760c6930630c9de3cfd9fe31b98637ad5e4a.tar.gz historical-89f9760c6930630c9de3cfd9fe31b98637ad5e4a.tar.bz2 historical-89f9760c6930630c9de3cfd9fe31b98637ad5e4a.zip |
Version bumped. Cleaned USE flags. Added metadata.xml.
-rw-r--r-- | app-i18n/uim/Manifest | 7 | ||||
-rw-r--r-- | app-i18n/uim/files/digest-uim-0.0.3 | 1 | ||||
-rw-r--r-- | app-i18n/uim/metadata.xml | 13 | ||||
-rw-r--r-- | app-i18n/uim/uim-0.0.2.1.ebuild | 24 | ||||
-rw-r--r-- | app-i18n/uim/uim-0.0.3.ebuild | 61 |
5 files changed, 96 insertions, 10 deletions
diff --git a/app-i18n/uim/Manifest b/app-i18n/uim/Manifest index 742dc1a51c2e..62140cf79f00 100644 --- a/app-i18n/uim/Manifest +++ b/app-i18n/uim/Manifest @@ -1,9 +1,10 @@ MD5 da69da665a3d32e233daabcdcbdcb861 uim-2013.ebuild 787 -MD5 8526c4c9d0cb45eaf12cf699050f4d08 uim-0.0.3.ebuild 1023 -MD5 c91cecbeffc2e089309661514a6647ff ChangeLog 879 +MD5 14efd3569a55996e00a2a950d59ad042 uim-0.0.3.ebuild 1322 +MD5 ce89d330c49c6624d3b9cee7e9d17d5e ChangeLog 1138 MD5 a33592ec90394b74e3ecf254a22563c4 uim-2023.ebuild 770 -MD5 e20e3dfdb72aceddd468c3304b42a483 uim-0.0.2.1.ebuild 1023 +MD5 130156c35dbce9a5811865d26c49b93d uim-0.0.2.1.ebuild 1324 MD5 d95dc7035135baaa9c0edb33a2762f5a uim-2018.ebuild 735 +MD5 59d92a2c6e0855b6a24d2774cd643024 metadata.xml 551 MD5 3bb8c1a4834e31c177de4931379f26e6 files/digest-uim-2013 60 MD5 71b0142ac8f4c533875e57f62fd33b83 files/digest-uim-2018 60 MD5 c7c39e7fbaae8dc42b41b2119acc139b files/digest-uim-2023 60 diff --git a/app-i18n/uim/files/digest-uim-0.0.3 b/app-i18n/uim/files/digest-uim-0.0.3 new file mode 100644 index 000000000000..46bdbdcd4655 --- /dev/null +++ b/app-i18n/uim/files/digest-uim-0.0.3 @@ -0,0 +1 @@ +MD5 0d2291983982cdb4525bf12fd6f2bd2c uim-0.0.3.tar.gz 556744 diff --git a/app-i18n/uim/metadata.xml b/app-i18n/uim/metadata.xml new file mode 100644 index 000000000000..852420a249b5 --- /dev/null +++ b/app-i18n/uim/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +<longdescription> +uim is a simple, secure and flexible input method library. At the +moment Anthy, SKK, Prime, T-code, TUT-code (these are Japanese input +method), Pinyin (Chinese input method), Hangul (Korean input method), +IPA (International Phonetic Alphabet) are implemented. You can extend +the library with Scheme thus easily, or with C if it becomes rather +complicated. +</longdescription> +</pkgmetadata> diff --git a/app-i18n/uim/uim-0.0.2.1.ebuild b/app-i18n/uim/uim-0.0.2.1.ebuild index 36a72e349079..b47cb7e25aef 100644 --- a/app-i18n/uim/uim-0.0.2.1.ebuild +++ b/app-i18n/uim/uim-0.0.2.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.0.2.1.ebuild,v 1.1 2003/08/31 21:54:38 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.0.2.1.ebuild,v 1.2 2003/09/05 00:03:43 usata Exp $ -IUSE="gtk nls canna" +IUSE="gtk nls" DESCRIPTION="UIM is a simple, secure and flexible input method library" HOMEPAGE="http://anthy.sourceforge.jp/" @@ -15,17 +15,27 @@ KEYWORDS="~x86 ~sparc" S="${WORKDIR}/${P}" DEPEND="virtual/glibc + >=dev-libs/glib-2 gtk? ( >=x11-libs/gtk+-2 ) - canna? ( app-i18n/canna )" + >=sys-apps/sed-4" +DEPEND="virtual/glibc + >=dev-libs/glib-2 + gtk? ( >=x11-libs/gtk+-2 )" GTK_IMMODULES=/etc/gtk-2.0/gtk.immodules src_compile() { - econf \ - `use_with gtk` \ - `use_enable nls` \ - `use_with canna` || die + if [ -n "`use gtk`" ] ; then + sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \ + Makefile.in `echo */Makefile.in` + else + sed -i -e "s:@GTK2_TRUE@:#:g" -e "s:@GTK2_FALSE@::g" \ + Makefile.in `echo */Makefile.in` + sed -i -e "/^SUBDIRS/s/gtk//" Makefile.in + fi + + econf `use_enable nls` || die emake || die } diff --git a/app-i18n/uim/uim-0.0.3.ebuild b/app-i18n/uim/uim-0.0.3.ebuild new file mode 100644 index 000000000000..04ae39da83fc --- /dev/null +++ b/app-i18n/uim/uim-0.0.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-0.0.3.ebuild,v 1.1 2003/09/05 00:03:43 usata Exp $ + +IUSE="gtk nls" + +DESCRIPTION="UIM is a simple, secure and flexible input method library" +HOMEPAGE="http://anthy.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/anthy/5818/${P}.tar.gz" + +LICENSE="GPL-2 | BSD" +SLOT="0" +KEYWORDS="~x86 ~sparc" + +S="${WORKDIR}/${P}" + +DEPEND="virtual/glibc + >=dev-libs/glib-2 + gtk? ( >=x11-libs/gtk+-2 ) + >=sys-apps/sed-4" +DEPEND="virtual/glibc + >=dev-libs/glib-2 + gtk? ( >=x11-libs/gtk+-2 )" + +GTK_IMMODULES=/etc/gtk-2.0/gtk.immodules + +src_compile() { + + if [ -n "`use gtk`" ] ; then + sed -i -e "s:@GTK2_TRUE@::g" -e "s:@GTK2_FALSE@:#:g" \ + Makefile.in `echo */Makefile.in` + else + sed -i -e "s:@GTK2_TRUE@:#:g" -e "s:@GTK2_FALSE@::g" \ + Makefile.in `echo */Makefile.in` + sed -i -e "/^SUBDIRS/s/gtk//" Makefile.in + fi + + econf `use_enable nls` || die + emake || die +} + +src_install () { + + einstall || die + + dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL* NEWS README* +} + +pkg_postinst() { + + if [ -f ${GTK_IMMODULES} ] ; then + gtk-query-immodules-2.0 > ${GTK_IMMODULES} + fi +} + +pkg_postrm() { + + if [ -f ${GTK_IMMODULES} ] ; then + gtk-query-immodules-2.0 > ${GTK_IMMODULES} + fi +} |