Compare commits

...
Sign in to create a new pull request.

41 commits

Author SHA1 Message Date
Qiyu Yan
b6a309b2ac
update to upstream release 5.1.17 2025-12-22 15:56:38 +00:00
Qiyu Yan
5ddb363a13
update to upstream release 5.1.16 2025-10-26 18:41:04 +00:00
Qiyu Yan
3a7385c02d
update to upstream release 5.1.15 2025-10-26 16:56:42 +00:00
Fedora Release Engineering
262fbf39ce Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 20:22:19 +00:00
Qiyu Yan
332715bb24
update to upstream release 5.1.13 2025-06-16 21:44:37 +08:00
Qiyu Yan
32ff03e40f
update to upstream release 5.1.12 2025-01-23 21:33:03 +08:00
Fedora Release Engineering
d6cf83bad7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 17:57:57 +00:00
Qiyu Yan
f8de8c4be6
update to upstream release 5.1.11 2024-10-10 15:20:52 +08:00
Qiyu Yan
874024dde0
Also detect qt6 plugin in xinput script (#2316572) 2024-10-05 18:35:34 +08:00
Miroslav Suchý
e25316159a convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-28 09:29:29 +02:00
Qiyu Yan
a4a3765a2e
Disable xinput on Wayland (RHBZ#2256267) 2024-07-22 15:59:46 +08:00
Fedora Release Engineering
d77b9b29c7 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 22:51:37 +00:00
Qiyu Yan
7288925efb
update to upstream release 5.1.10 2024-06-01 08:00:52 +08:00
Qiyu Yan
6c87a3fa52
update to upstream release 5.1.9 2024-04-23 11:07:23 +01:00
Qiyu Yan
1a0907a952 update to upstream release 5.1.8 2024-03-01 13:58:58 +08:00
Fedora Release Engineering
527936b9d2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 11:18:27 +00:00
Fedora Release Engineering
8675083ce9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 18:59:41 +00:00
Qiyu Yan
ed5fe5f9f6 update to upstream release 5.1.7 2024-01-17 14:43:57 +00:00
Qiyu Yan
60d6fc276b update to upstream release 5.1.6 2024-01-05 18:34:32 +08:00
Qiyu Yan
f1d9a26ce5 update to upstream release 5.1.5 2023-11-14 09:59:58 +00:00
Qiyu Yan
439c0aad37 update to upstream release 5.1.4 2023-11-06 08:15:43 +00:00
Qiyu Yan
62106f3370 update to upstream release 5.1.3 2023-11-04 10:35:29 +00:00
Qiyu Yan
0e22d91419 update to upstream release 5.1.2 2023-11-02 14:01:46 +00:00
Yaakov Selkowitz
8c6c225cfb Separate libs subpackage
This prevents fcitx5-qt, which depends on libFcitx5Utils, from pulling
in the main and data packages where not needed, such as flatpak runtimes.
2023-10-20 15:29:07 -04:00
Yaakov Selkowitz
cf2d10a570 Use enchant2
enchant-2 is the first choice in the sources, with the deprecated
enchant only as a fallback.
2023-10-09 20:22:21 -04:00
Qiyu Yan
d75af4ee2f update to upstream release 5.1.1 2023-10-02 16:39:52 +01:00
Qiyu Yan
0782627a93 update to upstream release 5.1.0 2023-08-18 10:22:16 +01:00
Fedora Release Engineering
d926610c8c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 19:24:11 +00:00
Vitaly Zaitsev
58136b4aec
Added fmt 10 compatibility upstream patch.
[skip changelog]
2023-06-28 12:18:20 +02:00
Vitaly Zaitsev
9a33303823
Rebuilt due to fmt 10 update. 2023-06-28 11:11:56 +02:00
Qiyu Yan
ccf3d355ff update to upstream release 5.0.23 2023-03-18 15:46:32 +08:00
Qiyu Yan
517288d73a update to upstream release 5.0.22 2023-03-12 10:58:13 +08:00
Fedora Release Engineering
cfb09cd4b9 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:10:35 +00:00
Qiyu Yan
9ea58df1d8 update to upstream release 5.0.21 2022-11-25 18:26:36 +08:00
Qiyu Yan
70efea538d update to upstream release 5.0.20 2022-11-21 11:57:24 +08:00
Qiyu Yan
ddac5ae4e1 update to upstream release 5.0.19 2022-08-30 22:18:19 +08:00
Qiyu Yan
f445ec9629 add weak dep: fcitx5-configtool (#2122011) 2022-08-28 19:29:51 +08:00
Fedora Release Engineering
5363eed9d4 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 02:53:54 +00:00
Qiyu Yan
b231094644 update to upstream release 5.0.18 2022-07-04 13:03:25 +08:00
Qiyu Yan
768fc509e8 Update using upstream's new 5.0.17 tarball 2022-06-10 11:41:33 +08:00
Qiyu Yan
eabb2a4d6d update to upstream release 5.0.17 2022-06-02 10:20:44 +08:00
4 changed files with 86 additions and 15 deletions

48
.gitignore vendored
View file

@ -34,3 +34,51 @@ results_*/
/fcitx5-5.0.15_dict.tar.xz.sig
/fcitx5-5.0.16_dict.tar.xz
/fcitx5-5.0.16_dict.tar.xz.sig
/fcitx5-5.0.17_dict.tar.xz
/fcitx5-5.0.17_dict.tar.xz.sig
/fcitx5-5.0.18_dict.tar.xz
/fcitx5-5.0.18_dict.tar.xz.sig
/fcitx5-5.0.19_dict.tar.xz
/fcitx5-5.0.19_dict.tar.xz.sig
/fcitx5-5.0.20_dict.tar.xz
/fcitx5-5.0.20_dict.tar.xz.sig
/fcitx5-5.0.21_dict.tar.xz
/fcitx5-5.0.21_dict.tar.xz.sig
/fcitx5-5.0.22_dict.tar.xz
/fcitx5-5.0.22_dict.tar.xz.sig
/fcitx5-5.0.23_dict.tar.xz
/fcitx5-5.0.23_dict.tar.xz.sig
/fcitx5-5.1.0_dict.tar.xz
/fcitx5-5.1.0_dict.tar.xz.sig
/fcitx5-5.1.1_dict.tar.xz
/fcitx5-5.1.1_dict.tar.xz.sig
/fcitx5-5.1.2_dict.tar.xz
/fcitx5-5.1.2_dict.tar.xz.sig
/fcitx5-5.1.3_dict.tar.xz
/fcitx5-5.1.3_dict.tar.xz.sig
/fcitx5-5.1.4_dict.tar.xz
/fcitx5-5.1.4_dict.tar.xz.sig
/fcitx5-5.1.5_dict.tar.xz
/fcitx5-5.1.5_dict.tar.xz.sig
/fcitx5-5.1.6_dict.tar.xz
/fcitx5-5.1.6_dict.tar.xz.sig
/fcitx5-5.1.7_dict.tar.xz
/fcitx5-5.1.7_dict.tar.xz.sig
/fcitx5-5.1.8_dict.tar.xz
/fcitx5-5.1.8_dict.tar.xz.sig
/fcitx5-5.1.9_dict.tar.zst
/fcitx5-5.1.9_dict.tar.zst.sig
/fcitx5-5.1.10_dict.tar.zst
/fcitx5-5.1.10_dict.tar.zst.sig
/fcitx5-5.1.11_dict.tar.zst
/fcitx5-5.1.11_dict.tar.zst.sig
/fcitx5-5.1.12_dict.tar.zst
/fcitx5-5.1.12_dict.tar.zst.sig
/fcitx5-5.1.13_dict.tar.zst
/fcitx5-5.1.13_dict.tar.zst.sig
/fcitx5-5.1.15_dict.tar.zst
/fcitx5-5.1.15_dict.tar.zst.sig
/fcitx5-5.1.16_dict.tar.zst
/fcitx5-5.1.16_dict.tar.zst.sig
/fcitx5-5.1.17_dict.tar.zst
/fcitx5-5.1.17_dict.tar.zst.sig

View file

@ -1,3 +1,4 @@
IMSETTINGS_IGNORE_SESSION=*-wayland
XIM=fcitx5
XIM_PROGRAM=/usr/bin/fcitx5
ICON="fcitx5"
@ -8,7 +9,9 @@ GTK_IM_MODULE=fcitx
if test -f /usr/lib/qt4/plugins/inputmethods/qtim-fcitx5.so || \
test -f /usr/lib64/qt4/plugins/inputmethods/qtim-fcitx5.so || \
test -f /usr/lib/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so || \
test -f /usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so;
test -f /usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so || \
test -f /usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so || \
test -f /usr/lib64/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so ;
then
QT_IM_MODULE=fcitx
else

View file

@ -2,13 +2,14 @@
%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
Name: fcitx5
Version: 5.0.16
Version: 5.1.17
Release: %autorelease
Summary: Next generation of fcitx
License: LGPLv2+
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
License: LicenseRef-Callaway-LGPLv2+
URL: https://github.com/fcitx/fcitx5
Source: https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-%{version}_dict.tar.xz
Source1: https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-%{version}_dict.tar.xz.sig
Source: https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-%{version}_dict.tar.zst
Source1: https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-%{version}_dict.tar.zst.sig
# Checked by chatting, this key is used to verify fcitx* tarballs
Source2: https://pgp.key-server.io/download/0x8E8B898CBF2412F9
Source3: fcitx5-xinput
@ -24,7 +25,7 @@ BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cldr-emoji-annotation)
BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(enchant)
BuildRequires: pkgconfig(enchant-2)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(fmt)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
@ -45,8 +46,10 @@ BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xkeyboard-config)
BuildRequires: /usr/bin/appstream-util
BuildRequires: cmake(nlohmann_json)
Requires: dbus-common
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: setup
Requires(post): %{_sbindir}/alternatives
Requires(postun): %{_sbindir}/alternatives
@ -54,10 +57,18 @@ Requires(postun): %{_sbindir}/alternatives
Recommends: (fcitx5-gtk if (gtk2 or gtk3 or gtk4))
Recommends: (fcitx5-qt if (qt5-qtbase or qt6-qtbase))
Recommends: (fcitx5-qt-module if (qt5-qtbase or qt6-qtbase))
Recommends: fcitx5-configtool
%description
Fcitx 5 is a generic input method framework released under LGPL-2.1+.
%package libs
Summary: Libraries for %{name}
%description libs
The %{name}-libs package contains runtime shared libraries necessary for
running programs using Fcitx5 libraries.
%package data
Summary: Data files of Fcitx5
BuildArch: noarch
@ -71,7 +82,7 @@ The %{name}-data package provides shared data for Fcitx5.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files necessary for
@ -91,7 +102,7 @@ This package will setup autostart and environment needed for fcitx5 to work prop
%build
%cmake -GNinja
%cmake_build
%cmake_build
%install
%cmake_install
@ -102,11 +113,15 @@ install -d %{buildroot}%{_datadir}/%{name}/table
desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}-configtool.desktop
desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/org.fcitx.Fcitx5.desktop
desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}-wayland-launcher.desktop
# convert symlinked icons to copied icons, this will help co-existing with
# fcitx4
for iconfile in $(find %{buildroot}%{_datadir}/icons -type l)
@ -114,7 +129,7 @@ do
origicon=$(readlink -f ${iconfile})
rm -f ${iconfile}
cp ${origicon} ${iconfile}
done
done
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
%find_lang %{name}
@ -133,18 +148,22 @@ fi
%files -f %{name}.lang
%license LICENSES/LGPL-2.1-or-later.txt
%doc README.md
%doc README.md
%config %{_xinputconf}
%{_bindir}/%{name}
%{_bindir}/%{name}-configtool
%{_bindir}/%{name}-remote
%{_bindir}/%{name}-diagnose
%{_libdir}/%{name}/
%{_libexecdir}/fcitx5-wayland-launcher
%{_sysconfdir}/xdg/Xwayland-session.d/20-fcitx-x11
%files libs
%license LICENSES/LGPL-2.1-or-later.txt
%{_libdir}/libFcitx5*.so.*.*
%{_libdir}/libFcitx5Config.so.6
%{_libdir}/libFcitx5Core.so.7
%{_libdir}/libFcitx5Utils.so.2
%{_libexecdir}/fcitx5-wayland-launcher
%files devel
%{_includedir}/Fcitx5/
@ -159,6 +178,7 @@ fi
%{_datadir}/applications/org.fcitx.Fcitx5.desktop
%{_metainfodir}/org.fcitx.Fcitx5.metainfo.xml
%{_datadir}/applications/%{name}-configtool.desktop
%{_datadir}/applications/%{name}-wayland-launcher.desktop
%{_datadir}/icons/hicolor/*/apps/*
%files autostart

View file

@ -1,2 +1,2 @@
SHA512 (fcitx5-5.0.16_dict.tar.xz) = fd237c04fb085b3997aabb96b23db27948af68367f57ad2a89a56a7f46410bcd87f0c22e58e4cc9d9de170360ff7b2e533f375d2378d1673e10fed8fc295b0fa
SHA512 (fcitx5-5.0.16_dict.tar.xz.sig) = 855a05fff97c03e4da378ccbe2b8c185443453cd07d42ea215450b5b91f4c539b44fed273e6e5bb51be0cef8d3ca812d229d93a5b3991e2b9ebbae13b695ab01
SHA512 (fcitx5-5.1.17_dict.tar.zst) = fe3f13d7615ae823b0746bd731d0eac4df90b216c22c186c4f63ab71c0450f38adfa558e906a5493bb5eab873bffea913477c8dcb2ba7055668305cf995e235f
SHA512 (fcitx5-5.1.17_dict.tar.zst.sig) = ea98a9ebaf3d77043b461bf8a6691c57e28d7149d19dcd9c54bc0e4923fd176c6435185a65960cdfdb47c0129983c027b31a3bbdb515c1226fb7240c5600a781