1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/glade/disable-python-module-test.patch
mio f8827b9acb community/glade: disable python module and test
The python module is incompatible with py3-gobject3 >= 3.52 which
migrated to the girepository-2.0 API.

```
Bail out! GLib-GObject-FATAL-CRITICAL: cannot register existing type 'GIRepository'

[...]

Summary of Failures:

2/5 modules        FAIL             2.93s   killed by signal 5 SIGTRAP
```
2025-05-18 07:35:49 +00:00

23 lines
955 B
Diff

diff -ruN a/tests/catalogs/pythonplugin.xml b/tests/catalogs/pythonplugin.xml
--- a/tests/catalogs/pythonplugin.xml 2022-08-10 20:24:25.000000000 +0000
+++ b/tests/catalogs/pythonplugin.xml 1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-<glade-catalog name="pythonplugin" library="gladepython"
-domain="glade-3" depends="gtk+">
- <init-function>glade_python_init</init-function>
-
- <glade-widget-classes>
- <glade-widget-class title="MyPythonBox" name="MyPythonBox" generic-name="MyPythonBox"/>
- </glade-widget-classes>
-</glade-catalog>
diff -ruN a/tests/modules.c b/tests/modules.c
--- a/tests/modules.c 2022-08-10 20:24:25.000000000 +0000
+++ b/tests/modules.c 2025-05-18 04:37:56.793830075 +0000
@@ -32,7 +32,6 @@
glade_init ();
glade_app_get ();
- g_test_add_data_func ("/Modules/Python", "MyPythonBox", test_object_class);
g_test_add_data_func ("/Modules/JavaScript", "MyJSGrid", test_object_class);
return g_test_run ();