Accepting request 919392 from home:trmdi
Add wayland support OBS-URL: https://build.opensuse.org/request/show/919392 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=162
This commit is contained in:
parent
ac87de61c8
commit
0819f8fbf9
5
30-fcitx.conf
Normal file
5
30-fcitx.conf
Normal file
@ -0,0 +1,5 @@
|
||||
INPUT_METHOD=fcitx
|
||||
XMODIFIERS="@im=fcitx"
|
||||
GTK_IM_MODULE=fcitx
|
||||
QT_IM_SWITCHER=imsw-multi
|
||||
QT_IM_MODULE=fcitx
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fcitx
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -32,6 +32,7 @@ Source: https://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.
|
||||
Source1: xim.d-fcitx
|
||||
Source2: fcitx-README.suse
|
||||
Source3: xim.fcitx.suse.template
|
||||
Source4: 30-fcitx.conf
|
||||
Source8: openSUSE-themes.tar.gz
|
||||
Source9: macros.%{name}
|
||||
Source99: baselibs.conf
|
||||
@ -378,6 +379,10 @@ cp -r ChangeLog %{buildroot}%{_docdir}/%{name}/
|
||||
mkdir -p %{buildroot}%{_distconfdir}/X11/xim.d/
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_distconfdir}/X11/xim.d/fcitx
|
||||
|
||||
# wayland support
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/environment.d
|
||||
install -m 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/environment.d/
|
||||
|
||||
priority=30
|
||||
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 \
|
||||
@ -451,6 +456,7 @@ exit 0
|
||||
%{_libdir}/%{name}/
|
||||
%{_sysconfdir}/xdg/autostart/%{name}*.desktop
|
||||
%{_distconfdir}/X11/xim.d
|
||||
%{_prefix}/lib/environment.d
|
||||
%doc %{_docdir}/%{name}/
|
||||
|
||||
# excludes
|
||||
|
Loading…
Reference in New Issue
Block a user