Open ghost opened 6 years ago
Temporary patch (gtk-sharp-profiler-startup.patch):
diff -Naur gtk-sharp.org/gtk/gui-thread-check/profiler/gui-thread-check.c gtk-sharp/gtk/gui-thread-check/profiler/gui-thread-check.c
--- gtk-sharp.org/gtk/gui-thread-check/profiler/gui-thread-check.c 2018-12-07 05:05:42.325500894 +0100
+++ gtk-sharp/gtk/gui-thread-check/profiler/gui-thread-check.c 2018-12-07 05:40:53.044438289 +0100
@@ -93,6 +93,6 @@
mono_profiler_install (NULL, NULL);
mono_profiler_install_enter_leave (simple_method_enter, NULL);
- mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE);
+ mono_profiler_set_events (1 << 12);
}
See also: https://github.com/flathub/org.gnome.gbrainy/pull/4#issue-236756221
How to upgrade to GTK+ 3.x ?
@zoujiaqing
How to upgrade to GTK+ 3.x ?
https://github.com/mono/gtk-sharp/releases/tag/2.99.3
Moreover, HEAD supports Gtk+3.
Temporary patch (gtk-sharp-profiler-startup.patch):
diff -Naur gtk-sharp.org/gtk/gui-thread-check/profiler/gui-thread-check.c gtk-sharp/gtk/gui-thread-check/profiler/gui-thread-check.c --- gtk-sharp.org/gtk/gui-thread-check/profiler/gui-thread-check.c 2018-12-07 05:05:42.325500894 +0100 +++ gtk-sharp/gtk/gui-thread-check/profiler/gui-thread-check.c 2018-12-07 05:40:53.044438289 +0100 @@ -93,6 +93,6 @@ mono_profiler_install (NULL, NULL); mono_profiler_install_enter_leave (simple_method_enter, NULL); - mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE); + mono_profiler_set_events (1 << 12); }
See also: flathub/org.gnome.gbrainy#4 (comment)
what does mono_profiler_set_events (1 << 12); means?
What is shit?
Why do I should not use Gtk Sharp 3.x What do I miss that?????
Please listen me! I want recompile for Gtk Sharp 3.xx for Mono and OpenTK. Because Mono assemblies was updated to 5.19.0 That is why I need "recompile" with Gtk Sharp 3 and OpenTK. But OpenTK is already recompiled but Gtk Sharp 3 not :(