Notification time stamped 2022-08-01 08:38:29 UTC
From ed50d1cfa360f888ab9d42a7bea271fca4bb62e4 Mon Sep 17 00:00:00 2001
From: Akira TAGOH <tagoh(a)fedoraproject.org>
Date: Aug 29 2006 07:59:31 +0000
Subject: - im-chooser-r53.patch: take care of the suffix to appears current
selection. (#204433)
---
diff --git a/im-chooser.spec b/im-chooser.spec
index 0da2551..efb4d84 100644
--- a/im-chooser.spec
+++ b/im-chooser.spec
@@ -1,6 +1,6 @@
Name: im-chooser
Version: 0.3.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
URL:
http://trac.tagoh.net/projects/im-chooser/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -8,6 +8,7 @@ BuildRequires: gtk2-devel intltool gettext libgnomeui-devel
Source0:
http://trac.tagoh.net/download/%{name}/%{name}-%{version}.tar.gz
Patch0: im-chooser-r49.patch
+Patch1: im-chooser-r53.patch
Summary: Desktop Input Method configuration tool
Group: Applications/System
@@ -22,6 +23,7 @@ to be used or disable Input Method usage on the desktop.
%prep
%setup -q
%patch0 -p0
+%patch1 -p0
%build
%configure --with-xinput-suffix=.conf
@@ -42,8 +44,10 @@ alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc
%{_sysconfdir}
alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc
%{_sysconfdir}/X11/xinit/xinput.d/xim.conf 30
%postun
-alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/none.conf
-alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/xim.conf
+if [ "$1" = 0 ]; then
+ alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/none.conf
+ alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/xim.conf
+fi
%files -f %{name}.lang
%defattr (-, root, root)
@@ -53,6 +57,10 @@ alternatives --remove xinputrc
%{_sysconfdir}/X11/xinit/xinput.d/xim.conf
%{_datadir}/applications/im-chooser.desktop
%changelog
+* Tue Aug 29 2006 Akira TAGOH <tagoh(a)redhat.com> - 0.3.1-3
+- im-chooser-r53.patch: take care of the suffix to appears current selection.
+ (#204433)
+
* Fri Aug 25 2006 Akira TAGOH <tagoh(a)redhat.com> - 0.3.1-2
- im-chooser-r49.patch: removed MimeType field from .desktop file. (#203982)
https://src.fedoraproject.org/rpms/im-chooser/c/ed50d1cfa360f888ab9d42a7b...