Accepting request 1156642 from GNOME:Next

Update for GNOME 46

OBS-URL: https://build.opensuse.org/request/show/1156642
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=251
This commit is contained in:
Dominique Leuenberger 2024-03-19 13:28:53 +00:00 committed by Git OBS Bridge
parent d53e42a8c9
commit 3e5176eca5
7 changed files with 74 additions and 16 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.80.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>

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

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7f59383fdd41b5b512349d9ff3b6b963236a2204fadb3e4ff389476806c522a
size 9083917

View File

@ -2,10 +2,6 @@ typelib(DBus) = 1.0
typelib(DBusGLib) = 1.0
typelib(GIRepository) = 2.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(cairo) = 1.0
typelib(fontconfig) = 2.0

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
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>

View File

@ -0,0 +1,4 @@
name: gobject-introspection
version: 1.80.0
mtime: 1710008586
commit: 2f3fe819bbb5b3bce1462fe02405c2f9ffdce0d3

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: gobject-introspection
Version: 1.78.1
Version: 1.80.0
Release: 0
# FIXME: Find a way to identify if we need python3-gobject or python-gobject from gi-find-deps.sh.
Summary: GObject Introspection Tools
@ -25,7 +25,7 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/GNOME
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.
Source1: gi-find-deps.sh
Source2: gobjectintrospection.attr
@ -36,18 +36,15 @@ Source99: %{name}-rpmlintrc
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: glib2-stage1-devel
BuildRequires: gtk-doc
#!BuildIgnore: glib2-devel
BuildRequires: meson >= 0.55.3
BuildRequires: pkgconfig
BuildRequires: python3-Mako
BuildRequires: python3-Markdown
BuildRequires: python3-devel
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
# gi-find-deps makes use of 'file' to identify the types.
Requires: file
@ -131,7 +128,7 @@ sed -i "s|%{_bindir}/env python|%{_bindir}/python|" %{buildroot}%{_bindir}/*
%files
%license COPYING COPYING.GPL
%doc NEWS README.rst TODO
%doc NEWS README.rst
%{_bindir}/g-ir-annotation-tool
%{_bindir}/g-ir-compiler
%{_bindir}/g-ir-doc-tool