pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Sep 22 04:06:12 UTC 2026

Modified Files:
        pkgsrc/devel/gdbus-codegen: distinfo
        pkgsrc/devel/glib2: Makefile Makefile.common PLIST distinfo
        pkgsrc/devel/glib2-introspection: Makefile
        pkgsrc/devel/glib2/patches: patch-gio_tests_iptosmessage.c
            patch-glib_gspawn-posix.c patch-glib_gthread.c

Log Message:
devel/glib2{,-introspection,-tools],devel/gdbus-codege: Update to 2.90.0

Changelog:
Overview of changes in GLib 2.90.0, 2026-09-09
==============================================

* Bugs fixed:
  - #4038 G_DEFINE_TYPE parent_class variable trips clang 23's -Wunused-but-set-
    global (Sunil Dora)
  - #4040 `-Wtypedef-redefinition` warnings from `GDBusActionGroup` when
    building 2.89.4 with clang (Hyunsik Parker)
  - !5311 fix: handle long filenames in trash by truncating from front
  - !5319 Update Norwegian Bokmål translation
  - !5325 Update Polish translation
  - !5326 Update Czech translation
  - !5327 Update Hebrew translation
  - !5328 tests: allocate an adequate alternate signal stack
  - !5329 Update Turkish translation
  - !5331 Update French translation
  - !5333 Update Uighur translation
  - !5334 Update Korean translation
  - !5339 Update Russian translation
  - !5342 Update Serbian translation
  - !5343 Update Hungarian translation
  - !5344 Update Danish translation
  - !5346 gtestutils: Mark a TLS variable as not really a leak
  - !5347 goutputstream: Fix an unused-variable warning with G_DISABLE_ASSERT

* Translation updates:
  - Czech (Daniel Rusek)
  - Danish (Ask Hjorth Larsen)
  - French (Guillaume Bernard)
  - Hebrew (Yaron Shahrabani)
  - Hungarian (Balázs Úr)
  - Korean (Changwoo Ryu)
  - Norwegian Bokmål (Kjartan Maraas)
  - Polish (Victoria Niedzielska)
  - Russian (Artur S0)
  - Serbian (Марко Костић)
  - Turkish (Emin Tufan Çetin)
  - Uighur (Abduqadir Abliz)

Overview of changes in GLib 2.89.4, 2026-08-23
==============================================

 - Improve support for nanosecond source timeouts (#4012, #4018, #4025,
   GNOME/mutter#4994, work by Benjamin Otte)

 - Fix installed service file containing build path (#4011, work by
   Jaipaul Cheernam)

 - Support clicking notification icons on Windows (!5019, work by otaxhu)

 - Improve stream splice performance by increasing buffer size (!5316, work by
   Christian Hergert)

* Bugs fixed:
  - #1936 Potentially enable gbitlock USE_ASM_GOTO with clang9+ ? (Luca Bacci)
  - #3359 1bit-emufutex test fails under ASAN / TSAN (Luca Bacci)
  - #3695 TSan data race in gobject / binding test (Luca Bacci)
  - #3836 filenamecompleter test fails on Hurd (Philip Withnall)
  - #3992 (CVE-2026-16118) (#YWH-PGM9867-233) Heap Overflow on GLib through
    _xdg_mime_magic_parse_magic_line() in gio/xdgmime/xdgmimemagic.c via
    Incorrect Byte-Swap Pointer Arithmetic on MIME magic content in user-
    writable XDG data location
  - #4003 GDesktopAppInfo should validate desktop file path snippets (Philip
    Withnall)
  - #4011 gio/tests/services: Installed service file contains build path after
    !5259 (Jaipaul Cheernam)
  - #4012 glib:monotonic-time-ns/similar random failures on riscv64 (Benjamin
    Otte)
  - #4018 mainloop test fails with test_timeouts_ns() assertion failure
    (Benjamin Otte)
  - #4019 documentportal test fails on Hurd as g_unix_fd_query_path() is not
    supported (Kashyap Ekbote)
  - #4020 ‘TLS callback not invoked’ error on msys2-clang64 CI job (Luca Bacci)
  - #4023 pollable test fails on FreeBSD (Ting-Wei Lan)
  - #4025 tests/monotonic-time: test_similar is racy under scheduling jitter
    (Benjamin Otte)
  - GNOME/mutter#4994 Test timeout: core+mutter/backends/native - mutter:thread
    (Benjamin Otte)
  - !5019 gnotification-win32: Handling notification icon click
  - !5022 gnotification-backend: Setting application as a GObject property
  - !5260 docs: Update path to information about installing GLib
  - !5263 Minor test and GKeyFile fixes
  - !5266 docs: Fix gio gi-docgen docs_url
  - !5267 build: fix grab-gio-dll-paths.py invocation in case glib is a
    subproject
  - !5268 Update Czech translation
  - !5269 Update Georgian translation
  - !5270 glocalfile: Honour x-gvfs-trash/x-gvfs-notrash from fstab mount points
  - !5271 Update Ukrainian translation
  - !5272 Update Chinese (China) translation
  - !5274 Update Slovenian translation
  - !5275 Update Georgian translation
  - !5276 Update Ukrainian translation
  - !5277 ci: Add a ubsan job
  - !5280 Update Chinese (China) translation
  - !5281 Update Romanian translation
  - !5282 Update Persian translation
  - !5284 Update Occitan translation
  - !5288 Update Basque translation
  - !5290 Update Brazilian Portuguese translation
  - !5291 Update Catalan translation
  - !5293 Update Galician translation
  - !5294 Update Lithuanian translation
  - !5295 Update Hebrew translation
  - !5296 fix a potentially quadratic-time regex to be linear.
  - !5297 Fix utils-isolated test failure when running as root
  - !5299 Update Belarusian translation
  - !5301 localfileinfo: Fix swapped selinux context symlink logic
  - !5305 Update Bulgarian translation
  - !5308 build: Some test dependencies fixes
  - !5309 Handle some thread sanitizer races
  - !5310 gbsearcharray: Fix a -Wsign-conversion warning in
    G_BSEARCH_UPPER_POWER2
  - !5312 mkenums: remove use of deprecated os.path.commonprefix()
  - !5313 docs: Remove Jonathan Matthew as a co-maintainer
  - !5315 Update Kazakh translation
  - !5316 gio/outputstream: increase splice buffer size
  - !5317 Update Occitan translation
  - !5318 Update Swedish translation

