- Update from version 2.77.0 to 2.79.1 - Update of rootfile - glib now requires python3-packaging so it and it required dependencies have been moved to be built before glib - Changelog 2.79.1 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 Translation updates: Georgian (Ekaterine Papava) Russian (Artur S0) 2.79.0 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 Translation updates: Catalan (Jordi Mas i Hernandez) Chinese (China) (Boyuan Yang) Czech (Daniel Rusek) Esperanto (Kristjan SCHMIDT) French (Alexandre Franke) Italian (Milo Casagrande) Latvian (Rūdolfs Mazurs) Portuguese (Brazil) (Rafael Fontenelle) Romanian (Florentina Mușat) Russian (Artur S0) Slovenian (Matej Urbančič) Spanish (Daniel Mustieles) Turkish (Sabri Ünal) Ukrainian (Yuri Chornoivan) 2.78.4 Bugs fixed: !3754 Backport !3751 “Fix generated RST anchors for methods, signals and properties” to glib-2-78 !3756 docs/reference: depend on a native gtk-doc !3759 Backport !3753 “gobject_gdb.py: Do not break bt on optimized build” to glib-2-78 !3766 Backport !3750 “gregex: clean up usage of _GRegex.jit_status” to glib-2-78 2.78.3 Fix a crash-causing regression in xdgmime (#3191, work by Philip Withnall) Bugs fixed: #3191 Crash in __gio_xdg_cache_mime_type_subclass (Philip Withnall) !3747 Backport !3742 “xdgmime: Update to upstream commit c2c814d4051f232” to glib-2-78 2.78.2 Bugs fixed: #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) !3673 Backport !3669 “meson: Improve PTRACE_O_EXITKILL presence check” to glib-2-78 !3680 Backport !3677 “Make GQuark register intentional leaks” to glib-2-78 !3681 Backport 3678 “gsignalgroup: Avoid function call with side effect in g_return_* macro” to glib-2-78 !3686 Backport !3685 “tests: Don't assume that sh optimizes simple commands into exec” to glib-2-78 !3718 Backport !3714 “xdgmime: Handle buggy type definitions with circular inheritance” to glib-2-78 !3727 Backport !3725 “collate: Don't segfault on bad input” to glib-2-78 Translation updates: Ukrainian (Yuri Chornoivan) 2.78.1 Fix truncating files when g_file_set_contents_full() is called without G_FILE_SET_CONTENTS_CONSISTENT (#3144, work by Philip Withnall) Fix -Dlibelf=disabled on Linux (#3120, work by Philip Withnall) Bugs fixed: #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0 (Philip Withnall) #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such file or directory) (Philip Withnall) #3116 gio clears modification time in microseconds when setting with set_modification_date_time (Lukáš Tyrychtr) #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 #3144 g_file_set_contents_full() doesn't truncate the file (without G_FILE_SET_CONTENTS_CONSISTENT) (Philip Withnall) !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers !3579 Fixes for integer cast warnings when targeting CHERI !3580 Fix test_find_program on FreeBSD !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC (Chun-wei Fan) !3594 Fix gutils-user-database test on macOS !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX !3601 meson: Fix Windows build with PCRE2 as sibling subproject !3604 Backport !3589 “gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC” to glib-2-78 !3608 Backport !3587 “glocalfileinfo: Preserve microseconds for access/modify times” to glib-2-78 !3609 Backport !3607 “Make sure the GTask is freed on a graceful disconnect” to glib-2-78 (Pavel Sobolev) !3614 Backport !3582 “Buffer needs to be aligned correctly to receive linux_dirent64.” to glib-2-78 !3616 Backport !3590 “gtestutils.h: Fix warning with -Wsign-conversion caused by g_assert_cmpint” to glib-2-78 !3619 Backport !3617 “tests: Drop unnecessary include from gsubprocess- testprog.c” to glib-2-78 !3622 Backport !3621 “wakeup: do single read when using eventfd()” to glib-2-78 !3625 Backport !3624 “wakeup: Fix g_wakeup_acknowledge if signal comes in” to glib-2-78 !3644 Backport !3633 “Use g_task_return in task threads” to glib-2-78 !3649 Backport !3648 “build: Fix -Dlibelf=disabled on Linux” to glib-2-78 !3659 Backport !3650 “gfileutils: Add a missing ftruncate() call when writing files” to glib-2-78 Translation updates: Catalan (Jordi Mas i Hernandez) Chinese (China) (Boyuan Yang) Czech (Daniel Rusek) Esperanto (Kristjan SCHMIDT) French (Alexandre Franke) Georgian (Ekaterine Papava) Italian (Milo Casagrande) Latvian (Rūdolfs Mazurs) Portuguese (Brazil) (Rafael Fontenelle) Romanian (Daniel Șerbănescu) Russian (Artur S0) Slovenian (Matej Urbančič) Spanish (Daniel Mustieles) Turkish (Sabri Ünal) 2.78.0 Bugs fixed: #3095 Error handling of invalid GKeyFile string escape sequences changed in GLib 2.77.3 (Philip Withnall) !3559 gdb: Workaround optimized out quark_seq_id !3561 meson: fix gnetworking.h install tag !3562 gthread: Annotate g_thread_exit() with G_NORETURN !3564 Fix gutils-user-database unit test Translation updates: Basque (Asier Sarasua Garmendia) Czech (Vojtěch Perník) Danish (Alan Mortensen) English (United Kingdom) (Bruce Cowan) Galician (Fran Dieguez) Georgian (Ekaterine Papava) German (Philipp Kiemle, Jürgen Benvenuti) Hebrew (Yosef Or Boczko) Hungarian (Balázs Úr) Indonesian (Andika Triwidada) Korean (Changwoo Ryu) Lithuanian (Aurimas Černius) Persian (Danial Behzadi) Polish (Piotr Drąg) Swedish (Anders Jonsson) Turkish (Emin Tufan Çetin) Ukrainian (Yuri Chornoivan) 2.77.3 Bugs fixed: #2575 GSettings schemas default value translations don't work when using l10n=time (Michael Catanzaro) #3032 gdbus-codegen eats indentation in RST in XML comments (André) #3051 g_dbus_connection_export_menu_model() is not thread_safe #3061 Possible SEGV (null pointer deref) in distribute_method_call() (Philip Withnall) #3083 arg_data in GOptionEntry is not a list (Philip Withnall) #3090 Possible SEGV (null pointer deref) in _g_resource_file_new() (Philip Withnall) !3459 glib-unix: Clean up use of O_NONBLOCK !3503 interim solution for macOS CI !3519 meson: warn if -mms-bitfields is necessary !3526 gnetworkaddress: use reentrant getservbyname_r() if available !3527 tests: Use g_assert_*() rather than g_assert() in tree tests !3528 gio-tool-info: Move translator comments so they’re visible !3530 gregex: set default max stack size for PCRE2 JIT compiler to 512KiB !3532 tests: Disable use of ptrace() in tests on BSD and macOS !3533 ci: Only run pages CI job on scheduled job runs !3534 ci: Further fix to pages CI job !3535 Use 'meson setup' to configure !3538 glib-unix: Accept O_CLOEXEC as well as FD_CLOEXEC in g_unix_open_pipe() !3540 gio: Add gresource.dtd !3541 gtestutils: Mention not ignoring SIGCHLD in g_test_trap_subprocess() docs !3542 [th/gchildwatch-fail-message] gmain: improve g_warning() for failure in g_child_watch_dispatch() !3543 [th/use-localtime-r] use localtime_r() in g_log_writer_format_fields() !3545 gregex: if JIT stack limit is reached, fall back to interpretive matching !3547 glib/gfileutils.c: use 64 bits for value in get_tmp_file() !3550 glib/tests/asyncqueue.c: skip test_async_queue_timed in 2038 or later !3553 Generate missing docs for out arguments !3555 gkeyfile: Fix overwriting of GError Translation updates: Basque (Asier Sarasua Garmendia) Kazakh (Baurzhan Muftakhidinov) Panjabi (Amn Alam) Persian (Danial Behzadi) Swedish (Anders Jonsson) 2.77.2 Bugs fixed: #3071 g_test_trap_subprocess and g_test_subprocess broken in 2.77.1 (Jonas Ådahl) !3432 ci: Don’t run pipeline after merging a MR !3520 Fix typos !3521 GTree: Handle node counter overflow and return it as an unsigned value !3523 gspawn, gdataset: Restore nullable callback functions Translation updates: Chinese (China) (Luming Zh) Galician (Fran Dieguez) Indonesian (Kukuh Syafaat) Polish (Piotr Drąg) Portuguese (Hugo Carvalho) Russian (Artur So) Spanish (Daniel Mustieles) Turkish (Sabri Ünal) 2.77.1 Fix some regressions with GKeyFile comment handling (#3047, work by Gaël Bonithon) Improve handling of query and fragment components in file: URIs (#3050, work by Lukáš Tyrychtr) Bugs fixed: #473 systemtap probes for gvariant (Allison Karlitskaya) #623 g_type_query() doesn't work for dynamic types (Philip Withnall) #931 Optimise GPrivate by removing one malloc (Allison Karlitskaya) #2929 gio: Failing build due to race generating glib/gversionmacros.h (Eric van Gyzen) #3045 2.77.0: gio pkg-config test has incorrect install location for gio- querymodules & glib-compile-schemas (Philip Withnall) #3047 2.77.0 changes formatting of keyfiles (Gaël Bonithon) #3048 Forcing fallback for libintl does not work (Brendan Shanks) #3050 g_file_new_for_uri() handles query strings incorrectly ("?") (Lukáš Tyrychtr) #3054 Fedora installer (anaconda) crashes early with glib 2.77.0 due to "Attempt to unlock mutex that was not locked", when it runs hwclock and changes the system time (Thomas Haller, Philip Withnall) !3287 Audit and fix incorrect use of (closure) in glib !3461 gfileinfo: add file_path methods for language bindings !3485 docs: Expand supported platforms documentation a little !3494 ci: Manually fetch submodules for style-check CI jobs !3495 gdbus-codegen: Error on invalid dbus types !3496 garray: Fix typo in doc comment of g_ptr_array_sort_with_data !3499 strfuncs: Add missing ownership annotations for returned string vectors !3504 Revert "build/gmodule-2.0.pc: Move compiler flags from Libs to Cflags" !3505 meson: help gobject-introspection locate source and build dirs !3509 build-sys: drop -mms-bitfields GCC flag !3510 testutils: Use prctl PR_SET_DUMPABLE to silence core dumps on Linux !3514 Revert "build-sys: drop -mms-bitfields GCC flag" !3515 gnetworkmonitor: Expand guidelines for metered data use !3517 tests: Add some more tests for g_type_query() !3518 m4macros: drop unused m4 files Translation updates: Georgian (Ekaterine Papava) Hebrew (Yosef Or Boczko) Hungarian (Balázs Úr) Persian (Danial Behzadi) Slovenian (Matej Urbančič) Ukrainian (Yuri Chornoivan)
Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/common/glib | 48 ++++++++++++++++++++++++++++++------ lfs/glib | 10 ++++---- make.sh | 9 ++++--- 3 files changed, 51 insertions(+), 16 deletions(-)
diff --git a/config/rootfiles/common/glib b/config/rootfiles/common/glib index 4481c2c7e..02f0ba74c 100644 --- a/config/rootfiles/common/glib +++ b/config/rootfiles/common/glib @@ -181,6 +181,33 @@ usr/include/glib-2.0/gio/gdebugcontroller.h #usr/include/glib-2.0/gio/gvolumemonitor.h #usr/include/glib-2.0/gio/gzlibcompressor.h #usr/include/glib-2.0/gio/gzlibdecompressor.h +#usr/include/glib-2.0/girepository +#usr/include/glib-2.0/girepository/gi-visibility.h +#usr/include/glib-2.0/girepository/giarginfo.h +#usr/include/glib-2.0/girepository/gibaseinfo.h +#usr/include/glib-2.0/girepository/giboxedinfo.h +#usr/include/glib-2.0/girepository/gicallableinfo.h +#usr/include/glib-2.0/girepository/gicallbackinfo.h +#usr/include/glib-2.0/girepository/giconstantinfo.h +#usr/include/glib-2.0/girepository/gienuminfo.h +#usr/include/glib-2.0/girepository/gifieldinfo.h +#usr/include/glib-2.0/girepository/giflagsinfo.h +#usr/include/glib-2.0/girepository/gifunctioninfo.h +#usr/include/glib-2.0/girepository/giinterfaceinfo.h +#usr/include/glib-2.0/girepository/giobjectinfo.h +#usr/include/glib-2.0/girepository/gipropertyinfo.h +#usr/include/glib-2.0/girepository/giregisteredtypeinfo.h +#usr/include/glib-2.0/girepository/girepository.h +#usr/include/glib-2.0/girepository/girffi.h +#usr/include/glib-2.0/girepository/gisignalinfo.h +#usr/include/glib-2.0/girepository/gistructinfo.h +#usr/include/glib-2.0/girepository/gitypeinfo.h +#usr/include/glib-2.0/girepository/gitypelib.h +#usr/include/glib-2.0/girepository/gitypes.h +#usr/include/glib-2.0/girepository/giunioninfo.h +#usr/include/glib-2.0/girepository/giunresolvedinfo.h +#usr/include/glib-2.0/girepository/givalueinfo.h +#usr/include/glib-2.0/girepository/givfuncinfo.h #usr/include/glib-2.0/glib #usr/include/glib-2.0/glib-object.h #usr/include/glib-2.0/glib-unix.h @@ -308,21 +335,25 @@ usr/include/glib-2.0/gio/gdebugcontroller.h #usr/lib/glib-2.0/include/glibconfig.h #usr/lib/libgio-2.0.so usr/lib/libgio-2.0.so.0 -usr/lib/libgio-2.0.so.0.7700.0 +usr/lib/libgio-2.0.so.0.7901.0 +#usr/lib/libgirepository-2.0.so +usr/lib/libgirepository-2.0.so.0 +usr/lib/libgirepository-2.0.so.0.7901.0 #usr/lib/libglib-2.0.so usr/lib/libglib-2.0.so.0 -usr/lib/libglib-2.0.so.0.7700.0 +usr/lib/libglib-2.0.so.0.7901.0 #usr/lib/libgmodule-2.0.so usr/lib/libgmodule-2.0.so.0 -usr/lib/libgmodule-2.0.so.0.7700.0 +usr/lib/libgmodule-2.0.so.0.7901.0 #usr/lib/libgobject-2.0.so usr/lib/libgobject-2.0.so.0 -usr/lib/libgobject-2.0.so.0.7700.0 +usr/lib/libgobject-2.0.so.0.7901.0 #usr/lib/libgthread-2.0.so usr/lib/libgthread-2.0.so.0 -usr/lib/libgthread-2.0.so.0.7700.0 +usr/lib/libgthread-2.0.so.0.7901.0 #usr/lib/pkgconfig/gio-2.0.pc #usr/lib/pkgconfig/gio-unix-2.0.pc +#usr/lib/pkgconfig/girepository-2.0.pc #usr/lib/pkgconfig/glib-2.0.pc #usr/lib/pkgconfig/gmodule-2.0.pc #usr/lib/pkgconfig/gmodule-export-2.0.pc @@ -342,8 +373,8 @@ usr/lib/libgthread-2.0.so.0.7700.0 #usr/share/gdb/auto-load #usr/share/gdb/auto-load/usr #usr/share/gdb/auto-load/usr/lib -#usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.7700.0-gdb.py -#usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.7700.0-gdb.py +#usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.7901.0-gdb.py +#usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.7901.0-gdb.py #usr/share/gettext/its #usr/share/gettext/its/gschema.its #usr/share/gettext/its/gschema.loc @@ -359,6 +390,8 @@ usr/lib/libgthread-2.0.so.0.7700.0 #usr/share/glib-2.0/codegen/dbustypes.py #usr/share/glib-2.0/codegen/parser.py #usr/share/glib-2.0/codegen/utils.py +#usr/share/glib-2.0/dtds +#usr/share/glib-2.0/dtds/gresource.dtd #usr/share/glib-2.0/gdb #usr/share/glib-2.0/gdb/glib_gdb.py #usr/share/glib-2.0/gdb/gobject_gdb.py @@ -571,4 +604,3 @@ usr/lib/libgthread-2.0.so.0.7700.0 #usr/share/locale/zh_HK/LC_MESSAGES #usr/share/locale/zh_HK/LC_MESSAGES/glib20.mo #usr/share/locale/zh_TW/LC_MESSAGES/glib20.mo - diff --git a/lfs/glib b/lfs/glib index 20e95b4ab..a7b30443a 100644 --- a/lfs/glib +++ b/lfs/glib @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2024 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@
include Config
-VER = 2.77.0 +VER = 2.79.1
THISAPP = glib-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = da610dfd6a9a95de0bcd92a939dc7ae27a2f2cfcd9c6df803948e43de90473b17d84b1463c5173b0b87ddef132d8784de5ad2df2482cd4a97625324d5adf65b7 +$(DL_FILE)_BLAKE2 = 04398f3bb816b174ca86d9329aab9e477977a9f84c8ee77917179f00527d11b060af8467c7748bdbd5a8a25ec8d8fbc5866d912a8cc1a020118e57789d55a9e6
install : $(TARGET)
@@ -72,8 +72,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) cd $(DIR_APP) && meson --prefix=/usr \ - --sysconfdir=/etc \ - builddir/ + --sysconfdir=/etc \ + builddir/ cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) cd $(DIR_APP) && ninja -C builddir/ install @rm -rf $(DIR_APP) diff --git a/make.sh b/make.sh index 546cdc0af..40627f163 100755 --- a/make.sh +++ b/make.sh @@ -1150,6 +1150,9 @@ buildipfire() { lfsmake2 dracut lfsmake2 lvm2 lfsmake2 multipath-tools + lfsmake2 python3-toml + lfsmake2 python3-pyproject2setuppy + lfsmake2 python3-packaging lfsmake2 glib lfsmake2 libgudev lfsmake2 libgpg-error @@ -1487,8 +1490,6 @@ buildipfire() { lfsmake2 elinks lfsmake2 igmpproxy lfsmake2 opus - lfsmake2 python3-toml - lfsmake2 python3-pyproject2setuppy lfsmake2 python3-pyparsing lfsmake2 spice-protocol lfsmake2 spice @@ -1572,7 +1573,6 @@ buildipfire() { lfsmake2 python3-install lfsmake2 python3-urllib3 lfsmake2 python3-flit - lfsmake2 python3-packaging lfsmake2 python3-typing-extensions lfsmake2 python3-semantic-version lfsmake2 python3-setuptools-scm @@ -1656,6 +1656,9 @@ buildipfire() { lfsmake2 dnsdist lfsmake2 bird lfsmake2 libyang + lfsmake2 abseil-cpp + lfsmake2 protobuf + lfsmake2 protobuf-c lfsmake2 frr lfsmake2 dmidecode lfsmake2 mcelog