diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-03-29 00:42:30 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-03-29 00:42:30 +0000 |
commit | c6a97c5a772001c2a0fbb3a4eef41a00292ba863 (patch) | |
tree | 1451816b64864e2e2bf4a03505cc13ee04e3885a /app-i18n/scim | |
parent | version bump (#45268) (Manifest recommit) (diff) | |
download | gentoo-2-c6a97c5a772001c2a0fbb3a4eef41a00292ba863.tar.gz gentoo-2-c6a97c5a772001c2a0fbb3a4eef41a00292ba863.tar.bz2 gentoo-2-c6a97c5a772001c2a0fbb3a4eef41a00292ba863.zip |
version bump, dlopen patch thanks to Ming Zhao <zhaoming@tsinghua.org.cn> (#45268)
Diffstat (limited to 'app-i18n/scim')
-rw-r--r-- | app-i18n/scim/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/scim/files/digest-scim-0.9.3 | 1 | ||||
-rw-r--r-- | app-i18n/scim/files/scim-0.9.3-dlopen.patch | 22 | ||||
-rw-r--r-- | app-i18n/scim/scim-0.9.3.ebuild | 63 |
4 files changed, 94 insertions, 1 deletions
diff --git a/app-i18n/scim/ChangeLog b/app-i18n/scim/ChangeLog index 6301c6e4511c..4df21e3a6269 100644 --- a/app-i18n/scim/ChangeLog +++ b/app-i18n/scim/ChangeLog @@ -1,6 +1,13 @@ # 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.8 2004/03/22 10:07:28 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.9 2004/03/29 00:42:30 liquidx Exp $ + +*scim-0.9.3 (29 Mar 2004) + + 29 Mar 2004; Alastair Tse <liquidx@gentoo.org> scim-0.9.3.ebuild, + files/scim-0.9.3-dlopen.patch: + version bump, dlopen patch thanks to Ming Zhao <zhaoming@tsinghua.org.cn> + (#45268) 22 Mar 2004; David Holm <dholm@gentoo.org> scim-0.9.2.ebuild: Added to ~ppc. diff --git a/app-i18n/scim/files/digest-scim-0.9.3 b/app-i18n/scim/files/digest-scim-0.9.3 new file mode 100644 index 000000000000..bcc9856f5d22 --- /dev/null +++ b/app-i18n/scim/files/digest-scim-0.9.3 @@ -0,0 +1 @@ +MD5 0783651b2da7203c49d73f37f9c86661 scim-0.9.3.tar.gz 1454176 diff --git a/app-i18n/scim/files/scim-0.9.3-dlopen.patch b/app-i18n/scim/files/scim-0.9.3-dlopen.patch new file mode 100644 index 000000000000..0713829b5935 --- /dev/null +++ b/app-i18n/scim/files/scim-0.9.3-dlopen.patch @@ -0,0 +1,22 @@ +--- scim-0.9.3/src/Makefile.in.bak 2004-03-20 21:42:43.644342264 +0800 ++++ scim-0.9.3/src/Makefile.in 2004-03-20 21:42:18.178213704 +0800 +@@ -357,7 +357,7 @@ + + scim_config_agent_SOURCES = scim_config_agent.cpp + scim_config_agent_LDADD = libscim.la +-scim_config_agent_LDFLAGS = @INTLLIBS@ ++scim_config_agent_LDFLAGS = @INTLLIBS@ -ldl + subdir = src + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +--- scim-0.9.3/configure.bak 2004-03-20 22:00:59.292778384 +0800 ++++ scim-0.9.3/configure 2004-03-20 22:00:25.969844240 +0800 +@@ -19428,7 +19428,7 @@ + fi + if $PKG_CONFIG --exists "gtk+-2.0 >= 2.3.5" ; then + SCIM_HAS_GTK2_4=yes +- GTK_VERSION=2.3.5 ++ GTK_VERSION=2.4.0 + + cat >>confdefs.h <<\_ACEOF + #define HAVE_GTK_DRAW_INSERTION_CURSOR 1 diff --git a/app-i18n/scim/scim-0.9.3.ebuild b/app-i18n/scim/scim-0.9.3.ebuild new file mode 100644 index 000000000000..2655736999e3 --- /dev/null +++ b/app-i18n/scim/scim-0.9.3.ebuild @@ -0,0 +1,63 @@ +# 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.9.3.ebuild,v 1.1 2004/03/29 00:42:30 liquidx Exp $ + +inherit gnome2 + +DESCRIPTION="Smart Common Input Method (SCIM) is a Input Method (IM) development platform" +HOMEPAGE="http://www.turbolinux.com.cn/~suzhe/scim/" +SRC_URI="http://www.turbolinux.com.cn/~suzhe/scim/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +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" + +PDEPEND=">=app-i18n/scim-tables-0.3.3" + +DEPEND="${RDEPEND} + dev-lang/perl" + +ELTCONF="--reverse-deps" +SCROLLKEEPER_UPDATE="0" + +src_unpack() { + unpack ${A} + # use scim gtk2 IM module only for chinese/japanese/korean + EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-dlopen.patch + 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_make_table_LDFLAGS.*\):\1 -ldl:" ${S}/modules/Server/Makefile.in + sed -i -e "s:^LDFLAGS = :LDFLAGS = -ldl :" ${S}/tests/Makefile.in +} + +src_compile() { + use gnome || G2CONF="${G2CONF} --disable-config-gconf" + gnome2_src_compile +} + +src_install() { + gnome2_src_install || "install failed" + dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg + dohtml -r docs/html/* +} + +pkg_postinst() { + 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 -ns socket -d" + einfo "LANG='your_language' scim -f x11 -s socket -c socket -d" + einfo " " + einfo "where 'your_language' can either be zh_CN or zh_TW" +} |