Created an attachment (id=29952) [details]
scim-0.9.4.ebuild
eurythmics scim # diff -u scim-0.9.3.ebuild scim-0.9.4.ebuild
--- scim-0.9.3.ebuild 2004-04-06 12:14:37.000000000 +0800
+++ scim-0.9.4.ebuild 2004-04-24 19:53:31.676664128 +0800
@@ -1,12 +1,12 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/app-i18n/scim/scim-0.9.3.ebuild,v 1.2
2004/04/06 04:01:15 vapier Exp $
+# $Header: $
inherit gnome2 eutils
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"
+HOMEPAGE="http://freedesktop.org/~suzhe/"
+SRC_URI="http://freedesktop.org/~suzhe/sources/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -31,12 +31,13 @@
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_config_agent_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
+ sed -i -e "s:GTK_VERSION=2.3.5:GTK_VERSION=2.4.0:" ${S}/configure
}