public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus-anthy] rawhide: Bump to 1.5.19-alpha4
Date: Fri, 20 Nov 2026 11:32:29 GMT	[thread overview]
Message-ID: <179517434991.1.5713781120397821991.rpms-ibus-anthy-864ba0020932@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ibus-anthy
            Branch : rawhide
            Commit : 864ba00209328d24b6f87672ed7e715febdf5a5e
            Author : Takao Fujiwara <tfujiwar@redhat.com>
            Date   : 2026-11-20T20:30:39+09:00
            Stats  : +33/-40 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/ibus-anthy/c/864ba00209328d24b6f87672ed7e715febdf5a5e?branch=rawhide

            Log:
            Bump to 1.5.19-alpha4

Enable Meson build.

---
diff --git a/.gitignore b/.gitignore
index b1c2dee..e9fb4d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@ ibus-anthy.png
 /ibus-anthy-1.5.16.tar.gz
 /ibus-anthy-1.5.17.tar.gz
 /ibus-anthy-1.5.18.tar.gz
+/ibus-anthy-1.5.19-alpha4.tar.xz

diff --git a/ibus-anthy-HEAD.patch b/ibus-anthy-HEAD.patch
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ibus-anthy-HEAD.patch

diff --git a/ibus-anthy.spec b/ibus-anthy.spec
index 4babb84..b650882 100644
--- a/ibus-anthy.spec
+++ b/ibus-anthy.spec
@@ -1,8 +1,8 @@
+%global source_version %%(echo "%version" | tr '~' '-')
+
 # https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
 %global sub_version                     1.0
 %global require_ibus_version            1.5.3
-%global have_default_layout             1
-%global have_bridge_hotkey              1
 %global with_python3                    1
 
 %if (0%{?fedora} > 33 || 0%{?rhel} > 8)
@@ -17,30 +17,34 @@
 %endif
 
 Name:           ibus-anthy
-Version:        1.5.18
+Version:        1.5.19~alpha4
 Release:        %autorelease
 Summary:        The Anthy engine for IBus input platform
 License:        GPL-2.0-or-later
 URL:            https://github.com/ibus/ibus/wiki
-Source0:        https://github.com/ibus/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
-Source1:        https://github.com/ibus/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.sum#/%{name}.tar.gz.sum
+Source0:        https://github.com/ibus/%{name}/releases/download/%{source_version}/%{name}-%{source_version}.tar.xz
+Source1:        https://github.com/ibus/%{name}/releases/download/%{source_version}/%{name}-%{source_version}.tar.xz.sha256sum#/%{name}.tar.xz.sha256sum
 
 # Upstreamed patches.
 # Patch0:         %%{name}-HEAD.patch
-Patch0:         %{name}-HEAD.patch
 Patch1:         %{name}-1938129-default-hiragana.patch
 
-BuildRequires:  anthy-unicode-devel
 BuildRequires:  desktop-file-utils
-BuildRequires:  gettext-devel
+BuildRequires:  gettext
 BuildRequires:  git
-BuildRequires:  glib2-devel
-BuildRequires:  gobject-introspection-devel
-BuildRequires:  ibus 
+# %%check requires gtk3, ibus-daemon, ps besides ibus-libs
+BuildRequires:  gtk3
+BuildRequires:  ibus
 BuildRequires:  libtool
-BuildRequires:  pkgconfig
+BuildRequires:  meson
+BuildRequires:  procps-ng
 BuildRequires:  python3-devel
 BuildRequires:  python3-gobject
+BuildRequires:  pkgconfig(anthy-unicode)
+BuildRequires:  pkgconfig(glib-2.0)
+# gtk4 and pango requires gobject-introspection-devel
+BuildRequires:  pkgconfig(gobject-introspection-1.0)
+BuildRequires:  pkgconfig(ibus-1.0)
 BuildRequires:  /usr/bin/appstream-util
 
 Requires:       ibus >= %{require_ibus_version}
@@ -89,36 +93,28 @@ the functionality of the installed %{name} package.
 
 
 %prep
