diff --git a/gi-find-deps.sh b/gi-find-deps.sh index 4ac5031e05253884a7b39cd46c76f45ad1280010..bbbf22799d4346a2eb1d2254f35d3c6993c51d09 100755 --- a/gi-find-deps.sh +++ b/gi-find-deps.sh @@ -173,7 +173,8 @@ function typelib_requires { split_name_version $(basename $1 | sed 's,.typelib$,,') oldIFS=$IFS IFS=$'\n' - for req in $(g-ir-inspect --print-shlibs --print-typelibs $symbol --version $version); do + for req in $(g-ir-inspect --print-shlibs --print-typelibs $symbol --version $version 2>/dev/null) \ + $(gi-inspect-typelib --print-shlibs --print-typelibs $symbol --typelib-version $version 2>/dev/null); do case $req in typelib:*) module=${req#typelib: } diff --git a/gobject-introspection.spec b/gobject-introspection.spec index 4261ec5298aef19bb343ae97aaab94dd2d025d00..fe4901a50a3aead2c65a705dec8b673df9b84b69 100644 --- a/gobject-introspection.spec +++ b/gobject-introspection.spec @@ -2,7 +2,7 @@ Name: gobject-introspection Version: 1.84.0 -Release: 2 +Release: 3 Summary: Introspection system for GObject-based libraries License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause URL: https://gi.readthedocs.io/ @@ -47,6 +47,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2%{?_isa} >= %{glib2_version} Requires: libtool Requires: /usr/bin/file +Requires: /usr/bin/gi-inspect-typelib Requires: /usr/bin/pcre2grep Requires: python3-mako Requires: python3-markdown @@ -104,6 +105,9 @@ diff -s %{S:3} gobject-introspection-typelib.installed %{_mandir}/man1/*.1* %changelog +* Wed Aug 20 2025 Funda Wang - 1.84.0-3 +- Output reqs also for GIRepository 3.0 typelibs + * Sat Jun 07 2025 Funda Wang - 1.84.0-2 - re-enable requires dependency generator - force new version of vala for doc format