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: Update CI with GSK_RENDERER=cairo and required no-overview
Date: Sun, 31 May 2026 02:08:47 GMT [thread overview]
Message-ID: <178019332726.1.438356111155631628.rpms-ibus-5906280eb29e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : 5906280eb29eef1450c07ab68a8779d5e14f56eb
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2024-11-14T12:51:06+09:00
Stats : +22/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/5906280eb29eef1450c07ab68a8779d5e14f56eb?branch=autotool
Log:
Update CI with GSK_RENDERER=cairo and required no-overview
- Export GSK_RENDERER=cairo in CentOS CI only for GDK Vulkan as a workaround
- Add Require: gnome-shell-extension-no-overview to RHEL
---
diff --git a/ibus.spec b/ibus.spec
index b183f6c..82089d1 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -67,7 +67,7 @@ Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1-or-later
URL: https://github.com/ibus/%name/wiki
Source0: https://github.com/ibus/%name/releases/download/%{source_version}/%{name}-%{source_version}.tar.gz
-Source1: https://github.com/ibus/%name/releases/download/%{source_version}/%{name}.tar.gz.sum
+Source1: https://github.com/ibus/%name/releases/download/%{source_version}/%{name}-%{source_version}.tar.gz.sum#/%{name}.tar.gz.sum
Source2: %{name}-xinput
Source3: %{name}.conf.5
# Patch0: %%{name}-HEAD.patch
@@ -301,7 +301,7 @@ The ibus-devel-docs package contains developer documentation for IBus
%package desktop-testing
Summary: Wrapper of InstalledTests Runner for IBus
Requires: %{name} = %{version}-%{release}
-%if 0%{?fedora:1}%{?rhel:0}
+%if (0%{?fedora} || 0%{?rhel} > 9)
# Use no-overview mode in CI to get input focus
BuildRequires: gnome-shell-extension-no-overview
Requires: gnome-shell-extension-no-overview
@@ -436,6 +436,26 @@ HAS_PREFIX=$(grep prefix $RPM_BUILD_ROOT%{_bindir}/ibus-setup | wc -l)
[ x"$HAS_PREFIX" == x1 ] && \
sed -i -e '/prefix/d' $RPM_BUILD_ROOT%{_bindir}/ibus-setup
+# Export GSK_RENDERER=cairo in CentOS only as a workaround.
+# Not sure but seems mesa-vulkan-drivers is not configured correctly in
+# CentOS and GTK is failed in CentOS CI:
+# ibus-compose:10228: Gdk-WARNING **:
+# Vulkan: ../src/imagination/vulkan/pvr_device.c:854:
+# Failed to enumerate drm devices
+# (errno 2: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος)
+# (VK_ERROR_INITIALIZATION_FAILED)
+# https://www.linux.org.ru/forum/desktop/17554505
+%if 0%{?rhel} > 9
+if [ -f /etc/centos-release ] ; then
+ sed -i.bak -e '/^TESTING_RUNNER=/a\
+export GSK_RENDERER=cairo' \
+ $RPM_BUILD_ROOT%{_libexecdir}/ibus-desktop-testing-autostart
+ diff $RPM_BUILD_ROOT%{_libexecdir}/ibus-desktop-testing-autostart* || :
+ ls -l $RPM_BUILD_ROOT%{_libexecdir}/ibus-desktop-testing-autostart*
+ rm $RPM_BUILD_ROOT%{_libexecdir}/ibus-desktop-testing-autostart.bak
+fi
+%endif
+
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/*
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=178019332726.1.438356111155631628.rpms-ibus-5906280eb29e@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