public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus-unikey] f44: Resolves: #2481032 Add ibus-setup-Unikey.desktop
@ 2026-07-24 15:07 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-07-24 15:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus-unikey
Branch : f44
Commit : cc8270791200d992f611a45407462932e7972611
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2026-07-24T23:41:58+09:00
Stats : +20/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus-unikey/c/cc8270791200d992f611a45407462932e7972611?branch=f44
Log:
Resolves: #2481032 Add ibus-setup-Unikey.desktop
---
diff --git a/ibus-setup-Unikey.desktop b/ibus-setup-Unikey.desktop
new file mode 100644
index 0000000..91bdc46
--- /dev/null
+++ b/ibus-setup-Unikey.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=IBus Unikey Setup
+Comment=Set up IBus Unikey engine
+Exec=/usr/libexec/ibus-setup-unikey
+Icon=ibus-unikey
+NoDisplay=true
+Type=Application
+StartupNotify=true
diff --git a/ibus-unikey.spec b/ibus-unikey.spec
index 971005c..f4b9f80 100644
--- a/ibus-unikey.spec
+++ b/ibus-unikey.spec
@@ -10,11 +10,16 @@ Summary: Vietnamese engine for IBus input platform
License: GPL-3.0-only
URL: https://github.com/vn-input/ibus-unikey/
Source0: https://github.com/vn-input/ibus-unikey/archive/refs/tags/%{source_version}.tar.gz#/%{name}-%{source_version}.tar.gz
-Patch1: %{name}-2267853-super-space.patch
-Patch2: %{name}-2257688-segv-load-config.patch
-Patch3: %{name}-2380650-cmake-4.patch
+# https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/panels/keyboard/cc-input-source-ibus.c?ref_type=heads
+# cc_input_source_ibus_get_app_info() find ibus-setup-Unikey.desktop file
+# to launch the engine setup.
+Source1: ibus-setup-Unikey.desktop
+Patch: %{name}-2267853-super-space.patch
+Patch: %{name}-2257688-segv-load-config.patch
+Patch: %{name}-2380650-cmake-4.patch
BuildRequires: cmake
+BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: ibus-devel
@@ -38,12 +43,16 @@ A Vietnamese engine for IBus input platform that uses Unikey.
%install
%cmake_install
%find_lang %{name}
+desktop-file-install \
+ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+ %{SOURCE1}
%files -f %{name}.lang
%doc README.md
%license LICENSE
%{_datadir}/%{name}/
+%{_datadir}/applications/ibus-setup-Unikey.desktop
%{_datadir}/ibus/component/unikey.xml
%{_libexecdir}/ibus-engine-unikey
%{_libexecdir}/ibus-setup-unikey
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-24 15:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-24 15:07 [rpms/ibus-unikey] f44: Resolves: #2481032 Add ibus-setup-Unikey.desktop Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox