Compare commits

..

25 commits

Author SHA1 Message Date
Mike FABIAN
643fb84d20 Update to 1.4.37
- Port UI to GTK4 (Resolves: github-issue#99).
  Configure option for Gtk4 added: “--with-gtk=2.0|3.0|4.0|no” (default: 4.0)
- Translation update from Weblate (cs 100%, de 100%, el 100%, es 100%, new: fi 100%, fr 100%, ja 100%, ka 100%, kab 100%, lt 100%, pt_BR 100%, ro 96%, ru 100%, sv 100%, tr 100%, uk 100%, zh_CN 100%, zh_TW 28%
2025-12-24 11:06:44 +01:00
Fedora Release Engineering
015cd16889 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 17:30:42 +00:00
Mike FABIAN
5926dd4431 Update to 1.4.36
- Translation update from Weblate (new: fi 100%, kab 100%)
2025-04-07 11:19:34 +02:00
Mike FABIAN
0ee45cd59b Update to 1.4.35
- Generate translations into metainfo.xml files with autotools
  Related: https://github.com/mike-fabian/ibus-m17n/issues/2
- Rename m17n.appdata.xml to org.freedesktop.ibus.engine.m17n.metainfo.xml
  (Resolves: https://github.com/mike-fabian/ibus-m17n/issues/2)
- Fix match pattern for layout for inscript
- Fix match pattern for rank for inscript2
2025-01-21 00:16:47 +01:00
Fedora Release Engineering
96fe31b5e9 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 06:52:00 +00:00
Mike FABIAN
1044cfc694 Update to 1.4.34
- Add the “S-” prefix to msymbols for non-ASCII characters only if the character “is not graph”.
  “is not graph” is the same as “is space or is not printable”.
  (Resolves: https://github.com/ibus/ibus-m17n/issues/90)
2024-11-07 14:57:27 +01:00
Mike FABIAN
005af21180 Update to 1.4.33
Translation update from Weblate (new: kab 100%)
2024-10-20 22:14:11 +02:00
Mike FABIAN
10de9d413d Update to 1.4.32
- Translation update from Weblate (new: el 100%)
2024-09-08 18:01:47 +02:00
Mike FABIAN
58a364db11 Update to 1.4.31
- Translation update from Weblate (new: cs 100%)
2024-07-25 09:34:32 +02:00
Mike FABIAN
bda3941185 Update to 1.4.30
- Name of Sinhala input method changed: si-wijesekera ➡️ si-wijesekara
  (This changes comes when m17n-db is updated to 1.8.6)
- Translation update from Weblate (si 100%)
2024-07-20 17:54:48 +02:00
Fedora Release Engineering
d893098bb9 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 10:06:47 +00:00
Mike FABIAN
79972e4b23 Fix CI tests better 2024-07-09 18:40:47 +02:00
Mike FABIAN
b38ef576bd Fix CI tests 2024-06-10 17:52:02 +02:00
Mike FABIAN
c7c92a3afc Update to 1.4.29
- Translation update from Weblate (Malayalam (ml), new, 100%, Swedish (sv) 100%)
2024-04-10 18:12:26 +02:00
Mike FABIAN
37e8ccd895 Update to 1.4.28
- Translation update from Weblate (Russian (ru), new, 100%)
- Build against gtk3 by default (Resolves: https://github.com/ibus/ibus-m17n/issues/73)
2024-02-15 15:02:57 +01:00
Mike FABIAN
caa278fbde Convert to rpm-autospec 2024-02-15 14:49:59 +01:00
Fedora Release Engineering
f3b9417bfb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 22:28:37 +00:00
Fedora Release Engineering
db0504e3b1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-20 22:51:11 +00:00
Mike FABIAN
462baac3cf Update to 1.4.27
- Prefer commit to "return FALSE;" for space, and other keys
  where the msymbol name is exactly one character, add a
  sleep for Return.  This is to avoid ordering problems in
  mutter.
  (Resolves: https://github.com/ibus/ibus-m17n/issues/72)
2023-12-02 19:28:22 +01:00
Mike FABIAN
73bfe43d14 Update to 1.4.24
- Make IBusEngineSimple read ~/.XCompose
  (Resolves: https://github.com/ibus/ibus-m17n/issues/70)
- Do not hide empty preedit text before committing text.
  (Resolves: https://github.com/ibus/ibus-m17n/pull/64).
  Together with ibus >= 1.5.29 this solves the preedit flicker problem perfectly.
- Use “<developer><name>…</name></developer>” in m17n.appdata.xml instead of “<developer_name>…</developer_name>”
  Because </developer_name> is deprecated and it makes the build fail on Fedora rawhide.
2023-11-10 18:13:37 +01:00
Mike FABIAN
dc83dd130d Update to 1.4.23
- Do not translate the Multi_key when using the option “☑️ Use US keyboard layout”
- Fix option “☑️ Use US keyboard layout”
  (Resolves: https://github.com/ibus/ibus-m17n/issues/66)
- Translation update from Weblate: new language Hindi, hi 100%
2023-10-27 12:57:22 +02:00
Mike FABIAN
4a9e04aa90 Update to 1.4.22
- Translation update from Weblate (Lithuanian, lt 100%)
2023-08-21 10:45:05 +02:00
Mike FABIAN
7f20771623 Update to 1.4.21
- Translation update from Weblate (Swedish, sv 100%)
2023-08-07 18:47:56 +02:00
Mike FABIAN
5008fdc92b Update to 1.4.20
- Reduce preedit flicker (Resolves: https://github.com/ibus/ibus/issues/2536)
- Remove `xml:lang="en"` from the screenshot in appdata.xml
  See: https://github.com/ximion/appstream/issues/494
  There must be one image in the default locale, and there can be some
  translated ones, but having only translated images is not okay.
- Use ibus_text_new_from_string (string) instead of
  ibus_text_new_from_static_string (string) in ibus_m17n_engine_commit_string()
- Add missing g_free (buf) in ibus_m17n_mtext_to_utf8()
2023-08-01 21:55:56 +02:00
Fedora Release Engineering
dcc41c43ed Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 07:09:28 +00:00
5 changed files with 40 additions and 16 deletions

8
.gitignore vendored
View file

@ -34,3 +34,11 @@ ibus-m17n-1.3.0.tar.gz
/ibus-m17n-1.4.27.tar.gz
/ibus-m17n-1.4.28.tar.gz
/ibus-m17n-1.4.29.tar.gz
/ibus-m17n-1.4.30.tar.gz
/ibus-m17n-1.4.31.tar.gz
/ibus-m17n-1.4.32.tar.gz
/ibus-m17n-1.4.33.tar.gz
/ibus-m17n-1.4.34.tar.gz
/ibus-m17n-1.4.35.tar.gz
/ibus-m17n-1.4.36.tar.gz
/ibus-m17n-1.4.37.tar.gz

View file

@ -1,3 +1,9 @@
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.27-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Dec 02 2023 Mike FABIAN <mfabian@redhat.com> - 1.4.27-1
- Update to 1.4.27
- Prefer commit to "return FALSE;" for space, and other keys

View file

@ -1,7 +1,7 @@
%global require_ibus_version 1.4.0
Name: ibus-m17n
Version: 1.4.29
Version: 1.4.37
Release: %autorelease
Summary: The M17N engine for IBus platform
License: GPL-2.0-or-later
@ -11,7 +11,7 @@ Source0: https://github.com/ibus/%{name}/archive/%{version}/%{name}-%{version
BuildRequires: gettext-devel >= 0.19
BuildRequires: libtool
BuildRequires: m17n-lib-devel
BuildRequires: gtk3-devel
BuildRequires: gtk4-devel
BuildRequires: ibus-devel >= %{require_ibus_version}
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@ -28,7 +28,7 @@ the input table maps from m17n-db.
%setup -q
%build
%configure --disable-static --with-gtk=3.0
%configure --disable-static --with-gtk=4.0
# make -C po update-gmo
%{make_build}
@ -38,14 +38,14 @@ the input table maps from m17n-db.
%find_lang %{name}
%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.metainfo.xml
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.desktop
make check
%files -f %{name}.lang
%doc AUTHORS README
%license COPYING
%{_datadir}/metainfo/m17n.appdata.xml
%{_datadir}/metainfo/org.freedesktop.ibus.engine.m17n.metainfo.xml
%{_datadir}/ibus-m17n
%{_datadir}/icons/hicolor/16x16/apps/ibus-m17n.png
%{_datadir}/icons/hicolor/22x22/apps/ibus-m17n.png

View file

@ -1 +1 @@
SHA512 (ibus-m17n-1.4.29.tar.gz) = bb3b3f44fa5a79e7e15c71b30760f7b29454a47b167f12cc4bde52ee03151f794795fd0d9bb6a2a7877a0afc909f81342d50461da3d49a905255c76288023edb
SHA512 (ibus-m17n-1.4.37.tar.gz) = fde658bf6be122345da3ea7efbf331dec47092a241ffd39a4d8c9dab514ebb7d1e48a8c391788752133f5b56fcf20f5e9424859cb926662929289cc3a46b7479

View file

@ -3,23 +3,33 @@
rlJournalStart
rlPhaseStartSetup
rlShowPackageVersion ibus-m17n
rlRun -t -l "VERSION=$(rpm -q ibus-m17n --queryformat='%{version}')" 0 "Get VERSION"
FEDORA_VERSION=$(rlGetDistroRelease)
rlLog "FEDORA_VERSION=${DISTRO_RELEASE}"
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
rlRun "pushd $tmp"
rlFetchSrcForInstalled "ibus-m17n"
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
rlRun "mkdir BUILD" 0 "Creating BUILD directory"
rlRun "rpmbuild --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
rlRun "pushd BUILD/ibus-m17n*"
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
if [ -d BUILD/ibus-m17n-${VERSION}-build ]; then
rlRun -t -l "pushd BUILD/ibus-m17n-${VERSION}-build/ibus-m17n-${VERSION}"
else
rlRun -t -l "pushd BUILD/ibus-m17n-${VERSION}"
fi
rlRun "set -o pipefail"
rlRun "NOCONFIGURE=1 ./autogen.sh"
rlRun "./configure --disable-static --with-gtk=3.0"
rlRun "make check"
rlRun -t -l "NOCONFIGURE=1 ./autogen.sh"
rlRun -t -l "./configure --disable-static --with-gtk=3.0"
rlRun -t -l "make check"
rlAssertRpm "ibus"
rlAssertRpm "m17n-db"
rlPhaseEnd
rlPhaseStartTest
rlRun "ibus-daemon -v -r -d"
# The -s option and & is important, when using the -d option
# in this test environment the error “Can't connect to IBus.” occurs.
rlRun -t -l "ibus-daemon -v -r -s &"
rlRun "sleep 5" 0 "Give ibus-daemon some time to start properly."
for name in \
am:sera \
@ -111,7 +121,7 @@ rlJournalStart
or:phonetic \
pa:anmollipi \
pa:inscript \
pa:inscript2 \
pa:inscript2-guru \
pa:itrans \
pa:jhelum \
pa:phonetic \
@ -173,9 +183,9 @@ rlJournalStart
vi:vni \
yi:yivo
do
rlRun "/usr/libexec/ibus-engine-m17n --xml 2>/dev/null | grep '<name>m17n:${name}</name>'" \
rlRun -t -l "/usr/libexec/ibus-engine-m17n --xml 2>/dev/null | grep '<name>m17n:${name}</name>'" \
0 "checking whether 'ibus-engine-m17n --xml' can list m17n:${name}:"
rlRun "ibus list-engine --name-only | grep 'm17n:${name}$'" \
rlRun -t -l "ibus list-engine --name-only | grep 'm17n:${name}$'" \
0 "checking whether ibus can list m17n:${name}:"
done
rlPhaseEnd