Path to this page:
./
devel/glib2,
Some useful routines for C programming (glib2)
Branch: CURRENT,
Version: 2.88.0,
Package name: glib2-2.88.0,
Maintainer: prlw1GLib 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 [+/-]#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1 2011/02/20 17:40:54 jmmv Exp $
#
# Forcibly remove any auto-generated caches. The cache-regeneration tools
# should be doing this automatically when there are no more files in the
# directories they scan, but they don't. And, anyway, we need to do this
# if we want in-place updates of glib2 to work correctly.
#
GIO_MODULES_DIR="@GIO_MODULES_DIR@"
GLIB_SCHEMAS_DIR="@GLIB_SCHEMAS_DIR@"
case ${STAGE} in
DEINSTALL)
${RM} -f "${GIO_MODULES_DIR}/giomodule.cache"
${RM} -f "${GLIB_SCHEMAS_DIR}/gschemas.compiled"
;;
esac
Required to run:[
devel/libffi] [
devel/pcre]
Required to build:[
pkgtools/cwrappers] [
lang/python37] [
devel/meson]
Master sites:
Filesize: 5652.73 KB
Version history: (Expand)
- (2026-04-15) Updated to version: glib2-2.88.0
- (2026-03-15) Updated to version: glib2-2.86.4nb1
- (2026-02-16) Updated to version: glib2-2.86.4
- (2026-01-05) Updated to version: glib2-2.86.3
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
CVS history: (Expand)
| 2026-04-15 10:33:23 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
glib2: add new patch
|
2026-04-15 10:33:00 by Adam Ciarcinski | Files touched by this commit (6) |  |
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-03-15 17:37:42 by Tobias Nygren | Files touched by this commit (3) |
Log message:
glib2: copy over gobject-introspection's patch-girepository_gitypelib.c
Needed to make library loading for pkgsrc libraries work correctly
on macOS after py-gobject switched to girepository-2.0.
|
2026-02-16 11:07:59 by Adam Ciarcinski | Files touched by this commit (4) |  |
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) |  |
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-10-23 22:40:24 by Thomas Klausner | Files touched by this commit (2999) |
Log message:
*: recursive bump for pcre2
Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by \
/usr/pkg/lib/libglib-2.0.so.0 not defined
|
2025-08-10 21:04:30 by Adam Ciarcinski | Files touched by this commit (4) |  |
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-30 20:21:29 by Amitai Schleier | Files touched by this commit (2) |
Log message:
glib2: generate test6.gresource with UTF-8 as well. Fixes NetBSD build.
|