Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for Python 3.11 as new default
glib2 glib2-tools gdbus-codegen: updated to 2.74.3 Overview of changes in GLib 2.74.3 ================================== * Fix regression in type checking `g_str_equal()` from C++ projects (2820) * Bugs fixed: - 2820 g_str_equal: New macro version breaks compilation in C++ projects (Philip Withnall) - !3096 Backport !3094 “gstrfuncs: Fix regression in C++ types accepted by g_str_equal()” to glib-2-74 Overview of changes in GLib 2.74.2 ================================== * Fix `GVariant` type depths checks on text format variants (work by Philip Withnall) (2782) * Fix an obscure corner case with FD handling in `g_spawn_*()` when a process has already closed the standard I/O FDs (work by Ray Strode) (2795) * Fix regression in type checking on `const` arguments to `g_str_equal()` (2809) * Bugs fixed: - 2782 GVariant type depth not checked on typedecls in text format variants (Philip Withnall) - 2795 [regression] gnome-keyring-daemon uses 100% CPU with glib-2.74.1 (Ray Strode) - 2799 Wrong GTask tag on error return path in g_proxy_resolver_lookup_async() (Michael Catanzaro) - 2809 g_str_equal switched to stricter API (typing) (Philip Withnall) - !3017 Backport !3008 “gio/gdesktopappinfo: Free the wrapped argv array on launch failure” to glib-2-74 - !3038 Backport !3035 “portal: Fix broken header guard” to glib-2-74 - !3039 Backport !3029 “Revert "Handling collision between standard i/o file descriptors and newly created ones" ” to glib-2-74 - !3046 Backport !3045 “gproxyresolver: lookup_finish() should better parallel lookup_async()” to glib-2-74 - !3063 Backport !3061 “gvariant-parser: Speed up maybe_wrapper() by an order of magnitude” to glib-2-74 - !3084 Backport !3082 “gstrfuncs: Fix regression in types accepted by g_str_equal()” to glib-2-74 * Translation updates: - Abkhazian (Nart Tlisha) - Dutch (Nathan Follens) - Serbian (Мирослав Николић)
glib2 glib2-tools gdbus-codegen: updated to 2.74.1 Overview of changes in GLib 2.74.1 ================================== * Update Unicode data to version 15 (work by Marco Trevisan) * Fix various build failures in different situations (work by Kjell Ahlstedt, Marco Trevisan (TreviĂąo)) * Fix over-eager deprecated property warnings for construct properties (work by Simon McVittie) * Fix a crash calling `g_param_value_is_valid()` on a `GParamSpecParam` (work by Emmanuele Bassi) * Fix floating `GVariant` leaks with GObject properties (work by Matthias Clasen) * Add inline optimised version of `g_str_equal()` (work by Xavier Claessens) * Fix `GVariant` type depths checks on text format variants (work by Philip Withnall) * Fix regression with int64 and double hashing functions on big-endian architectures (work by Simon McVittie) * Build the API documentation only when building GLib as a shared library (work by Emmanuele Bassi) * Ignore weird `/etc/localtime` configurations generated by toolbx (work by Ray Strode) * Avoid `EINTR` races when closing FDs in `g_spawn_*()` (work by Thomas Haller) * Bugs fixed. Overview of changes in GLib 2.74.0, 17-09-2022 ============================================== * Use EPOLL_CLOEXEC by default (Colin Walters) * Fixed various regression on GRegex as per the PCRE2 porting (Marco Trevisan) * Fixed various memory leaks (Sebastian Keller, Marco Trevisan) * Bugs fixed: - GNOME/gtksourceview-278 Failed to load html.lang after GLib switched to PCRE2 (Marco Trevisan (TreviĂąo)) - GNOME/gtksourceview-283 GRegex-on-PCRE2 regressions (Marco Trevisan) - -2688 Follow-up from "replace pcre1 with pcre2" (Marco Trevisan (TreviĂąo)) - -2713 static_assert is undefined in C99 (wen Rafferty) - -2719 GParamSpec constructors should have nullable annotation on nick/blurb (Andy Holmes) - -2729 GRegex/GMatchInfo related crashes after upgrade to 2.73.2 (Marco Trevisan) - -2733 gio: GVariantBuilder builder leaked in g_document_portal_add_documents when URI list is empty (Sebastian Keller) - -2737 gio mount coredumps on prompt exit since 2.73 (Marco Trevisan) - -2741 Memory errors on GRegex (Marco Trevisan (TreviĂąo)) - GNOME/gtk-4400 gtk_show_uri can't open browser on MSYS2 on Windows (Luca Bacci) - !2820 ci: Expose the coverage report and docs as links in the MR's (Marco) - !2855 gtlscertificate: Update reference to G_TLS_CERTIFICATE_NO_FLAGS - !2861 mem: Document OOM behavior for allocations (Matthias Clasen) - !2868 gio-unix: Use EPOLL_CLOEXEC by default (Colin Walters) - !2873 Fix array-bounds compiler warnings with GCC 12 (Emmanuele Bassi) - !2874 tests, GDesktopAppInfo: Fix various GVariant leaks (Marco Trevisan) - !2875 g_strsplit: Use a pre-allocated GArray when max_tokens is provided (Marco Trevisan) - !2876 GActionGroup: Fix ownership transfer annotation for query_action() (Andy Holmes) - !2879 gioenumtypes: Only define GLIB_DISABLE_DEPRECATION_WARNINGS if needed (Marco Trevisan) - !2881 GWin32AppInfo: Add missing g_spawn_close_pid (Luca Bacci) - !2882 meson: Set install_tag on all tools (Xavier Claessens) - !2883 ci: Improve style check script (Matthias Clasen) - !2900 docs: Improve wording in documentation of g_unix_signal_source_new() (Tom Levy)
revbump for icu and libffi
Revbump packages depending on libffi after .so version change. Requested by Matthias Ferdinand and Oskar on pkgsrc-users.
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).
glib2: PLIST fix for Darwin; small pkglint cleanups
Supply location of header to packages which pull in glib2 as a dependency via BUILDLINK_INCDIRS. Resolves building devel/gobject-introspection on FreeBSD which fails otherwise when built manually as an unprivileged user, without pbulk.
Revert buildtool.mk additions for glib-{mkenums,genmarshal} using packages Add TOOL_DEPENDS+=glib2-tools to glib2/buildlink3.mk
Update glib2 to 2.52.3 Highlights include: * OS X implementations of GContentType and GAppInfo have been added * Memory leak fixes * Minimal support for UUIDs has been added * A new file attribute, G_FILE_ATTRIBUTE_RECENT_MODIFIED has been added to improve sorting of recent files * glib-compile-resources grew a --generate-phony-targets flag * GLib now installs a valgrind suppressions file for GLib and GIO * glib-genmarshal and glib-mkenums have gained --output options for better build system integration * New API: g_utf8_make_valid + Many bug fixes and translation updates. For a full list see: https://git.gnome.org/browse/glib/tree/NEWS?h=2.52.3
Update glib2 and therefore gdbus-codegen and gio-fam to 2.34.0 - patch-ar and patch-as to avoid dependending on python are no longer necessary since the introduction of --disable-modular-tests - patch-co has been committed to glib in 2360d04e - other patches cargo culted across - statfs test was fixed in glib with commit afa82ae8 - no longer provide man pages as that requires docbook & xsltproc Many changes in glib since 2.32.4, especially GDBus improvements. See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.34.0 for details.
recursive bump from libffi shlib major bump (additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
Recursive bump for pcre-8.30* (shlib major change)
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
update to 2.30.2 this switches to the 2.30 release branch pkgsrc note: if you use net/libsoup24 with this glib2 version, make sure to use at least version 2.34.3nb1
recursive bump from gettext-lib shlib bump.
Pull in devel/zlib explicitly. Fixes build on systems requiring libz out of Pkgsrc.
Remove @dirrm related logic.
Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
Take ownership of lib/gio/modules directory. Bump PKGREVISION.
Bump ABI dependency to 2.14.3, the first version in pkgsrc that added a dependency on the external PCRE library.
update to 2.14.3 changes: -update the bundled PCRE from 7.2 to 7.4 -minor bugfixes -translation updates pkgsrc changes: -don't use the bundled PCRE anymore, use pkgsrc's -try to work around some ld.so lossage on NetBSD (which leads to some applications - most notably evolution and glade3 - not resolving symbols in dynamically loaded plugins) another way: use the RTLD_DEFAULT pseudo-handle when the main module is referred to. This could replace the previous mechanism, but it needs more investigation and tests, so I'm leaving both in parallel for now.
Change the format of BUILDLINK_ORDER to contain depth information as well, and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
Track information in a new variable BUILDLINK_ORDER that informs us of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
Aligned the last line of the buildlink3.mk files with the first line, so that they look nicer.
Over 1200 files touched but no revisions bumped :) RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
Recursive revision bump / recommended bump for gettext ABI change.
Add BUILDLINK_RECOMMENDED.glib2+= glib2>=2.6.1 Noted on tech-pkg today that older packages had libgobject-2.0.so.400 and libglib-2.0.so.400 and newer packages provided libgobject-2.0.so.0.600.3 and libglib-2.0.so.0. The libtool changes on Sept. 22, 2004 made this install different library naming. The next update was in 2.6.1 (on January 9, 2005). So setting BUILDLINK_RECOMMENDED.glib2 to that version. Apparently, 2.6 is binary-compatible with any 2.x version. Hopefully, this will be good enough to force anyone with glib2 packages from before Sept. 22, 2004 to update.
Update to 2.4.0: GLib-2.4 is a stable release adding an incremental improvement in functionality over GLib-2.2 while maintaining binary and source compatibility. New features include: General * Watches for child process exit integrated into the main loop. * Unicode tables updated to cover all of Unicode-4.0. * Standard header file for gettext macros, including Q_() macro for strings with context. * Improved seeding for the GRandom random number generator. Threading * Atomic operations on integers and pointers. * GOnce for one-time initialization. GObject: * G_DEFINE_TYPE macros for easy definition of GObject types. * Properties can now be added to interfaces. * Instance private data allows private data members for objects.
Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
Reorder location and setting of BUILDLINK_PACKAGES to match template buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
Add pthread.buildlink3.mk missing from this file. glib2's libgthread has always needed a thread library.
The BUILDLINK_DEPENDS.<pkg> should match the one in the buildlink2.mk file if it exists.
BUILDLINK_DEPENDS.<pkg> lines should _always_ use += to _append_ to the existing value. This is critical to set the correct list of dependencies for a package.
Add buildlink3.mk. (needed to bl3ify lang/mono) ok'ed by xtraeme@