Accepting request 851130 from home:tiwai:branches:M17N

- Move the startup snippet to /usr/etc/X11/xim.d for TW

OBS-URL: https://build.opensuse.org/request/show/851130
OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=158
This commit is contained in:
Marguerite Su 2020-11-28 04:55:14 +00:00 committed by Git OBS Bridge
parent 4f8cd00197
commit 2f0ed58209
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 26 16:48:21 CET 2020 - tiwai@suse.de
- Move the startup snippet to /usr/etc/X11/xim.d for TW
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 29 15:14:52 UTC 2020 - Hillwood Yang <hillwood@opensuse.org> Sat Feb 29 15:14:52 UTC 2020 - Hillwood Yang <hillwood@opensuse.org>

View File

@ -16,6 +16,10 @@
# #
%if ! %{defined _distconfdir}
%define _distconfdir %{_sysconfdir}
%endif
%define libver -4_2_9 %define libver -4_2_9
Name: fcitx Name: fcitx
Version: 4.2.9.7 Version: 4.2.9.7
@ -371,11 +375,11 @@ cp -r AUTHORS %{buildroot}%{_docdir}/%{name}/
cp -r ChangeLog %{buildroot}%{_docdir}/%{name}/ cp -r ChangeLog %{buildroot}%{_docdir}/%{name}/
# create autostart # create autostart
mkdir -p %{buildroot}%{_sysconfdir}/X11/xim.d/ mkdir -p %{buildroot}%{_distconfdir}/X11/xim.d/
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xim.d/fcitx install -m 644 %{SOURCE1} %{buildroot}%{_distconfdir}/X11/xim.d/fcitx
priority=30 priority=30
pushd %{buildroot}%{_sysconfdir}/X11/xim.d/ pushd %{buildroot}%{_distconfdir}/X11/xim.d/
for lang in am ar as bn el fa gu he hi hr ja ka kk kn ko lo ml my \ for lang in am ar as bn el fa gu he hi hr ja ka kk kn ko lo ml my \
pa ru sk vi zh_TW zh_CN zh_HK zh_SG \ pa ru sk vi zh_TW zh_CN zh_HK zh_SG \
de fr it es nl cs pl da nn nb fi en sv ; do de fr it es nl cs pl da nn nb fi en sv ; do
@ -446,7 +450,7 @@ exit 0
%{_mandir}/man1/fcitx-remote.1%{?ext_man} %{_mandir}/man1/fcitx-remote.1%{?ext_man}
%{_libdir}/%{name}/ %{_libdir}/%{name}/
%{_sysconfdir}/xdg/autostart/%{name}*.desktop %{_sysconfdir}/xdg/autostart/%{name}*.desktop
%config %{_sysconfdir}/X11/xim.d/ %{_distconfdir}/X11/xim.d
%doc %{_docdir}/%{name}/ %doc %{_docdir}/%{name}/
# excludes # excludes