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: Always BuildRequires: python2-devel
Date: Sun, 31 May 2026 02:06:50 GMT [thread overview]
Message-ID: <178019321038.1.10518452346968340548.rpms-ibus-efc8a4fd623f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : efc8a4fd623fc12603590a3fecdca234db7f9663
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2018-04-20T16:32:44+09:00
Stats : +130/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/efc8a4fd623fc12603590a3fecdca234db7f9663?branch=autotool
Log:
Always BuildRequires: python2-devel
https://bugzilla.gnome.org/show_bug.cgi?id=759334
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index ad4037b..240c0cb 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1056,3 +1056,126 @@ index 76166a0f..dda79eac 100644
--
2.14.3
+From 10cc30eac200d10b581d9d2122d5a732f4880943 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 17 Apr 2018 14:00:20 +0900
+Subject: [PATCH] src/tests: Enable GSettings in runtest
+
+---
+ src/tests/runtest | 22 ++++++++++++++++++++++
+ 1 file changed, 22 insertions(+)
+
+diff --git a/src/tests/runtest b/src/tests/runtest
+index 09026be0..35825b1b 100755
+--- a/src/tests/runtest
++++ b/src/tests/runtest
+@@ -34,6 +34,8 @@ ibus-engine-switch
+ ibus-compose
+ test-stress
+ "
++IBUS_SCHEMA_FILE='org.freedesktop.ibus.gschema.xml'
++
+ retval=0
+
+ # Portable replacement of basename.
+@@ -92,6 +94,12 @@ for t in $DISABLE_GUI_TESTS; do
+ fi
+ done
+
++# IBusEngine has GSettings
++if test ! -f "$top_builddir/data/dconf/$IBUS_SCHEMA_FILE" ; then
++ echo "NOT FOUND $top_builddir/data/dconf/$IBUS_SCHEMA_FILE"
++ exit -1
++fi
++
+ run_test_case()
+ {
+ test -d $tstdir || mkdir $tstdir
+@@ -114,6 +122,20 @@ run_test_case()
+ IBUS_ADDRESS_FILE=$PWD/ibus-daemon.pid
+ export IBUS_ADDRESS_FILE
+
++ cp "../$top_builddir/data/dconf/$IBUS_SCHEMA_FILE" $PWD
++ glib-compile-schemas $PWD
++ if test $? -ne 0 ; then
++ echo "FAILED glib-compile-schemas"
++ retval=1
++ return
++ fi
++ if test ! -f $PWD/gschemas.compiled ; then
++ echo "NOT FOUND $PWD/gschemas.compiled"
++ retval=1
++ return
++ fi
++ export GSETTINGS_SCHEMA_DIR=$PWD
++
+ # Start ibus-daemon.
+ ../$top_builddir/bus/ibus-daemon \
+ --daemonize \
+--
+2.14.3
+
+From 3280848b42b07afbac3d59066474c5f429de9182 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 17 Apr 2018 14:43:02 +0900
+Subject: [PATCH] bus: Enable sub package of gtkextension.xml and
+ ibus-extension-gtk3
+
+GNOME destkop asked not to install ibus-extension-gtk3 by default
+since the UI is not called by gnome-shell.
+
+BUG=rhbz#1567689
+---
+ bus/main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bus/main.c b/bus/main.c
+index 7aa89fc4..e1cc423b 100644
+--- a/bus/main.c
++++ b/bus/main.c
+@@ -293,7 +293,7 @@ main (gint argc, gchar **argv)
+ if (component) {
+ bus_component_set_restart (component, restart);
+ }
+- if (component == NULL ||
++ if (component != NULL &&
+ !bus_component_start (component, g_verbose)) {
+ g_printerr ("Can not execute default panel program\n");
+ exit (-1);
+--
+2.14.3
+
+From d8f901f856ddd75baba5826038d1346c5a43d048 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Fri, 20 Apr 2018 15:58:06 +0900
+Subject: [PATCH] Replace OnlyShowIn= with NoDisplay=true
+
+BUG=rhbz#1567689
+---
+ ui/gtk3/ibus-extension-gtk3.desktop.in.in | 2 +-
+ ui/gtk3/ibus-ui-emojier.desktop.in.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ui/gtk3/ibus-extension-gtk3.desktop.in.in b/ui/gtk3/ibus-extension-gtk3.desktop.in.in
+index 6ec5585f..a119ec8e 100644
+--- a/ui/gtk3/ibus-extension-gtk3.desktop.in.in
++++ b/ui/gtk3/ibus-extension-gtk3.desktop.in.in
+@@ -3,4 +3,4 @@ _Name=Emoji Choice
+ Icon=ibus
+ Exec=@libexecdir@/ibus-extension-gtk3
+ Type=Application
+-OnlyShowIn=
++NoDisplay=true
+diff --git a/ui/gtk3/ibus-ui-emojier.desktop.in.in b/ui/gtk3/ibus-ui-emojier.desktop.in.in
+index f4b750a8..6d9422d5 100644
+--- a/ui/gtk3/ibus-ui-emojier.desktop.in.in
++++ b/ui/gtk3/ibus-ui-emojier.desktop.in.in
+@@ -3,4 +3,4 @@ _Name=Emoji Choice
+ Icon=ibus
+ Exec=ibus emoji
+ Type=Application
+-OnlyShowIn=
++NoDisplay=true
+--
+2.14.3
+
diff --git a/ibus.spec b/ibus.spec
index 87aa895..a400272 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -74,9 +74,9 @@ BuildRequires: dconf-devel
BuildRequires: dbus-x11
BuildRequires: python3-devel
BuildRequires: python3-gobject
-%if %with_python2
+# https://bugzilla.gnome.org/show_bug.cgi?id=759334
+# Need python2 for gsettings-schema-convert
BuildRequires: python2-devel
-%endif
BuildRequires: vala
BuildRequires: vala-devel
BuildRequires: vala-tools
@@ -337,6 +337,9 @@ desktop-file-install --delete-original \
# FIXME: no version number
%find_lang %{name}10
+%check
+make check DISABLE_GUI_TESTS="ibus-compose test-stress"
+
%post
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
@@ -381,8 +384,8 @@ dconf update || :
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/man/man1/ibus.1.gz
%{_datadir}/man/man1/ibus-daemon.1.gz
-%{_datadir}/man/man5/ibus.conf.5.gz
%{_datadir}/man/man7/ibus-emoji.7.gz
+%{_datadir}/man/man5/ibus.conf.5.gz
%{_libexecdir}/ibus-engine-simple
%{_libexecdir}/ibus-dconf
%{_libexecdir}/ibus-portal
@@ -451,6 +454,7 @@ dconf update || :
%changelog
* Fri Apr 13 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.18-5
- Disabled python2 since RHEL8
+- Run make check in %%check except for GUI testings
* Fri Mar 30 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.18-4
- Fixed Bug 1554714 - improve order of unicode matches
reply other threads:[~2026-05-31 2:06 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=178019321038.1.10518452346968340548.rpms-ibus-efc8a4fd623f@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