diff --git a/packages/gobject-introspection/build.sh b/packages/gobject-introspection/build.sh
index b1dbe35939..5298aa0381 100644
--- a/packages/gobject-introspection/build.sh
+++ b/packages/gobject-introspection/build.sh
@@ -2,14 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://gi.readthedocs.io/
TERMUX_PKG_DESCRIPTION="Uniform machine readable API"
TERMUX_PKG_LICENSE="LGPL-2.0, GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
-TERMUX_PKG_VERSION="1.78.1"
+TERMUX_PKG_VERSION="1.80.1"
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gobject-introspection/${TERMUX_PKG_VERSION%.*}/gobject-introspection-${TERMUX_PKG_VERSION}.tar.xz
-TERMUX_PKG_SHA256=bd7babd99af7258e76819e45ba4a6bc399608fe762d83fde3cac033c50841bb4
-TERMUX_PKG_AUTO_UPDATE=true
+TERMUX_PKG_SHA256=a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8
TERMUX_PKG_DEPENDS="glib, libffi"
TERMUX_PKG_SUGGESTS="g-ir-scanner"
TERMUX_PKG_DISABLE_GIR=false
-TERMUX_PKG_PYTHON_COMMON_DEPS="wheel"
+TERMUX_PKG_PYTHON_COMMON_DEPS="packaging, wheel"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dcairo_libname=libcairo-gobject.so
-Dpython=python
diff --git a/packages/gobject-introspection/gir/Bar-1.0.xml b/packages/gobject-introspection/gir/Bar-1.0.xml
new file mode 100644
index 0000000000..ad20711df8
--- /dev/null
+++ b/packages/gobject-introspection/gir/Bar-1.0.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/Everything-1.0.xml b/packages/gobject-introspection/gir/Everything-1.0.xml
new file mode 100644
index 0000000000..87ec2e1574
--- /dev/null
+++ b/packages/gobject-introspection/gir/Everything-1.0.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/packages/gobject-introspection/gir/GIMarshallingTests-1.0.xml b/packages/gobject-introspection/gir/GIMarshallingTests-1.0.xml
new file mode 100644
index 0000000000..34198cc963
--- /dev/null
+++ b/packages/gobject-introspection/gir/GIMarshallingTests-1.0.xml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/GLib-2.0.xml b/packages/gobject-introspection/gir/GLib-2.0.xml
index 7cae677227..01480be1b2 100644
--- a/packages/gobject-introspection/gir/GLib-2.0.xml
+++ b/packages/gobject-introspection/gir/GLib-2.0.xml
@@ -39,6 +39,10 @@
+
+
+
+
diff --git a/packages/gobject-introspection/gir/GetType-1.0.xml b/packages/gobject-introspection/gir/GetType-1.0.xml
new file mode 100644
index 0000000000..7d0addc638
--- /dev/null
+++ b/packages/gobject-introspection/gir/GetType-1.0.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/Gio-2.0.xml b/packages/gobject-introspection/gir/Gio-2.0.xml
index 3331596a2a..a9098bdb35 100644
--- a/packages/gobject-introspection/gir/Gio-2.0.xml
+++ b/packages/gobject-introspection/gir/Gio-2.0.xml
@@ -48,6 +48,7 @@
+
@@ -524,6 +525,7 @@
+
@@ -606,6 +608,7 @@
+
@@ -1208,6 +1211,7 @@
+
diff --git a/packages/gobject-introspection/gir/GtkFrob-1.0.xml b/packages/gobject-introspection/gir/GtkFrob-1.0.xml
new file mode 100644
index 0000000000..87ec2e1574
--- /dev/null
+++ b/packages/gobject-introspection/gir/GtkFrob-1.0.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/packages/gobject-introspection/gir/Offsets-1.0.xml b/packages/gobject-introspection/gir/Offsets-1.0.xml
new file mode 100644
index 0000000000..87ec2e1574
--- /dev/null
+++ b/packages/gobject-introspection/gir/Offsets-1.0.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/packages/gobject-introspection/gir/Regress-1.0.xml b/packages/gobject-introspection/gir/Regress-1.0.xml
new file mode 100644
index 0000000000..6d5074dd5d
--- /dev/null
+++ b/packages/gobject-introspection/gir/Regress-1.0.xml
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/SLetter-1.0.xml b/packages/gobject-introspection/gir/SLetter-1.0.xml
new file mode 100644
index 0000000000..354a5f2761
--- /dev/null
+++ b/packages/gobject-introspection/gir/SLetter-1.0.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/Typedefs-1.0.xml b/packages/gobject-introspection/gir/Typedefs-1.0.xml
new file mode 100644
index 0000000000..29d565ab5b
--- /dev/null
+++ b/packages/gobject-introspection/gir/Typedefs-1.0.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/Utility-1.0.xml b/packages/gobject-introspection/gir/Utility-1.0.xml
new file mode 100644
index 0000000000..3cc1644235
--- /dev/null
+++ b/packages/gobject-introspection/gir/Utility-1.0.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/packages/gobject-introspection/gir/WarnLib-1.0.xml b/packages/gobject-introspection/gir/WarnLib-1.0.xml
new file mode 100644
index 0000000000..a75f4759e4
--- /dev/null
+++ b/packages/gobject-introspection/gir/WarnLib-1.0.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/packages/gobject-introspection/meson-python.diff b/packages/gobject-introspection/meson-python.diff
index 176de7c876..8dc618452b 100644
--- a/packages/gobject-introspection/meson-python.diff
+++ b/packages/gobject-introspection/meson-python.diff
@@ -1,7 +1,6 @@
-diff -uNr gobject-introspection/giscanner/meson.build gobject-introspection.mod/giscanner/meson.build
---- gobject-introspection/giscanner/meson.build 2021-06-03 13:43:38.060569823 +0000
-+++ gobject-introspection.mod/giscanner/meson.build 2021-06-03 13:55:08.705053742 +0000
-@@ -98,24 +98,12 @@
+--- a/giscanner/meson.build
++++ b/giscanner/meson.build
+@@ -95,29 +95,12 @@
dependencies: [glib_dep, gobject_dep, gio_dep, gmodule_dep],
)
@@ -21,27 +20,31 @@ diff -uNr gobject-introspection/giscanner/meson.build gobject-introspection.mod/
link_with: giscanner_lib,
c_args: gi_hidden_visibility_cflags + custom_c_args,
include_directories : configinc,
-- dependencies: [glib_dep, gobject_dep, gio_dep, gmodule_dep,
-- python_ext_dep],
+- dependencies: [
+- glib_dep,
+- gobject_dep,
+- gio_dep,
+- gmodule_dep,
+- python_ext_dep,
+- ],
+ dependencies: [glib_dep, gobject_dep, gio_dep, gmodule_dep],
+ link_args: '-lpython@PYTHON_VERSION@',
install: true,
install_dir: giscannerdir,
)
-diff -uNr gobject-introspection/meson.build gobject-introspection.mod/meson.build
---- gobject-introspection/meson.build 2021-06-03 13:43:38.062569940 +0000
-+++ gobject-introspection.mod/meson.build 2021-06-03 13:57:59.063038610 +0000
-@@ -3,6 +3,7 @@
- meson_version: '>= 0.58.2',
+--- a/meson.build
++++ b/meson.build
+@@ -4,6 +4,7 @@
default_options: [
+ 'c_std=gnu99',
'warning_level=2',
+ 'c_link_args=-lpython@PYTHON_VERSION@',
'buildtype=debugoptimized',
],
)
-@@ -157,9 +158,6 @@
- libffi_dep = dependency('libffi',
- fallback : ['libffi', 'ffi_dep'])
+@@ -174,9 +175,6 @@
+ output: 'config.h'
+ )
-# python headers
-cc.check_header('Python.h', dependencies: [python.dependency()], required: true)
diff --git a/packages/gobject-introspection/meson.build.patch b/packages/gobject-introspection/meson.build.patch
index ce578ffe45..9e7445aa11 100644
--- a/packages/gobject-introspection/meson.build.patch
+++ b/packages/gobject-introspection/meson.build.patch
@@ -1,7 +1,7 @@
--- a/meson.build
+++ b/meson.build
-@@ -151,7 +152,7 @@
- fallback : ['libffi', 'ffi_dep'])
+@@ -155,7 +155,7 @@
+ libffi_dep = dependency('libffi')
if not (host_system == 'darwin' and host_arch == 'aarch64' or
- host_system == 'linux' and libffi_dep.version().version_compare('>= 3.4'))
@@ -9,10 +9,10 @@
config.set('LEGACY_GIRFFI_FREE', 1)
endif
-@@ -251,9 +249,9 @@
+@@ -265,9 +265,9 @@
+ endif
+
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),