head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.8 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.6 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.4 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.2 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.4.0.4 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.2 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.3.0.4 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.2.0.34 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.32 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.30 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.28 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.26 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.24 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.22 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.20 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.18 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.16 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.14 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.12 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.10 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.8 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.8 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.4 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.2 pkgsrc-2019Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2025.05.27.19.07.43; author adam; state Exp; branches; next 1.4; commitid mDNuBHTJXhG2VzWF; 1.4 date 2024.10.22.09.50.39; author adam; state Exp; branches; next 1.3; commitid y0UOkbJtNFsjODuF; 1.3 date 2024.04.09.16.57.17; author wiz; state Exp; branches; next 1.2; commitid 8CZ0tQz3QHywtu5F; 1.2 date 2020.03.04.15.11.49; author wiz; state Exp; branches; next 1.1; commitid sTPCBO9B8GpI06ZB; 1.1 date 2019.06.03.09.53.50; author prlw1; state Exp; branches; next ; commitid 8OJahQblymgK5JpB; desc @@ 1.5 log @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) @ text @$NetBSD: patch-meson.build,v 1.4 2024/10/22 09:50:39 adam Exp $ Turn into a meson.build file which meson will accept, and subsitute some variables. --- meson.build.orig 2025-05-20 16:22:25.000000000 +0000 +++ meson.build @@@@ -15,6 +15,10 @@@@ # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, see . +project('gdbus_codegen') + +fs=import('fs') + gdbus_codegen_files = [ '__init__.py', 'codegen.py', @@@@ -28,11 +32,11 @@@@ gdbus_codegen_files = [ ] gdbus_codegen_conf = configuration_data() -gdbus_codegen_conf.set('VERSION', glib_version) -gdbus_codegen_conf.set('MAJOR_VERSION', major_version) -gdbus_codegen_conf.set('MINOR_VERSION', minor_version) -gdbus_codegen_conf.set('PYTHON', python_shebang) -gdbus_codegen_conf.set('DATADIR', glib_datadir) +gdbus_codegen_conf.set('VERSION', '@@VERSION@@') +gdbus_codegen_conf.set('MAJOR_VERSION', '@@MAJOR_VERSION@@') +gdbus_codegen_conf.set('MINOR_VERSION', '@@MINOR_VERSION@@') +gdbus_codegen_conf.set('PYTHON', '@@PYTHON@@') +gdbus_codegen_conf.set('DATADIR', '@@DATADIR@@') # Install gdbus-codegen executable gdbus_codegen = configure_file(input : 'gdbus-codegen.in', @@@@ -44,7 +48,7 @@@@ gdbus_codegen = configure_file(input : ' # Provide tools for others when we're a subproject and they use the Meson GNOME module meson.override_find_program('gdbus-codegen', gdbus_codegen) -codegen_dir = join_paths(glib_datadir, 'glib-2.0', 'codegen') +codegen_dir = join_paths('@@DATADIR@@', 'glib-2.0', 'codegen') gdbus_codegen_built_files = [] gdbus_codegen_built_targets = [] @ 1.4 log @glib2 glib2-tools gdbus-codegen: updated to 2.82.2 Overview of changes in GLib 2.82.2, 2024-10-17 ============================================== * Bugs fixed: - glib/gvariant: incorrect use of G_ANALYZER_ANALYZING (Christian Hergert) - Multicast cannot be joined on Mac OS on non-default interface (Nirbheek Chauhan) - Update Catalan translation - Backport “glib/gvariant: Fix check for G_ANALYZER_ANALYZING” to glib-2-82 - Backport “macos: Fix URL launcher” to glib-2-82 - Backport “gopenuriportal: Fix two memory leaks” to glib-2-82 - Backport “gio: Fix multicast iface selection on macOS” to glib-2-82 - Backport “gdatainputstream: Fix length return value on UTF-8 validation failure“ to glib-2-82 * Translation updates: - Catalan (Jordi Mas) Overview of changes in GLib 2.82.1, 2024-09-19 ============================================== * Fix a potential buffer overflow in `GSocks4aProxy` * Bugs fixed: - Test /unix-mounts/get-mount-entries fails unless libmount is enabled (Philip Withnall) - Buffer overflow in set_connect_msg() (Michael Catanzaro) - Backport “tests: Test against a sample mtab file in unix-mounts for getmntent()” to glib-2-82 - Backport “tests: Run lint tests with detected bash” to glib-2-82 - Update Polish translation for glib-2-82 - Update Czech translation [glib-2-82] - Update Portuguese translation - Update fa.po - Update Brazilian Portuguese translation - Backport “Update french translation” to glib-2-82 - Update Galician translations for glib-2-82 - Update German translation - Update Bulgarian translation - Update British English translation - Update Hungarian translation - Update Indonesian translation - Updated Lithuanian translation - Update Danish translation (2-82) - Update Russian translation for 2-82 - Backport “docs(glib): Fix link in string-utils ref” to glib-2-82 - Update Georgian translation (glib-2-82) - Backport “Move to Apple Silicon based runner” to glib-2-82 - Backport “gsocks4aproxy: Fix a single byte buffer overflow in connect messages” to glib-2-82 * Translation updates: - Bulgarian (twlvnn kraftwerk) - Czech (AsciiWolf) - Danish (Ask Hjorth Larsen) - English (United Kingdom) (Bruce Cowan) - French (Vincent Chatelain) - Galician (Fran Diéguez) - Georgian (NorwayFun) - German (Tim Sabsch) - Hungarian (Balázs Úr) - Indonesian (Andika Triwidada) - Lithuanian (Aurimas Černius) - Persian (Danial Behzadi) - Polish (Piotr Drąg) - Portuguese (Hugo Carvalho) - Portuguese (Brazil) (Rafael Fontenelle) - Russian (jtux270) Overview of changes in GLib 2.82.0, 2024-08-26 ============================================== * Change the default value of -Dglib_debug from `auto` to `enabled` for developers — distributions will almost certainly want to override it to `-Dglib_debug=disabled` for package release builds though * Revert per-instance locking changes in `GCancellable` as they introduced new races * Bugs fixed: - Investigate trampoline performance implications in g_mutex_lock_impl() changes (Philip Withnall) - Default value for glib_debug meson option (Philip Withnall) - wrong comment in gmessage.c:escape_string - Should check for epoll_create1 rather than epoll_create (Philip Withnall) - Gio.MenuModel docs have an outdated UI example (Philip Withnall) - Replace hi.po with updated translations. - gunixmounts: Fix use of uninitialised variable - tests: Run expected-to-hang cancellable tests in subprocesses - CI/msys2-mingw32: Set the G_DEBUGGER environment variable - Update Chinese translation - Update Swedish translation - Revert “GCancellable: Use per-instance mutex logic instead of global critical sections” for glib-2-82 - Various small backports to glib-2-82 - Backport “gthread: Move thread _impl functions to static inlines for speed” to glib-2-82 * Translation updates: - Chinese (China) (lumingzh) - Hindi (Karunakar Guntupalli) - Swedish (Anders Jonsson) @ text @d1 1 a1 1 $NetBSD: patch-meson.build,v 1.3 2024/04/09 16:57:17 wiz Exp $ d6 1 a6 1 --- meson.build.orig 2024-10-17 11:08:41.000000000 +0000 d26 1 a26 1 -gdbus_codegen_conf.set('PYTHON', python.full_path()) @ 1.3 log @glib2*: update to 2.80.0 Overview of changes in GLib 2.80.0, 2024-03-07 ============================================== * Bugs fixed: - #3271 GLib: string malformed for gettext (Philip Withnall) - !3940 tests: Don’t run check-missing-install-tag.py test under valgrind (Philip Withnall) - !3946 Add missing argument placeholders to several command-line tools (Simon McVittie) - !3947 docs: Fix a typo in the macros docs page (Philip Withnall) - !3951 g_warn_if_fail: Document as always evaluating expr (Simon McVittie) - !3953 docs: Specify gi-docgen as a native dependency (Bobby Rong) - !3955 docs: Fix building with docs enabled and introspection disabled (Bobby Rong) - !3956 docs: Minor improvements to GSignal documentation (Philip Withnall) Overview of changes in GLib 2.79.3, 2024-02-27 ============================================== * Various consistency improvements to the command line libgirepository tools (!3926, !3927, !3928, !3930, work by Simon McVittie) * Bugs fixed: - #3080 Gimp GTK file chooser hang when a remote file is open (Luca Bacci) - #3210 Critical using Open location: GWinHttpFile doesn’t set G_FILE_ATTRIBUTE_STANDARD_TYPE (Luca Bacci) - #3252 [2.79.1] gdatetime installed tests fails on s390x (Simon McVittie) - #3255 g_base_info_clear on zero-initialized stack-allocated introspection info (Philip Withnall) - #3258 Possible memory leak in GUnixVolumeMonitor (Ondrej Holy) - #3260 Add man pages for girepository tools - #3262 msys2-mingw32 build failing with error code 3221225785 (0xc0000139) (Philip Withnall) - #3263 Ensure girepository tools are translatable (Philip Withnall) - #3266 Use-after-free in gsocketclient.c:connection_attempt_remove() (Philip Withnall) - #3271 GLib: string malformed for gettext (Philip Withnall) - !3918 tests: Don’t run lint tests under valgrind - !3919 tests: Speed up threaded toggle notify test unless -m slow is passed - !3921 ci: Fix printing the execution environment - !3922 gdatetime test: Produce more helpful output on mismatches - !3923 girepository test: Don't assume doubles are naturally-aligned - !3925 girwriter: Take the GIRepository as a parameter - !3926 gi- tools: Remove unused options, improve --debug/--verbose - !3927 g-ir-compiler: Only accept one input file - !3928 gi-decompile-typelib: Interpret --includedir as most-important-first - !3930 migrating-gi: Document command-line option removals - !3935 Restrict macOS CI to origin - !3937 girepository: Fix static build under Windows - !3945 tests: Remove variable-length lookbehind tests for GRegex Overview of changes in GLib 2.79.2, 2024-02-12 ============================================== * More work to reduce lock contention and improve performance in GObject (#743, !3869, !3873, work by Thomas Haller) * More API changes to libgirepository, which is now stable as of this release (#3155, #3217, #3218, #3231, #3234, #3243, #3244, #3245, #3246, work by Philip Chimento, Evan Welsh, Philip Withnall) * Import `g-ir-compiler`, `g-ir-generate` and `g-ir-inspect` from gobject-introspection.git and update them to work with girepository-2.0, renaming them to `gi-compile-repository`, `gi-decompile-typelib` and `gi-inspect-typelib` (see docs/reference/girepository/migrating-gi.md) (!3853, !3909, work by Evan Welsh, Philip Withnall) * Add new `GLibUnix-2.0.gir`, `GLibWin32-2.0.gir`, `GioUnix-2.0.gir` and `GioWin32-2.0.gir` GIRs which contain platform specific APIs, and are the preferred way for third parties to access those APIs in future; although platform specific APIs which were already exposed in `GLib-2.0.gir` and `Gio-2.0.gir` continue to be listed there; the underlying `.so` files have not changed (!3892, work by Philip Withnall) * Bugs fixed: - #743 GLib weak refs depend on cascade of locks, including global ones, which makes them non-scalable - #2887 memory-monitor-dbus.test fails in installed-tests suite (Philip Withnall) - #3198 Support --version in standard GApplication command line arguments (Maxim Moskalets) - #3217 Feedback on gobject-introspection: APIs for stack-allocated introspection info (Philip Withnall) - #3218 Segfault in gi_function_info_prep_invoker (Philip Withnall) - #3231 New functions in the glib introspection data (Philip Withnall) - #3234 Reference cycle between GIRepository and GIBaseInfos cached by it (Philip Withnall) - #3236 threaded_resolver_worker_cb leaks memory when lookup fails and connection is already canceled (Philip Withnall) - #3238 Python packaging module is missing on Hurd CI runner (Philip Withnall) - #3240 Missing preconditions checks in GArray (Tobias Stoeckmann) - #3242 Memory leak in gresources over libelf (Maxim Moskalets) - #3243 Feedback on girepository 2.0: Naming of get_type_info vs load_type (Philip Withnall) - #3244 Feedback on girepository 2.0: Where to find uninstalled typelibs (Philip Withnall) - #3245 Feedback on girepository 2.0: GIBoxedInfo's place in the type hierarchy (Philip Withnall) - #3246 Wrong out parameter type in gi_object_info_find_method_using_interfaces (Philip Withnall) - #3247 safe_closefrom(), safe_fdwalk_set_cloexec() as public API (Simon McVittie) - !3797 Refactor GIRepository GIR generation to avoid cyclical dependency - !3807 gprintf/gstrfuncs: Improve and port doc comments to gi-docgen - !3824 gconvert: match GNU iconv behaviour on FreeBSD - !3838 build: Add thorough test setup - !3843 Add more test coverage for girepository - !3845 gunixmounts: Use libmnt_monitor API for monitoring - !3847 ci: Add ability to run manually some specific jobs - !3848 Fix build with introspection on Windows - !3849 girepository: Remove GI_FUNCTION_THROWS and GI_VFUNC_THROWS flags - !3850 [th/strdup-in-ascii-strdown] glib: use g_strdup() in g_ascii_strdown(),g_ascii_strup() - !3851 ci: Fix post-merge CI pipelines - !3853 girepository: Update gir-compiler and use it to compile GIRs - !3854 girnode: Document ownership and element types of internal structs - !3855 gitypelib: Replace multiple constructors with gi_typelib_new_from_bytes() - !3856 girepository: Drop gi_repository_get_default() - !3859 [th/glib-private-const] glib: return const pointer from glib__private__() - !3860 tests: Fix typo in memory-monitor-portal.py.in - !3861 girepository: Fix a memory leak of a mapped file - !3865 [th/test-weak-notify] gobject/tests: add test checking that GWeakRef is cleared in GWeakNotify - !3866 [th/gobject-carray-comment] gobject: remove obsolete code comment about CArray - !3868 Link to the main context tutorial from the main loop docs - !3869 [th/optimize-weak-ref-list] rework GObject's `WeakRefData` to track references in an array instead of GSList - !3870 Revert "Don't skip dbus-codegen tests on Win32" - !3871 docs: Fix include path for the build - !3872 gio: tests: Use slightly more explicit assert functions - !3873 [th/datalist-shrink] shrink the interal buffer of `GData` - !3874 Don't skip dbus-codegen tests on Win32 - !3876 build: Only override g-ir-compiler when GIR generation is enabled - !3877 Various girepository fixes - !3879 [th/gdataset-comment] gdataset: add code comment to g_datalist_get_data() - !3881 docs: Add migration guide for libgirepository - !3886 codegen: Use `-` instead of `stdout` for output to stdout - !3887 gtestutils: Ensure test_data is freed even if a test is skipped - !3888 gitypes: Fix integer values of GIInfoType and add unit tests for GIUnionInfo - !3892 introspection: Generate separate GIR files and documentation for platform specific APIs - !3893 glocalfile: Support statvfs.f_type - !3894 Minor fixes/docs changes to GFileDescriptorBased and GTask - !3895 [th/meson-werror-fixes] some fixes for meson detection failure with -Werror - !3896 reuse: Add dep5 lines for gnulib and libcharset - !3897 reuse: Fix screen-scraping expression for version 2.x - !3898 Incorporate some lint checks into `meson test` - !3900 gitypelib: Switch to refcounting - !3901 girepository: Add length ‘out’ arguments to several getter methods - !3902 gicallableinfo: Clarify docs for callables with no return type - !3903 gibaseinfo: Rename gi_info_new() to gi_base_info_new() - !3904 [th/meson-werror-fixes-2] more workarounds for compiler warnings in meson compiler checks - !3909 Rename g-ir-generate and g-ir-inspect and update to girepository-2.0 - !3911 glib/tests/unix: Mostly pass O_CLOEXEC to g_unix_pipe_open() - !3912 glib-unix: Fix reference to FD_CLOEXEC in docs for g_unix_pipe_open() - !3913 cmph: Fix a typo - !3914 Revert "ci: Remove not-printable chars from generated junit file" - !3916 tests: Skip lint tests if bash is not available - !3917 ci: Build and tar libgirepository documentation Overview of changes in GLib 2.79.1, 2024-01-22 ============================================== * Fix a race condition in `g_object_unref()` (#3064, work by Thomas Haller) * Various API and build changes to libgirepository as it is not yet API-stable (#3216, !3780, !3805, !3823, !3833, !3840) * Build fixes on big-endian 64-bit systems and mips64el (#3225, #3226, work by Simon McVittie) * Reduce contention on global locks within GObject (!3774, work by Thomas Haller) * Allow building man pages without the reference documentation (!3817, work by Simon McVittie) * Bugs fixed: - #1010 g_get_num_processor does not respect cpuset/affinity - #3064 Crash under g_object_unref() - #3093 GDBusMessage: should validate the type of all known headers (Philip Withnall) - #3207 Add support for syslog to Structured Logging - #3216 Feedback on gobject-introspection: Casting to and from GIBaseInfo* (Philip Withnall) - #3222 pthread_t usages lack type name (Emmanuele Bassi) - #3223 CLang, GMutexLocker: error: unused variable 'locker' [-Werror,-Wunused-variable] - #3225 2.79 regression: gdatetime test failing on 64-bit big-endian since #3119 - #3226 resource test fails on Debian mips64el: test5.gresource is not linked but the test assumes it should be (Simon McVittie) - !3774 [th/g-object-priv] add private data to GObject and use per-object locking - !3780 girepository: Use standard types instead of glib specific - !3789 gdatetime: Fix title of documentation comment - !3792 build: Tell gi-docgen where to find the GIR files - !3793 Shorten the title for D-Bus interface docs - !3794 Add boxed GType for GRand - !3795 girepository: Skip GIRepository versions not matching GIRepository-3.0 - !3798 docs: Drop outdated .gitignore files - !3799 tests: Fix a minor leak in the new GParamSpecPool test - !3800 ci: Re-enable and fix FreeBSD CI - !3801 gmessages: Port all doc comments to gi-docgen - !3802 [th/g-pointer-bit-lock-ext] glib: add g_pointer_bit_unlock_and_set() and g_pointer_bit_lock_mask_ptr() - !3803 ci: Fix tarballing the docs on dist - !3805 girepository: Various small API cleanups - !3806 gsignal.c: drop an optimization that is undefined behaviour - !3808 glib/deprecated: Skip all the deprecated gthread api - !3809 docs: Fix links to symbols outside the allowed namsepace - !3810 gstrfuncs: Improve and port g_set_str() docs to gi-docgen - !3811 gvariant-parser: Mention annotated types - !3812 brz.c: Use uintptr_t instead of a hardcoded list of 64-bit arches - !3813 gobject: define HAVE_OPTIONAL_FLAGS for sizeof(void*) > 8 - !3814 Fix typo in GPOINTER_TO_SIZE documentation - !3817 docs: Allow building man pages without the reference documentation - !3818 docs: Clarify >=2.76 changes to g_module_open() - !3821 tests: Fix a minor leak in the socket test - !3823 girepository: Misc cleanups - !3826 genums: use g_once_init_enter_pointer for GType initializers - !3827 array-test: Don't assume sizeof(void*)==sizeof(gsize) - !3831 gvariant-core: Don’t call posix_memalign() with size==0 - !3833 girepository: Change various alignments to use size_t - !3835 build: Ignore branches in g_clear_*() functions under lcov - !3837 tests: A couple of test isolation improvements - !3839 gvarianttype: Fix typos - !3840 girepository: Exclude private symbols from the ABI - !3841 docs: Fix member names of GLib.LogLevelFlags - !3842 gio, gmodule, gthread: compile windows resources only in shared build Overview of changes in GLib 2.79.0, 2023-12-22 ============================================== * Port to gi-docgen and drop gtk-doc support — dependencies have changed, and Meson needs `-Ddocumentation` now rather than `-Dgtk_doc` (#3037, work by multiple people) * Move libgirepository into glib.git from gobject-introspection.git — but tools like `g-ir-scanner` are currently still in gobject-introspection.git. For the moment, glib.git needs to be built twice, once with `-Dintrospection=false`, then build gobject-introspection.git, then re-build glib.git with `-Dintrospection=true`. This process will evolve throughout the GLib 2.80 cycle. The API and ABI of libgirepository has changed, and accordingly its version number has been bumped from 1.0 to 2.0 (note: the version number of `GIRepository-*.gir` has been bumped from 2.0 to 3.0; see !3786). The GIR and typelib file formats have not been changed, and are still at version 1.0. (#3155, work by multiple people) * Match behaviour for `GAppInfo` searches has changed (#3082, work by Nelson Benítez León) * Rename `GTK_USE_PORTAL` environment variable to `GIO_USE_PORTALS` (#3107, work by Philip Withnall) * Bump Meson dependency to 1.2.0 and depend on Python `packaging` module (!3666, !3752) Bugs fixed: - #596 GApplication in Garbage Collected environments would benefit from a g_application_command_line_exit() to enable remote instances to exit. (Aleksandr Mezin) - #791 Wish: Add a "nodelay" property to GSocket or GTcpConnection (Philip Withnall) - #2810 thread-pool-slow intermittent assertion failure in test_thread_sort_entry_func() (Philip Withnall) - #2824 G_REGEX_OPTIMIZE causes incorrect regex behaviour - #2991 Drop translatable pspec nick/blurbs from properties in GIO (Sophie Herold) - #3082 Investigate prioritising prefix matches on GAppInfo keywords over substring matches on names (Nelson Benítez León) - #3087 glib doesn't cleanly unload on Windows (Luca Bacci) - #3098 Make invalid escape sequences in GKeyFile fatal (Philip Withnall) - #3103 mkenums: Can't parse an enum value with value ',' (Lukáš Tyrychtr) - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0 (Philip Withnall) - #3107 Rename GTK_USE_PORTAL to avoid portal services being run with portals force-enabled (Philip Withnall) - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such file or directory) (Philip Withnall) - #3112 Update to Unicode 15.1 (Philip Withnall) - #3115 Support for additional strftime formatting capabilities - #3116 gio clears modification time in microseconds when setting with `set_modification_date_time` (Lukáš Tyrychtr) - #3119 Add support for `%Ey` to g_date_time_format() (Philip Withnall) - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled (Philip Withnall) - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o - #3130 Segfault when creating GIO GPropertyAction without properties - #3134 glib incompatible with Python 3.12 due to distutils usage - #3135 Add GNU/Hurd CI - #3140 Add a flag to not copy modification time when copying files (Khalid Abu Shawarib) - #3144 `g_file_set_contents_full()` doesn't truncate the file (without `G_FILE_SET_CONTENTS_CONSISTENT`) (Philip Withnall) - #3156 check for #ifdef PTRACE_O_EXITKILL will always fail since it isn't a macro (Alessandro Bono) - #3157 gsubprocess build-time test intermittently timing out since 2.78.1 (Simon McVittie) - #3158 "CRITICAL" log when using --attributes option for "gio info" (Philip Withnall) - #3159 glib regex test fails JIT compiler tests under musl libc (Pablo Correa Gómez) - #3161 codegen installation is broken - #3168 gvfs-udisks2-volume-monitor SIGSEGV in g_content_type_guess_for_tree() due to filename with bad encoding (Ondrej Holy) - #3183 g_dbus_connection_signal_subscribe with flag G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH doesn't work with an arg0 that is an object path (Philip Withnall) - #3185 g_utf8_collate_key() segfaults when passed an invalid length - #3186 [RFE] Increase gio sniff buffer for mime type magic detection to 16K or so (Philip Withnall) - #3187 g_vasprintf crashes when passed invalid UTF-8 (Philip Withnall) - #3191 Crash in __gio_xdg_cache_mime_type_subclass (Philip Withnall) - #3203 Fdo notification fails without AppID (Michael Catanzaro) - !3143 gatomic: Use g(u)intptr where appropriate - !3316 gobject: Separate GWeakRef from GWeakNotify - !3394 gsocketclient: Document delays/timeouts better - !3457 glib-unix: Add convenience API for pipes - !3524 add muslc ci - !3552 gutils: Use international symbol for bits - !3566 Update annotations for GAsyncQueue and GDir - !3567 Update annotations for GHmac - !3568 Update GOptionContext annotations - !3569 Small fixes and cleanups for Vectored Exception Handlers - !3571 Update GStringChunk annotations - !3572 Update GRand annotations - !3573 Update GTimer annotations - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers - !3577 gthread: introduce g_once_init_{enter,leave}_pointer - !3578 GType: Use guintptr as the underlying storage if larger than gsize - !3579 Fixes for integer cast warnings when targeting CHERI - !3580 Fix test_find_program on FreeBSD - !3581 gthread: Fix optional/nullable annotations for g_once_init_*() - !3582 Buffer needs to be aligned correctly to receive linux_dirent64. - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC (Chun-wei Fan) - !3590 gtestutils.h: Fix warning with -Wsign-conversion caused by g_assert_cmpint - !3591 Switch to using gi-docgen for docs (batch 1) - !3594 Fix gutils-user-database test on macOS - !3595 gobject: cache flags needed for g_type_create_instance() - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX - !3597 Expand security policy to cover previous stable branch - !3598 Document NULL pointer pitfall in toolchain requirements - !3601 meson: Fix Windows build with PCRE2 as sibling subproject - !3603 Add GBytes variants for GSocket receive methods - !3605 build: Post-release version bump - !3607 Make sure the `GTask` is freed on a graceful disconnect - !3610 gdesktopappinfo: Do not search Comment field - !3611 tests/constructor: Fix "unknown pragma ignored" warning on clang - !3612 Update GStrv annotations - !3613 tests: Fix gdatetime test on non-UTC systems - !3620 gmain: avoid a GList traversal when removing source - !3621 wakeup: do single read when using eventfd() - !3623 Windows: Compile with the UNICODE / _UNICODE macros - !3624 wakeup: Fix g_wakeup_acknowledge if signal comes in - !3627 Add Hurd code owners - !3628 glib-unix: Use full path to gstdio.h include - !3629 glib/tests/meson.build: remove identical build targets - !3630 glib-compile-resources: ensure alignment is at least sizeof(void *) - !3632 Stop using enums in bitfields - !3633 Use g_task_return in task threads - !3634 Switch to using gi-docgen for docs (batch 2) - !3635 Fix warnings with Clang on Windows and enable --Werror in CI - !3636 Generate introspection data - !3637 gstrvbuilder: Add g_strv_builder_take - !3638 Cleanup and add content to glib debugging using gdb scripts - !3640 GIO/tests: skip test_resources_binary on MIPS platforms - !3641 build: Simplify MIPS test check - !3645 Switch to using gi-docgen for docs (batch 3) - !3646 ci: Update from clang-format-11 to clang-format-14 - !3647 Switch to using gi-docgen for docs (batch 4) - !3652 GApplicationCommandLine: add print[err]_literal() - !3654 gdatetime: Fix minor leaks from strup/strdown calls - !3655 gdatetime: Fix incorrect alt-digits being used after changing locale - !3656 gmodule-dl: Use RTLD_DEFAULT on FreeBSD too - !3660 Switch to using gi-docgen for docs (batch 5) - !3661 Switch to using gi-docgen for docs (batch 6) - !3662 Switch to using gi-docgen for docs (batch 7) - !3663 gdbusconnection: don't cache G_IO_ERROR_CANCELLED errors - !3664 gmain: optimize "context->sources" hash table to use as set - !3665 ci: Remove .build-linux from Hurd CI scheduled job - !3666 build: Bump Meson dependency to 1.2.0 - !3667 Switch to using gi-docgen for docs (batch 8) - !3668 Socket & readiness fixes - !3671 gio/tests: Add test generated txt as the resources test dependency - !3672 glib-private: Check for LSAN support at runtime when controlling it - !3674 gtask: Add g_task_return_prefixed_error() - !3677 Make GQuark register intentional leaks - !3678 gsignalgroup: Avoid function call with side effect in g_return_* macro - !3679 gmessages: fix dropping irrelevant log domains - !3682 tests: Fix dependency of test.gresource on test-generated.txt - !3683 glib: Disable dynamic asan loading on macOS - !3687 fix: about libproc.h and PROC_PIDLISTFD_SIZE - !3688 build: Fix the inclusion paths for GIR files in gi-docgen - !3689 meson: Add missing dependencies for utility files for gdbus-codegen - !3690 Switch to using gi-docgen for docs (batch 9) - !3695 gvalue: add "steal_string" - !3699 [th/prgname] use atomic pointers for g_prgname/g_application_name and add g_set_prgname_once() - !3701 tests: Fix gio-tool.py test on macOS - !3702 glib.supp: Suppress the global_mime_dirs allocations - !3703 Port GIRepository to GTypeInstance and add introspection - !3704 girepository: Rename symbols to the GI namespace - !3707 girepository: Ignore set-but-not-used warnings with G_DISABLE_ASSERT - !3708 Fix various leaks in cmph-bdz-test and gutils - !3709 Switch to using gi-docgen for docs (batch 10) - !3710 gmessages: introduce g_log_writer_default_set_debug_domains() - !3711 ghmac: Add a boxed type for GHmac and fix introspection build accordingly - !3712 Switch to using gi-docgen for docs (batch 11) - !3713 gfileutils: Fix g_file_get_contents() silent under-read of large files when off_t is wider than size_t - !3714 xdgmime: Handle buggy type definitions with circular inheritance - !3715 goption: Fix a typo - !3716 tests: Improve build of cmph tests in girepository - !3717 tests: provide reason for disabling convert test under musl - !3721 gtestutils: Add g_test_trap_subprocess_with_envp() for testing envs - !3722 gdir, gstrvbuilder: Add refcounting support and a boxed type - !3723 gwin32: Un-hide symbols when building GIR - !3726 tests: Fix fileutils build on FreeBSD and macOS - !3731 tests: Fix string test failure on BSDs - !3732 gspawn: Stop spewing debug messages - !3733 ci: Make the Alpine CI name more consistent - !3734 gdatetime: Disable ERA support on platforms which don’t support this - !3735 ci: Fix printing info message at end of run-style-check-diff.sh - !3736 build: Rename -Dgtk_doc option to -Ddocumentation and fix some g-ir-scanner warnings - !3739 Documentation only: Added clarification about GWeakNotify and removed ambiguous text - !3741 hash: Explicitly annotate key in iter_next as nullable - !3743 ci: Install correct version of Meson on Alpine CI image - !3745 tests: Assert there no errors first in gdbus-test-codegen - !3751 Fix generated RST anchors for methods, signals and properties - !3752 build: Make packaging module required - !3753 gobject_gdb.py: Do not break bt on optimized build - !3755 tests: Use textwrap.dedent to indent expected strings pleasingly - !3757 ci: Re-add explicit Meson version to Alpine CI image - !3758 docs: Add a section on version checking macros - !3760 girepository: Various API cleanups - !3761 gerror: Fix an old allow-none annotation - !3762 [th/notify-queue] some optimization around g_object_freeze_notify()/g_object_thaw_notify() - !3763 girepository: Drop libgio dependency from gdump.c - !3764 gsignal: fix reference to signals documentation page - !3765 gapplication: Fix minor typo in docs - !3767 girepository: Port documentation to gi-docgen and update - !3768 ci: Build docs artifacts for deployment to docs.gtk.org - !3770 GDateTime: Add usec precision API for unix time - !3771 gtask: Add g_task_return_new_error_literal() - !3772 gobject: Make GLib-2.0 gir build depend on GObject dependency - !3773 girepository: Return enumerated versions and search paths as a GStrv - !3776 glocalvfs: Remove unnecessary and buggy code - !3777 Fix detecting size_t size when `-Wmissing-prototypes` is in CFLAGS - !3779 gtypemodule: Add assertions in finalize() - !3782 docs: fix a typo - !3786 girepository: Re-number GIR file from 2.0 to 3.0 - !3787 docs: Install the gi-docgen docs @ text @d1 1 a1 1 $NetBSD: patch-meson.build,v 1.2 2020/03/04 15:11:49 wiz Exp $ d6 1 a6 1 --- meson.build.orig 2024-03-07 21:35:05.000000000 +0000 d8 4 a11 1 @@@@ -1,3 +1,7 @@@@ d19 1 a19 1 @@@@ -11,11 +15,11 @@@@ gdbus_codegen_files = [ d26 1 a26 1 -gdbus_codegen_conf.set('PYTHON', python_name) d36 1 a36 1 @@@@ -27,7 +31,7 @@@@ gdbus_codegen = configure_file(input : ' @ 1.2 log @glib2 and friends: update to 2.64.0 Overview of changes in GLib 2.64.0 ================================== * Use `posix_spawn()` to speed up launching test D-Bus instances (!1388) * Bugs fixed: - #1783 Document using glib-mkenums with meson - #2049 Crash in g_array_copy - !1384 Some minor clang warning fixes - !1386 docs: Document generated headers caveats for genmarshal - !1387 ci: Correctly propagate exit status in run-style-check-diff.sh - !1388 gtestdbus: Use posix_spawn() to spawn dbus-daemon - !1389 Update GError docs to use G_DEFINE_QUARK * Translation updates: - Czech - Danish Overview of changes in GLib 2.63.6 ================================== * Fix potential relative read when calling g_printerr(), which could lead to a denial of service from a setuid-root process being used to block access to the TTY for another user (#1919) * Fix SOCKS proxy resolver sometimes not being used when resolving addresses via Happy Eyeballs (CVE-2020-6750) (#1989) * Several other Happy Eyeballs fixes for address resolution (#1871, #1872, #1902) * Various race fixes in `GDBusConnection` and its unit tests (#1515) * Fix a race condition with D-Bus name ownership (#1517) * Drop `gio-launch-desktop` helper application in favour of calling `sh` directly (#1633) * Fix win32 exception handling with C# exceptions (#2025) * Fix thread safety of `GUnixMountMonitor` (#2030) * Additional fixes to new thread pool attribute behaviour from GLib 2.63.4 to check if sched_setattr() is allowed by system policies before depending on it (#2039, !1356) * Fix memory leaks and corruption when freeing `GSource`s while freeing a `GMainContext` (!1353) * Drop inappropriate installation of object manager example documentation (!1359) * Bugs fixed: - #938 gdbus call -a doesn't support message bus connections - #1515 gio/gdbus-threading test sometimes fails in CI - #1517 g_bus_own_name does not always call name_lost_handler when _REPLACE and _ALLOW_REPLACEMENT are set - #1633 should not install gio-launch-desktop into PATH - #1919 read from relative path in g_printerr() in 2.58.3 - #1995 Tracker issue for Happy Eyeballs regressions - #2002 g_io_channel_read_line does not honour the line_term symbols set - #2025 W32 exception handling misbehaves when C# exceptions are thrown when running inside the Visual Studio debugger - #2030 Random nautilus test suite failures involving GUnixMountMonitor - #2039 sched_setattr() still can cause EPERM through natural causes - #2043 Low memory monitor test failed in CI - #2044 GApplication docs suggest invalid GVariant type - !1185 gtimezone: Tidy up UTC timezone creation - !1281 ci: Update Docker packages - !1283 gmodule: change _g_module_close to only take a handle. - !1298 tests: Speed up the GIO actions test - !1299 gapplication: Fix a minor typo in the documentation - !1339 gsocketclient: Refactor g_socket_client_connect_async() - !1353 GMainContext - Fix memory leaks and memory corruption when freeing sources while freeing a context - !1354 GThreadPool - Add test for !1340 - !1355 glist: Add docs examples of how to combine with g_steal_pointer() - !1356 GThread - Check if sched_setattr is allowed by the system policies before depending on it - !1359 docs: Don’t install object manager example separately - !1363 Make tests pass if we are euid != 0 with capabilities - !1366 Fix oss-fuzz coverage link - !1372 gobject: Fix strict aliasing warnings with g_set_object() - !1376 gitlab-ci: 64-bit ARM is aarch64, not arm64 - !1381 ghash: Document the iteration order over a hash table is not defined - !1382 tests: Bump the refcount timeout in gdbus-threading - !1383 ci: Enable parallelisation when running installed tests * Translation updates: - Basque - English (United Kingdom) - French - Galician - German - Greek, Modern (1453-) - Hungarian - Indonesian - Japanese - Korean - Lithuanian - Polish - Portuguese (Brazil) - Spanish - Swedish - Turkish Overview of changes in GLib 2.63.5 ================================== * Fix behaviour of `g_file_move()` fallback code to not follow symlinks (#986) * Rename `--glib-min-version` argument of `gdbus-codegen` to `--glib-min-required` (this is not an API break as `--glib-min-version` was added earlier in the 2.63 cycle) (#1993) * Add gtk-doc checks to CI and fix a number of documentation issues (thanks to Xavier Claessens) (!978) * Add `G_SIZEOF_MEMBER()` macro (!1333) * Add a debug message if `g_setenv()` or `g_unsetenv()` are used after any threads have been spawned — this will be upgraded to a warning in future (!1337, #715) * Skip memory monitor tests if xdg-desktop-portal or dbusmock are not available (!1296, !1338) * Change the `libmount` configure option from a boolean to a Meson `feature` (!1344) * Do not return `target-uri` from `g_file_peek_path()` when called on trash/recent files (!1346) * Drop new TLS certificate API for PKCS #11 backed certificates, as the implementation is not ready yet (this is not an API break as the API was added earlier in the 2.63 cycle) (!1347) * Bugs fixed: - #986 g_file_move: remove G_FILE_COPY_NOFOLLOW_SYMLINKS section - #1551 CI: Add checks for `TODO` in MRs - #1925 Large number of routes installed into kernel cause high cpu usage - #1993 Rename gdbus-codegen --glib-min-version argument to --glib-min-required and add --glib-max-allowed - #2012 spawn_thread_queue not initialised in GThreadPool - #2020 g_network_monitor_base_add_network() improperly unrefs GInetAddressMask - !978 Various fixes to make gtkdoc-check pass on glib - !1018 docs: tag enclose 'all' and 'help' values - !1170 Avoid C++20 deprecated assignment to volatile - !1296 tests: Skip GMemoryMonitor tests if the dbusmock template is not available - !1307 Remove global declaration of GMemoryMonitor - !1322 gmain: Mark G_SOURCE_FUNC as available in 2.58 - !1333 Add and use G_SIZEOF_MEMBER() macro - !1337 genviron: Message if g_setenv()/g_unsetenv() are used after threads spawned - !1338 tests: Skip GMemoryMonitor tests if xdg-desktop-portal is not available - !1344 meson: libmount autodectection - !1345 gio-tool-info: Print unix mount information where available - !1346 gfile: Do not return target-uri from g_file_peek_path() - !1347 Revert "gtlscertificate: Add support for PKCS #11 backed certificates" - !1348 ghash: Clarify that g_hash_table_add() always consumes the key - !1349 doc: Clarify that _locker_new() does not actually allocate memory - !1351 glib.supp: update g-threaded-resolver-getaddrinfo-config * Translation updates: - Japanese - Lithuanian - Malay - Portuguese (Brazil) - Swedish Overview of changes in GLib 2.63.4 ================================== * Fix various race conditions on signal emission in GDBus (#604, #978, #1232) * Change thread pools so that thread attributes (in particular, priority) are inherited from the thread which created the `GThreadPool` initially, rather than from the thread which is pushing a new job into the pool (#1834, #2007) * Expand support for running Windows apps with `g_app_info_launch_default_for_uri()` using rundll32 on Windows (#1932) * Support multiple directories in `GSETTINGS_SCHEMA_DIR` environment variable (#1998) * Support full Julian day range in `TZ` environment variable (#1999) * Apply recursion depth limits to variants in D-Bus messages (!1201) * Support adding call flags and timeouts to method calls generated by `gdbus-codegen` through the new `--glib-min-version` option (!1286) * Fully deprecate TLS rehandshakes; they are now ignored due to TLS protocol changes (!1305) * Bugs fixed: - #198 g_fopen and friends: should also state how to close a stream - #604 GDBus name watching dispatch is buggy/excessively-complicated - #833 g_object_set: document the need to cast varargs - #978 SIGSEGV in on_name_lost_or_acquired - #1232 Insufficient thread safety around GDBusObjectManagerClient - #1416 Re-add macOS CI - #1834 Unwanted priority/etc inheritance with GThreadPool and GThread and the POSIX implementation - #1932 Windows: Gio.AppInfo.launch_default_for_uri seems not to work for local files/folders - #1983 glib:gio / dbus-appinfo test fails: GLib-GIO:ERROR:../../../../Projects/glib/gio/tests/dbus-appinfo.c:326:on_flatpak_open: 'g_file_equal (files[0], f)' should be TRUE - #1997 Base64 encoding with "break_lines" claims to wrap at 72 characters but seems to wrap at 76 - #1998 support multiple directories in GSETTINGS_SCHEMA_DIR - #1999 GTimeZone fails to accept full Julian day range when parsing the direct $TZ string format - #2007 Thread scheduler attributes fail under valgrind - !388 ci: Avoid downloading subprojects for each job - !1111 gio: test that launch_uris() exports files with the document portal when launching a flatpak - !1201 gdbusmessage: Limit recursion of variants in D-Bus messages - !1279 tests: Fix an error message set by foo_set_property() - !1286 gdbus-codegen: Add a GDBusCallFlags arg to method calls - !1291 gio-tool-list: Add an option to print display names - !1294 GMemoryMonitor docs fixes - !1295 gio: Fix socket test - !1301 GThread - Inherit parent thread priority by default for new Win32 threads - !1303 gvariant-core: Don't pass NULL second argument to memcpy - !1305 Fully deprecate TLS rehandshakes - !1308 gsocketclient: run timeout source on the task's main context - !1309 Fix crash in gutils when application is prevented access to passwd file - !1317 gfdonotificationbackend: remove notifications when bus name vanishes - !1320 subprojects: Temporarily avoid using wrapdb while it’s down - !1324 ci: Add some documentation to the style check CI test - !1325 Check for SYS_sched_getattr before using it unconditionally - !1330 W32: Correctly set st_ino when doing private stat() - !1334 gthread: Ensure GThreadSchedulerSettings is always defined * Translation updates: - Catalan - Galician - Hungarian - Indonesian - Polish - Portuguese (Brazil) - Spanish Overview of changes in GLib 2.63.3 ================================== * Add a `--glib-min-version` argument to `gdbus-codegen` which controls breaks in the API of generated code (#1726) * Add `g_clear_list()` API to clear `GList`s to `NULL` (#1943) * Add a `GMemoryMonitor` API to be notified of memory pressure situations using the low-memory-monitor project (!1005) * Add support for dispose functions for `GSource` implementations (!1175) * Tighten up validation of GObject signal and property names, allowing performance improvements (!1224) * Fix installation path of GIO modules on MSVC to be the bindir (!1254) * Bugs fixed: - #650 g_signal_lookup gives too many warnings - #1011 GListStore, easily find if the item is already inserted - #1130 gdbus-codegen: Add an option to strictly generate markdown in source comments - #1687 glocalvfs.c uses non-thread-safe getpwnam() - #1726 Warn when method/signal uses type 'h' but lacks GDBus.C.UnixFD annotation - #1935 Assert in _kqsub_free seems to be too strict - #1943 Consider g_clear_list() - #1947 Documentation clarification for g_uuid_string_random() - #1953 Documentation for g_type_init() and others missing from online gtk-doc documentation - #1961 A typo in the comment of `g_settings_schema_get_path`: threfore -> therefore - !1005 gio: Add GMemoryMonitor to monitor for low-memory - !1172 gptrarray: Add an example to the g_ptr_array_steal() docs - !1175 Implement a dispose function for GSource - !1223 Add additional valgrind suppressions - !1224 Signal name handling improvements - !1230 ci: Run installed-tests on Fedora - !1235 Add sudo to Fedora docker image - !1239 tests: Run "timeout tests" sequentially - !1248 ci: Update all Debian CI runners to use v5 of the Dockerfile - !1249 gio-tool-mount: Allow mounting by the given UUID - !1252 ci: Fix running all jobs on merge requests - !1253 gthread: Fix "zero as null pointer" warning - !1254 giomodule: gio modules are no longer installed in bindir on MSVC - !1255 ci: Build Docker images rather than OCI images if using podman - !1256 gdate: Add autoptr support - !1258 Minor CI fixups - !1261 gtk-doc: Ensure we have recent enough version - !1262 tests: Add tests for the gdbus-codegen executable - !1265 build: don't check for protected visibility - !1267 Revert "doc: Workaround gtkdoc-scan bug leading to undocumented symbols" - !1268 ci: Work-around successful installed tests having no logs - !1269 gvariant: Add guard to g_variant_get() - !1271 tests: Enable GDBus debug for a number of unreliable tests - !1274 trash portal: Don't follow symlinks - !1275 Small doc correction - !1277 Various gtk-doc improvements - !1278 Update installed tests CI - !1280 clang-format-diff: Output diff for multiple files, not just one - !1282 Revert "Revert "docs: remove GDBusObjectManager example"" - !1284 Update POTFILES.in 191212 - !1287 atomic/tests: test g_atomic_pointer_compare_and_exchange() with const pointers - !1289 gtype: Define auto-cleanup functions for Module class * Translation updates: - Spanish Overview of changes in GLib 2.63.2 ================================== * Use `lldb` rather than `gdb` on macOS for debugging (#1004) * Switch the atomic builtins from `__sync_fetch_*()` to the slightly more modern `__atomic_*()` (#1750) * Fix calculation of `gsize` width on various platforms (including OpenBSD) (#1777) * Fix undefined behaviour causing brokenness in `g_utf8_find_prev_char()` when compiling with GCC ≥ 8 (#1917) * Revert UNIX mode changes in `G_FILE_ATTRIBUTE_ID_UNIX_MODE` which broke OSTree (#1934) * Slightly improve performance for signal emissions when no handlers are connected (!1083) * Add `g_task_return_value()` and `g_task_propagate_value()` APIs to allow `GTask` to be used from language bindings more easily (!1216) * Fix a file monitoring crash on kqueue-based systems (BSD) (!1221) * Bugs fixed: - #1004 [PATCH] Make gbacktrace use lldb on Mac OS X - #1552 CI: Add code style checks - #1750 Switch from __sync_fetch_*() to __atomic_*() in glib/gatomic.h - #1777 gsize: improper typedef on (at least) OpenBSD - #1895 Regression: glib does not compile on centos 6: "objcopy: unrecognized option '--add-symbol'" - #1917 Test utf8-pointer fails with static build, LTO, optimisations, and new GCC - #1930 glib/tests/bookmarkfile.c:385:test_modify: assertion failed: (stamp == now) - #1934 ostree tests broken since bfdc5fc4fc84ef8518d2d1a328c8482cf5a38e98: File '/tmp/test-tmp-libostree_test-basic-user.sh.test-QB4SA0/diff-test2' is not empty - #1938 GDateTime doesn't support leap seconds - #1940 atomics test fails on FreeBSD CI since !1123 - !1039 Improve documentation for footgun function g_tls_client_connection_copy_session_state() - !1083 Use the GObject hole on 64bit arches for some flags to improve performance - !1202 CI updates after !1177 - !1208 gutils: Slightly improve docs formatting for g_get_os_info() - !1209 Make ld executable configurable - !1210 gdbus-server-auth test: Include gcredentialsprivate.h - !1213 gsocket: Improve diagnostics on bind() failure - !1214 gvariant, gbytes: Avoid memcmp (NULL, ., 0) or memcmp (., NULL, 0) - !1216 Make GTask more binding-friendly - !1218 gdb: Fix GHashTable pretty printer off-by-one error - !1220 gparam: fix memory leak in g_param_value_defaults() - !1221 Add NOTE_REVOKE to the list of the monitoring events - !1225 gtlsconnection: clarify handshake() documentation - !1227 Deprecate old GTlsConnection functionality even harder! - !1231 Fix build on old libc that does not define _SC_HOST_NAME_MAX - !1238 gstrfuncs: use gsize type internally for strv functions - !1242 gfileinfo: Clarify the documentation for G_FILE_ATTRIBUTE_UNIX_MODE - !1243 docs: Fix "occurred" typos in API documentation * Translation updates: - Spanish Overview of changes in GLib 2.63.1 ================================== * Several usability improvements to command line `gio` tool (!1153) * Add `g_array_steal()`, `g_ptr_array_steal()` and `g_byte_array_steal()` APIs (#285) * Add `g_get_os_info()` API (!1063, !1160) * Add `g_warning_once()` API (!1028) * Always resolve `localhost` to loopback address in `GResolver` (!616) * Add `GMainContextPusher` API (!983) * Limit recursion in `g_variant_parse()` (!1173) * Fix crash in `g_spawn()` with high FD numbers due to use of `select()` rather than `poll()` (#954) * Allow passing empty `GValue`s to `g_param_value_set_default()` (!1186) * Escape header guards generated by `gdbus-codegen` better (#1379) * Bugs fixed: - #285 [PATCH] add array steal and memdup functions - #954 The g_spawn_sync() function uses select() which has limitations - #1318 rare failure in gdbus-peer test: invalid uninstantiatable type '(null)' in cast to 'GDBusServer' - #1379 gdbus-codegen generates invalid header guards when build directory contains a + character - #1622 NULL pointer derefs on g_vasprintf() failure - #1813 g_option_context_add_main_entries() is missing array annotation for entries parameter - #1831 No reply on private socket due to auth problem - #1836 gobject.c uses undefined annotation “(not optional)” - #1858 docs/reference/gobject/tut_gobject.xml: object properties example uses deprecated API - #1877 g_cancellable_source_new annotated with 'skip' - #1896 Use after free when calling g_dbus_connection_flush_sync() in a dedicated thread - #1897 glib 2.62.0 fails test 'test_writev_no_vectors' wih gcc7 - #1903 use-after-free in mimeapps test causes intermittent segfault during testing - #1906 test_os_info fails on FreeBSD - #1916 objcopy not used from cross-compilation file in GIO tests - #1923 Recent Versions of GLib Break Dolphin File-Manager's Thumbnailing when Using 'gtk2' Style - !616 Always resolve localhost to loopback address - !983 gmain: Add GMainContextPusher convenience API - !1014 tests: Add a test for g_assert_finalize_object() - !1028 gmessages: Add g_warning_once() - !1035 Switching from C gnu89 to C gnu99 standard - !1063 gutils: Add g_get_os_info() - !1082 gdatetime: Document RFC 3339 extensions when parsing ISO 8601 - !1105 syscall flood on every time*() function call - !1120 Update documentation with FreeBSD build instructions - !1135 gmain: use atomic operation instead of GMutex to access g_main_context_default() - !1146 Solaris build fixes - !1147 gmodule: fix typo in doc comment - !1148 gio/gfileinfo: fix parameter references - !1149 gio/gfile: fix parameter reference for value_p - !1150 gio/gfile: fix parameter references to @@contents - !1151 gio/gfile: fix typo in doc comment - !1152 gwinhttpvfs: Handle g_get_prgname() returning NULL - !1153 Several gio-tool bash completion fixes and improvements - !1155 Strict-aliasing fixes to new atomic built-ins - !1157 Fix various compiler warnings on Android - !1160 Add Windows support to g_get_os_info() - !1161 hash: Remove an assertion from the hot path - !1163 gcharset: Expand the documentation for g_get_locale_variants() - !1165 Use uname as a fallback to get OS info - !1167 Fix some minor leaks in testfilemonitor - !1168 Fix gdatetime tests on toolbox - !1171 Revert "gdbus-codegen: emit GUnixFDLists if an arg has type 'h'" - !1173 gvariant: Limit recursion in g_variant_parse() - !1177 ci: Add libdbus development files to CI Docker images - !1179 Improve GPtrArray doc-comments - !1180 array: Avoid use of memcpy(dest, NULL, 0) - !1181 gmain: Clarify thread safety of some common GSource functions - !1182 gio: Fix typo in URL - !1186 Allow using an empty GValue with g_param_value_set_default() - !1189 gparamspecs: Fix type class leaks on error handling paths - !1197 Fix GDBus test failures on non-Linux (in particular FreeBSD) - !1200 Minor fixes from a scan-build run * Translation updates: - Catalan - Chinese (Taiwan) - Spanish Overview of changes in GLib 2.63.0 ================================== * Add g_fsync() API (#35) * Fix regression in g_file_copy() when passing `G_FILE_COPY_TARGET_DEFAULT_PERMS` flag; the destination permissions would be private rather than following the process’ umask (!1142) * Several `GDateTime` parsing fixes (!1127) * Always build the tests if installed-tests are enabled, so that the tests can actually be installed (!1141) * Rework atomic function implementations to use memory barrier in the correct place (when compiler intrinsics aren’t providing the atomics), and fix signedness issues (#1449, #1565) * Use the OS’ `fdwalk()` function (if safe) to speed up `g_spawn_*()` on BSD (#1638) * Remove the macOS `dyld` `GModule` implementation in favour of `dl` instead (!1093) * Bump Python requirement to ≥ 3.5, which we implicitly relied on anyway through our Meson dependency (!1132) * Bugs fixed: - #35 add g_fsync to API - #174 g_file_copy always preserves permissions, even if G_FILE_COPY_ALL_METADATA flag is not set - #259 docs: fix a misunderstanding in g_type_add_interface_* - #767 g_signal_lookup fails if class is not referenced - #1052 g_io_write_chars calls abort when given a null byte as input - #1449 glib fallback atomic int/ptr get/set have memory barrier in wrong place - #1565 Signedness of atomic operations - #1638 g_spawn_*() is extremely slow under certain circumstances - #1809 Provide API for working with PKCS11 backed certificates - #1843 TSAN false positive with g_atomic_pointer_get/g_atomic_pointer_set under Clang - #1865 g_variant_get_data_as_bytes fails after serializing a variant - #1875 Segfault and Overflow in __gio_xdg_cache_mime_type_subclass() with Wps-Office installed - #1887 glib 2.62.0 breaks loading dylibs as modules - #1888 2.62: docs build on Windows broken - #1897 glib 2.62.0 fails test 'test_writev_no_vectors' wih gcc7 - !1020 docs: Remove priv pointers from the tutorial example - !1062 gtype: mark the inline functions in G_DECLARE_*_TYPE() as UNUSED - !1080 tests: Fix skipping mkdir-with-parents-permission test - !1088 Various small scan-build fixes - !1090 giochannel: Clarify type of GSource callback in documentation - !1093 gmodule: remove macOS dyld implementation - !1095 Define G_IOV_MAX to 512 on macOS/iOS - !1099 gmem: clarify that g_malloc always uses the system allocator - !1109 doc: fix typo in gio/gsettings.c - !1110 gio: Add missing "gio remove" option to bash completion script - !1112 Add version macros for GLib 2.64 - !1115 gdatetime: Fix error handling in g_date_time_new_ordinal() - !1116 gmarkup: Add a limit on the number of attributes in an element - !1119 Annotate the return value of various utility functions - !1124 docs: Fix typo in GConverter{Input,Output}Stream section titles - !1125 gdatetime: Fix error handling in g_date_time_new_week() - !1126 fileinfo: Mention that usec mtimes are set - !1129 gdate: Fix tautological comparison warnings on Android - !1130 Improve GLIB_DEPRECATED_MACRO_FOR output - !1131 gio/gfileinfo: fix param reference in doc comment - !1132 build: Bump Python requirement to ≥ 3.5 - !1137 gregistrysettings: bump key name length to 2048 - !1138 Always build tests if we enabled installed-tests - !1139 g_file_info_get_modification_date_time: Calculate in integer domain * Translation updates: - Danish - Italian - Panjabi - Serbian - Turkish @ text @d1 1 a1 1 $NetBSD: patch-meson.build,v 1.1 2019/06/03 09:53:50 prlw1 Exp $ d6 1 a6 1 --- meson.build.orig 2020-02-27 16:12:52.000000000 +0000 d8 1 a8 1 @@@@ -1,3 +1,5 @@@@ d11 2 d16 1 a16 1 @@@@ -9,11 +11,11 @@@@ gdbus_codegen_files = [ d33 1 a33 1 @@@@ -24,7 +26,7 @@@@ gdbus_codegen = configure_file(input : ' d41 1 a41 1 gdbus_codegen_built_files += configure_file(input : 'config.py.in', @ 1.1 log @Update glib2 to 2.60.2 GLib's move to meson from autotools means we are effectively starting from scratch with non-linux build fixes. Support for python 2 has also been dropped (given that meson requires python 3). I replaced sysutils/gio-fam with a build option. The full lengthy list of changes is available from: https://gitlab.gnome.org/GNOME/glib/tags/2.60.2 Some highlights: * Improve network status detection with NetworkManager (!781) * Add async GIO API: g_file_query_default_handler_async(), g_app_info_launch_uris_async() (#1249, #1347) * Add overlay support to g_resources_get_info(). (#1445) * Add writev() and writev_all() APIs to GOutputStream and GPollableOutputStream, and provide implementations of them for many subclasses. (#1431) * Hide bind mounts from GIO mount listings. (#1271) * Automatically realign data passed to `g_variant_new_from_bytes()` or `g_variant_new_from_data()` if it is not correctly aligned. This prevents misaligned accesses on architectures which don’t support them. Callers should still aim to correctly align data to get higher performance. (#1342) * Support `ld -b binary` (on platforms which support it; i.e. Linux) to provide large pre-compiled `GResource` resources with a fast compilation time. (#1489+* Drop Python 2 support and require Python 3.4+. See discussion on https://mail.gnome.org/archives/desktop-devel-list/2018-July/msg00004.html. (!196) * Various fixes to eliminate thread races, found by thread sanitizer (tsan). @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- meson.build.orig 2019-04-15 10:54:04.000000000 +0000 d14 1 a14 1 @@@@ -9,9 +11,9 @@@@ gdbus_codegen_files = [ d19 2 d24 2 d31 9 @