Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
80f70882ac | ||
|
30d4002316 | ||
|
d0d926d718 |
15
.gitignore
vendored
15
.gitignore
vendored
@ -1,11 +1,4 @@
|
||||
/fcitx-4.2.8_dict.tar.xz
|
||||
/fcitx-4.2.8.3_dict.tar.xz
|
||||
/fcitx-4.2.8.4_dict.tar.xz
|
||||
/fcitx-4.2.8.6_dict.tar.xz
|
||||
/xinput-fcitx
|
||||
/fcitx-4.2.9_dict.tar.xz
|
||||
/fcitx-4.2.9.1_dict.tar.xz
|
||||
/fcitx-4.2.9.3_dict.tar.xz
|
||||
/fcitx-4.2.9.4_dict.tar.xz
|
||||
/fcitx-4.2.9.5_dict.tar.xz
|
||||
/fcitx-4.2.9.6_dict.tar.xz
|
||||
/fcitx-4.0.0_all.tar.gz
|
||||
/fcitx-4.0.1_all.tar.gz
|
||||
/fcitx-4.1.0_all.tar.bz2
|
||||
/fcitx-4.1.1_all.tar.bz2
|
||||
|
487
fcitx.spec
Executable file → Normal file
487
fcitx.spec
Executable file → Normal file
@ -1,143 +1,94 @@
|
||||
%global _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/fcitx.conf
|
||||
%{!?gtk2_binary_version: %global gtk2_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)}
|
||||
%{!?gtk3_binary_version: %global gtk3_binary_version %(pkg-config --variable=gtk_binary_version gtk+-3.0)}
|
||||
%define _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/fcitx.conf
|
||||
%{!?gtk2_binary_version: %define gtk2_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)}
|
||||
%{!?gtk3_binary_version: %define gtk3_binary_version %(pkg-config --variable=gtk_binary_version gtk+-3.0)}
|
||||
|
||||
Name: fcitx
|
||||
Summary: An input method framework
|
||||
Version: 4.2.9.6
|
||||
Summary: Free Chinese Input Toy for X (XIM)
|
||||
Version: 4.1.1
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: User Interface/Desktops
|
||||
URL: https://fcitx-im.org/wiki/Fcitx
|
||||
Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
|
||||
URL: http://code.google.com/p/%{name}/
|
||||
Source0: http://%{name}.googlecode.com/files/%{name}-%{version}_all.tar.bz2
|
||||
Source1: xinput-%{name}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pango-devel, dbus-devel, opencc-devel
|
||||
BuildRequires: wget, intltool, chrpath, sysconftool, opencc
|
||||
BuildRequires: cmake, libtool, doxygen, libicu-devel
|
||||
BuildRequires: qt4-devel, gtk3-devel, gtk2-devel, libicu
|
||||
BuildRequires: xorg-x11-proto-devel, xorg-x11-xtrans-devel
|
||||
BuildRequires: gobject-introspection-devel, libxkbfile-devel
|
||||
BuildRequires: enchant-devel, iso-codes-devel, libicu-devel
|
||||
BuildRequires: libX11-devel, dbus-glib-devel, dbus-x11
|
||||
BuildRequires: desktop-file-utils, libxml2-devel
|
||||
BuildRequires: lua-devel, extra-cmake-modules
|
||||
BuildRequires: xkeyboard-config-devel
|
||||
BuildRequires: qt-devel, gtk3-devel, gtk2-devel, libicu
|
||||
BuildRequires: libX11-devel, qt-x11, dbus-glib-devel, dbus-x11
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
Requires: imsettings
|
||||
Requires: imsettings
|
||||
Requires(post): %{_sbindir}/alternatives
|
||||
Requires(postun): %{_sbindir}/alternatives
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-gtk3 = %{version}-%{release}
|
||||
Requires: %{name}-gtk2 = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Fcitx is an input method framework with extension support. Currently it
|
||||
supports Linux and Unix systems like FreeBSD.
|
||||
|
||||
Fcitx tries to provide a native feeling under all desktop as well as a light
|
||||
weight core. You can easily customize it to fit your requirements.
|
||||
FCITX(Free Chinese Input Toy of X) is a collection of Simplified Chinese
|
||||
input methods for Linux. It supports Pinyin, QuWei and Table-based input
|
||||
methods. It's small and fast.
|
||||
|
||||
%package data
|
||||
Summary: Data files of Fcitx
|
||||
Summary: Data files of FCITX
|
||||
Group: System Environment/Libraries
|
||||
BuildArch: noarch
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: dbus
|
||||
|
||||
%description data
|
||||
The %{name}-data package provides shared data for Fcitx.
|
||||
The %{name}-data package provides shared datas for FCITX.
|
||||
|
||||
%package libs
|
||||
Summary: Shared libraries for Fcitx
|
||||
Group: System Environment/Libraries
|
||||
Provides: %{name}-keyboard = %{version}-%{release}
|
||||
Obsoletes: %{name}-keyboard =< 4.2.3
|
||||
Summary: Shared libraries for FCITX
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description libs
|
||||
The %{name}-libs package provides shared libraries for Fcitx
|
||||
The %{name}-libs package provides shared libraries for FCITX
|
||||
|
||||
%package devel
|
||||
Summary: Development files for Fcitx
|
||||
Summary: Development files for FCITX
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: libX11-devel%{?_isa}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: libX11-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files necessary for
|
||||
developing programs using Fcitx libraries.
|
||||
developing programs using FCITX libraries.
|
||||
|
||||
%package table-chinese
|
||||
Summary: Chinese table of Fcitx
|
||||
Summary: Chinese table of FCITX
|
||||
Group: System Environment/Libraries
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-table = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description table-chinese
|
||||
The %{name}-table-chinese package provides other Chinese table for Fcitx.
|
||||
The %{name}-table-chinese package provides other Chinese table for FCITX.
|
||||
|
||||
%package gtk2
|
||||
Summary: Fcitx IM module for gtk2
|
||||
Summary: FCITX im module for gtk2
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description gtk2
|
||||
This package contains Fcitx IM module for gtk2.
|
||||
This package contains ibus im module for gtk2.
|
||||
|
||||
%package gtk3
|
||||
Summary: Fcitx IM module for gtk3
|
||||
Summary: FCITX im module for gtk3
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: imsettings-gnome
|
||||
|
||||
%description gtk3
|
||||
This package contains Fcitx IM module for gtk3.
|
||||
This package contains fcitx im module for gtk3.
|
||||
|
||||
%package qt4
|
||||
Summary: Fcitx IM module for qt4
|
||||
Summary: FCITX im module for qt4
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description qt4
|
||||
This package contains Fcitx IM module for qt4.
|
||||
|
||||
%package pinyin
|
||||
Summary: Pinyin Engine for Fcitx
|
||||
URL: https://fcitx-im.org/wiki/Built-in_Pinyin
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
|
||||
%description pinyin
|
||||
This package contains pinyin engine for Fcitx.
|
||||
|
||||
%package qw
|
||||
Summary: Quwei Engine for Fcitx
|
||||
URL: https://fcitx-im.org/wiki/QuWei
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
|
||||
%description qw
|
||||
This package contains Quwei engine for Fcitx.
|
||||
|
||||
%package table
|
||||
Summary: Table Engine for Fcitx
|
||||
URL: https://fcitx-im.org/wiki/Table
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
Requires: %{name}-pinyin = %{version}-%{release}
|
||||
|
||||
%description table
|
||||
This package contains table engine for Fcitx.
|
||||
|
||||
This package contains fcitx im module for qt4.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -145,39 +96,47 @@ This package contains table engine for Fcitx.
|
||||
%build
|
||||
mkdir -p build
|
||||
pushd build
|
||||
%cmake .. -DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On -DENABLE_OPENCC=On -DENABLE_LUA=On -DENABLE_GIR=On -DENABLE_XDGAUTOSTART=Off
|
||||
make VERBOSE=1 %{?_smp_mflags}
|
||||
cmake .. -DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On -DENABLE_OPENCC=On -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install INSTALL="install -p" -C build
|
||||
pushd build
|
||||
make install INSTALL="install -p" DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
popd
|
||||
|
||||
find %{buildroot}%{_libdir} -name '*.la' -delete -print
|
||||
# remove rpath
|
||||
chrpath --delete %{buildroot}%{_bindir}/{*PYMB,mb2org,fcitx,readPYBase}
|
||||
|
||||
# fix doc path
|
||||
#mkdir __doc
|
||||
#mv %{buildroot}%{_datadir}/%{name}/doc/* __doc
|
||||
#rm -rf %{buildroot}%{_datadir}/%-DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On{name}/doc
|
||||
#rm -f __doc/{API.txt,Develop_Readme*,fcitx_trunk.doxyfile}
|
||||
|
||||
# install xinput config file
|
||||
install -pm 644 -D %{SOURCE1} %{buildroot}%{_xinputconf}
|
||||
|
||||
# patch fcitx4-config to use pkg-config to solve libdir to avoid multiarch
|
||||
# confilict
|
||||
sed -i -e 's:%{_libdir}:`pkg-config --variable=libdir fcitx`:g' \
|
||||
%{buildroot}%{_bindir}/fcitx4-config
|
||||
|
||||
chmod +x %{buildroot}%{_datadir}/%{name}/data/env_setup.sh
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
desktop-file-install --delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/%{name}-skin-installer.desktop
|
||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}-kimpanel.desktop
|
||||
|
||||
desktop-file-install --delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/%{name}-configtool.desktop
|
||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}-configtool.desktop
|
||||
|
||||
desktop-file-install --delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 55 || :
|
||||
update-desktop-database %{_datadir}/applications &>/dev/null || :
|
||||
|
||||
%postun
|
||||
if [ "$1" = "0" ]; then
|
||||
@ -185,295 +144,109 @@ if [ "$1" = "0" ]; then
|
||||
# if alternative was set to manual, reset to auto
|
||||
[ -L %{_sysconfdir}/alternatives/xinputrc -a "`readlink %{_sysconfdir}/alternatives/xinputrc`" = "%{_xinputconf}" ] && %{_sbindir}/alternatives --auto xinputrc || :
|
||||
fi
|
||||
update-desktop-database %{_datadir}/applications &>/dev/null || :
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%post gtk2
|
||||
%{_bindir}/update-gtk-immodules %{_host} || :
|
||||
|
||||
%postun gtk2
|
||||
%{_bindir}/update-gtk-immodules %{_host} || :
|
||||
|
||||
%post gtk3
|
||||
%{_bindir}/gtk-query-immodules-3.0-%{__isa_bits} --update-cache || :
|
||||
|
||||
%postun gtk3
|
||||
%{_bindir}/gtk-query-immodules-3.0-%{__isa_bits} --update-cache || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS ChangeLog THANKS TODO
|
||||
%license COPYING
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog THANKS TODO COPYING
|
||||
#%doc __doc/*
|
||||
%config %{_xinputconf}
|
||||
%{_bindir}/fcitx-*
|
||||
%{_bindir}/fcitx
|
||||
%{_bindir}/createPYMB
|
||||
%{_bindir}/mb2org
|
||||
%{_bindir}/mb2txt
|
||||
%{_bindir}/readPYBase
|
||||
%{_bindir}/readPYMB
|
||||
%{_bindir}/scel2org
|
||||
%{_bindir}/txt2mb
|
||||
%{_datadir}/applications/%{name}-skin-installer.desktop
|
||||
%dir %{_datadir}/%{name}/dbus/
|
||||
%{_datadir}/%{name}/dbus/daemon.conf
|
||||
%{_bindir}/*
|
||||
%{_datadir}/applications/%{name}-kimpanel.desktop
|
||||
%{_datadir}/applications/%{name}-configtool.desktop
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/mime/packages/x-fskin.xml
|
||||
%{_mandir}/man1/createPYMB.1*
|
||||
%{_mandir}/man1/fcitx-remote.1*
|
||||
%{_mandir}/man1/fcitx.1*
|
||||
%{_mandir}/man1/mb2org.1*
|
||||
%{_mandir}/man1/mb2txt.1*
|
||||
%{_mandir}/man1/readPYBase.1*
|
||||
%{_mandir}/man1/readPYMB.1*
|
||||
%{_mandir}/man1/scel2org.1*
|
||||
%{_mandir}/man1/txt2mb.1*
|
||||
%{_docdir}/%{name}/
|
||||
%{_mandir}/man1/createPYMB.1.gz
|
||||
%{_mandir}/man1/fcitx-remote.1.gz
|
||||
%{_mandir}/man1/fcitx.1.gz
|
||||
%{_mandir}/man1/mb2org.1.gz
|
||||
%{_mandir}/man1/mb2txt.1.gz
|
||||
%{_mandir}/man1/readPYBase.1.gz
|
||||
%{_mandir}/man1/readPYMB.1.gz
|
||||
%{_mandir}/man1/scel2org.1.gz
|
||||
%{_mandir}/man1/txt2mb.1.gz
|
||||
|
||||
%files libs
|
||||
%license COPYING
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_libdir}/libfcitx*.so.*
|
||||
%dir %{_libdir}/%{name}/
|
||||
%{_libdir}/%{name}/%{name}-[!pqt]*.so
|
||||
%{_libdir}/%{name}/%{name}-punc.so
|
||||
%{_libdir}/%{name}/%{name}-quickphrase.so
|
||||
%{_libdir}/%{name}/libexec/
|
||||
%dir %{_libdir}/girepository-1.0/
|
||||
%{_libdir}/girepository-1.0/Fcitx-1.0.typelib
|
||||
%{_libdir}/%{name}/*.so
|
||||
|
||||
%files data
|
||||
%license COPYING
|
||||
%{_datadir}/icons/hicolor/16x16/apps/*.png
|
||||
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
||||
%{_datadir}/icons/hicolor/24x24/apps/*.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/*.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
||||
%{_datadir}/icons/hicolor/128x128/apps/*.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/skin/
|
||||
%dir %{_datadir}/%{name}/addon
|
||||
%{_datadir}/%{name}/addon/%{name}-[!pqt]*.conf
|
||||
%{_datadir}/%{name}/addon/%{name}-punc.conf
|
||||
%{_datadir}/%{name}/addon/%{name}-quickphrase.conf
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/48x48/status/*.png
|
||||
%{_datadir}/icons/hicolor/32x32/status/*.png
|
||||
%{_datadir}/%{name}/data/
|
||||
%{_datadir}/%{name}/spell/
|
||||
%dir %{_datadir}/%{name}/imicon/
|
||||
%dir %{_datadir}/%{name}/inputmethod/
|
||||
%dir %{_datadir}/%{name}/configdesc/
|
||||
%dir %{_datadir}/%{name}/table/
|
||||
%{_datadir}/%{name}/configdesc/[!ft]*.desc
|
||||
%{_datadir}/%{name}/configdesc/fcitx-[!p]*.desc
|
||||
%{_datadir}/dbus-1/services/org.fcitx.Fcitx.service
|
||||
%{_datadir}/%{name}/configdesc/
|
||||
%{_datadir}/%{name}/pinyin/
|
||||
%{_datadir}/%{name}/skin/
|
||||
%{_datadir}/%{name}/addon/
|
||||
%{_datadir}/%{name}/table/wbx.conf
|
||||
%{_datadir}/%{name}/table/wbx.mb
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%{_bindir}/fcitx4-config
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_libdir}/libfcitx*.so
|
||||
%{_libdir}/pkgconfig/fcitx*.pc
|
||||
%{_includedir}/fcitx*
|
||||
%{_datadir}/cmake/%{name}/
|
||||
%{_docdir}/%{name}/*
|
||||
%dir %{_datadir}/gir-1.0
|
||||
%{_datadir}/gir-1.0/Fcitx-1.0.gir
|
||||
|
||||
%files table-chinese
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_datadir}/%{name}/table/*
|
||||
%{_datadir}/%{name}/imicon/[!ps]*.png
|
||||
|
||||
%files pinyin
|
||||
%doc
|
||||
%{_datadir}/%{name}/inputmethod/pinyin.conf
|
||||
%{_datadir}/%{name}/inputmethod/shuangpin.conf
|
||||
%{_datadir}/%{name}/pinyin/
|
||||
%{_datadir}/%{name}/configdesc/fcitx-pinyin.desc
|
||||
%{_datadir}/%{name}/configdesc/fcitx-pinyin-enhance.desc
|
||||
%{_datadir}/%{name}/addon/fcitx-pinyin.conf
|
||||
%{_datadir}/%{name}/addon/fcitx-pinyin-enhance.conf
|
||||
%{_datadir}/%{name}/imicon/pinyin.png
|
||||
%{_datadir}/%{name}/imicon/shuangpin.png
|
||||
%{_libdir}/%{name}/%{name}-pinyin.so
|
||||
%{_libdir}/%{name}/%{name}-pinyin-enhance.so
|
||||
%{_datadir}/%{name}/py-enhance/
|
||||
|
||||
%files qw
|
||||
%doc
|
||||
%{_datadir}/%{name}/inputmethod/qw.conf
|
||||
%{_libdir}/%{name}/%{name}-qw.so
|
||||
%{_datadir}/%{name}/addon/fcitx-qw.conf
|
||||
|
||||
%files table
|
||||
%doc
|
||||
%{_datadir}/%{name}/configdesc/table.desc
|
||||
%{_libdir}/%{name}/%{name}-table.so
|
||||
%{_datadir}/%{name}/addon/fcitx-table.conf
|
||||
%{_datadir}/%{name}/table/qxm.conf
|
||||
%{_datadir}/%{name}/table/qxm.mb
|
||||
%{_datadir}/%{name}/table/cangjie.conf
|
||||
%{_datadir}/%{name}/table/cj.mb
|
||||
%{_datadir}/%{name}/table/db.conf
|
||||
%{_datadir}/%{name}/table/db.mb
|
||||
%{_datadir}/%{name}/table/erbi.conf
|
||||
%{_datadir}/%{name}/table/erbi.mb
|
||||
%{_datadir}/%{name}/table/wanfeng.conf
|
||||
%{_datadir}/%{name}/table/wanfeng.mb
|
||||
%{_datadir}/%{name}/table/wbpy.conf
|
||||
%{_datadir}/%{name}/table/wbpy.mb
|
||||
%{_datadir}/%{name}/table/zrm.conf
|
||||
%{_datadir}/%{name}/table/zrm.mb
|
||||
|
||||
%files gtk2
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/gtk-2.0/%{gtk2_binary_version}/immodules/im-fcitx.so
|
||||
|
||||
%files gtk3
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/gtk-3.0/%{gtk3_binary_version}/immodules/im-fcitx.so
|
||||
|
||||
%files qt4
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/qt4/plugins/inputmethods/qtim-fcitx.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Apr 1 2018 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9.6-1
|
||||
- Update to 4.2.9.6
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.9.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Feb 1 2018 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9.5-1
|
||||
- Update to 4.2.9.5
|
||||
|
||||
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.9.4-3
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.9.4-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Sep 28 2017 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9.4-1
|
||||
- Update to 4.2.9.4 (BZ#1496438)
|
||||
|
||||
* Sat Sep 23 2017 Robin Lee <cheeselee@fedoraproject> - 4.2.9.3-1
|
||||
- Update to 4.2.9.3 (BZ#1487968)
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.9.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.9.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.9.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Jan 25 2016 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9.1-1
|
||||
- Update to 4.2.9.1
|
||||
|
||||
* Wed Sep 30 2015 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9-1
|
||||
- Update to 4.2.9
|
||||
- Qt5 im module detected in xinputrc
|
||||
- BR: gcc-c++, extra-cmake-modules
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.8.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Apr 25 2015 Liang Suilong <liangsuilong@gmail.com> - 4.2.8.6-1
|
||||
- Update to 4.2.8.6
|
||||
|
||||
* Mon Jan 26 2015 David Tardon <dtardon@redhat.com> - 4.2.8.4-7
|
||||
- rebuild for ICU 54.1
|
||||
|
||||
* Tue Sep 09 2014 Rex Dieter <rdieter@fedoraproject.org> 4.2.8.4-6
|
||||
- update scriptlets (mime mostly), tighten subpkg deps, BR: qt4-devel
|
||||
|
||||
* Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 4.2.8.4-5
|
||||
- rebuild for ICU 53.1
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.8.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 4.2.8.4-3
|
||||
- Rebuilt for gobject-introspection 1.41.4
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.8.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat May 24 2014 Robin Lee <cheeselee@fedoraproject.org> - 4.2.8.4-1
|
||||
- Update to 4.2.8.4
|
||||
|
||||
* Fri Feb 14 2014 Parag Nemade <paragn AT fedoraproject DOT org> - 4.2.8.3-2
|
||||
- Rebuild for icu 52
|
||||
|
||||
* Tue Oct 29 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.8.3-1
|
||||
- Update to 4.2.8.3
|
||||
- Update summary of fcitx package
|
||||
- Other minor spell fixes
|
||||
|
||||
* Fri Aug 23 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.8-3
|
||||
- Own some missed directories
|
||||
- Update URL's and Source0 URL
|
||||
- Revise description following upstream wiki
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 2 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.8-1
|
||||
- Update to 4.2.8 (https://www.csslayer.info/wordpress/fcitx-dev/fcitx-4-2-8/)
|
||||
- Add scriptlets to update icon cache (BZ#980309)
|
||||
|
||||
* Fri Jun 21 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.7-6
|
||||
- Move fcitx4-config to devel package and patch it to use pkg-config to solve
|
||||
libdir
|
||||
- devel subpackage explicitly requires pkgconfig
|
||||
|
||||
* Fri Jun 21 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.7-5
|
||||
- Move fcitx4-config to base package to solve multiarch devel subpackage conflict
|
||||
|
||||
* Wed Jun 19 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.7-4
|
||||
- BR: lua-devel (BZ#974729)
|
||||
- Move %%{_datadir}/gir-1.0/Fcitx-1.0.gir %%{_bindir}/fcitx4-config to devel
|
||||
subpackage (BZ#965914)
|
||||
- Co-own %%{_datadir}/gir-1.0/, %%{_libdir}/girepository-1.0/
|
||||
- Own %%{_libdir}/%%{name}/qt/, %%{_libdir}/%%{name}/
|
||||
- Other minor cleanup
|
||||
|
||||
* Mon Apr 29 2013 Robin Lee <cheeselee@fedoraproject.org> - 4.2.7-3
|
||||
- Fix gtk2 subpackage description (#830377)
|
||||
|
||||
* Sat Mar 23 2013 Liang Suilong <liangsuilong@gmail.com> - 4.2.7-2
|
||||
- Fix to enable Lua support
|
||||
|
||||
* Fri Feb 01 2013 Liang Suilong <liangsuilong@gmail.com> - 4.2.7-1
|
||||
- Upstream to fcitx-4.2.7
|
||||
|
||||
* Sat Jan 26 2013 Kevin Fenzi <kevin@scrye.com> 4.2.6.1-3
|
||||
- Rebuild for new icu
|
||||
|
||||
* Mon Nov 26 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.6.1-2
|
||||
- Disable xdg-autostart
|
||||
|
||||
* Wed Oct 31 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.6.1-1
|
||||
- Upstream to fcitx-4.2.6.1
|
||||
|
||||
* Sun Jul 22 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.5-1
|
||||
- Upstream to fcitx-4.2.5
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Jun 07 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.4-2
|
||||
- Drop fcitx-keyboard
|
||||
- Divide Table Engine into fcitx-table
|
||||
- Move GIR Binding into fcitx-libs
|
||||
|
||||
* Tue Jun 05 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.4-1
|
||||
- Upgrade to fcitx-4.2.4
|
||||
- Fix the ownership conflict on fcitx and fcitx-data
|
||||
- Divide Pinyin engine into fcitx-pinyin
|
||||
- Divide Quwei engine into fcitx-qw
|
||||
- Divide XKB integration into fcitx-keyboard
|
||||
|
||||
* Mon May 07 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.3-1
|
||||
- Upgrade to fcitx-4.2.3
|
||||
|
||||
* Thu Apr 26 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.2-2
|
||||
- Upgrade to fcitx-4.2.2
|
||||
|
||||
* Sun Apr 22 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.2-1
|
||||
- Upgrade to fcitx-4.2.2
|
||||
|
||||
* Sat Feb 04 2012 Liang Suilong <liangsuilong@gmail.com> - 4.2.0-1
|
||||
- Upgrade to fcitx-4.2.0
|
||||
|
||||
* Sun Dec 25 2011 Liang Suilong <liangsuilong@gmail.com> - 4.1.2-3
|
||||
- Fix the spec
|
||||
|
||||
* Sun Dec 25 2011 Liang Suilong <liangsuilong@gmail.com> - 4.1.2-2
|
||||
- Fix the spec
|
||||
|
||||
* Sun Dec 25 2011 Liang Suilong <liangsuilong@gmail.com> - 4.1.2-1
|
||||
- Update to 4.1.2
|
||||
- move fcitx4-config to devel
|
||||
|
||||
* Fri Sep 09 2011 Liang Suilong <liangsuilong@gmail.com> - 4.1.1-2
|
||||
- Update xinput-fcitx
|
||||
- Add fcitx-gtk3 as fcitx requires
|
||||
|
||||
* Fri Sep 09 2011 Liang Suilong <liangsuilong@gmail.com> - 4.1.1-1
|
||||
- Upstream to fcitx-4.1.1
|
||||
|
||||
@ -484,7 +257,7 @@ fi
|
||||
- Add fcitx-qt4 as FCITX im module for qt4
|
||||
|
||||
* Tue Aug 02 2011 Liang Suilong <liangsuilong@gmail.com> - 4.0.1-5
|
||||
- Fix that %%files lists a wrong address
|
||||
- Fix that %files lists a wrong address
|
||||
- Separate fcitx-libs again
|
||||
|
||||
* Tue Aug 02 2011 Liang Suilong <liangsuilong@gmail.com> - 4.0.1-4
|
||||
|
4
sources
4
sources
@ -1 +1,3 @@
|
||||
SHA512 (fcitx-4.2.9.6_dict.tar.xz) = dc8308d1a4e9b7595da285ca6521f33027f5b8e6968bc28f751bd4f40116166cabbe1c05e29072afbe88473d2a9d6999124476260785e07f62a243df6e896bb0
|
||||
844f6a382ca970d6c3343e12148be641 fcitx-4.0.1_all.tar.gz
|
||||
f2dc0a64567207fa6be686faf0ccab66 fcitx-4.1.0_all.tar.bz2
|
||||
d05c606ea5a4ff142e5986c191fef97f fcitx-4.1.1_all.tar.bz2
|
||||
|
15
xinput-fcitx
Executable file → Normal file
15
xinput-fcitx
Executable file → Normal file
@ -2,16 +2,7 @@ XIM=fcitx
|
||||
XIM_PROGRAM=/usr/bin/fcitx
|
||||
ICON="/usr/share/pixmaps/fcitx.png"
|
||||
XIM_ARGS="-D"
|
||||
PREFERENCE_PROGRAM=/usr/bin/fcitx-configtool
|
||||
PREFERENCE_PROGRAM=/usr/bin/fcitx-config
|
||||
SHORT_DESC="FCITX"
|
||||
GTK_IM_MODULE=fcitx
|
||||
if test -f /usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so || \
|
||||
test -f /usr/lib64/qt4/plugins/inputmethods/qtim-fcitx.so || \
|
||||
test -f /usr/lib/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so || \
|
||||
test -f /usr/lib64/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so;
|
||||
then
|
||||
QT_IM_MODULE=fcitx
|
||||
else
|
||||
QT_IM_MODULE=xim
|
||||
fi
|
||||
|
||||
GTK_IM_MODULE=xim
|
||||
QT_IM_MODULE=xim
|
||||
|
Loading…
Reference in New Issue
Block a user