Compare commits

..

9 commits

Author SHA1 Message Date
Mike FABIAN
2cfcbcf5d1 Update to 1.4.29
- Translation update from Weblate (Malayalam (ml), new, 100%, Swedish (sv) 100%)
2024-04-10 18:03:12 +02:00
Mike FABIAN
fa783c1a6d 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:30:08 +01:00
Mike FABIAN
570dec0938 Convert to rpm-autospec 2024-02-15 14:57:48 +01:00
Mike FABIAN
d331d9d033 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-07 16:54:59 +01:00
Mike FABIAN
e26cb65c65 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:26:03 +01:00
Mike FABIAN
bb001cf9de 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 15:24:17 +02:00
Mike FABIAN
51ade99fe5 Update to 1.4.22
- Translation update from Weblate (Lithuanian, lt 100%)
2023-08-21 11:21:55 +02:00
Mike FABIAN
dbfeb58abf Update to 1.4.21
- Translation update from Weblate (Swedish, sv 100%)
2023-08-07 18:32:13 +02:00
Mike FABIAN
99bf0c93ea 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-03 18:45:04 +02:00
5 changed files with 16 additions and 40 deletions

8
.gitignore vendored
View file

@ -34,11 +34,3 @@ 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,9 +1,3 @@
* 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.37
Version: 1.4.29
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: gtk4-devel
BuildRequires: gtk3-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=4.0
%configure --disable-static --with-gtk=3.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/*.metainfo.xml
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.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/org.freedesktop.ibus.engine.m17n.metainfo.xml
%{_datadir}/metainfo/m17n.appdata.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.37.tar.gz) = fde658bf6be122345da3ea7efbf331dec47092a241ffd39a4d8c9dab514ebb7d1e48a8c391788752133f5b56fcf20f5e9424859cb926662929289cc3a46b7479
SHA512 (ibus-m17n-1.4.29.tar.gz) = bb3b3f44fa5a79e7e15c71b30760f7b29454a47b167f12cc4bde52ee03151f794795fd0d9bb6a2a7877a0afc909f81342d50461da3d49a905255c76288023edb

View file

@ -3,33 +3,23 @@
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 -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 "mkdir BUILD" 0 "Creating BUILD directory"
rlRun "rpmbuild --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
rlRun "pushd BUILD/ibus-m17n*"
rlRun "set -o pipefail"
rlRun -t -l "NOCONFIGURE=1 ./autogen.sh"
rlRun -t -l "./configure --disable-static --with-gtk=3.0"
rlRun -t -l "make check"
rlRun "NOCONFIGURE=1 ./autogen.sh"
rlRun "./configure --disable-static --with-gtk=3.0"
rlRun "make check"
rlAssertRpm "ibus"
rlAssertRpm "m17n-db"
rlPhaseEnd
rlPhaseStartTest
# 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 "ibus-daemon -v -r -d"
rlRun "sleep 5" 0 "Give ibus-daemon some time to start properly."
for name in \
am:sera \
@ -121,7 +111,7 @@ rlJournalStart
or:phonetic \
pa:anmollipi \
pa:inscript \
pa:inscript2-guru \
pa:inscript2 \
pa:itrans \
pa:jhelum \
pa:phonetic \
@ -183,9 +173,9 @@ rlJournalStart
vi:vni \
yi:yivo
do
rlRun -t -l "/usr/libexec/ibus-engine-m17n --xml 2>/dev/null | grep '<name>m17n:${name}</name>'" \
rlRun "/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 -t -l "ibus list-engine --name-only | grep 'm17n:${name}$'" \
rlRun "ibus list-engine --name-only | grep 'm17n:${name}$'" \
0 "checking whether ibus can list m17n:${name}:"
done
rlPhaseEnd