* Translation updates:
  - Basque (Asier Saratsua Garmendia)
  - Belarusian (Vasil Pupkin)
  - Bulgarian (Alexander Alexandrov Shopov)
  - Catalan (Xavi Ivars)
  - Chinese (China) (luming zh)
  - Czech (Daniel Rusek)
  - Galician (Francisco Diéguez Souto)
  - Georgian (Ekaterine Papava)
  - Hebrew (Yaron Shahrabani)
  - Kazakh (Baurzhan Muftakhidinov)
  - Lithuanian (Aurimas Černius)
  - Occitan (post 1500) (Quentin PAGÈS)
  - Persian (Danial Behzadi)
  - Portuguese (Brazil) (Luiggi Cardoso)
  - Romanian (Antonio Marin)
  - Slovenian (Martin)
  - Swedish (Anders Jonsson)
  - Ukrainian (Yuri Chornoivan)

Overview of changes in GLib 2.89.3, 2026-07-29
==============================================

* Support systemd-style UAPI file masking and drop-ins for `GKeyFile` (#3622,
  work by Stefan Schubert)

* Add some string and date convenience API, `g_string_free_deep()` and
  `g_set_date_time()` (!4919, !5193, work by Peter Eisenmann)

* Add some convenience API to `GUnixFDList` (!5233, work by Sebastian Wick)

* Bugs fixed:
  - #3622 Support UAPI file masking and drop-ins in GKeyFile
  - #3994 gio/tests: iptosmessage does not compile on Solaris
  - #3999 fd leak in `g_file_set_contents_full()` on error? (Kondor Dániel)
  - #4007 gio-tool: crash (assertion failed) when running 'gio help help' (Jose
    Carlos Leiva)
  - !4919 Add g_string_free_deep
  - !5193 datetime: Add g_set_date_time
  - !5230 giostream: Clarify is_closed() method docs for streams
  - !5233 gunixfdlist: Add g_unix_fd_list_append_take, g_unix_fd_list_peek,
    g_unix_fd_list_lookup, g_unix_fd_list_lookup_peek
  - !5246 gtestutils: Fix a minor typo in a documentation comment
  - !5248 tests: Minor compiler warning fixes for GCC16
  - !5249 build: Fix a deprecation warning from Meson 1.12
  - !5251 docs: Use dedicated docblocks for new enum members
  - !5252 docs: Annotate callbacks rather than user_data
  - !5254 Add finer accuracy g_timeout APIs
  - !5255 gdbusnameowning: Don't print any logs when connection is closed
  - !5257 Avoid reserved identifiers in public macros

Overview of changes in GLib 2.89.2, 2026-07-14
==============================================

