Compare commits

1 Commits
main ... 1.1

8 changed files with 20 additions and 189 deletions

View File

@@ -1,19 +0,0 @@
<?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.84.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,9 +222,6 @@ 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"
;; ;;
@@ -250,7 +247,7 @@ function inList() {
} }
# Confer with /usr/lib/rpm/platforms # Confer with /usr/lib/rpm/platforms
x64bitarch="aarch64 loongarch64 mips64 mips64el mips64r6 mips64r6el ppc64 ppc64le riscv64 s390x sparc64 x86_64" x64bitarch="aarch64 mips64 mips64el mips64r6 mips64r6el ppc64 ppc64le riscv64 s390x sparc64 x86_64"
for path in \ for path in \
$(for tlpath in \ $(for tlpath in \

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

Binary file not shown.

BIN
gobject-introspection-1.84.0.obscpio (Stored with Git LFS)

Binary file not shown.

View File

@@ -2,6 +2,10 @@ 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,152 +1,3 @@
-------------------------------------------------------------------
Sat Mar 15 14:06:09 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.84.0:
+ No changes, stable version bump only.
-------------------------------------------------------------------
Sat Mar 8 20:49:06 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.83.4:
+ Revert support for "static" virtual functions.
-------------------------------------------------------------------
Sat Mar 1 19:58:20 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.83.2:
+ Improve GType inspection helper
+ Parse C11's _Alignas
+ Respect custom Python binary
+ Fix build on the latest Windows SDK
+ Small performance improvement when looking up a signal
information
+ Use standard imports in the JavaScript templates for
g-ir-doctool
+ Ensure that enumeration members can be marked as deprecated
+ Add more test coverage for structured union types
+ Add an option to skip tests when building
+ Fix various MSVC compatibility issues
+ Add support for "static" virtual functions
+ Allow specifying the format of the documentation inside doc
blocks
+ Handle C99's _Complex
+ Consider UCRT64 and CLANG64 as mingw32 compilers
+ Handle static NSString syntax
+ Add instance parameter checks to strict validation
+ Documentation improvements
+ Add documentation to the RelaxNG schema
+ tests: Fix compatibility with Python 3.5
+ gir: Include C header in cairo gir file
+ tests: Add functions using flat struct arrays
-------------------------------------------------------------------
Fri Dec 6 09:18:48 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Fix dependency generation for loongarch64.
-------------------------------------------------------------------
Fri Nov 22 08:33:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- Add python3-setuptools Requires: needed for python 3.13 which
dropped distutils; setuptools now provides it.
-------------------------------------------------------------------
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>
@@ -324,7 +175,7 @@ Mon Feb 14 15:06:06 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 10 20:54:01 UTC 2022 - Dirk Müller <dmueller@suse.com> Thu Feb 10 20:54:01 UTC 2022 - Dirk Müller <dmueller@suse.com>
- use bash for bash scripts (bsc#1195391) - use bash for bash scripts (bsc#1195391)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 1 09:30:07 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com> Tue Feb 1 09:30:07 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -1,4 +0,0 @@
name: gobject-introspection
version: 1.84.0
mtime: 1742046644
commit: b45f51b000a5de089205d4552638f5fe66a71357

View File

@@ -1,7 +1,7 @@
# #
# spec file for package gobject-introspection # spec file for package gobject-introspection
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2023 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.84.0 Version: 1.78.1
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,32 +25,35 @@ 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: %{name}-%{version}.tar.zst Source0: https://download.gnome.org/sources/gobject-introspection/1.78/%{name}-%{version}.tar.xz
# 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
Source3: gobject-introspection-typelib.template Source3: gobject-introspection-typelib.template
Source98: baselibs.conf Source98: baselibs.conf
Source99: %{name}-rpmlintrc 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
Requires: libgirepository-1_0-1 = %{version} Requires: libgirepository-1_0-1 = %{version}
# gi-find-deps uses the enhanced grep variant in order to do multi-line matching (for pkg.requires(..)) # gi-find-deps uses the enhanced grep variant in order to do multi-line matching (for pkg.requires(..))
Requires: pcre2-tools Requires: pcre2-tools
Requires: python3-setuptools
Requires: python3-xml Requires: python3-xml
Requires: python(abi) = %{python3_version} Requires: python(abi) = %{python3_version}
@@ -123,13 +126,12 @@ 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 %doc NEWS README.rst TODO
%{_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