summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-06-27 06:28:51 +0000
committerMamoru Komachi <usata@gentoo.org>2004-06-27 06:28:51 +0000
commit5344a7248b365291fef4e7c04dd0741304b8c017 (patch)
tree1381632b85798a657a254641a776658851eb0a82 /app-i18n/scim-cvs
parentinitial import, bug #48025. (Manifest recommit) (diff)
downloadgentoo-2-5344a7248b365291fef4e7c04dd0741304b8c017.tar.gz
gentoo-2-5344a7248b365291fef4e7c04dd0741304b8c017.tar.bz2
gentoo-2-5344a7248b365291fef4e7c04dd0741304b8c017.zip
Initial import.
Diffstat (limited to 'app-i18n/scim-cvs')
-rw-r--r--app-i18n/scim-cvs/ChangeLog9
-rw-r--r--app-i18n/scim-cvs/Manifest4
-rw-r--r--app-i18n/scim-cvs/files/digest-scim-cvs-0.99.10
-rw-r--r--app-i18n/scim-cvs/files/scim-cvs-gtk2immodule.patch11
-rw-r--r--app-i18n/scim-cvs/metadata.xml5
-rw-r--r--app-i18n/scim-cvs/scim-cvs-0.99.1.ebuild96
6 files changed, 125 insertions, 0 deletions
diff --git a/app-i18n/scim-cvs/ChangeLog b/app-i18n/scim-cvs/ChangeLog
new file mode 100644
index 000000000000..aa859714e667
--- /dev/null
+++ b/app-i18n/scim-cvs/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-i18n/scim-cvs
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-cvs/ChangeLog,v 1.1 2004/06/27 06:28:51 usata Exp $
+
+*scim-cvs-0.99.1 (27 Jun 2004)
+
+ 27 Jun 2004; Mamoru KOMACHI <usata@gentoo.org> +scim-cvs-0.99.1.ebuild:
+ Initial import.
+
diff --git a/app-i18n/scim-cvs/Manifest b/app-i18n/scim-cvs/Manifest
new file mode 100644
index 000000000000..360ad3560409
--- /dev/null
+++ b/app-i18n/scim-cvs/Manifest
@@ -0,0 +1,4 @@
+MD5 6bafffc7109739a553d65777514dc170 scim-cvs-0.99.1.ebuild 2716
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-scim-cvs-0.99.0 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-scim-cvs-0.99.1 0
+MD5 95e4d06699356649f034690e3c3e870e files/scim-cvs-gtk2immodule.patch 545
diff --git a/app-i18n/scim-cvs/files/digest-scim-cvs-0.99.1 b/app-i18n/scim-cvs/files/digest-scim-cvs-0.99.1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-i18n/scim-cvs/files/digest-scim-cvs-0.99.1
diff --git a/app-i18n/scim-cvs/files/scim-cvs-gtk2immodule.patch b/app-i18n/scim-cvs/files/scim-cvs-gtk2immodule.patch
new file mode 100644
index 000000000000..55f45c4bc061
--- /dev/null
+++ b/app-i18n/scim-cvs/files/scim-cvs-gtk2immodule.patch
@@ -0,0 +1,11 @@
+--- scim-0.6.1/extras/gtk2_immodule/imscim.cpp 2003-03-31 05:01:25.000000000 +0100
++++ scim-0.6.1/extras/gtk2_immodule/imscim.cpp.new 2003-07-07 02:25:00.000000000 +0100
+@@ -33,7 +33,7 @@
+ "SCIM Input Method", /* Human readable name */
+ "scim", /* Translation domain */
+ SCIM_LOCALEDIR, /* Dir for bindtextdomain (not strictly needed for "gtk+") */
+- "*" /* Languages for which this module is the default */
++ "ko:ja:zh" /* Languages for which this module is the default */
+ };
+
+ static const GtkIMContextInfo *info_list[] = {
diff --git a/app-i18n/scim-cvs/metadata.xml b/app-i18n/scim-cvs/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/app-i18n/scim-cvs/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>
diff --git a/app-i18n/scim-cvs/scim-cvs-0.99.1.ebuild b/app-i18n/scim-cvs/scim-cvs-0.99.1.ebuild
new file mode 100644
index 000000000000..1e9eba1f1f57
--- /dev/null
+++ b/app-i18n/scim-cvs/scim-cvs-0.99.1.ebuild
@@ -0,0 +1,96 @@
+# 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-cvs/scim-cvs-0.99.1.ebuild,v 1.1 2004/06/27 06:28:51 usata Exp $
+
+inherit gnome2 eutils cvs
+
+DESCRIPTION="Smart Common Input Method (SCIM) is a Input Method (IM) development platform"
+HOMEPAGE="http://freedesktop.org/~suzhe/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~alpha"
+IUSE="gnome debug"
+
+ECVS_AUTH="ext"
+CVS_RSH="ssh"
+ECVS_SERVER="savannah.nongnu.org:/cvsroot/scim"
+ECVS_SSH_HOST_KEY="savannah.nongnu.org,199.232.41.4 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv0="
+ECVS_USER="anoncvs"
+ECVS_PASS=""
+ECVS_MODULE="scim-lib"
+S="${WORKDIR}/${ECVS_MODULE}"
+
+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
+ !app-i18n/scim
+ !<app-i18n/scim-chinese-0.4.0"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ sys-devel/autoconf
+ sys-devel/automake"
+PDEPEND="|| ( app-i18n/scim-m17n
+ app-i18n/scim-uim
+ app-i18n/scim-tables )"
+
+ELTCONF="--reverse-deps"
+SCROLLKEEPER_UPDATE="0"
+USE_DESTDIR="1"
+
+src_unpack() {
+ cvs_src_unpack
+ # use scim gtk2 IM module only for chinese/japanese/korean
+ EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-gtk2immodule.patch
+
+ cd ${S}
+ ./bootstrap || die "bootstrap failed"
+
+ # workaround for problematic makefile
+ sed -i -e "s:^\(scim.*LDFLAGS.*\):\1 -ldl:g" \
+ ${S}/src/Makefile.* || die
+ sed -i -e "s:^\(scim_make_table_LDFLAGS.*\):\1 -ldl:" \
+ ${S}/modules/IMEngine/Makefile.* || die
+ sed -i -e "s:^LDFLAGS = :LDFLAGS = -ldl :g" \
+ -e "s:^\(test.*LDFLAGS.*\):\1 -ldl:g" \
+ ${S}/tests/Makefile.* || die
+ sed -i -e "s:GTK_VERSION=2.3.5:GTK_VERSION=2.4.0:" \
+ ${S}/configure || die
+}
+
+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 -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
+}