rpms/scim/FC-3 scim-add-restart.patch,1.1,1.2 scim.spec,1.16,1.17
Jens Petersen (petersen)
fedora-extras-commits at redhat.com
Fri Oct 7 07:04:41 UTC 2005
Author: petersen
Update of /cvs/extras/rpms/scim/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8996
Modified Files:
scim-add-restart.patch scim.spec
Log Message:
- fixing quoting in scim-restart
- make post and postun scripts for scim-libs
scim-add-restart.patch:
Index: scim-add-restart.patch
===================================================================
RCS file: /cvs/extras/rpms/scim/FC-3/scim-add-restart.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- scim-add-restart.patch 9 Sep 2005 06:39:54 -0000 1.1
+++ scim-add-restart.patch 7 Oct 2005 07:04:24 -0000 1.2
@@ -3,7 +3,7 @@
@@ -0,0 +1,5 @@
+#!/bin/sh
+
-+COMMAND="@SCIM_LIBEXECDIR@/scim-launcher -d -c `scim-config-agent -c global -g "/DefaultConfigModule"` -e all -f socket --no-stay"
++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
Index: scim.spec
===================================================================
RCS file: /cvs/extras/rpms/scim/FC-3/scim.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- scim.spec 22 Sep 2005 02:58:41 -0000 1.16
+++ scim.spec 7 Oct 2005 07:04:39 -0000 1.17
@@ -1,7 +1,7 @@
Name: scim
Version: 1.4.2
# must be less than the release number of scim in Core
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Smart Common Input Method platform
License: LGPL
@@ -98,19 +98,19 @@
%define indic_langs bn_IN gu_IN hi_IN kn_IN ml_IN pa_IN ta_IN te_IN
%define supported_langs %{cjk_langs} %{indic_langs} ne_NE th_TH
-%post
-/sbin/ldconfig
+%post
for llcc in %{supported_langs}; do
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinput.d/$llcc xinput-$llcc %{_sysconfdir}/X11/xinit/xinput.d/scim 81
done
+
+%post libs
+/sbin/ldconfig
%{_bindir}/update-gtk-immodules %{_target_platform}
%postun
-/sbin/ldconfig
-
if [ "$1" = "0" ]; then
for llcc in %{supported_langs}; do
%{_sbindir}/alternatives --remove xinput-$llcc %{_sysconfdir}/X11/xinit/xinput.d/scim
@@ -119,6 +119,8 @@
done
fi
+%postun libs
+/sbin/ldconfig
%{_bindir}/update-gtk-immodules %{_target_platform}
@@ -152,6 +154,10 @@
%changelog
+* Thu Oct 6 2005 Jens Petersen <petersen at redhat.com> - 1.4.2-4
+- fixing quoting in scim-restart
+- make post and postun scripts for scim-libs
+
* Thu Sep 22 2005 Jens Petersen <petersen at redhat.com> - 1.4.2-3
- make scim-devel require scim-libs
- add xinput.d entries for Indic langs
More information about the fedora-extras-commits
mailing list