Bug 48869 - New version of SCIM(0.9.4)
Bug#: 48869 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: ming@gentoo.org
Component: Ebuilds
URL:  http://freedesktop.org/~suzhe/
Summary: New version of SCIM(0.9.4)
Keywords:  
Status Whiteboard: 
Opened: 2004-04-24 04:49 0000
Description:   Opened: 2004-04-24 04:49 0000
Suzhe has just released a new version of SCIM. 
Changlog goes here:
    *  Fixed bugs in x11 FrontEnd module and gtk2 immodule which do not focus out the server instances properly.
    * Simplify simple config module to use only one system config file and one user config file.
    * Added a command line option (--config) for scim-setup to set the default config module.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Ming Zhao (RETIRED) 2004-04-24 04:54:43 0000 -------
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
 }

------- Comment #2 From Alastair Tse (RETIRED) 2004-04-26 01:25:09 0000 -------
thanks for your ebuild and changes. although, the version has quickly gone to
0.9.6 already. that's been committed into portage.