* Fix potential miscompilation with GCC 17 with `G_GNUC_CONST` on `get_type()`
  functions (#3984, work by Sam James)

* Update toolchain requirement to C11; previously this was just strongly
  recommended (!3574, work by Emmanuele Bassi)

* Bugs fixed:
  - #2931 GMemoryMonitor should have a backend for systemd MEMORY_PRESSURE_WATCH
    API (Kate Hsuan)
  - #3719 gspawn-win32-helper-console.exe fails on Windows with UNC path (Andrew
    Ziem)
  - #3984 G_GNUC_CONST vs get_type comes home to roost (Sam James)
  - #3985 Security report: GDBusServer pre-authentication DoS via unbounded SASL
    line buffering (Philip Withnall)
  - #3986 GDBusActionGroupClass failure (Philip Withnall)
  - !3574 Update toolchain requirement to C11
  - !5222 GNetworkMonitor: Stop pulling route table on sd-networkd hosts
  - !5224 gquark: Fix an incorrect G_GNUC_CONST annotation on
    g_quark_to_string()
  - !5226 fuzzing: Skip build if oss-fuzz and tests are both omitted
  - !5232 gnetworkmonitornetlink: Performance improvements by following iproute2
    behavior
  - !5234 gmain: fix poll.h include order on AIX
  - !5235 tests: Fix gi-inspect-typelib.py on Visual Studio
  - !5236 gio/tests: skip unsupported IP TOS tests on AIX
  - !5237 gdbus-serialization.c: Avoid g_autofree
  - !5238 gpoll: Correctly zero-out heap-allocated fd_sets on macOS
  - !5244 Update Romanian translation
  - !5245 Update Slovenian translation
  - !5247 gdbusnameowning: Downgrade ReleaseName warning on closed connection to
    debug

* Translation updates:
  - Romanian (Antonio Marin)
  - Slovenian (Martin)

Overview of changes in GLib 2.89.1, 2026-06-25
==============================================

* Bugs fixed:
  - #3972 g_thread_yield() may not yield control to another thread as expected
    on Linux.
  - !5086 gio: gmemorymonitordbus: Fix fallback backends can't be properly
    loaded when...
  - !5184 gregex: Remove "array length" annotations
  - !5190 win32-build.md: Update Visual Studio build info
  - !5191 Don't use slow content type for icons when only fast content is
    queried
  - !5192 Update Romanian translation
  - !5195 Update Slovenian translation
  - !5196 Performance improvements to GVariant/GDBusMessage
  - !5197 docs: fix wrong reference to gint16 for gint32 types in glib/types.md
  - !5198 Add missing finish-func annotations
  - !5199 gregex: g_match_info_fetch_pos() and g_match_info_fetch_all() will now
    work after partial matches as well
  - !5200 gdatetime: Clarify docs around comparisons across time zones
  - !5201 docs: GI annotation fixes for GCancellable
  - !5202 Update Slovenian translation
  - !5205 tests: Fix various leaks spotted by ASAN
  - !5206 docs + tests: fix docs and add unit test about g_try_new with zero
    n_structs
  - !5207 Update Romanian translation
  - !5209 CI: Set msys2-clang64 as default job for merges
  - !5210 docs: add missing reference to g_rc_box_new0 and g_atomic_rc_box_new0
    and others in Reference Counting page
  - !5211 gutf8: Eliminate redundant double-traversal in g_utf8_substring
  - !5213 gsocket: Improve docs for g_socket_get_fd()
  - !5214 gerror: Add missing introspection annotations
  - !5216 Use dlopen to access environ on FreeBSD
  - !5218 gvariant: Check for overflow in g_variant_new_fixed_array()
  - !5221 meson: Override girepository-2.0 when glib is used as subproject

* Translation updates:
  - Romanian (Antonio Marin)
  - Slovenian (Martin)

Overview of changes in GLib 2.89.0, 2026-05-20
==============================================

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

