rpms/scim/FC-4 scim-add-restart.patch, NONE, 1.1 scim-gtk-langs-167090.patch, NONE, 1.1 scim.spec, 1.20, 1.21

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Fri Sep 9 05:47:25 UTC 2005


Author: petersen

Update of /cvs/extras/rpms/scim/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20934

Modified Files:
	scim.spec 
Added Files:
	scim-add-restart.patch scim-gtk-langs-167090.patch 
Log Message:
- improve scim-restart script to take account of the config module in use
  (Liu Cougar)
- add scim-restart script to make it easier to restart scim after updating
  IMEs with scim-add-restart.patch
- add scim-gtk-langs-167090.patch to set gtk immodule language list empty
  for now so that rhgb doesn't load scim (Warren Togami, #167088)



scim-add-restart.patch:

--- NEW FILE scim-add-restart.patch ---
--- scim-1.4.2/src/scim-restart.in.1-restart	2005-09-02 12:05:35.000000000 +0900
+++ scim-1.4.2/src/scim-restart.in	2005-08-25 22:52:29.000000000 +0900
@@ -0,1 +1,6 @@
+#!/bin/sh
+
+COMMAND="@SCIM_LIBEXECDIR@/scim-launcher -d -c `scim-config-agent -c global -g "/DefaultConfigModule"` -e all -f socket --no-stay"
+
+pkill -f "${COMMAND}" && ${COMMAND}
--- scim-1.4.2/src/Makefile.am.1-restart	2005-07-10 22:32:23.000000000 +0900
+++ scim-1.4.2/src/Makefile.am	2005-09-02 11:42:57.000000000 +0900
@@ -141,6 +141,7 @@
 
 
 bin_PROGRAMS		= scim scim-config-agent
+bin_SCRIPTS		= scim-restart
 
 scim_SOURCES	 	= scim.cpp 
 scim_LDADD		= libscim-1.0.la
--- scim-1.4.2/configure.ac.1-restart	2005-08-16 15:56:59.000000000 +0900
+++ scim-1.4.2/configure.ac	2005-09-02 11:42:57.000000000 +0900
@@ -516,6 +516,7 @@
 		 intl/Makefile
 		 po/Makefile.in
 		 src/Makefile
+		 src/scim-restart
 		 src/scim_types.h
 		 utils/Makefile
 		 data/Makefile

scim-gtk-langs-167090.patch:

--- NEW FILE scim-gtk-langs-167090.patch ---
--- scim-1.4.2/extras/gtk2_immodule/imscim.cpp~	2005-01-10 17:15:07.000000000 +0900
+++ scim-1.4.2/extras/gtk2_immodule/imscim.cpp	2005-09-01 15:21:08.000000000 +0900
@@ -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 */
+  ""				/* Languages for which this module is the default */
 };
 
 static const GtkIMContextInfo *info_list[] = {


Index: scim.spec
===================================================================
RCS file: /cvs/extras/rpms/scim/FC-4/scim.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- scim.spec	22 Aug 2005 05:32:55 -0000	1.20
+++ scim.spec	9 Sep 2005 05:47:23 -0000	1.21
@@ -1,7 +1,7 @@
 Name:      scim
 Version:   1.4.2
 # must be less than the release number of scim in Core
-Release:   0%{?dist}
+Release:   1%{?dist}
 Summary:   Smart Common Input Method platform
 
 License:   LGPL
@@ -13,6 +13,10 @@
 
 PreReq:    %{_bindir}/update-gtk-immodules
 BuildRequires: gtk2-devel, desktop-file-utils
+# for autoreconf
+Buildrequires: gettext-devel
+Patch1:    scim-add-restart.patch
+Patch2:    scim-gtk-langs-167090.patch
 
 %description
 SCIM is a user friendly and full featured input method user interface and
@@ -40,6 +44,10 @@
 
 %prep
 %setup -q
+%patch1 -p1 -b .1-restart
+%patch2 -p1 -b .2-langs
+# patch1 touches configure.ac and src/Makefile.am
+autoreconf
 
 
 %build
@@ -130,6 +138,16 @@
 
 
 %changelog
+* Fri Sep  9 2005 Jens Petersen <petersen at redhat.com> - 1.4.2-1
+- improve scim-restart script to take account of the config module in use
+  (Liu Cougar)
+
+* Fri Sep  2 2005 Jens Petersen <petersen at redhat.com>
+- add scim-restart script to make it easier to restart scim after updating
+  IMEs with scim-add-restart.patch
+- add scim-gtk-langs-167090.patch to set gtk immodule language list empty
+  for now so that rhgb doesn't load scim (Warren Togami, #167088)
+
 * Mon Aug 22 2005 Jens Petersen <petersen at redhat.com> - 1.4.2-0
 - update to 1.4.2 release
 - source scim-qtimm script if present from scim xinput script




More information about the fedora-extras-commits mailing list