./devel/gdbus-codegen, Generate code and/or documentation for one or more D-Bus interfaces

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 2.88.1, Package name: gdbus-codegen-2.88.1, Maintainer: prlw1

This package provides the gdbus-codegen utility. gdbus-codegen is used
to generate code and/or documentation for one or more D-Bus interfaces.

gdbus-codegen reads D-Bus Introspection XML and generates output files.
It currently supports generating C source code or header and DocBook
XML.


Required to run:
[textproc/py-expat] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/meson]

Master sites:

Filesize: 5653.609 KB

Version history: (Expand)


CVS history: (Expand)


   2026-05-26 21:01:41 by Benny Siegert | Files touched by this commit (1)
Log message:
gdbus-codegen: more details for PLIST

For Rob Whitlock in PR pkg/60108
   2026-05-04 11:01:44 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.88.1

Overview of changes in GLib 2.88.1, 2026-05-02

* Fix miscompilation with GCC 16 due to GLib’s use of the wrong function
  attribute (!5145, work by Sam James)

* Fix flag confusion security issue when using `GRegex` with `G_REGEX_RAW` which
  can result in unbounded out-of-bounds heap reads off the start of a regex
  input string

* Fix various minor (low severity) security issues, typically one-to-five-byte
  out-of-bounds reads or ones relying on
  very specific (and unlikely) API calls or ones relying on
  discouraged P2P D-Bus configurations (work by linhlhq)

* Bugs fixed:
  - Buffer Over-read on GLib through glib/gvariant-
    serialiser.c:1253 via gvs_tuple_is_normal() (Philip Withnall)
  - OOB Read on GLib through
    glib/gmarkup.c:g_markup_escape_text() via
    glib/gmarkup.c:append_escaped_text() (Philip Withnall)
  - OOB Read on GLib through
    glib/gdatetime.c:g_date_time_get_ymd via invalid `GDateTime` (Philip
    Withnall)
  - Buffer Over-read on GLib's g_regex_replace()
    through glib/gregex.c:string_append() via g_utf8_next_char() (Philip
    Withnall)
  - Buffer Over-read on GLib through
    glib/gregex.c:g_regex_split_full() via glib/gutf8.c:g_utf8_prev_char()
    (Philip Withnall)
  - Buffer Over-read on GLib through glib/giochannel.c
    via "g_io_channel_read_line_backend" (Philip Withnall)
  - Off-by-one Error on GLib through glib/gkeyfile.c
    via "g_key_file_get_locale_string_list" (Philip Withnall)
  - Path Traversal on GLib DBus through
    glib/gio/gdbusauthmechanismsha1.c via keyring_lookup_entry,
    mechanism_client_data_receive (COOKIE_SHA1 Client Authentication) leads to
    Arbitrary File Read (Philip Withnall)
  - Integer overflow in g_dbus_message_bytes_needed() bypasses 128 MiB
    size check (pre-auth DoS on P2P connections) (Philip Withnall)
  - Update Serbian translation
  - docs: Expand docs for GLIB_VERSION_MAX_ALLOWED
  - gmarkup: fix type of length parameter of text_validate()
  - Update Russian translation
  - Update Polish translation
  - docs: Remove myself from CODEOWNERS
  - Update Slovak translation
  - Backport various recent security fixes to GVariant, GMarkup, GDateTime
    and GRegex to glib-2-88
  - Backport !5145 “gvarianttype: use pure attribute, not inappropriate
    const” to glib-2-88
  - Update Slovak translation
  - Update German translation
  - Update Slovak translation
  - Update Slovak translation
  - Update Persian translation
  - Backport !5170 !5171 !5172 !5173 Various security fixes to glib-2-88

* Translation updates:
  - German (Christian Kirbach)
  - Persian (Danial Behzadi)
  - Polish (Victoria Niedzielska)
  - Russian (Artur S0)
  - Serbian (Марко Костић)
  - Slovak (Jose Riha)
   2026-04-15 10:33:00 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.88.0

Overview of changes in GLib 2.88.0, 2026-03-16

* Bugs fixed:
  - gslice: Factor out a size helper macro and stop using MAX in a public
    header
   2026-02-16 11:07:59 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.86.4

Overview of changes in GLib 2.86.4, 2026-02-13

* Fix several security vulnerabilities of varying severity (see below for
  details)

