Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package onboard for openSUSE:Factory checked in at 2025-05-07 19:17:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/onboard (Old) and /work/SRC/openSUSE:Factory/.onboard.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "onboard" Wed May 7 19:17:21 2025 rev:10 rq:1274960 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/onboard/onboard.changes 2025-01-21 21:11:21.621163809 +0100 +++ /work/SRC/openSUSE:Factory/.onboard.new.30101/onboard.changes 2025-05-07 19:17:27.889706981 +0200 @@ -1,0 +2,9 @@ +Tue May 6 06:51:10 UTC 2025 - BZZZZ DZZZZ <[email protected]> + +- Add patch: onboard-stdbool.patch. + Make onboard possible to compile on openSUSE Tumbleweed. +- Add patch: onboard-fix-crash-on-hover.patch. + Don't crash on hover if "Input event source:" is "XInput". + https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/2063041 + +------------------------------------------------------------------- New: ---- onboard-fix-crash-on-hover.patch onboard-stdbool.patch BETA DEBUG BEGIN: New: Make onboard possible to compile on openSUSE Tumbleweed. - Add patch: onboard-fix-crash-on-hover.patch. Don't crash on hover if "Input event source:" is "XInput". New: - Add patch: onboard-stdbool.patch. Make onboard possible to compile on openSUSE Tumbleweed. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ onboard.spec ++++++ --- /var/tmp/diff_new_pack.RBPIwq/_old 2025-05-07 19:17:28.773743824 +0200 +++ /var/tmp/diff_new_pack.RBPIwq/_new 2025-05-07 19:17:28.777743990 +0200 @@ -29,6 +29,8 @@ # PATCH-FIX-SLE onboard-remove-dep-typelib-appindicator3.patch fate#326794 [email protected] -- remove the typelib(Appindicator3) dependency because SLE does not ship it Patch0: onboard-remove-dep-typelib-appindicator3.patch Patch1: onboard-Onboard-Config.py-Check-desktop-env-before-requestin.patch +Patch2: onboard-stdbool.patch +Patch3: onboard-fix-crash-on-hover.patch BuildRequires: fdupes BuildRequires: gcc-c++ # Needed for typelib() - Requires. @@ -98,6 +100,8 @@ %patch -P 0 -p1 %endif %patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 %build python3 setup.py build ++++++ onboard-fix-crash-on-hover.patch ++++++ --- NO-EDIT-onboard-1.4.1/Onboard/osk/osk_devices.c +++ onboard-1.4.1/Onboard/osk/osk_devices.c @@ -794,19 +794,26 @@ } } return False; } +static inline void +indirect_PyGILState_Release (PyGILState_STATE *gs) +{ + PyGILState_Release(*gs); +} + static GdkFilterReturn osk_devices_event_filter (GdkXEvent *gdk_xevent, GdkEvent *gdk_event, OskDevices *dev) { XGenericEventCookie *cookie = &((XEvent *) gdk_xevent)->xcookie; if (cookie->type == GenericEvent && cookie->extension == dev->xi2_opcode) { + __attribute__((cleanup(indirect_PyGILState_Release))) PyGILState_STATE gs = PyGILState_Ensure(); int evtype = cookie->evtype; XIEvent *event = cookie->data; //XIDeviceEvent *e = cookie->data; //printf("device %d evtype %d type %d detail %d win %d\n", e->deviceid, evtype, e->type, e->detail, (int)e->event); ++++++ onboard-stdbool.patch ++++++ --- NO-EDIT-onboard-1.4.1/Onboard/osk/osk_module.h +++ onboard-1.4.1/Onboard/osk/osk_module.h @@ -23,11 +23,11 @@ #define __OSK_MODULE__ #include <Python.h> #include <structmember.h> -typedef enum { false, true } bool; +#include <stdbool.h> /** * Python2 to Python3 conversion **/ #if PY_MAJOR_VERSION >= 3