* Integrate better with the System Trash on macOS (#1161, work by Byoungchan Lee)

* Add `g_set_strv()`, `g_set_strv_take()` and `g_set_str_take()` convenience
  functions (#3907, !5118, work by Christian Hergert and Philip Withnall)

* 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 (#3919, work by linhlhq)

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

* Add support for `GTypeInstance`-derived types in generic marshaller (#3954,
  work by Christian Hergert)

* Change `g_get_num_processors()` to report number of performance cores, rather
  than number of performance+low-power cores on macOS (!5153, work by John Cupitt)

* Add support for `XDG_PROJECTS_DIR` special directory (!5141, work by
  Emmanuele Bassi and Jakub Steiner)

* Bugs fixed:
  - #1161 g_file_trash() Files not moved to System Trash on Mac OSX
  - #1853 DBus activated GApplications and G_APPLICATION_HANDLES_OPEN (Guido
    Günther)
  - #2173 g_ascii_strtod() spec doesn't match C99/C11 standard for underflow
    behavior (depuc8)
  - #3069 gio/trash test fails on macOS
  - #3791 g_error causes -Wanalyzer-infinite-loop warnings in downstream code
    (correctmost)
  - #3854 GRegex uses int for string length (Philip Withnall)
  - #3907 Add g_set_strv() helper similar to g_set_str() (Christian Hergert)
  - #3911 GMarkup chokes on BOM
  - #3915 (#YWH-PGM9867-190) Buffer Over-read on GLib through glib/gvariant-
    serialiser.c:1253 via gvs_tuple_is_normal() (Philip Withnall)
  - #3916 (#YWH-PGM9867-187) OOB Read on GLib through
    glib/gmarkup.c:g_markup_escape_text() via
    glib/gmarkup.c:append_escaped_text() (Philip Withnall)
  - #3917 (#YWH-PGM9867-191) OOB Read on GLib through
    glib/gdatetime.c:g_date_time_get_ymd via invalid `GDateTime` (Philip
    Withnall)
  - #3918 (#YWH-PGM9867-193) Buffer Over-read on GLib's g_regex_replace()
    through glib/gregex.c:string_append() via g_utf8_next_char() (Philip
    Withnall)
  - #3919 (#YWH-PGM9867-194) Buffer Over-read on GLib through
    glib/gregex.c:g_regex_split_full() via glib/gutf8.c:g_utf8_prev_char()
    (Philip Withnall)
  - #3925 (#YWH-PGM9867-199) Buffer Over-read on GLib through glib/giochannel.c
    via "g_io_channel_read_line_backend" (Philip Withnall)
  - #3930 (#YWH-PGM9867-200) Off-by-one Error on GLib through glib/gkeyfile.c
    via "g_key_file_get_locale_string_list" (Philip Withnall)
  - #3931 (#YWH-PGM9867-203)  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)
  - #3932 (#YWH-PGM9867-204) Integer Underflow (CWE-191) on GLib through
    gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml" (Philip
    Withnall)
  - #3933 Integer overflow in g_dbus_message_bytes_needed() bypasses 128 MiB
    size check (pre-auth DoS on P2P connections) (Philip Withnall)
  - #3954 Generic marshaller lacks support for GTypeInstance derived types
    (Christian Hergert)
  - #3958 FTBFS for vs2019-arm64 in libcharset due to undefined _CountOneBits64
  - !4990 gdbusauthmechanismsha1: Ignore G_DBUS_COOKIE_SHA1_KEYRING_DIR when
    suid
  - !5094 gtestdbus: Keep config file around until bus daemon exits
  - !5099 liststore: Micro-optimize no-op bulk operations
  - !5101 Update Serbian translation
  - !5102 g_base64_decode_step: fix documented type of in
  - !5103 gdbusmessage: Documentation improvements
  - !5105 docs: Expand docs for GLIB_VERSION_MAX_ALLOWED
  - !5106 gmarkup: Add api to get attribute locations
  - !5107 gmessages: Remove incorrect callback annotations
  - !5110 gmarkup: fix type of length parameter of text_validate()
  - !5111 Update Russian translation
  - !5112 docs: Clarify default/user signal handlers
  - !5113 Update Polish translation
  - !5114 docs: Remove myself from CODEOWNERS
  - !5115 build: Post-release version bump
  - !5116 Update Slovenian translation
  - !5117 fuzzing: Add a fuzz test for g_markup_escape_text()
  - !5118 gstrfuncs: Add g_set_str_take() helper function
  - !5119 tests: Check that g_markup_escape_text() returns something parseable
  - !5120 Update Chinese (China) translation
  - !5121 gio: Apply property accessor annotations to GDBus types
  - !5123 Update Romanian translation
  - !5124 gvariant: Tweak GVariantIter heap allocation casting
  - !5125 gregex: Fix some missing Markdown formatting in docs
  - !5126 Add missing annotations
  - !5127 libffi: don't build testsuite when building as subproject
  - !5128 gmarkup: Swap the argument order for g_realloc_n()
  - !5136 docs: Clarify UTF-8 validity for functions which accept a length
  - !5138 Update Slovenian translation
  - !5140 Update Romanian translation
  - !5141 Support XDG_PROJECTS_DIR
  - !5142 gsocketconnection: Fix annotations for get_socket()
  - !5145 gvarianttype: use pure attribute, not inappropriate const
  - !5146 gmessages: Add missing stdlib.h include for abort()
  - !5148 registrysettingsbackend: Chain up vfuncs
  - !5149 gtype: Improve G_DEFINE and G_DECLARE docs
  - !5153 g_get_num_processors(): on macOS, report n_pcore
  - !5155 Update German translation
  - !5157 Update Dutch translation
  - !5158 gsocket: Fix g_socket_new_from_fd() on unbound sockets on windows
  - !5159 gvariant: Tweak GVariantIter heap allocation size
  - !5161 [docs] Gio.MenuModel: Fix bulleted list
  - !5162 gvariant: Match allocation size of g_slice_new to g_slice_free
  - !5163 gvariant test: Fix a leak
  - !5164 tests: Avoid undefined signed left-shift in bitlock test
  - !5167 docs: Add docs for G_GNUC_FLAG_ENUM
  - !5176 gnulib: Fix unused flags variable warning
  - !5177 gio/tests/pollable.c: Fix test on FreeBSD
  - !5180 meson: Add valgrind suppression file to VALGRIND_OPTS in devenv
  - !5182 Meson: Don't hardcode FFI_STATIC_BUILD / G_INTL_STATIC_COMPILATION
  - !5183 gio/tests/pollable.c: Conditionalize on FreeBSD version in the
    /dev/null test case
  - !5185 gio/gdesktopappinfo: Add precondition assertions
  - !5187 Add safety documentation regarding use of g_shell_quote()
  - !5188 Improve performance of g_array_maybe_expand()

* Translation updates:
  - Chinese (China) (luming zh)
  - Dutch (Nathan Follens)
  - German (Christian Kirbach)
  - Polish (Victoria Niedzielska)
  - Romanian (Antonio Marin)
  - Russian (Artur S0)
  - Serbian (Марко Костић)
  - Slovenian (Martin)


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/devel/gdbus-codegen/distinfo
cvs rdiff -u -r1.316 -r1.317 pkgsrc/devel/glib2/Makefile
cvs rdiff -u -r1.133 -r1.134 pkgsrc/devel/glib2/Makefile.common
cvs rdiff -u -r1.170 -r1.171 pkgsrc/devel/glib2/PLIST
cvs rdiff -u -r1.350 -r1.351 pkgsrc/devel/glib2/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/glib2-introspection/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/glib2/patches/patch-gio_tests_iptosmessage.c \
    pkgsrc/devel/glib2/patches/patch-glib_gspawn-posix.c
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/glib2/patches/patch-glib_gthread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gdbus-codegen/distinfo
diff -u pkgsrc/devel/gdbus-codegen/distinfo:1.63 pkgsrc/devel/gdbus-codegen/distinfo:1.64
--- pkgsrc/devel/gdbus-codegen/distinfo:1.63    Sat Aug  1 17:26:11 2026
+++ pkgsrc/devel/gdbus-codegen/distinfo Tue Sep 22 04:06:12 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.63 2026/08/01 17:26:11 adam Exp $
+$NetBSD: distinfo,v 1.64 2026/09/22 04:06:12 ryoon Exp $
 
-BLAKE2s (glib-2.88.3.tar.xz) = 44b95662b78afc2bd2e1f839da7cc00e790495c481a13d5332fc6a35bacbd258
-SHA512 (glib-2.88.3.tar.xz) = 9e2b4985d5e4e06c6897a33cf8c100b9303528ebd72152c10e4cb734fa62fc011c84b816b20f686a3b2aac9a4a5a46f33e7517b4c4c7f3c25c75ac3ddc11f844
-Size (glib-2.88.3.tar.xz) = 5794356 bytes
+BLAKE2s (glib-2.90.0.tar.xz) = 5d43c6d0f427980cf32c72a0625c4b74068f94f6fc51dc76aac50107f7216007
+SHA512 (glib-2.90.0.tar.xz) = 5ca18b4e89d0efef40d6921c33903cad242ac664e4125e8161fa7d0f0c9c65c9a7ff61d9e3ac3eb7b780b7e113392a87d12b402000f8af76b8050ddae26d0a01
+Size (glib-2.90.0.tar.xz) = 5830480 bytes
 SHA1 (patch-meson.build) = 03229e9f8302c09907e7b5f6366f16505efc3ad5

Index: pkgsrc/devel/glib2/Makefile
diff -u pkgsrc/devel/glib2/Makefile:1.316 pkgsrc/devel/glib2/Makefile:1.317
--- pkgsrc/devel/glib2/Makefile:1.316   Wed Sep  2 19:01:25 2026
+++ pkgsrc/devel/glib2/Makefile Tue Sep 22 04:06:12 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.316 2026/09/02 19:01:25 wiz Exp $
+# $NetBSD: Makefile,v 1.317 2026/09/22 04:06:12 ryoon Exp $
 
-PKGREVISION= 1
 .include "Makefile.common"
 
 CATEGORIES=    devel gnome

Index: pkgsrc/devel/glib2/Makefile.common
diff -u pkgsrc/devel/glib2/Makefile.common:1.133 pkgsrc/devel/glib2/Makefile.common:1.134
--- pkgsrc/devel/glib2/Makefile.common:1.133    Sat Aug  1 17:26:11 2026
+++ pkgsrc/devel/glib2/Makefile.common  Tue Sep 22 04:06:12 2026
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.common,v 1.133 2026/08/01 17:26:11 adam Exp $
+# $NetBSD: Makefile.common,v 1.134 2026/09/22 04:06:12 ryoon Exp $
 # used by devel/gdbus-codegen/Makefile
 # used by devel/glib2/Makefile
 # used by devel/glib2-tools/Makefile
 # used by devel/glib2-introspection/Makefile
 
-DISTNAME=      glib-2.88.3
+DISTNAME=      glib-2.90.0
 PKGNAME=       ${DISTNAME:S/glib/glib2/}
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/glib/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/devel/glib2/PLIST
diff -u pkgsrc/devel/glib2/PLIST:1.170 pkgsrc/devel/glib2/PLIST:1.171
--- pkgsrc/devel/glib2/PLIST:1.170      Sat Aug  1 17:26:11 2026
+++ pkgsrc/devel/glib2/PLIST    Tue Sep 22 04:06:12 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.170 2026/08/01 17:26:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.171 2026/09/22 04:06:12 ryoon Exp $
 ${PLIST.nococoa}bin/gapplication
 bin/gdbus
 bin/gi-compile-repository
@@ -325,22 +325,22 @@ include/glib-2.0/gobject/gvaluetypes.h
 lib/glib-2.0/include/glibconfig.h
 lib/libgio-2.0.so
 lib/libgio-2.0.so.0
-lib/libgio-2.0.so.0.8800.3
+lib/libgio-2.0.so.0.9000.0
 lib/libgirepository-2.0.so
 lib/libgirepository-2.0.so.0
-lib/libgirepository-2.0.so.0.8800.3
+lib/libgirepository-2.0.so.0.9000.0
 lib/libglib-2.0.so
 lib/libglib-2.0.so.0
-lib/libglib-2.0.so.0.8800.3
+lib/libglib-2.0.so.0.9000.0
 lib/libgmodule-2.0.so
 lib/libgmodule-2.0.so.0
-lib/libgmodule-2.0.so.0.8800.3
+lib/libgmodule-2.0.so.0.9000.0
 lib/libgobject-2.0.so
 lib/libgobject-2.0.so.0
-lib/libgobject-2.0.so.0.8800.3
+lib/libgobject-2.0.so.0.9000.0
 lib/libgthread-2.0.so
 lib/libgthread-2.0.so.0
-lib/libgthread-2.0.so.0.8800.3
+lib/libgthread-2.0.so.0.9000.0
 lib/pkgconfig/gio-2.0.pc
 lib/pkgconfig/gio-unix-2.0.pc
 lib/pkgconfig/girepository-2.0.pc
@@ -354,8 +354,8 @@ ${PLIST.nococoa}libexec/gio-launch-deskt
 share/aclocal/glib-2.0.m4
 share/aclocal/glib-gettext.m4
 share/aclocal/gsettings.m4
-share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.8800.3-gdb.py
-share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.8800.3-gdb.py
+share/gdb/auto-load${LOCALBASE}/lib/libglib-2.0.so.0.9000.0-gdb.py
+share/gdb/auto-load${LOCALBASE}/lib/libgobject-2.0.so.0.9000.0-gdb.py
 share/gettext/its/gschema.its
 share/gettext/its/gschema.loc
 share/glib-2.0/dtds/gresource.dtd

Index: pkgsrc/devel/glib2/distinfo
diff -u pkgsrc/devel/glib2/distinfo:1.350 pkgsrc/devel/glib2/distinfo:1.351
--- pkgsrc/devel/glib2/distinfo:1.350   Sun Aug  9 02:32:02 2026
+++ pkgsrc/devel/glib2/distinfo Tue Sep 22 04:06:12 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.350 2026/08/09 02:32:02 mef Exp $
+$NetBSD: distinfo,v 1.351 2026/09/22 04:06:12 ryoon Exp $
 
-BLAKE2s (glib-2.88.3.tar.xz) = 44b95662b78afc2bd2e1f839da7cc00e790495c481a13d5332fc6a35bacbd258
-SHA512 (glib-2.88.3.tar.xz) = 9e2b4985d5e4e06c6897a33cf8c100b9303528ebd72152c10e4cb734fa62fc011c84b816b20f686a3b2aac9a4a5a46f33e7517b4c4c7f3c25c75ac3ddc11f844
-Size (glib-2.88.3.tar.xz) = 5794356 bytes
+BLAKE2s (glib-2.90.0.tar.xz) = 5d43c6d0f427980cf32c72a0625c4b74068f94f6fc51dc76aac50107f7216007
+SHA512 (glib-2.90.0.tar.xz) = 5ca18b4e89d0efef40d6921c33903cad242ac664e4125e8161fa7d0f0c9c65c9a7ff61d9e3ac3eb7b780b7e113392a87d12b402000f8af76b8050ddae26d0a01
+Size (glib-2.90.0.tar.xz) = 5830480 bytes
 SHA1 (patch-gio_gcredentialsprivate.h) = f719ae41a9eb1d2f04d866b246fa5176543f2df9
 SHA1 (patch-gio_gdbus-2.0_codegen_meson.build) = 9bd0befe0dd547f6f2d818e52bee14e31a017ac7
 SHA1 (patch-gio_glib-compile-schemas.c) = 4fc8e8ba62bef01762007ebf21569053374808d0
@@ -11,15 +11,15 @@ SHA1 (patch-gio_gunixcredentialsmessage.
 SHA1 (patch-gio_gunixmounts.c) = c5d6f75c9b77078682ba171243108cb850b0faab
 SHA1 (patch-gio_inotify_inotify-kernel.c) = 78544b4c32ef3b44e8721b1c07407f46a9e8c8a4
 SHA1 (patch-gio_meson.build) = 818a1edffec511e70e4b71e639d349816d6b009e
-SHA1 (patch-gio_tests_iptosmessage.c) = 8a62ba3a79032d8e37bcfa8ccdda8448fee22a96
+SHA1 (patch-gio_tests_iptosmessage.c) = bb17313eb0eecfbc9b2c64c877b4871824b79f6a
 SHA1 (patch-gio_tests_meson.build) = 864fb2e438c4537e37c2c2e39388d0d0e1795c8c
 SHA1 (patch-girepository_gitypelib.c) = 6a5a49ac9a746028115e261820a2b0f1c1380ea2
 SHA1 (patch-glib_gatomic.c) = 5d08e19cc1c2557a5c007af8b368968217ce65b0
 SHA1 (patch-glib_gatomic.h) = d1c39c3594a5c89d196349e5eafb5512795f55f8
 SHA1 (patch-glib_genviron.c) = 45e382a4b5412c69b310fd26482eff6faffa2c0d
 SHA1 (patch-glib_glib-unix.c) = 1c7ef6437680317f5e28c3e75bca26cfec48351f
-SHA1 (patch-glib_gspawn-posix.c) = ac7536dbb14662d9a8ea27fb32ca911a3b4ab43d
-SHA1 (patch-glib_gthread.c) = 2485f63f27090f99e846c3b58432f6450cc95158
+SHA1 (patch-glib_gspawn-posix.c) = cc5789c94aaaa3b0c586f882bd948610912019d1
+SHA1 (patch-glib_gthread.c) = 52cedcf40ad82af9b9f45315aacf63a8abd93fd5
 SHA1 (patch-glib_tests_hash.c) = a7e19ca55fcbbc0b188c34755cae5b6b65b67f1a
 SHA1 (patch-glib_tests_include.c) = 12d98caebfb87c1146821d518c37c45f97fc7be0
 SHA1 (patch-glib_tests_meson.build) = 40ce43a49ae7084116facac6b3926c5e545f6721

Index: pkgsrc/devel/glib2-introspection/Makefile
diff -u pkgsrc/devel/glib2-introspection/Makefile:1.5 pkgsrc/devel/glib2-introspection/Makefile:1.6
--- pkgsrc/devel/glib2-introspection/Makefile:1.5       Wed Sep  2 19:01:26 2026
+++ pkgsrc/devel/glib2-introspection/Makefile   Tue Sep 22 04:06:12 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2026/09/02 19:01:26 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2026/09/22 04:06:12 ryoon Exp $
 
-PKGREVISION= 1
 .include "../../devel/glib2/Makefile.common"
 
 PKGNAME=       glib2-introspection-${DISTNAME:S/^glib-//}

Index: pkgsrc/devel/glib2/patches/patch-gio_tests_iptosmessage.c
diff -u pkgsrc/devel/glib2/patches/patch-gio_tests_iptosmessage.c:1.1 pkgsrc/devel/glib2/patches/patch-gio_tests_iptosmessage.c:1.2
--- pkgsrc/devel/glib2/patches/patch-gio_tests_iptosmessage.c:1.1       Wed Apr 15 08:33:23 2026
+++ pkgsrc/devel/glib2/patches/patch-gio_tests_iptosmessage.c   Tue Sep 22 04:06:12 2026
@@ -1,31 +1,31 @@
-$NetBSD: patch-gio_tests_iptosmessage.c,v 1.1 2026/04/15 08:33:23 adam Exp $
+$NetBSD: patch-gio_tests_iptosmessage.c,v 1.2 2026/09/22 04:06:12 ryoon Exp $
 
 Fix build on NetBSD.
 
---- gio/tests/iptosmessage.c.orig      2026-04-15 08:21:11.754862208 +0000
+--- gio/tests/iptosmessage.c.orig      2026-09-09 13:40:59.000000000 +0000
 +++ gio/tests/iptosmessage.c
 @@ -26,7 +26,7 @@
  
  /* See the g_test_skip() calls below for platform-specific reasons why this test
   * code sometimes needs to be skipped. */
--#if ! (defined(G_OS_WIN32) || defined(__APPLE__) || defined(__GNU__))
-+#if ! (defined(G_OS_WIN32) || defined(__APPLE__) || defined(__GNU__) || defined(__NetBSD__))
+-#if ! (defined(G_OS_WIN32) || defined(__APPLE__) || defined(__GNU__) || defined(_AIX) || defined(__sun__))
++#if ! (defined(G_OS_WIN32) || defined(__APPLE__) || defined(__GNU__) || defined(_AIX) || defined(__sun__) || defined(__NetBSD__))
  
  static GSocketControlMessage *
  send_recv_control_message (GSocketFamily family, GSocketControlMessage *msg)
-@@ -116,6 +116,8 @@ test_ip_tos (void)
-   g_test_skip ("IP_TOS not supported on macOS.");
- #elif defined(__GNU__)
-   g_test_skip ("IP_RECVTOS not supported on Hurd");
+@@ -120,6 +120,8 @@ test_ip_tos (void)
+   g_test_skip ("IP_RECVTOS not supported on AIX");
+ #elif defined(__sun__)
+   g_test_skip ("IP_RECVTOS not supported on Solaris");
 +#elif defined(__NetBSD__)
 +  g_test_skip ("IP_RECVTOS not supported on NetBSD");
  #else
    GIPTosMessage *smsg;
    GIPTosMessage *rmsg;
-@@ -140,6 +142,8 @@ test_ipv6_tclass (void)
-   g_test_skip ("IPV6_TCLASS not supported on macOS.");
- #elif defined(__GNU__)
-   g_test_skip ("IPV6_RECVTCLASS not supported on Hurd");
+@@ -148,6 +150,8 @@ test_ipv6_tclass (void)
+   g_test_skip ("IPV6_RECVTCLASS not supported on AIX");
+ #elif defined(__sun__)
+   g_test_skip ("IPV6_RECVTCLASS not supported on Solaris");
 +#elif defined(__NetBSD__)
 +  g_test_skip ("IPV6_RECVTCLASS not supported on NetBSD");
  #else
Index: pkgsrc/devel/glib2/patches/patch-glib_gspawn-posix.c
diff -u pkgsrc/devel/glib2/patches/patch-glib_gspawn-posix.c:1.1 pkgsrc/devel/glib2/patches/patch-glib_gspawn-posix.c:1.2
--- pkgsrc/devel/glib2/patches/patch-glib_gspawn-posix.c:1.1    Tue Oct 22 09:50:39 2024
+++ pkgsrc/devel/glib2/patches/patch-glib_gspawn-posix.c        Tue Sep 22 04:06:12 2026
@@ -1,20 +1,19 @@
-$NetBSD: patch-glib_gspawn-posix.c,v 1.1 2024/10/22 09:50:39 adam Exp $
+$NetBSD: patch-glib_gspawn-posix.c,v 1.2 2026/09/22 04:06:12 ryoon Exp $
 
 Avoid the build failure with Clang on FreeBSD (see PR 54752).
 Set environ as a weak symbol (thanks to Joerg).
 
---- glib/gspawn-posix.c.orig   2024-10-17 11:08:41.000000000 +0000
+--- glib/gspawn-posix.c.orig   2026-09-09 13:40:59.000000000 +0000
 +++ glib/gspawn-posix.c
-@@ -101,8 +101,12 @@
- #ifdef HAVE__NSGETENVIRON
- #define environ (*_NSGetEnviron())
+@@ -108,7 +108,11 @@
+ #include <dlfcn.h>
+ #define environ (*((char***)dlsym(RTLD_DEFAULT, "environ")))
  #else
 +#if defined(__FreeBSD__) || defined(__DragonFly__)
 +extern __attribute__((__weak__)) char **environ;
 +#else
  extern char **environ;
- #endif
 +#endif
+ #endif
  
  #ifndef O_CLOEXEC
- #define O_CLOEXEC 0

Index: pkgsrc/devel/glib2/patches/patch-glib_gthread.c
diff -u pkgsrc/devel/glib2/patches/patch-glib_gthread.c:1.2 pkgsrc/devel/glib2/patches/patch-glib_gthread.c:1.3
--- pkgsrc/devel/glib2/patches/patch-glib_gthread.c:1.2 Wed May  8 15:44:20 2024
+++ pkgsrc/devel/glib2/patches/patch-glib_gthread.c     Tue Sep 22 04:06:12 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-glib_gthread.c,v 1.2 2024/05/08 15:44:20 adam Exp $
+$NetBSD: patch-glib_gthread.c,v 1.3 2026/09/22 04:06:12 ryoon Exp $
 
 Fix build on NetBSD.
 
---- glib/gthread.c.orig        2024-05-07 14:50:30.000000000 +0000
+--- glib/gthread.c.orig        2026-09-09 13:40:59.000000000 +0000
 +++ glib/gthread.c
-@@ -1090,7 +1090,7 @@ g_get_num_processors (void)
- 
-   if (count > 0)
-     return count;
+@@ -1187,7 +1187,7 @@ g_get_num_processors (void)
+         pcore_count > 0)
+       return pcore_count;
+   }
 -#elif defined(_SC_NPROCESSORS_ONLN) && defined(THREADS_POSIX) && defined(HAVE_PTHREAD_GETAFFINITY_NP)
 +#elif defined(_SC_NPROCESSORS_ONLN) && defined(THREADS_POSIX) && defined(HAVE_PTHREAD_GETAFFINITY_NP) && defined(CPU_ZERO)
    {



Home | Main Index | Thread Index | Old Index