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] autotool: Add ibus_panel_condition
Date: Sun, 31 May 2026 02:08:16 GMT [thread overview]
Message-ID: <178019329678.1.162509670171015917.rpms-ibus-585c32b165f8@fedoraproject.org> (raw)
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
reply other threads:[~2026-05-31 2:08 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=178019329678.1.162509670171015917.rpms-ibus-585c32b165f8@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