#21259 closed enhancement (fixed)

gobject-introspection-1.84.0

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.4
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version

Change History (5)

comment:1 by Douglas R. Reno, 11 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 11 months ago

1.83.2

1.83.2 - 2025-03-01
-------------------

* Improve GType inspection helper [!494]
* Parse C11's _Alignas [#520]
* Respect custom Python binary [!503]
* Fix build on the latest Windows SDK [!498]
* Small performance improvement when looking up a signal information [!504]
* Use standard imports in the JavaScript templates for g-ir-doctool [!501]
* Ensure that enumeration members can be marked as deprecated [!512]
* Add more test coverage for structured union types [!348]
* Add an option to skip tests when building [!507]
* Fix various MSVC compatibility issues [!511]
* Add support for "static" virtual functions [!361]
* Allow specifying the format of the documentation inside doc blocks [!401]
* Handle C99's _Complex [!515]
* Consider UCRT64 and CLANG64 as mingw32 compilers [!516]
* Handle static NSString syntax [!518]
* Add instance parameter checks to strict validation [!506, !521]
* Documentation improvements [!481, !483, !485, !500]

* Add documentation to the RelaxNG schema :mr:`139` (David Bellot)
* tests: Fix compatibility with Python 3.5 :issue:`274` (Tomasz Miąsko)
* gir: Include C header in cairo gir file :mr:`138` (Tomasz Miąsko)
* tests: Add functions using flat struct arrays. :mr:`130` (Tomasz Miąsko)
  :mr:`125` (Tomasz Miąsko)
  :mr:`127` (Tomasz Miąsko)
  :mr:`128` (Tomasz Miąsko)
  (Tomasz Miąsko, :user:`Emmanuele Bassi <ebassi>`,
  :mr:`107` (Tomasz Miąsko)
  :mr:`111` :mr:`117` :mr:`119` (Tomasz Miąsko)
  (Tomasz Miąsko, :user:`Christoph Reiter <creiter>`)
  :issue:`254` (Tomasz Miąsko)
  :mr:`63` (Kai Kang)
  :mr:`20` (Tomasz Miąsko)
  :mr:`92` :mr:`94` :mr:`95` (Tomasz Miąsko)
  :mr:`76` (Tomasz Miąsko)
  :mr:`90` (Tomasz Miąsko)
  :mr:`96` :mr:`97` :issue:`66` (Tomasz Miąsko,
  :mr:`88` (Tomasz Miąsko)
  :mr:`78` (Tomasz Miąsko)
  :mr:`87` (Tomasz Miąsko)

1.83.4

1.83.4 - 2025-03-08
-------------------

* Revert support for "static" virtual functions [!526]

comment:3 by Douglas R. Reno, 11 months ago

This version of gobject-introspection causes a regression in glib that we'll need to patch for. The issue is evident when running the test suite, where "glib:girepository+no-valgrind+compiler / gi-compile-repository.py" fails.

I found the following lines in the log:

not ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
# gir path set to [PosixPath('/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
introspection')]
# gi-compile-repository: /sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
compiler/gi-compile-repository
# tmpdir: /tmp/tmpzuefndcv
# Running: ['/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/compiler/gi-
compile-repository', '/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
introspection/GObject-2.0.gir', '--output', '/tmp/tmpzuefndcv/GObject-2.typelib', '--
includedir', '/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection']
# Return code: 0
# Output:
#
# Error:
#  /sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection/GLib-2.0.gir:12:31: warning: element doc:format from state 3 is unknown, ignoring
# /sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection/GObject-2.0.gir:13:31: warning: element doc:format from state 3 is unknown, ignoring
  ---
    message: |
      Traceback (most recent call last):
        File "/sources/glib-2.84.0/glib-2.84.0/build-glib/../girepository/tests/gi-
compile-repository.py", line 101, in test_compile
          self.assertFalse(result.err)
          ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
      AssertionError: '/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/
introspection/GLib-2.0.gir:12:31: warning: element doc:format from state 3 is unknown, 
ignoring\n/sources/glib-2.84.0/glib-2.84.0/build-glib/girepository/introspection/
GObject-2.0.gir:13:31: warning: element doc:format from state 3 is unknown, ignoring' is 
not false

This was reported upstream at https://gitlab.gnome.org/GNOME/glib/-/issues/3634 and was fixed in https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4550

comment:4 by Douglas R. Reno, 11 months ago

The tests look a lot better with the patch:

Ok:                 391 
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            5   
Timeout:            0  

From the MR: "For the moment, this information isn’t needed in libgirepository — but the GIR parser does have to know about the element in order to not throw an error claiming it’s invalid."

comment:5 by Douglas R. Reno, 11 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.