* Bugs fixed:
  - glib-compile-resources: Incorrect compiler detection on Windows when
    building GTK causes a DoS (L. E. Segovia)
  - Iterating over a short (preallocated) GVariant bytestring invalidly
    refs a NULL GBytes (Christian Hergert)
  - (CVE-2026-1484) (YWH-PGM9867-168) Integer Overflow -> Buffer Underflow
    on Glib through glib/gbase64.c via g_base64_encode_close() leads to OOB
    Write (Marco Trevisan)
  - (CVE-2026-1485) (#YWH-PGM9867-169) Buffer underflow on Glib through
    gio/gcontenttype-fdo.c via parse_header() lead to OOB Read/Write (Marco
    Trevisan)
  - (CVE-2026-1489) (#YWH-PGM9867-171) Integer Overflow on Glib through
    glib/guniprop.c via output_marks() lead to OOB Write in
    glib/gutf8.c:g_unichar_to_utf8() (Marco Trevisan (Treviño))
  - Update Romanian translation glib-2-86
  - Backport !4954 “glib-compile-resources: Always assume MSVC compiler if
    VCINSTALLDIR is set” to glib-2-86
  - Backport !4960 “glib/gvariant: add failing test for bytestring and fix
    it” to glib-2-86
  - [glib-2-86] gbase64: Use gsize to prevent potential overflow
  - [glib-2-86] gio/gcontenttype-fdo: Do not overflow if header is longer
    than MAXINT
  - [glib-2-86] guniprop: Use size_t for output_marks length
  - Update Kazakh translation

* Translation updates:
  - Kazakh (Baurzhan Muftakhidinov)
  - Romanian (Antonio Marin)
   2026-01-05 13:44:55 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.86.3

Overview of changes in GLib 2.86.3, 2025-12-08

* Fix several security vulnerabilities of varying severity (see below for
  details)

* Bugs fixed:
  - (CVE-2025-13601) (#YWH-PGM9867-134) Incorrect calculation of buffer
    size in g_escape_uri_string() (Philip Withnall)
  - (#YWH-PGM9867-145) Buffer underflow on Glib through glib/gvariant via
    bytestring_parse() or string_parse() leads to OOB Write (Philip Withnall)
  - GIO: Integer overflow in file attribute escaping (Philip Withnall)
  - Backport !4901 “Issue 3819: G_FILE_MONITOR_WATCH_HARD_LINK does not
    monitor files on Windows.” to glib-2-86
  - Backport !4914 “gconvert: Error out if g_escape_uri_string() would
    overflow” to glib-2-86
  - Backport !4933 “gvariant-parser: Fix potential integer overflow
    parsing (byte)strings” to glib-2-86
  - Backport !4935 “gfileattribute: Fix integer overflow calculating
    escaping for byte strings” to glib-2-86

Overview of changes in GLib 2.86.2, 2025-11-18

* Fix tests when run against pcre2 10.47 (3809, work by Marco Trevisan and
  others)

* Bugs fixed:
  - GRegex tests fail with pcre2 10.47: different error for ^(a)\g{3
    (Marco Trevisan (Treviño))
  - g_get_user_special_dir doesn't strip trailing slash from $HOME/
    (Tobias Stoeckmann)
  - Backport "gresolver: Fix loopback detection of IPv6 addresses"
  - Backport !4884 “gregex: Handle PCRE2_ERROR_MISSING_NUMBER_TERMINATOR
    if defined” to glib-2-86
  - Backport !4860 “Fix g_memory_monitor_base_query_mem_ratio on Solaris”
    to glib-2-86
  - Backport !4886 “gutils: Strip all trailing slashes” to glib-2-86

Overview of changes in GLib 2.86.1, 2025-10-21

* Bugs fixed:
  - GIRepository: union fields offsets for compiled typelibs all have
    offset 0xffff (unknown) (Philip Chimento)
  - `gio/tests/socket-listener` requires dlsym
  - GLib.OptionContext's get_help() includes width of invisible options
    (FeRD (Frank Dana))
  - [CI] Pipeline on 'main' failed for commit c31c4a52 (Tobias Stoeckmann)
  - Memory leak related to g_get_home_dir (Michael Catanzaro)
  - Gio.AppInfo.launch_default_for_uri_async crashes with non-existent
    paths (Philip Withnall)
  - GNetworkMonitor's netlink backend doesn't notify connectivity change
    (Philip Withnall)
  - https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/
  - ghash: Fix entry_is_big for CHERI architecture
  - ghash: Handle all table sizes in iterator
  - gbookmarkfile: Escape icon href and mime-type
  - docs: Add Luca Bacci as a co-maintainer of the Windows code
  - Update Ukrainian translation
  - Update Catalan translation
  - Update Lithuanian translation
  - tests: Fix clang compilation warnings
  - gmem: Replace SIZE_OVERFLOWS with g_size_checked_mul
  - Update Brazilian Portuguese translation
  - Update eu translation
  - Update Korean translation
  - Update Japanese translation
  - Update Galician translations
  - Update Hungarian translation
  - gstrfuncs: Check string length in g_strescape
  - gutils: Improve load_user_special_dirs' user-dirs.dirs parser
  - Update Turkish translation
  - Trivial backport of "gutils: Handle singletons in unlocked functions"
    to glib-2-86 branch
  - Backport translation updates to glib-2-86
  - Backport !4820 “gio/tests: Fix a race condition in
    /gdbus/connection/flush” to glib-2-86
  - Backport !4827 “ghostutils: Treat 0x80 (and above) as non-ASCII” to
    glib-2-86
  - Backport !4810 and !4819, various fixes to user-dirs.dirs handling in
    gutils
  - Backport !4835 “Update Portuguese translation” to glib-2-86
  - Update Romanian translation
  - Backport "girnode: Fix computation of union member offsets" to
    glib-2-86
  - Update British English translation (2.86)
  - Backport !4859 “gopenuriportal: Fix a crash when the file can’t be
    opened” to glib-2-86
  - Backport !4792 “gtype: Use transfer none for types (un)ref functions”
    to glib-2-86
  - Fix macOS and msys2 CI builds on glib-2-86 branch
  - Backport !4871 “gnetworkmonitorbase: Add missing notify::connectivity
    signal” to glib-2-86

* Translation updates:
  - Basque (Asier Saratsua Garmendia)
  - Catalan (Jordi Mas)
  - English (United Kingdom) (Bruce Cowan)
  - Esperanto (Kristjan ESPERANTO)
  - Galician (Fran Dieguez)
  - Hungarian (Balázs Úr)
  - Japanese (Makoto Sakaguchi)
  - Korean (Changwoo Ryu)
  - Lithuanian (Aurimas Černius)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Rafael Fontenelle)
  - Romanian (Antonio Marin)
  - Serbian (Милош Поповић)
  - Turkish (Sabri Ünal)
  - Ukrainian (Yuri Chornoivan)

Overview of changes in GLib 2.86.0, 2025-09-05

* Rework how platform-specific introspected GIO APIs have to be imported to fix
  problems with backwards-compatibility provision for it, by removing duplicate
  platform-specific symbols from `Gio-2.0`. Users of platform-specific GIO APIs
  should be unaffected, as `GIRepository` will now automatically import
  `GioWin32-2.0` or `GioUnix-2.0` when asked to import `Gio-2.0`. However,
  projects generating introspection data which depends on types from either of
  those platform-specific GIRs must make sure they depend on those GIRs
  explicitly, rather than just transitively depending on them through `Gio-2.0`
  (3744, work by Emmanuele Bassi, Marco Trevisan, Florian Müllner, and others)

* Fix file existence queries on Solaris, broken due to unexpected flags handling
  within `faccessat()` (3770, work by Niveditha Rau)

* Bugs fixed:
  - GDesktopAppInfo API disappeared after girepository-2.0 port (Emmanuele
    Bassi)
  - g_test_trap_subprocess does not check G_TEST_SUBPROCESS_INHERIT_STDIN
    (Philip Withnall)
  - gtestutils: Fix a slightly broken example in a doc comment
  - Update Polish translation 250825
  - Update Swedish translation
  - gio: gmemorymonitorpsi: Replace GRegex with g_str_has_prefix()
  - girepository: Add an assertion to help scan-build
  - glocalfile: Disable faccessat()-based query_exists on Solaris
  - gmessages: Fix win32_keep_fatal_message regression
  - docs: Fix typos
  - Update Chinese translation
  - Update Georgian translation
  - po: Update Persian translation.

* Translation updates:
  - Chinese (China) (lumingzh)
  - Georgian (NorwayFun)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Swedish (Anders Jonsson)
   2025-08-10 21:04:30 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.84.4

Overview of changes in GLib 2.84.4, 2025-08-08
==============================================

* Bugs fixed:
  - (CVE-2025-7039) (#YWH-PGM9867-104) Buffer Under-read on GLib through
    glib/gfileutils.c via get_tmp_file() (Michael Catanzaro)
  - GFile leak in g_local_file_set_display_name during error handling
    (Philip Withnall, Michael Catanzaro)
  - Backport !4667 “Incorrect output parameter handling in closure helper
    of g_settings_bind_with_mapping_closures” to glib-2-84
  - Backport !4674 “gfileutils: fix computation of temporary file name” to
    glib-2-84
  - Backport !4677 and !4678 “Fix GFile leak in
    g_local_file_set_display_name()” to glib-2-84
  - Backport !4696 “gthreadpool: Catch pool_spawner creation failure” to
    glib-2-84
  - Backport !4702 “gio/filenamecompleter: Fix leaks” to glib-2-84
  - Backport !4708 “gfilenamecompleter: Fix g_object_unref() of undefined
    value” to glib-2-84
   2025-06-25 13:11:24 by Kimmo Suominen | Files touched by this commit (4) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.84.3

Overview of changes in GLib 2.84.3, 2025-06-13
- Bugs fixed:
  - !4656 Backport !4655 “gstring: Fix overflow check when expanding
    the string” to glib-2-84

Fixes CVE-2025-6052
   2025-05-27 21:07:43 by Adam Ciarcinski | Files touched by this commit (7) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.84.2

Overview of changes in GLib 2.84.2, 2025-05-20

* Bugs fixed:
  - Backport “gclosure: fix ATOMIC_CHANGE_FIELD to read vint
    atomically” to glib-2-84
  - Backport “Windows: fix wrong typelib path” to glib-2-84
  - Backport "gstring: carefully handle gssize parameters"
  - Backport “Update macOS job for new CI runner” to glib-2-84
  - Backport “gdate: Call tzset before localtime_r” to glib-2-84
  - Backport -Wsign-conversion fixes for g_get_locale_variants() from
    to glib-2-84
  - Backport “glocalfile: Disable faccessat()-based query_exists on
    Android” to glib-2-84

Overview of changes in GLib 2.84.1, 2025-04-03

* Fix test failure when building against gobject-introspection ≥1.83.4

* Bugs fixed:
  - 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10:
    fatal error: netlink/netlink_route.h: No such file or directory (Philip
    Withnall)
  - test failure with gobject-introspection 1.83.4: warning: element
    doc:format from state 3 is unknown, ignoring (Philip Withnall)
  - gio/trash does not handle special characters well
  - `g_cancellable_connect()` documentation incorrect (Marco Trevisan
    (Treviño))
  - g_cancellable_connect(): is it safe to unref cancellable from
    callback? (Marco Trevisan (Treviño))
  - Crash with some registry key values in GWin32AppInfo (Philip Withnall)
  - Memory sanitizer fixes
  - gobject: Be consistent in using atomic logic to handle the
    GParamSpecPool
  - gsettings: Port docs to gi-docgen format, add missing annotations and
    make various improvements
  - tests: Don't install runner scripts without installed_tests
  - Update French translation
  - Update Catalan translation
  - Update Turkish translation
  - Updated Danish translation
  - Update Persian translation
  - docs: Document GSignalFlags members added after 2.0
  - Update Indonesian translation
  - tests: Add a test for g_object_freeze_notify() being called too often
  - gfileinfo: Slightly expand docs for
    g_file_info_get_attribute_as_string()
  - gi: Dynamically set doc-format
  - tests: Various fixes to create temporary files in /tmp rather than the
    build directory
  - gdbusnameowning: Convert docs to gi-docgen linking syntax
  - giounix-private: Fix macro for checking for epoll_create1()
  - Fix LGPL in header
  - gutils: make documentation of g_set_prgname() clearer
  - docs: Add some detail
  - Update Romanian translation
  - gspawn-win32: Fix potential integer overflows in argv handling
  - gvarianttype: Improve docs on type validation

* Translation updates:
  - Catalan (Jordi Mas)
  - Danish (Ask Hjorth Larsen)
  - French (Vincent Chatelain)
  - Indonesian (Andika Triwidada)
  - Persian (Danial Behzadi)
  - Romanian (Antonio Marin)
  - Turkish (Sabri Ünal)

Overview of changes in GLib 2.84.0, 2025-03-06

* Bugs fixed:
  - Update Slovenian (sl) translation in glib
  - Update Korean translation
  - tests: Minor fixes to reference and stream-rw_all tests
  - gdebugcontrollerdbus: Fix a minor typo in a code example in the docs
  - Update Hungarian translation

* Translation updates:
  - Hungarian (Balázs Úr)
  - Korean (Changwoo Ryu)
  - Slovenian (Martin)