Sync from SUSE:SLFO:Main gobject-introspection revision e1d8b3bca3fff3ddfb90c6be239001db

This commit is contained in:
Adrian Schröter 2024-11-12 12:12:03 +01:00
parent e748a36dd6
commit e2ae95b0b0
8 changed files with 134 additions and 17 deletions

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gobject-introspection.git</param>
<param name="revision">1.82.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@ -102,7 +102,7 @@ function javascript_requires {
done done
# some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME Maps) # some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME Maps)
# import 'gi://GeocodeGlib?version=2.0' # import 'gi://GeocodeGlib?version=2.0'
for module in $(grep -h -P -o "[']gi://([^']+)" $1 | sed "s|'gi://||"); do for module in $(grep -h -P -o "['\"]gi://([^'\"]+)" $1 | sed "s|['\"]gi://||"); do
split_name_versionjs_gi_name_version $module split_name_versionjs_gi_name_version $module
print_req_prov print_req_prov
done done
@ -222,6 +222,9 @@ while read file; do
*[Pp]ython*script*) *[Pp]ython*script*)
python_requires "$file" python_requires "$file"
;; ;;
*JavaScript*source*)
javascript_requires "$file"
;;
*ELF*) *ELF*)
gresources_requires "$file" gresources_requires "$file"
;; ;;

BIN
gobject-introspection-1.78.1.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
gobject-introspection-1.82.0.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -2,10 +2,6 @@ typelib(DBus) = 1.0
typelib(DBusGLib) = 1.0 typelib(DBusGLib) = 1.0
typelib(GIRepository) = 2.0 typelib(GIRepository) = 2.0
typelib(GL) = 1.0 typelib(GL) = 1.0
typelib(GLib) = 2.0
typelib(GModule) = 2.0
typelib(GObject) = 2.0
typelib(Gio) = 2.0
typelib(Vulkan) = 1.0 typelib(Vulkan) = 1.0
typelib(cairo) = 1.0 typelib(cairo) = 1.0
typelib(fontconfig) = 2.0 typelib(fontconfig) = 2.0

View File

@ -1,3 +1,100 @@
-------------------------------------------------------------------
Fri Sep 13 14:36:24 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.82.0:
+ Require GLib 2.82.0
-------------------------------------------------------------------
Tue Sep 3 16:30:21 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.81.4:
+ Add rpath when building the type dumper on macOS
+ Fix regression in the installation of GIRepository-2.0.typelib
-------------------------------------------------------------------
Tue Sep 3 12:32:09 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.81.2:
* Add strict mode warning for enumeration members starting with a
number
* Set deprecation message for signals and properties
* Fix HTML definition lists in the documentation generator
* Catch up with Python-Markdown 3.4 extension API changes
* Propagate scanner errors
* Do not break when parsing ARM SVE types in system headers
* Pair pointer GTypes with their opaque structure
* Fix property accessor pairing
* Handle pid_t, etc. as their own top-level types
* Add warning for closure annotation
* Warn on invalid callback annotations
* Make sure to set a GError with an invalid introspect-dump
string
* Move gobject-introspection tests to a submodule
* Remove dependency on distutils.msvccompiler
* Be more thorough about applying -Wl,--no-as-needed option
* Documentation and build fixes
-------------------------------------------------------------------
Mon Apr 29 11:46:08 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]
-------------------------------------------------------------------
Mon Apr 8 13:59:57 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- gi-find-deps.sh: further expand on the java script scanner.
-------------------------------------------------------------------
Thu Apr 4 08:14:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.80.1:
+ Require Python 3.8 when running mypy.
+ Ensure that POSIX types follow the target architecture.
+ Look for finish functions inside the list of constructors.
-------------------------------------------------------------------
Sat Mar 9 19:06:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.80.0:
+ Allow using `transfer none` with GClosure.
+ Only allow loading GIRepository-2.0.
+ Add marshalling tests for uninitialized and NaN arguments.
+ Check for setuptools when building with Python >= 3.12.
+ Add fallback doc elements for virtual functions.
+ Add doc elements for callback fields.
+ Support static inline declarations in the GIR.
+ Add annotations for sync, async, and async-finish functions in
the GIR.
+ Simplify the giscanner module build with Python >= 3.12.
+ Allow passing full shared library paths on Windows.
-------------------------------------------------------------------
Wed Mar 6 15:46:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildRequire glib2-stage1-devel to break a build cycle.
- Explcitly BuildIgnore glib2-devel (pulled in by gtk-doc).
-------------------------------------------------------------------
Tue Jan 16 13:34:38 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.79.1:
+ Build fixes
+ Require Meson ≥ 1.2
+ Avoid test failures with Python ≥ 3.12
+ Update the GIR schema, and validate GIR files as part of the
test suite
+ Support (not optional) annotation
+ Allow ownership transfer of structure types with copy/free
functions
- Changes from version 1.79.0:
+ Require GLib >= 2.79
+ Require Python >= 3.8
+ Simplify libtool use with wrappers
+ Drop GIO dependency from libgirepository
+ Do not install the GLib introspection data
- Convert to source service for easier updating.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 29 13:15:29 UTC 2023 - Frederic Crozat <fcrozat@suse.com> Wed Nov 29 13:15:29 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -0,0 +1,4 @@
name: gobject-introspection
version: 1.82.0
mtime: 1726232934
commit: e30c00acab2d7216e742d602988c935f787755d4

