public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Akira TAGOH <tagoh@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/uim] rawhide: New upstream release
Date: Wed, 07 Oct 2026 10:45:57 GMT [thread overview]
Message-ID: <179136995775.1.429068083532595453.rpms-uim-219365d8eff3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/uim
Branch : rawhide
Commit : 219365d8eff35dda0d99159d77ed007088f9dfa2
Author : Akira TAGOH <tagoh@redhat.com>
Date : 2026-10-07T19:44:35+09:00
Stats : +77/-23 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/uim/c/219365d8eff35dda0d99159d77ed007088f9dfa2?branch=rawhide
Log:
New upstream release
- Resolves: rhbz#2545920
- Add uim-mozc and ibus-uim subpackages.
- Fix lexical binding warning in uim-init.el
---
diff --git a/sources b/sources
index 0de4949..19b12e2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (uim-1.9.8.tar.bz2) = ca912b0fe6abf141936e199a55c599339196cb3a3066820b57a766af36650104f2201707dcae1a8789ff3ce1af01f4b09fdc560febc4dffdd2eb14eb27ab1ce9
+SHA512 (uim-1.9.9.tar.bz2) = 2d12e6c7ae674e729f64b93084dc8c3fc9fe44f583fd6bbec905d6721d1b4c50e5752d359731ad0355198765457dcdcde2f73161ee25bdf8ba97385585b6ead4
diff --git a/uim-emacs-utf8.patch b/uim-emacs-utf8.patch
index 10de01a..a58d55f 100644
--- a/uim-emacs-utf8.patch
+++ b/uim-emacs-utf8.patch
@@ -1,22 +1,27 @@
-diff -pruN uim-1.5.7.orig/emacs/uim.el uim-1.5.7/emacs/uim.el
---- uim-1.5.7.orig/emacs/uim.el 2009-11-22 20:43:02.000000000 +0900
-+++ uim-1.5.7/emacs/uim.el 2010-03-15 19:36:35.000000000 +0900
-@@ -552,11 +552,13 @@
+diff -pruN uim-1.9.9.orig/emacs/uim.el uim-1.9.9/emacs/uim.el
+--- uim-1.9.9.orig/emacs/uim.el 2026-10-05 21:21:14.000000000 +0900
++++ uim-1.9.9/emacs/uim.el 2026-10-07 17:08:48.364193738 +0900
+@@ -553,14 +553,16 @@
+ ;; Update IM list
+ ;;
(defun uim-update-imlist (imlist)
- (setq uim-im-alist
- (mapcar '(lambda (x)
-- (let ((im (nth 0 x))
-- (lang-uim (nth 2 x)))
-- (cons im
-- (or (assoc lang-uim uim-lang-code-alist)
-- (assoc "Other" uim-lang-code-alist)))))
-+ (let* ((im (nth 0 x))
-+ (lang-uim (nth 2 x))
-+ (entry (or (assoc lang-uim uim-lang-code-alist)
-+ (assoc "Other" uim-lang-code-alist))))
-+ (cons im (if (string-match ".*utf8" im)
-+ (list (car entry) (cadr entry) 'utf-8 "UTF-8")
-+ entry))))
- imlist))
+- (setq uim-im-alist
++ (setq uim-im-alist
+ (mapcar (lambda (x)
+- (let ((im (nth 0 x))
+- (lang-uim (nth 2 x)))
+- (cons im
+- (or (assoc lang-uim uim-lang-code-alist)
+- (assoc "Other" uim-lang-code-alist)))))
+- imlist))
++ (let* ((im (nth 0 x))
++ (lang-uim (nth 2 x))
++ (entry (or (assoc lang-uim uim-lang-code-alist)
++ (assoc "Other" uim-lang-code-alist))))
++ (cons im (if (string-match-p "utf-?8" (downcase im))
++ (list (car entry) (cadr entry) 'utf-8 "UTF-8")
++ entry))))
++ imlist))
)
+
diff --git a/uim-init.el b/uim-init.el
index 9228f69..15cf9ef 100644
--- a/uim-init.el
+++ b/uim-init.el
@@ -1,3 +1,4 @@
+;;; -*- lexical-binding: t -*-
(add-to-list 'load-path "/usr/share/emacs/site-lisp/uim-el")
(setq uim-el-agent "/usr/bin/uim-el-agent")
diff --git a/uim.spec b/uim.spec
index a242001..ba124d8 100644
--- a/uim.spec
+++ b/uim.spec
@@ -1,11 +1,11 @@
%global inst_xinput %{_sbindir}/update-alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_sysconfdir}/X11/xinit/xinput.d/uim.conf 50
%global uninst_xinput %{_sbindir}/update-alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/uim.conf
-%global srcver 1.9.8
+%global srcver 1.9.9
%bcond_with canna
Name: uim
-Version: 1.9.8
+Version: 1.9.9
Release: %autorelease
# uim itself is licensed under BSD
# scm/py.scm, helper/eggtrayicon.[ch], qt/pref-kseparator.{cpp,h}
@@ -28,7 +28,9 @@ BuildRequires: qt6-qtbase-devel qt6-qtbase-private-devel
BuildRequires: libedit-devel sqlite-devel expat-devel
BuildRequires: m17n-lib-devel m17n-db-devel
BuildRequires: m17n-db m17n-db-extras
+BuildRequires: ibus-devel
BuildRequires: emacs libtool automake autoconf intltool
+BuildRequires: protobuf3-devel
%if 0%{?fedora} < 36
BuildRequires: xemacs
%endif
@@ -87,6 +89,11 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
Conflicts: %{name} < 1.9.3-1
+%package -n ibus-%{name}
+Summary: Uim engine for IBus platform
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
+
%package wayland
Summary: Wayland support for Uim
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@@ -170,6 +177,14 @@ Requires(post): /usr/bin/uim-module-manager
Requires(postun): /usr/bin/uim-module-manager
Recommends: m17n-db-extras
+%package mozc
+Summary: Mozc support for Uim
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
+Requires(post): /usr/bin/uim-module-manager
+Requires(postun): /usr/bin/uim-module-manager
+Requires: mozc
+
%global common_desc %{expand:
Uim is a multilingual input method library. Uim aims to
@@ -211,6 +226,11 @@ This package contains shared files for other uim sub packages.
This package contains CLI executables.
+%description -n ibus-%{name}
+%{common_desc}
+
+This package contains the uim engine for IBus.
+
%description wayland
%{common_desc}
@@ -274,6 +294,11 @@ This package provides support for SKK, a Japanese input method.
This package provides support for m17n-lib, which allows input of
many languages using the input table map from m17n-db.
+%description mozc
+%{common_desc}
+
+This package provides support for Mozc, a Japanese input method.
+
%prep
%autosetup -p1 -n uim-%{srcver}
@@ -286,9 +311,11 @@ autoconf
%if %{with canna}
--with-canna \
%endif
+ --with-ibus \
--without-anthy \
--with-anthy-utf8 \
--with-m17nlib \
+ --with-mozc \
--with-eb --with-eb-conf=%{_libdir}/eb.conf \
--without-scim \
--with-wayland \
@@ -434,6 +461,14 @@ if [ "$1" = "0" ]; then
/usr/bin/uim-module-manager --path %{_localstatedir}/lib/uim --unregister m17nlib > /dev/null 2>&1 || :
fi
+%post mozc
+/usr/bin/uim-module-manager --path %{_localstatedir}/lib/uim --register mozc > /dev/null 2>&1 || :
+
+%postun mozc
+if [ "$1" = "0" ]; then
+ /usr/bin/uim-module-manager --path %{_localstatedir}/lib/uim --unregister uim > /dev/null 2>&1 || :
+fi
+
%files
%doc AUTHORS NEWS README
@@ -459,6 +494,7 @@ fi
%{_libdir}/uim/plugin/libuim-process.so
%{_libdir}/uim/plugin/libuim-socket.so
%{_libdir}/uim/plugin/libuim-sqlite3.so
+%{_libdir}/uim/plugin/libuim-tutcode.so
%{_libexecdir}/uim-helper-server
%files wayland
@@ -494,13 +530,13 @@ fi
%dir %{_localstatedir}/lib/uim
%{_datadir}/uim/byeoru-data/byeoru-dict
%{_datadir}/uim/helperdata
-%{_datadir}/uim/tables/*.table
%verify(not md5 size mtime) %{_datadir}/uim/installed-modules.scm
%verify(not md5 size mtime) %{_datadir}/uim/loader.scm
%ghost %{_localstatedir}/lib/uim/*.scm
%exclude %{_datadir}/uim/anthy*.scm
%exclude %{_datadir}/uim/canna*.scm
%exclude %{_datadir}/uim/m17nlib.scm
+%exclude %{_datadir}/uim/mozc*.scm
%exclude %{_datadir}/uim/skk*.scm
%exclude %{_datadir}/uim/wnn*.scm
## pixmaps are licensed under BSD or LGPLv2
@@ -529,6 +565,12 @@ fi
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
+%files -n ibus-%{name}
+%doc AUTHORS NEWS README
+%license COPYING
+%{_libexecdir}/ibus-engine-uim
+%{_datadir}/ibus/component/uim.xml
+
%files gtk3
%doc AUTHORS NEWS README
%license COPYING
@@ -621,5 +663,11 @@ fi
%{_datadir}/uim/pixmaps/m17n*png
%dir %{_datadir}/uim
+%files mozc
+%doc AUTHORS NEWS README
+%license COPYING
+%{_bindir}/uim-mozc-helper
+%{_datadir}/uim/mozc*.scm
+
%changelog
%autochangelog
next reply other threads:[~2026-10-07 10:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 10:45 Akira TAGOH [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-16 6:39 [rpms/uim] rawhide: New upstream release Akira TAGOH
2026-09-28 15:04 Akira TAGOH
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=179136995775.1.429068083532595453.rpms-uim-219365d8eff3@fedoraproject.org \
--to=tagoh@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