pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/ibus (inputmethod/ibus) Fix recent bulkbui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3699e7cc0036
branches:  trunk
changeset: 440726:3699e7cc0036
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Oct 17 05:25:46 2020 +0000

description:
(inputmethod/ibus) Fix recent bulkbuild error, Cannot convert from `void Extension...

extension.vala:54.37-54.56: error: Argument 7:
Cannot convert from `void ExtensionGtk.bus_name_acquired_cb
(GLib.DBusConnection, string, string, string, string, GLib.Variant)'
to `void GLib.DBusSignalCallback
(GLib.DBusConnection, string?, string, string, string, GLib.Variant)'
                                    bus_name_acquired_cb);

See
    3  2020-10-17 13:37  git clone https://github.com/ibus/ibus.git
    4  2020-10-17 13:38  cd ibus/
    5  2020-10-17 13:38  git show dd4cc5b028c35f9bb8f

Information provided from @tristelo of Twitter, thanks

diffstat:

 inputmethod/ibus/distinfo                               |   4 +-
 inputmethod/ibus/patches/patch-ui_gtk3_application.vala |  29 +++++++++++++++
 inputmethod/ibus/patches/patch-ui_gtk3_extension.vala   |  31 +++++++++++++++++
 3 files changed, 63 insertions(+), 1 deletions(-)

diffs (83 lines):

diff -r 437155cb1d41 -r 3699e7cc0036 inputmethod/ibus/distinfo
--- a/inputmethod/ibus/distinfo Fri Oct 16 22:34:25 2020 +0000
+++ b/inputmethod/ibus/distinfo Sat Oct 17 05:25:46 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2020/10/03 16:43:17 tsutsui Exp $
+$NetBSD: distinfo,v 1.25 2020/10/17 05:25:46 mef Exp $
 
 SHA1 (ibus-1.5.23.tar.gz) = 99f093568588b3c7695230768560eb1645ed80de
 RMD160 (ibus-1.5.23.tar.gz) = c3500c682257fb0699dbba429670e895f058846e
@@ -8,3 +8,5 @@
 SHA1 (patch-client_gtk3_ibusimcontext.c) = de369bcc2945190b1a30833be4b49f8b6d68c005
 SHA1 (patch-ui_gtk3_Makefile.am) = dd0c6bc9383b57c1451e4f8c96e41f7398e3e650
 SHA1 (patch-ui_gtk3_Makefile.in) = 8e7391e77eefe78c69db7814df9ae536ccdc14b4
+SHA1 (patch-ui_gtk3_application.vala) = 29ad7b1b44a7eb7888a263515c49335da42e62ec
+SHA1 (patch-ui_gtk3_extension.vala) = 276f9ffea8cb9b1fa39321e47fddf941757b2d8d
diff -r 437155cb1d41 -r 3699e7cc0036 inputmethod/ibus/patches/patch-ui_gtk3_application.vala
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/ibus/patches/patch-ui_gtk3_application.vala   Sat Oct 17 05:25:46 2020 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-ui_gtk3_application.vala,v 1.1 2020/10/17 05:25:46 mef Exp $
+
+ Fix Build Error:
+
+   git clone https://github.com/ibus/ibus.git
+   git show dd4cc5b028c35f9bb8f
+
+   Info provided by @tristelo of Twitter, thanks
+
+--- ui/gtk3/application.vala.orig      2020-10-17 05:12:46.065207466 +0000
++++ ui/gtk3/application.vala
+@@ -69,7 +69,7 @@ class Application {
+     }
+ 
+     private void bus_name_acquired_cb(DBusConnection connection,
+-                                      string sender_name,
++                                      string? sender_name,
+                                       string object_path,
+                                       string interface_name,
+                                       string signal_name,
+@@ -80,7 +80,7 @@ class Application {
+     }
+ 
+     private void bus_name_lost_cb(DBusConnection connection,
+-                                  string sender_name,
++                                  string? sender_name,
+                                   string object_path,
+                                   string interface_name,
+                                   string signal_name,
diff -r 437155cb1d41 -r 3699e7cc0036 inputmethod/ibus/patches/patch-ui_gtk3_extension.vala
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/ibus/patches/patch-ui_gtk3_extension.vala     Sat Oct 17 05:25:46 2020 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ui_gtk3_extension.vala,v 1.1 2020/10/17 05:25:46 mef Exp $
+
+ Fix Error: 
+extension.vala:54.37-54.56: error: Argument 7: Cannot convert from `void ExtensionGtk.bus_name_acquired_cb (GLib.DBusConnection, string, string, string, string, GLib.Variant)' to `void 
GLib.DBusSignalCallback (GLib.DBusConnection, string?, string, string, string, GLib.Variant)'
+                                    bus_name_acquired_cb);
+                                    ^^^^^^^^^^^^^^^^^^^^
+   git clone https://github.com/ibus/ibus.git
+   git show dd4cc5b028c35f9bb8f
+ 
+   Info provided by @tristelo of Twitter, thanks
+
+--- ui/gtk3/extension.vala.orig        2020-10-17 05:13:08.696559322 +0000
++++ ui/gtk3/extension.vala
+@@ -67,7 +67,7 @@ class ExtensionGtk : Gtk.Application {
+ 
+ 
+     private void bus_name_acquired_cb(DBusConnection connection,
+-                                      string sender_name,
++                                      string? sender_name,
+                                       string object_path,
+                                       string interface_name,
+                                       string signal_name,
+@@ -78,7 +78,7 @@ class ExtensionGtk : Gtk.Application {
+     }
+ 
+     private void bus_name_lost_cb(DBusConnection connection,
+-                                  string sender_name,
++                                  string? sender_name,
+                                   string object_path,
+                                   string interface_name,
+                                   string signal_name,



Home | Main Index | Thread Index | Old Index