View File

@ -1,7 +1,7 @@
# #
# spec file for package gobject-introspection # spec file for package gobject-introspection
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: gobject-introspection Name: gobject-introspection
Version: 1.78.1 Version: 1.82.0
Release: 0 Release: 0
# FIXME: Find a way to identify if we need python3-gobject or python-gobject from gi-find-deps.sh. # FIXME: Find a way to identify if we need python3-gobject or python-gobject from gi-find-deps.sh.
Summary: GObject Introspection Tools Summary: GObject Introspection Tools
@ -25,7 +25,7 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/GObjectIntrospection URL: https://wiki.gnome.org/Projects/GObjectIntrospection
Source0: https://download.gnome.org/sources/gobject-introspection/1.78/%{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.zst
# gi-find-deps.sh is a rpm helper for Provides and Requires. Script creates typelib()-style Provides/Requires. # gi-find-deps.sh is a rpm helper for Provides and Requires. Script creates typelib()-style Provides/Requires.
Source1: gi-find-deps.sh Source1: gi-find-deps.sh
Source2: gobjectintrospection.attr Source2: gobjectintrospection.attr
@ -36,18 +36,15 @@ Source99: %{name}-rpmlintrc
BuildRequires: bison BuildRequires: bison
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
BuildRequires: glib2-stage1-devel >= 2.82.0
BuildRequires: gtk-doc BuildRequires: gtk-doc
#!BuildIgnore: glib2-devel
BuildRequires: meson >= 0.55.3 BuildRequires: meson >= 0.55.3
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-Mako BuildRequires: python3-Mako
BuildRequires: python3-Markdown BuildRequires: python3-Markdown
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-xml BuildRequires: python3-xml
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.75.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libffi) >= 3.0.0 BuildRequires: pkgconfig(libffi) >= 3.0.0
# gi-find-deps makes use of 'file' to identify the types. # gi-find-deps makes use of 'file' to identify the types.
Requires: file Requires: file
@ -126,12 +123,13 @@ diff -s %{SOURCE3} gobject-introspection-typelib.installed
%fdupes %{buildroot} %fdupes %{buildroot}
# fixup shebangs in files installed to /usr/bin # fixup shebangs in files installed to /usr/bin
sed -i "s|%{_bindir}/env python|%{_bindir}/python|" %{buildroot}%{_bindir}/* sed -i "s|%{_bindir}/env python|%{_bindir}/python|" %{buildroot}%{_bindir}/*
%python3_fix_shebang
%ldconfig_scriptlets -n libgirepository-1_0-1 %ldconfig_scriptlets -n libgirepository-1_0-1
%files %files
%license COPYING COPYING.GPL %license COPYING COPYING.GPL
%doc NEWS README.rst TODO %doc NEWS README.rst
%{_bindir}/g-ir-annotation-tool %{_bindir}/g-ir-annotation-tool
%{_bindir}/g-ir-compiler %{_bindir}/g-ir-compiler
%{_bindir}/g-ir-doc-tool %{_bindir}/g-ir-doc-tool