public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Add ibus_panel_condition
@ 2026-05-31 2:08 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31 2:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 585c32b165f824194ac812afc858ea56a9b3deb0
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2023-08-21T15:56:07+09:00
Stats : +11/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/585c32b165f824194ac812afc858ea56a9b3deb0?branch=autotool
Log:
Add ibus_panel_condition
---
diff --git a/ibus.spec b/ibus.spec
index 446fdd6..f0f2ecc 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -28,6 +28,12 @@
%bcond_with gtk4
%endif
+# FIXME: How to write a condition with multiple lines
+%global ibus_panel_condition (%pcd1 or %pcd2 or %pcd3)
+%global pcd1 budgie-desktop or cinnamon or deepin-desktop or i3
+%global pcd2 lxqt-session or lxsession or mate-panel or phosh
+%global pcd3 plasma-workspace or sugar or xfce4-session
+
%if %with_pkg_config
%if %{with gtk2}
%{!?gtk2_binary_version: %global gtk2_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)}
@@ -52,7 +58,7 @@
Name: ibus
Version: 1.5.29~beta2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1-or-later
URL: https://github.com/ibus/%name/wiki
@@ -113,6 +119,7 @@ Requires: (%{name}-gtk2%{?_isa} = %{version}-%{release} if gtk2)
%endif
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
Requires: %{name}-setup = %{version}-%{release}
+Requires: (%{name}-panel%{?_isa} = %{version}-%{release} if %ibus_panel_condition)
Requires: iso-codes
Requires: dconf
@@ -572,6 +579,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Mon Aug 21 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.29~beta2-3
+- Add ibus_panel_condition
+
* Fri Aug 18 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.29~beta2-2
- Separate ibus-ui-gtk3 as ibus-panel sub package depended on libdbusmenu
- Update autogen.sh for Fedora 39
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 2:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 2:08 [rpms/ibus] autotool: Add ibus_panel_condition Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox