From 2395a24da397e3759761a90e33595016a113ce24 Mon Sep 17 00:00:00 2001 From: Maxython Date: Thu, 4 Jan 2024 15:18:32 +0300 Subject: [PATCH] experiment --- gpkg/gobject-introspection/build.sh | 7 + .../gir/1.78.1/GIRepository-2.0.xml | 8 + .../gir/1.78.1/GLib-2.0.xml | 59 + .../gir/1.78.1/GModule-2.0.xml | 4 + .../gir/1.78.1/GObject-2.0.xml | 43 + .../gir/1.78.1/Gio-2.0.xml | 1498 +++++++++++++++++ .../gir/GIRepository-2.0.xml | 8 + gpkg/gobject-introspection/gir/GLib-2.0.xml | 59 + .../gobject-introspection/gir/GModule-2.0.xml | 4 + .../gobject-introspection/gir/GObject-2.0.xml | 43 + gpkg/gobject-introspection/gir/Gio-2.0.xml | 1498 +++++++++++++++++ gpkg/gobject-introspection/meson.build.patch | 15 + 12 files changed, 3246 insertions(+) create mode 100644 gpkg/gobject-introspection/gir/1.78.1/GIRepository-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/1.78.1/GLib-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/1.78.1/GModule-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/1.78.1/GObject-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/1.78.1/Gio-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/GIRepository-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/GLib-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/GModule-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/GObject-2.0.xml create mode 100644 gpkg/gobject-introspection/gir/Gio-2.0.xml create mode 100644 gpkg/gobject-introspection/meson.build.patch diff --git a/gpkg/gobject-introspection/build.sh b/gpkg/gobject-introspection/build.sh index c8c1b06e7..89eb20ff2 100644 --- a/gpkg/gobject-introspection/build.sh +++ b/gpkg/gobject-introspection/build.sh @@ -13,5 +13,12 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" " termux_step_pre_configure() { + TERMUX_PKG_VERSION=. termux_setup_gir + TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dgi_cross_binary_wrapper=$GI_CROSS_LAUNCHER" + unset GI_CROSS_LAUNCHER + if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then + TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dgi_cross_use_prebuilt_gi=true" + fi + CPPFLAGS+="-I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} -I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION}/cpython" } diff --git a/gpkg/gobject-introspection/gir/1.78.1/GIRepository-2.0.xml b/gpkg/gobject-introspection/gir/1.78.1/GIRepository-2.0.xml new file mode 100644 index 000000000..7d33d73a6 --- /dev/null +++ b/gpkg/gobject-introspection/gir/1.78.1/GIRepository-2.0.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/1.78.1/GLib-2.0.xml b/gpkg/gobject-introspection/gir/1.78.1/GLib-2.0.xml new file mode 100644 index 000000000..7cae67722 --- /dev/null +++ b/gpkg/gobject-introspection/gir/1.78.1/GLib-2.0.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/1.78.1/GModule-2.0.xml b/gpkg/gobject-introspection/gir/1.78.1/GModule-2.0.xml new file mode 100644 index 000000000..dd94b6a9a --- /dev/null +++ b/gpkg/gobject-introspection/gir/1.78.1/GModule-2.0.xml @@ -0,0 +1,4 @@ + + + + diff --git a/gpkg/gobject-introspection/gir/1.78.1/GObject-2.0.xml b/gpkg/gobject-introspection/gir/1.78.1/GObject-2.0.xml new file mode 100644 index 000000000..d6b4ab792 --- /dev/null +++ b/gpkg/gobject-introspection/gir/1.78.1/GObject-2.0.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/1.78.1/Gio-2.0.xml b/gpkg/gobject-introspection/gir/1.78.1/Gio-2.0.xml new file mode 100644 index 000000000..3331596a2 --- /dev/null +++ b/gpkg/gobject-introspection/gir/1.78.1/Gio-2.0.xml @@ -0,0 +1,1498 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/GIRepository-2.0.xml b/gpkg/gobject-introspection/gir/GIRepository-2.0.xml new file mode 100644 index 000000000..7d33d73a6 --- /dev/null +++ b/gpkg/gobject-introspection/gir/GIRepository-2.0.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/GLib-2.0.xml b/gpkg/gobject-introspection/gir/GLib-2.0.xml new file mode 100644 index 000000000..7cae67722 --- /dev/null +++ b/gpkg/gobject-introspection/gir/GLib-2.0.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/GModule-2.0.xml b/gpkg/gobject-introspection/gir/GModule-2.0.xml new file mode 100644 index 000000000..dd94b6a9a --- /dev/null +++ b/gpkg/gobject-introspection/gir/GModule-2.0.xml @@ -0,0 +1,4 @@ + + + + diff --git a/gpkg/gobject-introspection/gir/GObject-2.0.xml b/gpkg/gobject-introspection/gir/GObject-2.0.xml new file mode 100644 index 000000000..d6b4ab792 --- /dev/null +++ b/gpkg/gobject-introspection/gir/GObject-2.0.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpkg/gobject-introspection/gir/Gio-2.0.xml b/gpkg/gobject-introspection/gir/Gio-2.0.xml new file mode 100644 index 000000000..3331596a2 --- /dev/null +++ b/gpkg/gobject-introspection/gir/Gio-2.0.xml @@ -0,0 +1,1498 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpkg/gobject-introspection/meson.build.patch b/gpkg/gobject-introspection/meson.build.patch new file mode 100644 index 000000000..0ad97a045 --- /dev/null +++ b/gpkg/gobject-introspection/meson.build.patch @@ -0,0 +1,15 @@ +--- a/meson.build ++++ b/meson.build +@@ -251,9 +249,9 @@ + pkgconfig_variables = [ + 'datadir=' + '${prefix}' / get_option('datadir'), + 'bindir=' + '${prefix}' / get_option('bindir'), +- 'g_ir_scanner=${bindir}/g-ir-scanner', +- 'g_ir_compiler=${bindir}/g-ir-compiler@0@'.format(exe_ext), +- 'g_ir_generate=${bindir}/g-ir-generate@0@'.format(exe_ext), ++ 'g_ir_scanner=g-ir-scanner', ++ 'g_ir_compiler=g-ir-compiler@0@'.format(exe_ext), ++ 'g_ir_generate=g-ir-generate@0@'.format(exe_ext), + 'gidatadir=${datadir}/gobject-introspection-1.0', + 'girdir=' + gir_dir_pc_prefix / 'gir-1.0', + 'typelibdir=${libdir}/girepository-1.0',