./devel/glib2, Some useful routines for C programming (glib2)

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


Branch: CURRENT, Version: 2.88.3nb1, Package name: glib2-2.88.3nb1, Maintainer: prlw1

GLib provides the core application building blocks for libraries
and applications written in C. It provides the core object system
used in GNOME, the main loop implementation, and a large set of
utility functions for strings and common data structures.

This package contains GLib version 2.

DEINSTALL [+/-]

Required to run:
[devel/libffi] [devel/pcre]

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

Master sites:

Filesize: 5658.551 KB

Version history: (Expand)


CVS history: (Expand)


   2026-09-02 21:05:38 by Thomas Klausner | Files touched by this commit (3127)
Log message:
*: recursive bump for pcre2 10.48
   2026-08-09 04:32:02 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/glib2) move the line '#define _POSIX_C_SOURCE 200809L' a little bit eariler
   2026-08-09 00:59:54 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/glib2) Fix F_DUPFD_CLOEXEC undefined
   2026-08-01 19:26:11 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
glib2: updated to 2.88.3

Overview of changes in GLib 2.88.3, 2026-07-29

* Fix potential miscompilation with GCC 17 with `G_GNUC_CONST` on `get_type()`
  functions

* Bugs fixed:
  - G_GNUC_CONST vs get_type comes home to roost (Sam James)
  - (CVE-2026-15588) Security report: GDBusServer pre-authentication DoS
    via unbounded SASL line buffering (Philip Withnall)
  - !5225 Backport !5223 “Drop G_GNUC_CONST for *_get_type” to glib-2-88
  - !5241 Backport !5240 “gdbusauth: Limit length of lines read from client” to
    glib-2-88
  - !5242 Backport !5238 “gpoll: Correctly zero-out heap-allocated fd_sets on
    macOS” to glib-2-88
  - !5243 gdbusauth: Unmark a new string as translatable
  - !5259 Backport !5248, !5249: several Meson/gcc fixes to glib-2-88
   2026-06-26 14:51:44 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
glib2 glib2-tools gdbus-codegen: updated to 2.88.2

Overview of changes in GLib 2.88.2, 2026-06-25

* Bugs fixed:
  - !5178 Backport !5176 “gnulib: Fix unused flags variable warning” to
    glib-2-88
  - !5179 Update German translation
  - !5181 Update Thai translation
  - !5203 Update Basque translation
  - !5208 Update Italian translation
  - !5219 Backport !5209 “CI: set msys2-clang64 as default job for merges” to
    glib-2-88
  - !5220 Update Polish translation

* Translation updates:
  - Basque (Asier Saratsua Garmendia)
  - German (Jürgen Benvenuti)
  - Italian (Davide Ferracin)
  - Polish (Victoria Niedzielska)
  - Thai (Aefgh Threenine)
   2026-05-15 19:01:08 by Thomas Klausner | Files touched by this commit (139)
Log message:
*: switch to glib2-introspection

The gobject-introspection package installed _some_ of the introspection
files needed for glib2, but not all - some of them are built from the glib2
sources. glib2-introspection now contains all glib2-related introspection
files.

Add a tool dependency on the new package where needed.

Remove gobject-introspection from buildlink3.mk files - this is usually
a tool and should not be forwarded via buildlink3.

Some cleanups/fixes for -current while here.
   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-05-03 22:57:24 by Amitai Schleier | Files touched by this commit (2)
Log message:
glib2: allow pre-10.13 macOS to configure.