diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-06-14 17:45:18 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-06-14 17:45:18 +0000 |
commit | 9cc636dbc72eec15fae01efb220da81f339defec (patch) | |
tree | efe4c74e8c9fb27a818677abd7aee4591a059150 /app-i18n/scim | |
parent | Unmask. (Manifest recommit) (diff) | |
download | gentoo-2-9cc636dbc72eec15fae01efb220da81f339defec.tar.gz gentoo-2-9cc636dbc72eec15fae01efb220da81f339defec.tar.bz2 gentoo-2-9cc636dbc72eec15fae01efb220da81f339defec.zip |
Added CVS snapshot needed for scim-m17n and scim-uim.
Diffstat (limited to 'app-i18n/scim')
-rw-r--r-- | app-i18n/scim/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/scim/files/digest-scim-0.99.0_pre20040614 | 1 | ||||
-rw-r--r-- | app-i18n/scim/scim-0.99.0_pre20040614.ebuild | 77 |
3 files changed, 85 insertions, 1 deletions
diff --git a/app-i18n/scim/ChangeLog b/app-i18n/scim/ChangeLog index acee3308e794..0145cbfbc631 100644 --- a/app-i18n/scim/ChangeLog +++ b/app-i18n/scim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/scim # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.12 2004/06/14 16:17:52 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.13 2004/06/14 17:45:18 usata Exp $ + +*scim-0.99.0_pre20040614 (15 Jun 2004) + + 15 Jun 2004; Mamoru KOMACHI <usata@gentoo.org> + +scim-0.99.0_pre20040614.ebuild: + Added CVS snapshot needed for scim-m17n and scim-uim. *scim-0.9.7 (15 Jun 2004) diff --git a/app-i18n/scim/files/digest-scim-0.99.0_pre20040614 b/app-i18n/scim/files/digest-scim-0.99.0_pre20040614 new file mode 100644 index 000000000000..70101cfe67ec --- /dev/null +++ b/app-i18n/scim/files/digest-scim-0.99.0_pre20040614 @@ -0,0 +1 @@ +MD5 90d1feb80c3fd9b98dd29ba084449d18 scim-0.99.0-20040614.tar.gz 1370916 diff --git a/app-i18n/scim/scim-0.99.0_pre20040614.ebuild b/app-i18n/scim/scim-0.99.0_pre20040614.ebuild new file mode 100644 index 000000000000..099682d5fb94 --- /dev/null +++ b/app-i18n/scim/scim-0.99.0_pre20040614.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-0.99.0_pre20040614.ebuild,v 1.1 2004/06/14 17:45:18 usata Exp $ + +inherit gnome2 eutils + +DESCRIPTION="Smart Common Input Method (SCIM) is a Input Method (IM) development platform" +HOMEPAGE="http://freedesktop.org/~suzhe/" +#SRC_URI="http://freedesktop.org/~suzhe/sources/${P}.tar.gz" +SRC_URI="mirror://gentoo/${P/_pre/-}.tar.gz" +S="${WORKDIR}/scim-lib-${PV#*_pre}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gnome" + +RDEPEND="virtual/x11 + gnome? ( >=gnome-base/gconf-1.2 + >=dev-libs/libxml2-2.5 + >=gnome-base/ORBit2-2.8 ) + >=x11-libs/gtk+-2 + >=dev-libs/atk-1 + >=x11-libs/pango-1 + >=dev-libs/glib-2" +DEPEND="${RDEPEND} + dev-lang/perl" +PDEPEND="app-i18n/scim-uim + app-i18n/scim-m17n" + +ELTCONF="--reverse-deps" +SCROLLKEEPER_UPDATE="0" +USE_DESTDIR="1" + +src_unpack() { + unpack ${A} + # use scim gtk2 IM module only for chinese/japanese/korean + EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-0.6.1-gtk2immodule.patch + # workaround for problematic makefile + sed -i -e "s:^\(scim_LDFLAGS.*\):\1 -ldl:" ${S}/src/Makefile.in + sed -i -e "s:^\(scim_config_agent_LDFLAGS = .*\):\1 -ldl:" ${S}/src/Makefile.in + sed -i -e "s:^\(scim_make_table_LDFLAGS.*\):\1 -ldl:" ${S}/modules/IMEngine/Makefile.in + sed -i -e "s:^LDFLAGS = :LDFLAGS = -ldl :" ${S}/tests/Makefile.in + sed -i -e "s:GTK_VERSION=2.3.5:GTK_VERSION=2.4.0:" ${S}/configure +} + +src_compile() { + use gnome || G2CONF="${G2CONF} --disable-config-gconf" + gnome2_src_compile +} + +src_install() { + gnome2_src_install || die "install failed" + dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg + dohtml -r docs/html/* +} + +pkg_postinst() { + einfo + einfo "To use SCIM with both GTK2 and XIM, you should use the following" + einfo "in your user startup scripts such as .gnomerc or .xinitrc:" + einfo + einfo "LANG='your_language' scim -f socket -e uim,m17n -c simple -d" + einfo "LANG='your_language' scim -f x11 -e socket -c socket -d" + einfo "export XMODIFIERS=@im=SCIM" + einfo + einfo "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other" + einfo "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8" + einfo + + gtk-query-immodules-2.0 > ${ROOT}etc/gtk-2.0/gtk.immodules +} + +pkg_postrm() { + + gtk-query-immodules-2.0 > ${ROOT}etc/gtk-2.0/gtk.immodules +} |