-SAVED_SUM=$(grep sha512sum %SOURCE1 | awk '{print $2}')
-MY_SUM=$(sha512sum %SOURCE0 | awk '{print $1}')
+SAVED_SUM=$(cat %SOURCE1 | awk '{print $1}')
+MY_SUM=$(sha256sum %SOURCE0 | awk '{print $1}')
 if test x"$SAVED_SUM" != x"$MY_SUM" ; then
     abort
 fi
-%autosetup -S git
+%autosetup -S git -n %{name}-%{source_version}
 
 %build
-#autoreconf -f -i -v
-autoreconf -f -i -v
-%configure \
-%if %have_default_layout
-  --with-layout='default' \
-%endif
-%if %have_bridge_hotkey
-  --with-hotkeys \
-%endif
+%meson \
 %if %{with kasumi_unicode}
-  --with-kasumi-exec=/usr/bin/kasumi-unicode \
+  -Dkasumi-exec=/usr/bin/kasumi-unicode \
 %endif
-  --with-on-off-keys="'Zenkaku_Hankaku', 'Ctrl+space', 'Ctrl+J'" \
-  --enable-installed-tests \
-  --disable-static
-# make -C po update-gmo
-make %{?_smp_mflags}
-
-%install
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
+  -Don-off-keys="[ 'Zenkaku_Hankaku', 'Ctrl+space', 'Ctrl+J' ]" \
+  -Dinstall-tests=true \
+   %{nil}
+
+%meson_build
 rm -f $RPM_BUILD_ROOT%{_libdir}/libanthygobject-%{sub_version}.la
 
+%meson_install
+
+rm $RPM_BUILD_ROOT%{_datadir}/ibus-anthy/icons/ibus-anthy.png
 
 %find_lang %{name}
 
@@ -128,7 +124,7 @@ desktop-file-validate \
 appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.xml
 export LANG=C.UTF-8
 locale
-make -C data check
+%meson_test
 
 %ldconfig_scriptlets libs
 
@@ -164,4 +160,3 @@ make -C data check
 
 %changelog
 %autochangelog
-

diff --git a/ibus-anthy.tar.gz.sum b/ibus-anthy.tar.gz.sum
deleted file mode 100644
index 447effe..0000000
--- a/ibus-anthy.tar.gz.sum
+++ /dev/null
@@ -1,4 +0,0 @@
-cksum 805619771 865612 ibus-anthy-1.5.18.tar.gz
-sha1sum 1bee91e9d48b623753268a233bd739544e22e325 ibus-anthy-1.5.18.tar.gz
-sha256sum cad0d6e2c6fd27ea71299efdfa19954ad098fa9e54c6a232161bd25786c492e6 ibus-anthy-1.5.18.tar.gz
-sha512sum 4496f0e73bd3e86906679d92f93882424e130737be81b69c55595f4de089842cc53653b47e09a91464a75ac601a9ea8a67225b0055530d2955e4fa0faa30b2e6 ibus-anthy-1.5.18.tar.gz

diff --git a/ibus-anthy.tar.xz.sha256sum b/ibus-anthy.tar.xz.sha256sum
new file mode 100644
index 0000000..4c75d24
--- /dev/null
+++ b/ibus-anthy.tar.xz.sha256sum
@@ -0,0 +1 @@
+82033fbcf29d9ebaaab2b8171fdeab26c7e91e9d1ffab82dda68b02597fe6d16 *ibus-anthy-1.5.19-alpha4.tar.xz

diff --git a/sources b/sources
index 77b7685..f54230f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ibus-anthy-1.5.18.tar.gz) = 4496f0e73bd3e86906679d92f93882424e130737be81b69c55595f4de089842cc53653b47e09a91464a75ac601a9ea8a67225b0055530d2955e4fa0faa30b2e6
+SHA512 (ibus-anthy-1.5.19-alpha4.tar.xz) = 15ebbdb1011138c8ee506cd4e5dffefa6ab21a8e195950d21440e9d2b8ba07f884ce8646a3323a5fbd9a14dd9ac87050103842fafe114b2127e115baf90bd6bb

                 reply	other threads:[~2026-11-20 11:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179517434991.1.5713781120397821991.rpms-ibus-anthy-864ba0020932@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox